Skip to main navigation Skip to search Skip to main content

Fingerprints for highly similar streams

Yoram Bachrach, Ely Porat

Research output: Contribution to journalArticlepeer-review

Abstract

We propose an approach for approximating the Jaccard similarity of two streams, J(A,B)=|A∩B||A∪B|, for domains where this similarity is known to be high. Our method is based on a reduction from Jaccard similarity to F2 norm estimation, for which there exists a sketch that is efficient in terms of both size and compute time, which we augment by a sampling technique. Our approach offers an improvement in the fingerprint size that is quadratic in the degree of similarity between the streams. More precisely, to approximate the Jaccard similarity up to a multiplicative factor of ε with confidence δ, it suffices to take a fingerprint of size O(ln(1δ)(1-t)2ε2log11-t) where t is the known minimal Jaccard similarity between the streams. Further, computing our fingerprint can be done in time O(1) per element in the stream.

Original languageEnglish
Pages (from-to)113-121
Number of pages9
JournalInformation and Computation
Volume244
DOIs
StatePublished - 12 Oct 2015

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Information Systems
  • Computer Science Applications
  • Computational Theory and Mathematics

Cite this