paper-with-me

홈 › Papers

Billion-scale similarity search with GPUs

2017-02-28 · Jeff Johnson, Matthijs Douze, Hervé Jégou

Similarity search finds application in specialized database systems handling complex data such as images or videos, which are typically represented by high-dimensional features and require specific indexing structures. This paper tackles the problem of better utilizing GPUs for this task. While GPUs excel at data-parallel tasks, prior approaches are bottlenecked by algorithms that expose less parallelism, such as k-min selection, or make poor use of the memory hierarchy. We propose a design for k-selection that operates at up to 55% of theoretical peak performance, enabling a nearest neighbor implementation that is 8.5x faster than prior GPU state of the art. We apply it in different similarity search scenarios, by proposing optimized design for brute-force, approximate and compressed-domain search based on product quantization. In all these setups, we outperform the state of the art by large margins. Our implementation enables the construction of a high accuracy k-NN graph on 95 million images from the Yfcc100M dataset in 35 minutes, and of a graph connecting 1 billion vectors in less than 12 hours on 4 Maxwell Titan X GPUs. We have open-sourced our approach for the sake of comparison and reproducibility.

📄 PDF Abstract BibTeX arXiv:1702.08734

Code (14)

facebookresearch/faiss 공식 구현 pytorch
CoderINusE/NIPS-implementation pytorch
CoderINusE/unbounded-cache-lm pytorch
NGDSystems/faiss
NJU-yasuo/faiss_t
PhilipBAdams/faiss-learned-termination-prior-weighted
architecture-research-group/ae-asplo25-iks-faiss pytorch
bitsun/faiss-windows
gauenk/faiss_fork pytorch
hartb/faiss-gpu-feedstock
junjya/faiss
milvus-io/milvus
mimbres/neural-audio-fp tf
shiwendai/Faiss

Tasks

GPUImage Similarity SearchQuantization

Methods 이 논문이 사용한 방법론

k-NN $k$-Nearest Neighbors is a clustering-based algorithm for classification and regression. It is a a type of instance-based learning as it does not attempt to construct a…

Similar Papers 제목 키워드 기반

Vector and Line Quantization for Billion-scale Similarity Search on GPUs

2019-01-02 · Wei Chen, Jincai Chen, Fuhao Zou, Yuan-Fang Li 외

Billion-scale high-dimensional approximate nearest neighbour (ANN) search has become an important problem for searching similar objects among the vast amount of images and videos available online. The existing ANN method…

CPUGPUQuantization

Billion-scale Similarity Search Using a Hybrid Indexing Approach with Advanced Filtering

2025-01-23 · Simeon Emanuilov, Aleksandar Dimov

This paper presents a novel approach for similarity search with complex filtering capabilities on billion-scale datasets, optimized for CPU inference. Our method extends the classical IVF-Flat index structure to integrat…

CPURetrieval

A 4D Hybrid Algorithm to Scale Parallel Training to Thousands of GPUs

2023-05-22 · Siddharth Singh, Prajwal Singhania, Aditya K. Ranjan, Zack Sating 외

Heavy communication, in particular, collective operations, can become a critical performance bottleneck in scaling the training of billion-parameter neural networks to large-scale parallel systems. This paper introduces …

TGL: A General Framework for Temporal GNN Training on Billion-Scale Graphs

2022-03-28 · Hongkuan Zhou, Da Zheng, Israt Nisa, Vasileios Ioannidis 외

Many real world graphs contain time domain information. Temporal Graph Neural Networks capture temporal information as well as structural and contextual information in the generated dynamic node embeddings. Researchers h…

CPUGPUGraph Neural NetworkLink Prediction+2

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 …

Data CompressionQuantization