Highlight

Billion-Scale Similarity Search with GPUs

A GPU design for k-selection that accelerates exact, approximate, and compressed similarity search, enabling billion-scale nearest-neighbor graphs.

Based on

Billion-Scale Similarity Search with GPUs

By Jeff Johnson, Matthijs Douze, H. JégouIEEE Transactions on Big Data
Read original article →

The paper targets similarity search for complex, high-dimensional data such as images and videos, where specialized indexing structures are needed, and asks how to better exploit GPUs for this workload. The authors observe that although GPUs are well suited to data-parallel distance computation, earlier approaches were bottlenecked either by algorithms exposing little parallelism, such as k-min selection, or by poor use of the memory hierarchy. Their central contribution is a novel design for k-selection, which they apply across brute-force, approximate, and compressed-domain search based on product quantization.

Across all these settings the method outperforms the prior state of the art by large margins, running at up to 55 percent of theoretical peak performance and yielding a nearest-neighbor implementation roughly 8.5 times faster than the best previous GPU approach. In practice this enables constructing a high-accuracy k-NN graph over 95 million Yfcc100M images in 35 minutes and connecting one billion vectors in under 12 hours on four Maxwell Titan X GPUs, and the authors open-sourced their implementation for reproducibility.

Abstract

Similarity search over complex data such as images and videos needs high-dimensional features and specialized indexing. This paper improves GPU use: GPUs excel at parallel distance computation, but prior methods were limited by low-parallelism k-min selection or poor memory use. They propose a new k-selection design applied to brute-force, approximate, and product-quantization compressed search, beating prior art by wide margins. It builds a k-NN graph over 95M Yfcc100M images in 35 minutes and connects 1 billion vectors in under 12 hours on four Titan X GPUs.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

similarity searchnearest neighbor searchGPUproduct quantizationk-selectionvector indexing
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.

Billion-Scale Similarity Search with GPUs | Aramai