Lune

ICML2020Top-tier venue

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 O(Nblog⁡3N)O(N^b \log^3 N) in O(N(b+1)log⁡3N)O(N^{(b+1)} \log^3 N) time, where b < 1. This sketch can correctly report the nearest neighbors of any query that satisfies a stability condition parameterized by bb. 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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • One-Pass Distribution Sketch for Measuring Data Heterogeneity in Federated Learning cites Sub-linear RACE Sketches for Approximate Kernel Density Estimation on Streaming Data
  • One-Pass Distribution Sketch for Measuring Data Heterogeneity in Federated Learning cites One-Pass Diversified Sampling with Application to Terabyte-Scale Genomic Sequence Streams
  • One-Pass Distribution Sketch for Measuring Data Heterogeneity in Federated Learning cites DESSERT: An Efficient Algorithm for Vector Set Search with Vector Set Queries
  • One-Pass Distribution Sketch for Measuring Data Heterogeneity in Federated Learning cites Practical Near Neighbor Search via Group Testing
  • One-Pass Diversified Sampling with Application to Terabyte-Scale Genomic Sequence Streams cites Sub-linear RACE Sketches for Approximate Kernel Density Estimation on Streaming Data
  • DESSERT: An Efficient Algorithm for Vector Set Search with Vector Set Queries cites Sub-linear RACE Sketches for Approximate Kernel Density Estimation on Streaming Data
  • DESSERT: An Efficient Algorithm for Vector Set Search with Vector Set Queries cites Practical Near Neighbor Search via Group Testing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. DESSERT: An Efficient Algorithm for Vector Set Search with Vector Set QueriesJoshua Engels, Benjamin Coleman, Vihan Lakshman, Anshumali ShrivastavaNeurIPS 2023 · 27 citations
  2. One-Pass Distribution Sketch for Measuring Data Heterogeneity in Federated LearningZichang Liu, Zhaozhuo Xu, Benjamin Coleman, Anshumali ShrivastavaNeurIPS 2023 · 19 citations
  3. Practical Near Neighbor Search via Group TestingJoshua Engels, Benjamin Coleman, Anshumali ShrivastavaNeurIPS 2021 · 14 citations
  4. A Tale of Two Efficient and Informative Negative Sampling DistributionsShabnam Daghaghi, Tharun Medini, Nicholas Meisburger, Beidi Chen et al.ICML 2021 · 11 citations
  5. 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

  1. Sub-linear RACE Sketches for Approximate Kernel Density Estimation on Streaming DataBenjamin Coleman, Anshumali ShrivastavaWWW 2020 · 39 citations

Related papers

  1. Sketch-GNN: Scalable Graph Neural Networks with Sublinear Training ComplexityMucong Ding, Tahseen Rabbani, Bang An, Evan Z. Wang et al.NeurIPS 2022 · 34 citations
  2. Average Distortion SketchingYiqiao Bao, Anubhav Baweja, Nicolas Menand, Erik Waingarten et al.FOCS 2025 · 3 citations
  3. A One-Pass Distributed and Private Sketch for Kernel Sums with Applications to Machine Learning at ScaleBenjamin Coleman, Anshumali ShrivastavaCCS 2021 · 1 citation
  4. Bidirectionally Densifying LSH Sketches with Empty BinsPeng Jia, Pinghui Wang, Junzhou Zhao, Shuo Zhang et al.SIGMOD 2021 · 16 citations
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines