Sub-linear Memory Sketches for Near Neighbor Search on Streaming Data
Benjamin Coleman, Richard G. Baraniuk, Anshumali Shrivastava
Abstract
We present the first sublinear memory sketch that can be queried to find the nearest neighbors in a dataset. Our online sketching algorithm compresses an N element dataset to a sketch of size in time, where b < 1. This sketch can correctly report the nearest neighbors of any query that satisfies a stability condition parameterized by . We achieve sublinear memory performance on stable queries by combining recent advances in locality sensitive hash (LSH)-based estimators, online kernel density estimation, and compressed sensing. Our theoretical results shed new light on the memory-accuracy tradeoff for nearest neighbor search, and our sketch, which consists entirely of short integer arrays, has a variety of attractive features in practice. We evaluate the memory-recall tradeoff of our method on a friend recommendation task in the Google Plus social media network. We obtain orders of magnitude better compression than the random projection based alternative while retaining the ability to report the nearest neighbors of practical queries.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 288f1618-625f-4889-970d-89e2ca7ffc0bCited by top-tier papers7
- DESSERT: An Efficient Algorithm for Vector Set Search with Vector Set QueriesJoshua Engels, Benjamin Coleman, Vihan Lakshman, Anshumali ShrivastavaNeurIPS 2023 · 27 citations
- One-Pass Distribution Sketch for Measuring Data Heterogeneity in Federated LearningZichang Liu, Zhaozhuo Xu, Benjamin Coleman, Anshumali ShrivastavaNeurIPS 2023 · 19 citations
- Practical Near Neighbor Search via Group TestingJoshua Engels, Benjamin Coleman, Anshumali ShrivastavaNeurIPS 2021 · 14 citations
- A Tale of Two Efficient and Informative Negative Sampling DistributionsShabnam Daghaghi, Tharun Medini, Nicholas Meisburger, Beidi Chen et al.ICML 2021 · 11 citations
- One-Pass Diversified Sampling with Application to Terabyte-Scale Genomic Sequence StreamsBenjamin Coleman, Benito Geordie, Li Chou, Ryan A. Leo Elworth et al.ICML 2022 · 11 citations
Builds on1
Related papers
- Sketch-GNN: Scalable Graph Neural Networks with Sublinear Training ComplexityMucong Ding, Tahseen Rabbani, Bang An, Evan Z. Wang et al.NeurIPS 2022 · 34 citations
- Average Distortion SketchingYiqiao Bao, Anubhav Baweja, Nicolas Menand, Erik Waingarten et al.FOCS 2025 · 3 citations
- A One-Pass Distributed and Private Sketch for Kernel Sums with Applications to Machine Learning at ScaleBenjamin Coleman, Anshumali ShrivastavaCCS 2021 · 1 citation
- PM-LSH: A Fast and Accurate LSH Framework for High-Dimensional Approximate NN SearchBolong Zheng, Xi Zhao, Lianggui Weng, Nguyen Quoc Viet Hung et al.VLDB 2020 · 64 citations
- Bidirectionally Densifying LSH Sketches with Empty BinsPeng Jia, Pinghui Wang, Junzhou Zhao, Shuo Zhang et al.SIGMOD 2021 · 16 citations
