paper-with-me

홈 › Papers

HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory

2020-12-01 · NeurIPS 2020 12 · Jie Ren, Minjia Zhang, Dong Li

The state-of-the-art approximate nearest neighbor search (ANNS) algorithms face a fundamental tradeoff between query latency and accuracy, because of small main memory capacity: To store indices in main memory for short query latency, the ANNS algorithms have to limit dataset size or use a quantization scheme which hurts search accuracy. The emergence of heterogeneous memory (HM) brings a solution to significantly increase memory capacity and break the above tradeoff: Using HM, billions of data points can be placed in the main memory on a single machine without using any data compression. However, HM consists of both fast (but small) memory and slow (but large) memory, and using HM inappropriately slows down query significantly. In this work, we present a novel graph-based similarity search algorithm called HM-ANN, which takes both memory and data heterogeneity into consideration and enables billion-scale similarity search on a single node without using compression. On two billion-sized datasets BIGANN and DEEP1B, HM-ANN outperforms state-of-the-art compression-based solutions such as L&C and IMI+OPQ in recall-vs-latency by a large margin, obtaining 46% higher recall under the same search latency. We also extend existing graph-based methods such as HNSW and NSG with two strong baseline implementations on HM. At billion-point scale, HM-ANN is 2X and 5.8X faster than our HNSWand NSG baselines respectively to reach the same accuracy.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Data CompressionQuantization

Similar Papers 제목 키워드 기반

Rand-NSG: Fast Accurate Billion-point Nearest Neighbor Search on a Single Node

2019-12-01 · NeurIPS 2019 12 · Suhas Jayaram Subramanya, Fnu Devvrit, Harsha Vardhan Simhadri, Ravishankar Krishnawamy 외

Current state-of-the-art approximate nearest neighbor search (ANNS) algorithms generate indices that must be stored in main memory for fast high-recall search. This makes them expensive and limits the size of the dataset…

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

Medical Image Retrieval via Nearest Neighbor Search on Pre-trained Image Features

2022-10-05 · Deepak Gupta, Russell Loane, Soumya Gayen, Dina Demner-Fushman

Nearest neighbor search (NNS) aims to locate the points in high-dimensional space that is closest to the query point. The brute-force approach for finding the nearest neighbor becomes computationally infeasible when the …

Image RetrievalMedical Image RetrievalRetrieval

Unleashing Graph Partitioning for Large-Scale Nearest Neighbor Search

2024-03-04 · Lars Gottesbüren, Laxman Dhulipala, Rajesh Jayaram, Jakub Lacki

We consider the fundamental problem of decomposing a large-scale approximate nearest neighbor search (ANNS) problem into smaller sub-problems. The goal is to partition the input points into neighborhood-preserving shards…

graph partitioning

Nearest neighbor search with compact codes: A decoder perspective

2021-12-17 · Kenza Amara, Matthijs Douze, Alexandre Sablayrolles, Hervé Jégou

Modern approaches for fast retrieval of similar vectors on billion-scaled datasets rely on compressed-domain approaches such as binary sketches or product quantization. These methods minimize a certain loss, typically th…

DecoderQuantizationRetrieval