LGMLMar 9

Amortizing Maximum Inner Product Search with Learned Support Functions

arXiv:2603.08001v11 citations
Predicted impact top 42% in LG · last 90 daysOriginality Highly original
AI Analysis

This work addresses the computational cost of MIPS for machine learning applications by amortizing the search process for queries drawn from a fixed distribution.

This paper proposes amortized Maximum Inner Product Search (MIPS) using neural networks to directly predict MIPS solutions. They achieve high match rates by training an input-convex neural network (SupportNet) to model the support function or a vector-valued network (KeyNet) to regress the optimal key.

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 computation, and (2) we regress directly the optimal key from the query using a vector valued network (KeyNet), bypassing gradient computation entirely at inference time. To learn a SupportNet, we combine score regression with gradient matching losses, and propose homogenization wrappers that enforce the positive 1-homogeneity of a neural network, theoretically linking function values to gradients. To train a KeyNet, we introduce a score consistency loss derived from the Euler theorem for homogeneous functions. Our experiments show that learned SupportNet or KeyNet achieve high match rates and open up new directions to compress databases with a specific query distribution in mind.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes