Lune

USENIX ATC2024Top-tier venue

Scalable Billion-point Approximate Nearest Neighbor Search Using SmartSSDs

Bing Tian, Haikun Liu, Zhuohui Duan, Xiaofei Liao, Hai Jin, Yu Zhang

Abstract

Approximate nearest neighbor search (ANNS) in highdimensional vector spaces has become increasingly crucial in database and machine learning applications. Most previous ANNS algorithms require TB-scale memory to store indices of billion-scale datasets, making their deployment extremely expensive for high-performance search. The emerging SmartSSD technology offers an opportunity to achieve scalable ANNS via near data processing (NDP). However, there remain challenges to directly adopt existing ANNS algorithms on multiple SmartSSDs.

In this paper, we present SmartANNS, a SmartSSDempowered billion-scale ANNS solution based on a hierarchical indexing methodology. We propose several novel designs to achieve near-linear scaling with multiple SmartSSDs. First, we propose a "host CPUs + SmartSSDs" cooperative architecture incorporated with hierarchical indices to significantly reduce data accesses and computations on SmartSSDs. Second, we propose dynamic task scheduling based on optimized data layout to achieve both load balancing and data reusing for multiple SmartSSDs. Third, we further propose a learning-based shard pruning algorithm to eliminate unnecessary computations on SmartSSDs. We implement SmartANNS using Samsung's commercial SmartSSDs. Experimental results show that SmartANNS can improve query per second (QPS) by up to 10.7× compared with the state-of-the-art SmartSSDbased ANNS solution-CSDANNS. Moreover, SmartANNS can achieve near-linear performance scalability for large-scale datasets using multiple SmartSSDs.

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.

24 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SPANN: Highly-efficient Billion-scale Approximate Nearest Neighborhood Search cites HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory
  • A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search cites SONG: Approximate Nearest Neighbor Search on GPU
  • A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search cites HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory
  • A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search cites Improving Approximate Nearest Neighbor Search through Learned Adaptive Early Termination
  • Towards High-throughput and Low-latency Billion-scale Vector Search via CPU/GPU Collaborative Filtering and Re-ranking cites SPANN: Highly-efficient Billion-scale Approximate Nearest Neighborhood Search
  • Towards High-throughput and Low-latency Billion-scale Vector Search via CPU/GPU Collaborative Filtering and Re-ranking cites SONG: Approximate Nearest Neighbor Search on GPU
  • Towards High-throughput and Low-latency Billion-scale Vector Search via CPU/GPU Collaborative Filtering and Re-ranking cites HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory
  • ANSMET: Approximate Nearest Neighbor Search with Near-Memory Processing and Hybrid Early Termination cites SPANN: Highly-efficient Billion-scale Approximate Nearest Neighborhood Search
  • ANSMET: Approximate Nearest Neighbor Search with Near-Memory Processing and Hybrid Early Termination cites SONG: Approximate Nearest Neighbor Search on GPU
  • ANSMET: Approximate Nearest Neighbor Search with Near-Memory Processing and Hybrid Early Termination cites Improving Approximate Nearest Neighbor Search through Learned Adaptive Early Termination
  • REIS: A High-Performance and Energy-Efficient Retrieval System with In-Storage Processing cites SPANN: Highly-efficient Billion-scale Approximate Nearest Neighborhood Search
  • REIS: A High-Performance and Energy-Efficient Retrieval System with In-Storage Processing cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
  • REIS: A High-Performance and Energy-Efficient Retrieval System with In-Storage Processing cites HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory
  • Achieving Low-Latency Graph-Based Vector Search via Aligning Best-First Search Algorithm with SSD cites A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search
  • Achieving Low-Latency Graph-Based Vector Search via Aligning Best-First Search Algorithm with SSD cites Improving Approximate Nearest Neighbor Search through Learned Adaptive Early Termination
  • OdinANN: Direct Insert for Consistently Stable Performance in Billion-Scale Graph-Based Vector Search cites HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. Towards High-throughput and Low-latency Billion-scale Vector Search via CPU/GPU Collaborative Filtering and Re-rankingBing Tian, Haikun Liu, Yuhang Tang, Shihai Xiao et al.FAST 2025 · 49 citations
  2. Achieving Low-Latency Graph-Based Vector Search via Aligning Best-First Search Algorithm with SSDHao Guo, Youyou LuOSDI 2025 · 26 citations
  3. REIS: A High-Performance and Energy-Efficient Retrieval System with In-Storage ProcessingKangqi Chen, Rakesh Nadig, Manos Frouzakis, Nika Mansouri-Ghiasi et al.ISCA 2025 · 14 citations
  4. OdinANN: Direct Insert for Consistently Stable Performance in Billion-Scale Graph-Based Vector SearchHao Guo, Youyou LuFAST 2026 · 11 citations
  5. ANSMET: Approximate Nearest Neighbor Search with Near-Memory Processing and Hybrid Early TerminationYiwei Li, Yuxin Jin, Boyu Tian, Huanchen Zhang et al.ISCA 2025 · 10 citations

Builds on14

  1. A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
  2. SPANN: Highly-efficient Billion-scale Approximate Nearest Neighborhood SearchQi Chen, Bing Zhao, Haidong Wang, Mingqin Li et al.NeurIPS 2021 · 219 citations
  3. HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous MemoryJie Ren, Minjia Zhang, Dong LiNeurIPS 2020 · 136 citations
  4. SONG: Approximate Nearest Neighbor Search on GPUWeijie Zhao, Shulong Tan, Ping LiICDE 2020 · 103 citations
  5. Improving Approximate Nearest Neighbor Search through Learned Adaptive Early TerminationConglong Li, Minjia Zhang, David G. Andersen, Yuxiong HeSIGMOD 2020 · 86 citations

Related papers

  1. High-Throughput, Cost-Effective Billion-Scale Vector Search with a Single GPUHaodi Jiang, Hao Guo, Minhui Xie, Jiwu Shu et al.SIGMOD 2026
  2. Don't Surrender to Low QPS/$: Fast and Cost-Efficient ANNS with TridentANNYuchen Huang, Baiteng Ma, Erci Xu, Chuliang WengISCA 2026 · 1 citation
  3. UpANNS: Enhancing Billion-Scale ANNS Efficiency with Real-World PIM ArchitectureSitian Chen, Amelie Chi Zhou, Yucheng Shi, Yusen Li et al.SC 2025 · 8 citations
  4. NDSEARCH: Accelerating Graph-Traversal-Based Approximate Nearest Neighbor Search through Near Data ProcessingYitu Wang, Shiyu Li, Qilin Zheng, Linghao Song et al.ISCA 2024 · 26 citations
  5. Processing-In-Hierarchical-Memory Architecture for Billion-Scale Approximate Nearest Neighbor SearchZhenhua Zhu, Jun Liu, Guohao Dai, Shulin Zeng et al.DAC 2023 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines