Amortizing Maximum Inner Product Search with Learned Support Functions
Theo X. Olausson, Jo\~ao Monteiro, Michal Klein, Marco Cuturi

TL;DR
This paper introduces a learning-based method for maximum inner product search (MIPS) that uses neural networks to directly predict solutions, significantly reducing computational costs by leveraging the support function of the key set.
Contribution
It proposes novel neural network models, SupportNet and KeyNet, to approximate the support function and optimal keys, enabling efficient amortized MIPS with theoretical guarantees.
Findings
SupportNet and KeyNet achieve high match rates in experiments.
The methods enable efficient database compression tailored to specific query distributions.
The approach links neural network approximation to convex analysis and homogeneous functions.
Abstract
Maximum inner product search (MIPS) is a crucial subroutine in machine learning, requiring the identification of key vectors that align best with a given query. We propose amortized MIPS: a learning-based approach that trains neural networks to directly predict MIPS solutions, amortizing the computational cost of matching queries (drawn from a fixed distribution) to a fixed set of keys. Our key insight is that the MIPS value function, the maximal inner product between a query and keys, is also known as the support function of the set of keys. Support functions are convex, 1-homogeneous and their gradient w.r.t. the query is exactly the optimal key in the database. We approximate the support function using two complementary approaches: (1) we train an input-convex neural network (SupportNet) to model the support function directly; the optimal key can be recovered via (autodiff) gradient…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Stochastic Gradient Optimization Techniques · Graph Theory and Algorithms
