Billion-scale similarity search with GPUs

AI-generated keywords: Similarity search GPUs k-selection Yfcc100M dataset Product quantization

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • The paper addresses the challenge of efficiently utilizing GPUs for similarity search in specialized database systems that handle complex data such as images or videos.
  • Previous approaches have been bottlenecked by algorithms that expose less parallelism or make poor use of the memory hierarchy.
  • The authors propose a design for k-selection that operates at up to 55% of theoretical peak performance, enabling a nearest neighbor implementation that is 8.5 times faster than prior GPU state-of-the-art methods.
  • The authors apply their approach in different similarity search scenarios by proposing optimized designs for brute-force, approximate, and compressed-domain searches based on product quantization.
  • In all these setups, they outperform the state-of-the-art methods by large margins.
  • The authors demonstrate the effectiveness of their implementation by constructing a high accuracy k-NN graph on 95 million images from the Yfcc100M dataset in just 35 minutes and a graph connecting one billion vectors in less than 12 hours using four Maxwell Titan X GPUs.
  • They have also open-sourced their approach for comparison and reproducibility.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Jeff Johnson, Matthijs Douze, Hervé Jégou

Abstract: 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.

Submitted to arXiv on 28 Feb. 2017

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 1702.08734v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

The paper "Billion-scale similarity search with GPUs" by Jeff Johnson, Matthijs Douze, and Hervé Jégou addresses the challenge of efficiently utilizing GPUs for similarity search in specialized database systems that handle complex data such as images or videos. These types of data are typically represented by high-dimensional features and require specific indexing structures. While GPUs excel at data-parallel tasks, previous approaches have been bottlenecked by algorithms that expose less parallelism, such as k-min selection, or make poor use of the memory hierarchy. To address this issue, the authors propose a design for k-selection that operates at up to 55% of theoretical peak performance. This enables a nearest neighbor implementation that is 8.5 times faster than prior GPU state-of-the-art methods. The authors apply their approach in different similarity search scenarios by proposing optimized designs for brute-force, approximate, and compressed-domain searches based on product quantization. In all these setups, they outperform the state-of-the-art methods by large margins. The authors demonstrate the effectiveness of their implementation by constructing a high accuracy k-NN graph on 95 million images from the Yfcc100M dataset in just 35 minutes and a graph connecting one billion vectors in less than 12 hours using four Maxwell Titan X GPUs. They have also open-sourced their approach for comparison and reproducibility. Overall, this paper presents an innovative solution to the challenge of efficiently utilizing GPUs for similarity search in specialized database systems handling complex data such as images or videos. The proposed design for k-selection significantly improves performance compared to prior state-of-the art methods and can be applied in various similarity search scenarios with impressive results.
Created on 07 Apr. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.