We consider the task of performing Jaccard similarity queries over a large collection of items that are dynamically updated according to a streaming input model. An item here is a subset of a large universe U of elements. A well-studied approach to address this important problem in data mining is to design fast-similarity data sketches. In this paper, we focus on global solutions for this problem, i.e., a single data structure which is able to answer both Similarity Estimation and All-Candidate Pairs queries, while also dynamically managing an arbitrary, online sequence of element insertions and deletions received in input. We introduce and provide an in-depth analysis of a dynamic, buffered version of the well-known k-MinHash sketch. This buffered version better manages critical update operations thus significantly reducing the number of times the sketch needs to be rebuilt from scratch using expensive recovery queries. We prove that the buffered k-MinHash uses O(k log |U |) memory words per subset and that its amortized update time per insertion/deletion is O(k log |U |) with high probability. Moreover, our data structure can return the k-MinHash signature of any subset in O(k) time, and this signature is exactly the same signature that would be computed from scratch (and thus the quality of the signature is the same as the one guaranteed by the static k-MinHash). Analytical and experimental comparisons with the other, state-ofthe-art global solutions for this problem given in [Bury et al.,WSDM'18] show that the buffered k-MinHash turns out to be competitive in a wide and relevant range of the online input parameters.

Clementi, A., Gualà, L., Pepè Sciarria, L., Straziota, A. (2025). Maintaining k-MinHash signatures over fully-dynamic data streams with recovery. In WSDM '25: proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining (pp.79-87). New York : ACM [10.1145/3701551.3703491].

Maintaining k-MinHash signatures over fully-dynamic data streams with recovery

Clementi, Andrea;Straziota, Alessandro
2025-01-01

Abstract

We consider the task of performing Jaccard similarity queries over a large collection of items that are dynamically updated according to a streaming input model. An item here is a subset of a large universe U of elements. A well-studied approach to address this important problem in data mining is to design fast-similarity data sketches. In this paper, we focus on global solutions for this problem, i.e., a single data structure which is able to answer both Similarity Estimation and All-Candidate Pairs queries, while also dynamically managing an arbitrary, online sequence of element insertions and deletions received in input. We introduce and provide an in-depth analysis of a dynamic, buffered version of the well-known k-MinHash sketch. This buffered version better manages critical update operations thus significantly reducing the number of times the sketch needs to be rebuilt from scratch using expensive recovery queries. We prove that the buffered k-MinHash uses O(k log |U |) memory words per subset and that its amortized update time per insertion/deletion is O(k log |U |) with high probability. Moreover, our data structure can return the k-MinHash signature of any subset in O(k) time, and this signature is exactly the same signature that would be computed from scratch (and thus the quality of the signature is the same as the one guaranteed by the static k-MinHash). Analytical and experimental comparisons with the other, state-ofthe-art global solutions for this problem given in [Bury et al.,WSDM'18] show that the buffered k-MinHash turns out to be competitive in a wide and relevant range of the online input parameters.
18th ACM International Conference on Web Search and Data Mining (WSDM 2025)
Hannover, Germany
2025
18
ACM SIGIR
Rilevanza internazionale
2025
Settore INFO-01/A - Informatica
Settore MATH-03/B - Probabilità e statistica matematica
English
Data Sketches
Dynamic Data Streams
Jaccard Similarity Estimation
MinHashing
Probabilistic/Amortized Analysis of Algorithms
Intervento a convegno
Clementi, A., Gualà, L., Pepè Sciarria, L., Straziota, A. (2025). Maintaining k-MinHash signatures over fully-dynamic data streams with recovery. In WSDM '25: proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining (pp.79-87). New York : ACM [10.1145/3701551.3703491].
Clementi, A; Gualà, L; Pepè Sciarria, L; Straziota, A
File in questo prodotto:
File Dimensione Formato  
2407.21614v2.pdf

accesso aperto

Tipologia: Documento in Pre-print
Licenza: Non specificato
Dimensione 1.11 MB
Formato Adobe PDF
1.11 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2108/442513
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
social impact