LIRA: A Learning-based Query-aware Partition Framework for Large-scale ANN Search
Ximu Zeng, Liwei Deng, Penghao Chen, Xu Chen, Han Su, Kai Zheng
Abstract
Approximate nearest neighbor search is fundamental in information retrieval. Previous partition-based methods enhance search efficiency by probing partial partitions, yet they face two common issues. In the query phase, a common strategy is to probe partitions based on the distance ranks of a query to partition centroids, which inevitably probes irrelevant partitions as it ignores data distribution. In the partition construction phase, all partition-based methods face the boundary problem that separates a query's nearest neighbors to multiple partitions, resulting in a long-tailed 𝑘NN distribution and degrading the optimal 𝑛𝑝𝑟𝑜𝑏𝑒 (i.e., the number of probing partitions). To address this gap, we propose LIRA, a LearnIng-based queRy-aware pArtition framework. Specifically, we propose a probing model to directly probe the partitions containing the 𝑘NN of a query, which can reduce probing waste and allow for queryaware probing with 𝑛𝑝𝑟𝑜𝑏𝑒 individually. Moreover, we incorporate the probing model into a learning-based redundancy strategy to mitigate the adverse impact of the long-tailed 𝑘NN distribution on search efficiency. Extensive experiments on real-world vector datasets demonstrate the superiority of LIRA in the trade-off among accuracy, latency, and query fan-out. The codes are available at https://github.com/SimoneZeng/LIRA-ANN-search .
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.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search cites Improving Approximate Nearest Neighbor Search through Learned Adaptive Early Termination
- DistVS: Large-scale Vector Search with Compute-Memory Disaggregation cites Towards Efficient Index Construction and Approximate Nearest Neighbor Search in High-Dimensional Spaces
- GPS: Revisiting the Data Layout for Disk-based High-Dimensional Vector Search cites Towards Efficient Index Construction and Approximate Nearest Neighbor Search in High-Dimensional Spaces
- TaCo: Data-adaptive and Query-aware Subspace Collision for High-dimensional Approximate Nearest Neighbor Search cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
- TaCo: Data-adaptive and Query-aware Subspace Collision for High-dimensional Approximate Nearest Neighbor Search cites Improving Approximate Nearest Neighbor Search through Learned Adaptive Early Termination
- TaCo: Data-adaptive and Query-aware Subspace Collision for High-dimensional Approximate Nearest Neighbor Search cites Towards Efficient Index Construction and Approximate Nearest Neighbor Search in High-Dimensional Spaces
- Towards Efficient Index Construction and Approximate Nearest Neighbor Search in High-Dimensional Spaces cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
Cited by top-tier papers6
- Optimizing Multi-Center Collaboration for Task Assignment in Spatial CrowdsourcingXimu Zeng, Jianxing Lin, Liwei Deng, Yuchen Fang et al.ICDE 2025 · 6 citations
- DistVS: Large-scale Vector Search with Compute-Memory DisaggregationPeiqi Yin, Xiao Yan, Shiyuan Deng, Hui Li et al.NSDI 2026 · 3 citations
- GPS: Revisiting the Data Layout for Disk-based High-Dimensional Vector SearchPeiqi Yin, Xiao Yan, Qihui Zhou, Hui Li et al.SIGMOD 2026 · 2 citations
- Efficient High-Dimensional Time Series Forecasting with Transformers: A Channel Reordering PerspectiveYuchen Fang, Shiyu Wang, Yuxuan Liang, Zhou Ye et al.WWW 2026 · 1 citation
- TaCo: Data-adaptive and Query-aware Subspace Collision for High-dimensional Approximate Nearest Neighbor SearchJiuqi Wei, Zhenyu Liao, Ruoyu Han, Quanqing Xu et al.SIGMOD 2026
Builds on28
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
- Geography-Aware Sequential Location RecommendationDefu Lian, Yongji Wu, Yong Ge, Xing Xie et al.KDD 2020 · 244 citations
- Learning Space Partitions for Nearest Neighbor SearchYihe Dong, Piotr Indyk, Ilya P. Razenshteyn, Tal WagnerICLR 2020 · 104 citations
- Towards Efficient Index Construction and Approximate Nearest Neighbor Search in High-Dimensional SpacesXi Zhao, Yao Tian, Kai Huang, Bolong Zheng et al.VLDB 2023 · 88 citations
- Improving Approximate Nearest Neighbor Search through Learned Adaptive Early TerminationConglong Li, Minjia Zhang, David G. Andersen, Yuxiong HeSIGMOD 2020 · 86 citations
Related papers
- Leanor: A Learning-Based Accelerator for Efficient Approximate Nearest Neighbor Search via Reduced Memory AccessYi Wang, Huan Liu, Jianan Yuan, Jiaxian Chen et al.DAC 2024 · 4 citations
- CSPG: Crossing Sparse Proximity Graphs for Approximate Nearest Neighbor SearchMing Yang, Yuzheng Cai, Weiguo ZhengNeurIPS 2024 · 14 citations
- Towards Accurate Distance Estimation for Distribution-Aware c-ANN SearchLiwei Deng, Penghao Chen, Ximu Zeng, Yuchen Fang et al.ICDE 2025 · 1 citation
- SPFresh: Incremental In-Place Update for Billion-Scale Vector SearchYuming Xu, Hengyu Liang, Jin Li, Shuotao Xu et al.SOSP 2023 · 45 citations
- Quake: Adaptive Indexing for Vector SearchJason Mohoney, Devesh Sarda, Mengze Tang, Shihabur Rahman Chowdhury et al.OSDI 2025 · 12 citations
