PathSeer: Adaptive Neighbor Handling for Efficient Filtered ANN Search
Filtered approximate nearest neighbor (ANN) search over high-dimensional vectors and associated attributes is critical for recommendation systems and RAG-based LLMs. However, existing methods face performance bottlenecks under workloads of varying characteristics due to static and single neighbor-handling strategies---either computing distances before filtering or filtering before distance computation---which fail to adapt to diverse data and workload patterns. In this paper, we propose PathSeer, an approach that enables efficient filtered ANN search through dynamic and hybrid neighbor-handling strategies. PathSeer introduces three key techniques: (1) a fusion vector indexing scheme that supports two neighbor-handling strategies within a single index, (2) a dynamic neighbor traversal strategy that allows adjusting the ratios of different neighbor-handling strategies at each step of index traversal while preserving high search performance, and (3) a heuristic parameter tuning mechanism that adapts the ratios of neighbors employing different neighbor-handling strategies to workload characteristics. Evaluations on six workloads show that PathSeer delivers 1.17×–47.4× higher throughput for filtered ANN search compared to existing methods, without sacrificing recall.
Authors
- Xiaoguang Ren (ORCID: https://orcid.org/0000-0002-8048-6762)
- Guangyan Zhang (ORCID: https://orcid.org/0000-0002-3480-5902)
- Zhiyue Li (ORCID: https://orcid.org/0000-0003-3207-3493)
- Wenjing Yang (ORCID: https://orcid.org/0000-0002-6997-0406)
- Bojun Li (ORCID: https://orcid.org/0009-0002-9966-8467)
- Ruochun Jin (ORCID: https://orcid.org/0009-0001-2763-0577)
Institutions
- National University of Defense Technology (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- Proceedings of the ACM on Management of Data
- Published
- 2026-05-18
- DOI
- https://doi.org/10.1145/3802098
- Primary Topic
- Advanced Image and Video Retrieval Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China