AIToday
Large Language ModelsApple Machine LearningPublished: Nov 6, 2026, 04:00 JST

Apple's SupportNet routes search 1.9× faster than centroid routing

Send on LINE
Apple's SupportNet routes search 1.9× faster than centroid routing

3 Key Points

  1. What happened

    At ICML 2026, Apple researchers presented SupportNet and KeyNet — small neural networks trained once on a known query distribution that route or rewrite queries for maximum inner product search, hitting 95% routing recall about 1.9× faster than centroid routing (1.74 ms vs 3.36 ms) on Natural Questions.

  2. Why it matters

    The gain comes from amortization — a one-time training cost replaces repeated search work at inference, so a retrieval system can reach the same recall with less compute or higher recall for the same latency, which may matter for recommendation, search, and RAG pipelines with stable query patterns.

WHO IT HITSThis lands on teams building or operating retrieval systems for search, recommendations, and retrieval-augmented generation (RAG), where a known, stable query distribution makes a one-time training investment useful; the paper reports gains on a benchmark rather than a shipped product.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The paper starts from a mismatch that generic vector-search indexes tend to ignore: queries in RAG are short user questions, while the keys they search are long, curated passages. Most approximate methods build their index from the geometry of the keys alone, assuming queries will resemble them. Apple's team instead samples queries from the distribution it expects in production, computes the ground-truth best match once by exhaustive search, and trains small networks to reproduce that mapping — an upfront cost the paper calls amortization.

The two architectures address different bottlenecks. SupportNet replaces centroid routing inside an inverted file index, learning a support function per cluster so a query is sent based on how well its best key could match, not just its distance to a centroid. KeyNet keeps the existing index and instead transforms the query before search, which the paper shows pays off even after accounting for the preprocessing overhead.

Apple positions the choice as practical: KeyNet when inference speed is the constraint, SupportNet when a calibrated score is needed or compute is tight at small model sizes. For very large key sets, the paper suggests combining both — a SupportNet router over all clusters, then a KeyNet per cluster.

FAQ
What is the difference between SupportNet and KeyNet?
SupportNet learns each cluster's support function to route a query to the most promising clusters, while KeyNet directly predicts the best-matching key and can act as a query rewriter in front of a standard approximate search index like FAISS IVF.
How much faster is KeyNet at reaching 99% recall?
Reaching 99% recall takes up to about 8× less time with the largest KeyNet model (0.23 ms vs 1.8 ms for the raw query).
What dataset did the researchers use?
They trained on Natural Questions partitioned into 128 clusters, roughly 2.6M unique passages in their setup, and say the trend is consistent across several datasets studied.
Apple Machine LearningRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleGemini Omni 1.2 Flash goes GA at $0.07 per second