Faster Maximum Inner Product Search in High Dimensions
Not on the map. Why?
Abstract (arXiv)
Maximum Inner Product Search (MIPS) is a ubiquitous task in machine learning applications such as recommendation systems. Given a query vector and n atom vectors in d-dimensional space, the goal of MIPS is to find the atom that has the highest inner product with the query vector. Existing MIPS algorithms scale at least as O(√d), which becomes computationally prohibitive in high-dimensional settings. In this work, we present BanditMIPS, a novel randomized MIPS algorithm whose complexity is independent of d. BanditMIPS estimates the inner product for each atom by subsampling coordinates and adaptively evaluates more coordinates for more promising atoms. The specific adaptive sampling strategy is motivated by multi-armed bandits. We provide theoretical guarantees that BanditMIPS returns the correct answer with high probability, while improving the complexity in d from O(√d) to O(1). We also perform experiments on four synthetic and real-world datasets and demonstrate that BanditMIPS outperforms prior state-of-the-art algorithms. For example, in the Movie Lens dataset (n=4,000, d=6,000), BanditMIPS is 20× faster than the next best algorithm while returning the same answer. BanditMIPS requires no preprocessing of the data and includes a hyperparameter that practitioners may use to trade off accuracy and runtime. We also propose a variant of our algorithm, named BanditMIPS-α, which achieves further speedups by employing non-uniform sampling across coordinates. Finally, we demonstrate how known preprocessing techniques can be used to further accelerate BanditMIPS, and discuss applications to Matching Pursuit and Fourier analysis.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 33 of its 104 references that are in the map. First posted on arXiv 14 Dec 2022.
Builds on
33 of 104 references.
References · 33
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2015Non-stochastic Best Arm Identification and Hyperparameter Optimizationcited by 219
- 2013lil' UCB : An Optimal Exploration Algorithm for Multi-Armed Banditscited by 148
- 2014Asymmetric LSH (ALSH) for Sublinear Time Maximum Inner Product Search (MIPS)cited by 109
- 2015Practical and Optimal LSH for Angular Distancecited by 105
- 2014On Symmetric and Asymmetric LSHs for Inner Product Searchcited by 23
- 2021Breaking the Linear Iteration Cost Barrier for Some Well-known Conditional Gradient Methods Using MaxIP Data-structurescited by 19
- 2014Improved Asymmetric Locality Sensitive Hashing (ALSH) for Maximum Inner Product Search (MIPS)cited by 15
- 2016Off the Beaten Path: Let's Replace Term-Based Retrieval with k-NN Searchcited by 14
- 2017A Unified Optimization View on Generalized Matching Pursuit and Frank-Wolfecited by 12
21 more
- 2016A Greedy Approach for Budgeted Maximum Inner Product Searchcited by 11
- 2017Medoids in almost linear time via multi-armed banditscited by 10
- 2019Norm-Explicit Quantization: Improving Vector Quantization for Maximum Inner Product Searchcited by 10
- 2019Ultra Fast Medoid Identification via Correlated Sequential Halvingcited by 9
- 2019Accelerating Large-Scale Inference with Anisotropic Vector Quantizationcited by 9
- 2022Accelerating Frank-Wolfe Algorithm using Low-Dimensional and Adaptive Data Structurescited by 9
- 2016Polysemous codescited by 8
- 2018Norm-Ranging LSH for Maximum Inner Product Searchcited by 8
- 2018A Bandit Approach to Maximum Inner Product Searchcited by 5
- 2019Adaptive Monte Carlo Multiple Testing via Multi-Armed Banditscited by 5
- 2019Understanding and Improving Proximity Graph based Maximum Inner Product Searchcited by 5
- 2021Reverse Maximum Inner Product Search: How to efficiently find users who would like to buy my item?cited by 5
- 2022Reinforcement Routing on Proximity Graph for Efficient Recommendationcited by 5
- 2022Approximate Function Evaluation via Multi-Armed Banditscited by 4
- 2022FINGER: Fast Inference for Graph-based Approximate Nearest Neighbor Searchcited by 4
- 2015Diamond Sampling for Approximate Maximum All-pairs Dot-product (MAD) Searchcited by 3
- 2015Permutation Search Methods are Efficient, Yet Faster Search is Possiblecited by 2
- 2020Sublinear Maximum Inner Product Search using Concomitants of Extreme Order Statisticscited by 2
- 2021ProMIPS: Efficient High-Dimensional c-Approximate Maximum Inner Product Search with a Lightweight Indexcited by 2
- 2018Bandit-Based Monte Carlo Optimization for Nearest Neighborscited by 1
- 2019Local Orthogonal Decomposition for Maximum Inner Product Searchcited by 1
Built on by
Citing papers per year: 2023: 2; 2024: 0; 2025: 1.
3 papers.