paper-with-me

홈 › Papers

SPANN: Highly-efficient Billion-scale Approximate Nearest Neighborhood Search

2021-05-21 · NeurIPS 2021 12 · Qi Chen, Bing Zhao, Haidong Wang, Mingqin Li, Chuanjie Liu, Zengzhong Li, Mao Yang, Jingdong Wang

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 2X 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: https://github.com/microsoft/SPTAG.

📄 PDF Abstract BibTeX

Code (1)

Microsoft/SPTAG 공식 구현

Similar Papers 제목 키워드 기반

SPANN: Highly-efficient Billion-scale Approximate Nearest Neighbor Search

2021-11-05 · NeurIPS 2021 12 · Qi Chen, Bing Zhao, Haidong Wang, Mingqin Li 외

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 incr…

Revisiting the Inverted Indices for Billion-Scale Approximate Nearest Neighbors

2018-02-07 · ECCV 2018 9 · Dmitry Baranchuk, Artem Babenko, Yury Malkov

This work addresses the problem of billion-scale nearest neighbor search. The state-of-the-art retrieval systems for billion-scale databases are currently based on the inverted multi-index, the recently proposed generali…

Retrieval

FusionANNS: An Efficient CPU/GPU Cooperative Processing Architecture for Billion-scale Approximate Nearest Neighbor Search

2024-09-25 · Bing Tian, Haikun Liu, YuHang Tang, Shihai Xiao 외

Approximate nearest neighbor search (ANNS) has emerged as a crucial component of database and AI infrastructure. Ever-increasing vector datasets pose significant challenges in terms of performance, cost, and accuracy for…

Collaborative FilteringCPUGPURe-Ranking

Efficient Large-Scale Approximate Nearest Neighbor Search on OpenCL FPGA

2018-06-01 · CVPR 2018 6 · Jialiang Zhang, Soroosh Khoram, Jing Li

We present a new method for Product Quantization (PQ) based approximated nearest neighbor search (ANN) in high dimensional spaces. Specifically, we first propose a quantization scheme for the codebook of coarse quantizer…

CPUGPUQuantization

Improving Bilayer Product Quantization for Billion-Scale Approximate Nearest Neighbors in High Dimensions

2014-04-07 · Artem Babenko, Victor Lempitsky

The top-performing systems for billion-scale high-dimensional approximate nearest neighbor (ANN) search are all based on two-layer architectures that include an indexing structure and a compressed datapoints layer. An in…

Data CompressionQuantization