SPANN: Highly-efficient Billion-scale Approximate Nearest Neighbor Search
Not on the map. Why?
Abstract (arXiv)
The in-memory algorithms for approximate nearest neighbor search (ANNS) have achieved great success for fast high-recall search, but are extremely expensive when handling very large scale database. Thus, there is an increasing request for the hybrid ANNS solutions with small memory and inexpensive solid-state drive (SSD). In this paper, we present a simple but efficient memory-disk hybrid indexing and search system, named SPANN, that follows the inverted index methodology. It stores the centroid points of the posting lists in the memory and the large posting lists in the disk. We guarantee both disk-access efficiency (low latency) and high recall by effectively reducing the disk-access number and retrieving high-quality posting lists. In the index-building stage, we adopt a hierarchical balanced clustering algorithm to balance the length of posting lists and augment the posting list by adding the points in the closure of the corresponding clusters. In the search stage, we use a query-aware scheme to dynamically prune the access of unnecessary posting lists. Experiment results demonstrate that SPANN is 2× faster than the state-of-the-art ANNS solution DiskANN to reach the same recall quality 90% with same memory cost in three billion-scale datasets. It can reach 90% recall@1 and recall@10 in just around one millisecond with only 32GB memory cost. Code is available at: footnotesizecolorblueurlhttps://github.com/microsoft/SPTAG.
Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). Builds on 9 of its 53 references that are in the map. First posted on arXiv 5 Nov 2021.
Builds on
9 of 53 references.
References · 9
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2016A Survey on Learning to Hashcited by 119
- 2014Asymmetric LSH (ALSH) for Sublinear Time Maximum Inner Product Search (MIPS)cited by 109
- 2018Revisiting the Inverted Indices for Billion-Scale Approximate Nearest Neighborscited by 37
- 2018Optimization of Indexing Based on k-Nearest Neighbor Graph for Proximity Search in High-dimensional Datacited by 20
- 2019Graph-based Nearest Neighbor Search: From Practice to Theorycited by 19
- 2019Pyramid: A General Framework for Distributed Similarity Searchcited by 3
- 2017Composite Quantizationcited by 2
Built on by
Citing papers per year: 2022: 4; 2023: 4; 2024: 3; 2025: 13; 2026: 11.
35 papers.
Sort:
By area:
- 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Modelscited by 23
- 2022Revisiting a kNN-based Image Classification System with High-capacity Storagecited by 22
- 2023Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitationscited by 20
- 2022Uni-Retriever: Towards Learning The Unified Embedding Based Retriever in Bing Sponsored Searchcited by 17
- 2022Distill-VQ: Learning Retrieval Oriented Vector Quantization By Distilling Knowledge from Dense Embeddingscited by 17
- 2024Human-inspired Perspectives: A Survey on AI Long-term Memorycited by 12
- 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrievalcited by 9
- 2025Quake: Adaptive Indexing for Vector Searchcited by 8
- 2023ESPN: Memory-Efficient Multi-Vector Information Retrievalcited by 7
- 2024Incremental IVF Index Maintenance for Streaming Vector Searchcited by 7
- 2023Co-design Hardware and Algorithm for Vector Searchcited by 6
- 2025LEANN: A Low-Storage Vector Indexcited by 4
23 more
- 2025Hierarchical Patch Compression for ColPali: Efficient Multi-Vector Document Retrieval with Dynamic Pruning and Quantizationcited by 3
- 2022Hybrid Inverted Index Is a Robust Accelerator for Dense Retrievalcited by 2
- 2024Hallmarks of Optimization Trajectories in Neural Networks: Directional Exploration and Redundancycited by 2
- 2025HAKES: Scalable Vector Database for Embedding Search Servicecited by 2
- 2025Multimodal Data Storage and Retrieval for Embodied AI: A Surveycited by 2
- 2025Scalable Disk-Based Approximate Nearest Neighbor Search with Page-Aligned Graphcited by 2
- 2026QVCache: A Query-Aware Vector Cachecited by 2
- 2025CaGR-RAG: Context-aware Query Grouping for Disk-based Vector Search in RAG Systemscited by 1
- 2026GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directionscited by 1
- 2026SIFT: Selective-Index For Fast Compute of RAG Prefill by Exploiting Attention Invariancecited by 1
- 2025MINT: Multi-Vector Search Index Tuningcited by 0
- 2025Infinity Search: Approximate Vector Search with Projections on q-Metric Spacescited by 0
- 2025Large-Scale Graph Building in Dynamic Environments: Low Latency and High Qualitycited by 0
- 2025Individualized non-uniform quantization for vector searchcited by 0
- 2025ARCADE: A Real-Time Data System for Hybrid and Continuous Query Processing across Diverse Data Modalitiescited by 0
- 2026MCGI: Manifold-Consistent Graph Indexing for Billion-Scale Disk-Resident Vector Searchcited by 0
- 2026EGA: Adapting Frozen Encoders for Vector Search with Bounded Out-of-Distribution Degradationcited by 0
- 2026IVF-TQ: Calibration-Free Streaming Vector Search via a Codebook-Free Residual Layercited by 0
- 2026NasZip: Software and Hardware Co-Design to Accelerate Approximate Nearest Neighbor Search with DIMM-Based Near-Data Processingcited by 0
- 2026Akashic: A Low-Overhead LLM Inference Service with MemAttentioncited by 0
- 2026D-NOVA: In-Storage Retrieval Accelerator via Dual-Bound 3D NAND-Optimized Similarity Search with Vector Adaptationcited by 0
- 2026QASP: Query-Adaptive Robust Vector Search Policycited by 0
- 2026MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Datacited by 0
- 2026MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data22 Aug 2026
- 2026QASP: Query-Adaptive Robust Vector Search Policy31 Jul 2026
- 2026D-NOVA: In-Storage Retrieval Accelerator via Dual-Bound 3D NAND-Optimized Similarity Search with Vector Adaptation20 Jul 2026
- 2026Akashic: A Low-Overhead LLM Inference Service with MemAttention7 Jul 2026
- 2026SIFT: Selective-Index For Fast Compute of RAG Prefill by Exploiting Attention Invariance8 Jun 2026
- 2026NasZip: Software and Hardware Co-Design to Accelerate Approximate Nearest Neighbor Search with DIMM-Based Near-Data Processing21 May 2026
- 2026IVF-TQ: Calibration-Free Streaming Vector Search via a Codebook-Free Residual Layer17 May 2026
- 2026EGA: Adapting Frozen Encoders for Vector Search with Bounded Out-of-Distribution Degradation7 May 2026
- 2026GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directions10 Feb 2026
- 2026QVCache: A Query-Aware Vector Cache2 Feb 2026
- 2026MCGI: Manifold-Consistent Graph Indexing for Billion-Scale Disk-Resident Vector Search5 Jan 2026
- 2025Scalable Disk-Based Approximate Nearest Neighbor Search with Page-Aligned Graph29 Sep 2025
23 more
- 2025ARCADE: A Real-Time Data System for Hybrid and Continuous Query Processing across Diverse Data Modalities24 Sep 2025
- 2025Individualized non-uniform quantization for vector search22 Sep 2025
- 2025Multimodal Data Storage and Retrieval for Embodied AI: A Survey19 Aug 2025
- 2025Large-Scale Graph Building in Dynamic Environments: Low Latency and High Quality14 Jul 2025
- 2025Hierarchical Patch Compression for ColPali: Efficient Multi-Vector Document Retrieval with Dynamic Pruning and Quantization19 Jun 2025
- 2025LEANN: A Low-Storage Vector Index9 Jun 2025
- 2025Infinity Search: Approximate Vector Search with Projections on q-Metric Spaces6 Jun 2025
- 2025Quake: Adaptive Indexing for Vector Search3 Jun 2025
- 2025HAKES: Scalable Vector Database for Embedding Search Service18 May 2025
- 2025CaGR-RAG: Context-aware Query Grouping for Disk-based Vector Search in RAG Systems2 May 2025
- 2025MINT: Multi-Vector Search Index Tuning28 Apr 2025
- 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrieval28 Feb 2025
- 2024Incremental IVF Index Maintenance for Streaming Vector Search1 Nov 2024
- 2024Human-inspired Perspectives: A Survey on AI Long-term Memory1 Nov 2024
- 2024Hallmarks of Optimization Trajectories in Neural Networks: Directional Exploration and Redundancy12 Mar 2024
- 2023ESPN: Memory-Efficient Multi-Vector Information Retrieval9 Dec 2023
- 2023Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations29 Oct 2023
- 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models15 Oct 2023
- 2023Co-design Hardware and Algorithm for Vector Search19 Jun 2023
- 2022Hybrid Inverted Index Is a Robust Accelerator for Dense Retrieval11 Oct 2022
- 2022Revisiting a kNN-based Image Classification System with High-capacity Storage3 Apr 2022
- 2022Distill-VQ: Learning Retrieval Oriented Vector Quantization By Distilling Knowledge from Dense Embeddings1 Apr 2022
- 2022Uni-Retriever: Towards Learning The Unified Embedding Based Retriever in Bing Sponsored Search13 Feb 2022
- 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Modelscited by 23
- 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrievalcited by 9
- 2025Quake: Adaptive Indexing for Vector Searchcited by 8
- 2025LEANN: A Low-Storage Vector Indexcited by 4
- 2026QVCache: A Query-Aware Vector Cachecited by 2
- 2025CaGR-RAG: Context-aware Query Grouping for Disk-based Vector Search in RAG Systemscited by 1
- 2026SIFT: Selective-Index For Fast Compute of RAG Prefill by Exploiting Attention Invariancecited by 1
- 2026NasZip: Software and Hardware Co-Design to Accelerate Approximate Nearest Neighbor Search with DIMM-Based Near-Data Processingcited by 0
- 2026D-NOVA: In-Storage Retrieval Accelerator via Dual-Bound 3D NAND-Optimized Similarity Search with Vector Adaptationcited by 0
- 2026D-NOVA: In-Storage Retrieval Accelerator via Dual-Bound 3D NAND-Optimized Similarity Search with Vector Adaptation20 Jul 2026
- 2026SIFT: Selective-Index For Fast Compute of RAG Prefill by Exploiting Attention Invariance8 Jun 2026
- 2026NasZip: Software and Hardware Co-Design to Accelerate Approximate Nearest Neighbor Search with DIMM-Based Near-Data Processing21 May 2026
- 2026QVCache: A Query-Aware Vector Cache2 Feb 2026
- 2025LEANN: A Low-Storage Vector Index9 Jun 2025
- 2025Quake: Adaptive Indexing for Vector Search3 Jun 2025
- 2025CaGR-RAG: Context-aware Query Grouping for Disk-based Vector Search in RAG Systems2 May 2025
- 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrieval28 Feb 2025
- 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models15 Oct 2023
- 2022Revisiting a kNN-based Image Classification System with High-capacity Storagecited by 22
- 2023Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitationscited by 20
- 2022Uni-Retriever: Towards Learning The Unified Embedding Based Retriever in Bing Sponsored Searchcited by 17
- 2022Distill-VQ: Learning Retrieval Oriented Vector Quantization By Distilling Knowledge from Dense Embeddingscited by 17
- 2024Human-inspired Perspectives: A Survey on AI Long-term Memorycited by 12
- 2023ESPN: Memory-Efficient Multi-Vector Information Retrievalcited by 7
- 2024Incremental IVF Index Maintenance for Streaming Vector Searchcited by 7
- 2023Co-design Hardware and Algorithm for Vector Searchcited by 6
- 2025Hierarchical Patch Compression for ColPali: Efficient Multi-Vector Document Retrieval with Dynamic Pruning and Quantizationcited by 3
- 2022Hybrid Inverted Index Is a Robust Accelerator for Dense Retrievalcited by 2
- 2024Hallmarks of Optimization Trajectories in Neural Networks: Directional Exploration and Redundancycited by 2
- 2025HAKES: Scalable Vector Database for Embedding Search Servicecited by 2
12 most cited of 25 All 25 (JSON)
- 2026MEMONDEMAND: A Memory Management System for Large-Scale Enterprise Data22 Aug 2026
- 2026QASP: Query-Adaptive Robust Vector Search Policy31 Jul 2026
- 2026IVF-TQ: Calibration-Free Streaming Vector Search via a Codebook-Free Residual Layer17 May 2026
- 2026EGA: Adapting Frozen Encoders for Vector Search with Bounded Out-of-Distribution Degradation7 May 2026
- 2026GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directions10 Feb 2026
- 2026MCGI: Manifold-Consistent Graph Indexing for Billion-Scale Disk-Resident Vector Search5 Jan 2026
- 2025Scalable Disk-Based Approximate Nearest Neighbor Search with Page-Aligned Graph29 Sep 2025
- 2025ARCADE: A Real-Time Data System for Hybrid and Continuous Query Processing across Diverse Data Modalities24 Sep 2025
- 2025Individualized non-uniform quantization for vector search22 Sep 2025
- 2025Multimodal Data Storage and Retrieval for Embodied AI: A Survey19 Aug 2025
- 2025Large-Scale Graph Building in Dynamic Environments: Low Latency and High Quality14 Jul 2025
- 2025Hierarchical Patch Compression for ColPali: Efficient Multi-Vector Document Retrieval with Dynamic Pruning and Quantization19 Jun 2025
12 newest of 25 All 25 (JSON)