PofoliaShared via Pofolia

Proceedings of the VLDB Endowment· 2025Q1

Dynamic Range-Filtering Approximate Nearest Neighbor Search

Zhencan Peng, Miao Qiao, Wenchao Zhou, Feifei Li et al.

Short summary

A new 'dynamic segment graph' structure enables efficient range-filtering approximate nearest neighbor search (RFANNS) in streaming data, reducing index size by up to O(|D|^2) compared to naive methods and inserting new vectors with only a linear to log|D| edge increase.

AI-generated from the title and abstract; the full text is not read.

Key points

  • Introduces a 'dynamic segment graph' for dynamic RFANNS, handling mixed streams of data and queries.
  • Compresses a naive approach of O(|D|^2) HNSW graphs into a more efficient structure.
  • Achieves a lossless compression under certain conditions.
  • Inserts new vectors with a linear to log|D| expected increase in edges.
  • Outperforms existing static RFANNS methods and scales for dynamic scenarios.

AI-generated from the title and abstract; the full text is not read.

Abstract

Range-filtering approximate nearest neighbor search (RFANNS) has gained significant attention recently. Consider a set D of high-dimensional vectors, each associated with a numeric attribute value, e.g., price or timestamp. An RFANNS query consists of a query vector q and a query range, reporting the approximate nearest neighbors of q among data vectors whose attributes fall in the query range. Existing work on RFANNS only considers a static set D of data vectors while in many real-world scenarios, vectors arrive in the system in an arbitrary order. This paper studies dynamic RFANNS where both data vectors and queries arrive in a mixed stream: a query is posed on all the data vectors that have already arrived in the system. Existing work on RFANNS is difficult to be extended to the streaming setting as they construct the index in the order of the attribute values while the vectors arrive in the system in an arbitrary order. The main challenge to the dynamic RFANNS lies in the difference between the two orders. A naive approach to RFANNS maintains multiple hierarchical navigable small-world (HNSW) graphs, one for each of the O (| D | 2 ) possible query ranges - too expensive to construct and maintain. To design an index structure that can integrate new data vectors with a low index size increment for efficient and effective query processing, we propose a structure called dynamic segment graph. It compresses the set of HNSW graphs of the naive approach, proven to be lossless under certain conditions, with only a linear to log | D | new edges in expectation when inserting a new vector. This dramatically reduces the index size while largely preserving the search performance. We further propose heuristics to significantly reduce the index cost of our dynamic segment graph in practice. Extensive experimental results show that our approach outperforms existing methods for static RFANNS and is scalable in handling dynamic RFANNS.

The authors' abstract, as published at the source. Proceedings of the VLDB Endowment, 2025 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Computer Vision and Pattern Recognition

Computer Vision and Pattern RecognitionComputer Science