OOD-DiskANN: Efficient and Scalable Graph ANNS for Out-of-Distribution Queries
Not on the map. Why?
Abstract (arXiv)
State-of-the-art algorithms for Approximate Nearest Neighbor Search (ANNS) such as DiskANN, FAISS-IVF, and HNSW build data dependent indices that offer substantially better accuracy and search efficiency over data-agnostic indices by overfitting to the index data distribution. When the query data is drawn from a different distribution - e.g., when index represents image embeddings and query represents textual embeddings - such algorithms lose much of this performance advantage. On a variety of datasets, for a fixed recall target, latency is worse by an order of magnitude or more for Out-Of-Distribution (OOD) queries as compared to In-Distribution (ID) queries. The question we address in this work is whether ANNS algorithms can be made efficient for OOD queries if the index construction is given access to a small sample set of these queries. We answer positively by presenting OOD-DiskANN, which uses a sparing sample (1% of index set size) of OOD queries, and provides up to 40% improvement in mean query latency over SoTA algorithms of a similar memory footprint. OOD-DiskANN is scalable and has the efficiency of graph-based ANNS indices. Some of our contributions can improve query efficiency for ID queries as well.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 24 of its 52 references that are in the map. First posted on arXiv 22 Oct 2022.
Builds on
24 of 52 references.
References · 24
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 733
- 2014Discriminative Unsupervised Feature Learning with Exemplar Convolutional Neural Networkscited by 299
- 2020Overview of the TREC 2019 deep learning trackcited by 282
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
- 2018ANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithmscited by 130
12 more
- 2015Practical and Optimal LSH for Angular Distancecited by 105
- 2017Fast Approximate Nearest Neighbor Search With The Navigating Spreading-out Graphcited by 103
- 2021A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Searchcited by 82
- 2021Semantic Models for the First-stage Retrieval: A Comprehensive Reviewcited by 57
- 2022Results of the NeurIPS'21 Challenge on Billion-Scale Approximate Nearest Neighbor Searchcited by 45
- 2018Revisiting the Inverted Indices for Billion-Scale Approximate Nearest Neighborscited by 37
- 2021Do We Really Need to Learn Representations from In-domain Data for Outlier Detection?cited by 16
- 2019Unsupervised Neural Quantization for Compressed-Domain Similarity Searchcited by 15
- 2021PnPOOD : Out-Of-Distribution Detection for Text Classification via Plug andPlay Data Augmentationcited by 12
- 2021Nearest neighbor search with compact codes: A decoder perspectivecited by 5
- 2021Graph Reordering for Cache-Efficient Near Neighbor Searchcited by 4
- 2021Deep Random Projection Outlyingness for Unsupervised Anomaly Detectioncited by 3
Built on by
Citing papers per year: 2023: 3; 2024: 6; 2025: 2; 2026: 3.
14 papers.
Sort:
By area:
- 2024The Faiss librarycited by 370
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 114
- 2024RoarGraph: A Projected Bipartite Graph for Efficient Cross-Modal Approximate Nearest Neighbor Searchcited by 12
- 2023DeDrift: Robust Similarity Search under Content Driftcited by 11
- 2025Inference-time sparse attention with asymmetric indexingcited by 11
- 2025VIBE: Vector Index Benchmark for Embeddingscited by 6
- 2023LeanVec: Searching vectors faster by making them fitcited by 5
- 2024LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Searchcited by 4
- 2026QVCache: A Query-Aware Vector Cachecited by 2
- 2023EHI: End-to-end Learning of Hierarchical Index for Efficient Dense Retrievalcited by 1
- 2024Theoretical and Empirical Analysis of Adaptive Entry Point Selection for Graph-based Approximate Nearest Neighbor Searchcited by 1
- 2024GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reductioncited by 0
2 more
- 2026Attention via Black-Box Vector Search7 Oct 2026
- 2026ANNLib: A Development Framework for Efficient Approximate Nearest Neighbor Search20 Jul 2026
- 2026QVCache: A Query-Aware Vector Cache2 Feb 2026
- 2025VIBE: Vector Index Benchmark for Embeddings23 May 2025
- 2025Inference-time sparse attention with asymmetric indexing12 Feb 2025
- 2024LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search24 Oct 2024
- 2024GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reduction14 Oct 2024
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrieval16 Sep 2024
- 2024RoarGraph: A Projected Bipartite Graph for Efficient Cross-Modal Approximate Nearest Neighbor Search16 Aug 2024
- 2024Theoretical and Empirical Analysis of Adaptive Entry Point Selection for Graph-based Approximate Nearest Neighbor Search7 Feb 2024
- 2024The Faiss library16 Jan 2024
- 2023LeanVec: Searching vectors faster by making them fit26 Dec 2023
2 more
- 2026QVCache: A Query-Aware Vector Cachecited by 2
- 2026QVCache: A Query-Aware Vector Cache2 Feb 2026
- 2024The Faiss librarycited by 370
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 114
- 2024RoarGraph: A Projected Bipartite Graph for Efficient Cross-Modal Approximate Nearest Neighbor Searchcited by 12
- 2023DeDrift: Robust Similarity Search under Content Driftcited by 11
- 2025Inference-time sparse attention with asymmetric indexingcited by 11
- 2025VIBE: Vector Index Benchmark for Embeddingscited by 6
- 2023LeanVec: Searching vectors faster by making them fitcited by 5
- 2024LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Searchcited by 4
- 2023EHI: End-to-end Learning of Hierarchical Index for Efficient Dense Retrievalcited by 1
- 2024Theoretical and Empirical Analysis of Adaptive Entry Point Selection for Graph-based Approximate Nearest Neighbor Searchcited by 1
- 2024GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reductioncited by 0
- 2026ANNLib: A Development Framework for Efficient Approximate Nearest Neighbor Searchcited by 0
12 most cited of 13 All 13 (JSON)
- 2026Attention via Black-Box Vector Search7 Oct 2026
- 2026ANNLib: A Development Framework for Efficient Approximate Nearest Neighbor Search20 Jul 2026
- 2025VIBE: Vector Index Benchmark for Embeddings23 May 2025
- 2025Inference-time sparse attention with asymmetric indexing12 Feb 2025
- 2024LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search24 Oct 2024
- 2024GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reduction14 Oct 2024
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrieval16 Sep 2024
- 2024RoarGraph: A Projected Bipartite Graph for Efficient Cross-Modal Approximate Nearest Neighbor Search16 Aug 2024
- 2024Theoretical and Empirical Analysis of Adaptive Entry Point Selection for Graph-based Approximate Nearest Neighbor Search7 Feb 2024
- 2024The Faiss library16 Jan 2024
- 2023LeanVec: Searching vectors faster by making them fit26 Dec 2023
- 2023EHI: End-to-end Learning of Hierarchical Index for Efficient Dense Retrieval13 Oct 2023
12 newest of 13 All 13 (JSON)