Efficient Similarity Search in Dynamic Data Streams
Abstract
The Jaccard index is an important similarity measure for item sets and Boolean data. On large datasets, an exact similarity computation is often infeasible for all item pairs both due to time and space constraints, giving rise to faster approximate methods. The algorithm of choice used to quickly compute the Jaccard index of two item sets and is usually a form of min-hashing. Most min-hashing schemes are maintainable in data streams processing only additions, but none are known to work when facing item-wise deletions. In this paper, we investigate scalable approximation algorithms for rational set similarities, a broad class of similarity measures including Jaccard. Motivated by a result of Chierichetti and Kumar [J. ACM 2015] who showed any rational set similarity admits a locality sensitive hashing (LSH) scheme if and only if the corresponding distance is a metric, we can show that there exists a space efficient summary maintaining a multiplicative approximation to in dynamic data streams. This in turn also yields a additive approximation of the similarity. The existence of these approximations hints at, but does not directly imply a LSH scheme in dynamic data streams. Our second and main contribution now lies in the design of such a LSH scheme maintainable in dynamic data streams. The scheme is space efficient, easy to implement and to the best of our knowledge the first of its kind able to process deletions.
Cite
@article{arxiv.1605.03949,
title = {Efficient Similarity Search in Dynamic Data Streams},
author = {Marc Bury and Chris Schwiegelshohn and Mara Sorella},
journal= {arXiv preprint arXiv:1605.03949},
year = {2021}
}