Routing by Analogy: kNN-Augmented Expert Assignment for Mixture-of-Experts
On the map: Mixture-of-experts → Expert routing strategies
Abstract (arXiv)
Mixture-of-Experts (MoE) architectures scale large language models efficiently by employing a parametric ``router'' to dispatch tokens to a sparse subset of experts. Typically, this router is trained once and then frozen, rendering routing decisions brittle under distribution shifts. We address this limitation by introducing kNN-MoE, a retrieval-augmented routing framework that reuses locally optimal expert assignments from a memory of similar past cases. This memory is constructed offline by directly optimizing token-wise routing logits to maximize the likelihood on a reference set. Crucially, we use the average similarity of retrieved neighbors as a confidence-driven mixing coefficient, thus allowing the method to fall back to the frozen router when no relevant cases are found. Experiments show that kNN-MoE outperforms the zero-shot baseline and is competitive with computationally intensive supervised fine-tuning.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 19 of its 29 references that are in the map. First posted on arXiv 5 Jan 2026.
Builds on
19 of 29 references.
Closest ancestors · 3
Same direction, newest first
- 2025Coupling Experts and Routers in Mixture-of-Experts via an Auxiliary Loss29 Dec
- 2025Rewiring Experts on the Fly:Continuous Rerouting for Better Online Adaptation in Mixture-of-Expert models16 Oct
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity11 Jan
Other references · 16
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
4 more
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
- 2025C3PO: Critical-Layer, Core-Expert, Collaborative Pathway Optimization for Test-Time Expert Re-Mixingcited by 7
- 2025Case-Based Decision-Theoretic Decoding with Quality Memoriescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Cross-Entropy Guided Routing in Mixture-of-Experts Large Language Models
- 2025Probing Semantic Routing in Large Mixture-of-Expert Models
- 2026Sticky Routing: Training MoE Models for Memory-Efficient Inference
- 2026Share First, Route What Remains: A Unified Framework for Token-Adaptive MoE Computation
- 2025Input Domain Aware MoE: Decoupling Routing Decisions from Task Optimization in Mixture of Experts
- 2026MoE Routing Testbed: Studying Expert Specialization and Routing Behavior at Small Scale
- 2025Latent Prototype Routing: Achieving Near-Perfect Load Balancing in Mixture-of-Experts
- 2026TEXAS: Task-Expert-Aware Supervision for Downstream Mixture-of-Experts LLM Adaptation