Saved in:
Bibliographic Details
Main Authors: Dong, Fenghao, He, Yang, Liang, Yutong, Liu, Zirui, Wu, Yuhan, Chen, Peiqing, Yang, Tong
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.19711
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913370189332480
author Dong, Fenghao
He, Yang
Liang, Yutong
Liu, Zirui
Wu, Yuhan
Chen, Peiqing
Yang, Tong
author_facet Dong, Fenghao
He, Yang
Liang, Yutong
Liu, Zirui
Wu, Yuhan
Chen, Peiqing
Yang, Tong
contents The challenge of estimating similarity between sets has been a significant concern in data science, finding diverse applications across various domains. However, previous approaches, such as MinHash, have predominantly centered around hashing techniques, which are well-suited for sets but less naturally adaptable to multisets, a common occurrence in scenarios like network streams and text data. Moreover, with the increasing prevalence of data arriving in streaming patterns, many existing methods struggle to handle cases where set items are presented in a continuous stream. Consequently, our focus in this paper is on the challenging scenario of multisets with item streams. To address this, we propose SimiSketch, a sketching algorithm designed to tackle this specific problem. The paper begins by presenting two simpler versions that employ intuitive sketches for similarity estimation. Subsequently, we formally introduce SimiSketch and leverage SALSA to enhance accuracy. To validate our algorithms, we conduct extensive testing on synthetic datasets, real-world network traffic, and text articles. Our experiment shows that compared with the state-of-the-art, SimiSketch can improve the accuracy by up to 42 times, and increase the throughput by up to 360 times. The complete source code is open-sourced and available on GitHub for reference.
format Preprint
id arxiv_https___arxiv_org_abs_2405_19711
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SimiSketch: Efficiently Estimating Similarity of streaming Multisets
Dong, Fenghao
He, Yang
Liang, Yutong
Liu, Zirui
Wu, Yuhan
Chen, Peiqing
Yang, Tong
Data Structures and Algorithms
The challenge of estimating similarity between sets has been a significant concern in data science, finding diverse applications across various domains. However, previous approaches, such as MinHash, have predominantly centered around hashing techniques, which are well-suited for sets but less naturally adaptable to multisets, a common occurrence in scenarios like network streams and text data. Moreover, with the increasing prevalence of data arriving in streaming patterns, many existing methods struggle to handle cases where set items are presented in a continuous stream. Consequently, our focus in this paper is on the challenging scenario of multisets with item streams. To address this, we propose SimiSketch, a sketching algorithm designed to tackle this specific problem. The paper begins by presenting two simpler versions that employ intuitive sketches for similarity estimation. Subsequently, we formally introduce SimiSketch and leverage SALSA to enhance accuracy. To validate our algorithms, we conduct extensive testing on synthetic datasets, real-world network traffic, and text articles. Our experiment shows that compared with the state-of-the-art, SimiSketch can improve the accuracy by up to 42 times, and increase the throughput by up to 360 times. The complete source code is open-sourced and available on GitHub for reference.
title SimiSketch: Efficiently Estimating Similarity of streaming Multisets
topic Data Structures and Algorithms
url https://arxiv.org/abs/2405.19711