---
title: "MIPS"
description: "1 posts about MIPS, summarised, each linking to the original."
---

# MIPS
> 1 posts about MIPS, summarised, each linking to the original.

## Articles

### [Faster Retrieval for Better, More Efficient RAG](https://yomu.fyi/post/faster-retrieval-for-better-more-efficient-rag.md)
- Company: [Apple](https://yomu.fyi/company/apple.md)
- Published: Nov 5, 2026
- Type: Problem & solution

Maximum inner product search (MIPS) is central to retrieval-augmented generation, recommendation, and search, but exhaustive comparison grows costly with millions of high-dimensional keys. Apple researchers propose amortized MIPS, training small neural networks offline once on a fixed key database to learn the support function, a convex function that maps a query to the largest inner product with any key. They introduce SupportNet, which approximates support functions per cluster for exact routing, and KeyNet, which directly predicts the best-matching key vector using a consistency loss from Euler’s theorem. The method exploits known query distributions, such as short user questions in RAG, to trade a one-time training cost for faster inference. On the Natural Questions dataset, KeyNet achieves 99% recall while examining about 11 times fewer keys than raw query search, and SupportNet provides calibrated scores for re-ranking.
