
Key points
- Apple researchers presented a method using input convex neural networks to approximate support functions for faster vector search.
- The approach trades offline training costs for improved speed and accuracy during inference time on fixed databases.
- The work addresses limitations in current clustering methods that assume query distributions resemble key distributions.
Apple Machine Learning Research published a paper titled Amortizing Maximum Inner Product Search with Learned Support Functions at ICML 2026.confirmed The research proposes using small neural networks to route queries toward their best matches in large databases more efficiently.Apple researchers suggest using neural networks to make search systems faster and more accurate for AI applications.Apple researchers propose amortizing MIPS costs by training input convex neural networks to approximate support functions for fixed key sets. This method aims to reduce the computational cost associated with exhaustive comparisons in retrieval-augmented generation systems.
The figures
The paper addresses databases containing millions of candidate key vectors. These vectors often have dimensions reaching thousands. Traditional methods split keys into k clusters, where k is typically much smaller than the total number of keys n. This clustering provides a factor-of-k speedup compared to naive exhaustive approaches.
Behind the figures
The researchers trained small neural networks offline for a fixed database of keys. These networks learn to mimic the ground-truth support function or its gradient directly. The support function maps a query to the largest inner product with any key in the set. It is convex and can be approximated by input convex neural networks.
What changes, what does not
The approach introduces an upfront amortization cost to understand how typical queries tend to be matched. This offline training allows for faster and more accurate retrieval at inference time. The method does not change the fundamental goal of finding the best-matching key but alters how the routing mechanism operates.
What builders can do with it
Developers can implement this neural network routing for fixed databases of keys. They can train input convex neural networks offline to approximate the support function. This allows systems to route queries based on learned patterns rather than generic centroid distances. Builders can leverage the gradient of the support function to retrieve the best-matching key directly.
Why it matters
- Developers can reduce inference latency in RAG systems by using learned routing instead of exhaustive cluster comparisons.
- The method addresses the mismatch between short user queries and long curated text keys in retrieval tasks.
- Input convex neural networks offer a mathematically grounded way to approximate convex support functions for search.
- Offline training costs are traded for real-time performance gains in production MIPS deployments.
Topics: Apple, RAG, MIPS, neural networks, ICML
Updated
Then / now / next
Approximate MIPS methods relied on clustering and quantization that assumed queries resembled keys.
Apple researchers propose using input convex neural networks to learn support functions for better routing.
Developers may adopt this offline training approach to improve retrieval speed in fixed-database RAG systems.
Story timeline
- Then Approximate MIPS methods relied on clustering and quantization that assumed queries resembled keys.
- 05 Nov 2026 Faster Retrieval for Better, More Efficient RAG
- Now Apple researchers propose using input convex neural networks to learn support functions for better routing.
- Next Developers may adopt this offline training approach to improve retrieval speed in fixed-database RAG systems.
The strongest doubt
Counterpoint from the sources
The upfront amortization cost for training the neural networks offline must be weighed against the inference time benefits.
Ask the article
Local keyword search of this article; no generated answers.Did this article give you the evidence you needed?
Your choice stays on this device. No public tally.Questions readers ask
What is maximum inner product search?
It is a core component of recommendation and search systems that finds the best matching key vector for a query vector.
How does this method differ from traditional clustering?
Traditional methods use centroid routing which can be inaccurate, while this method uses neural networks to learn query routing patterns.
When was this research presented?
The paper was presented at ICML 2026 according to the Apple Machine Learning Research publication.
Reading receipt
- Apple researchers presented a method using input convex neural networks to approximate support functions for faster vector search.
- The approach trades offline training costs for improved speed and accuracy during inference time on fixed databases.
- The work addresses limitations in current clustering methods that assume query distributions resemble key distributions.
Still open: How does the offline training cost scale with increasing database sizes?
Still open: What are the accuracy trade-offs compared to state-of-the-art quantization methods?