mlsanityData to 14 Oct 2026

Routing by Analogy: kNN-Augmented Expert Assignment for Mixture-of-Experts

arXiv 2601.02144 ↗First posted 5 Jan 2026cs.CL cs.AIcited by 0

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

  1. 2025Coupling Experts and Routers in Mixture-of-Experts via an Auxiliary Loss29 Dec
  2. 2025Rewiring Experts on the Fly:Continuous Rerouting for Better Online Adaptation in Mixture-of-Expert models16 Oct
  3. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity11 Jan

Other references · 16

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2021Program Synthesis with Large Language Modelscited by 3,637
  7. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  8. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  9. 2017Billion-scale similarity search with GPUscited by 2,497
  10. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
  11. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
  12. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
4 more
  1. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
  2. 2023Why do Nearest Neighbor Language Models Work?cited by 29
  3. 2025C3PO: Critical-Layer, Core-Expert, Collaborative Pathway Optimization for Test-Time Expert Re-Mixingcited by 7
  4. 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

  1. 2026Cross-Entropy Guided Routing in Mixture-of-Experts Large Language Models
  2. 2025Probing Semantic Routing in Large Mixture-of-Expert Models
  3. 2026Sticky Routing: Training MoE Models for Memory-Efficient Inference
  4. 2026Share First, Route What Remains: A Unified Framework for Token-Adaptive MoE Computation
  5. 2025Input Domain Aware MoE: Decoupling Routing Decisions from Task Optimization in Mixture of Experts
  6. 2026MoE Routing Testbed: Studying Expert Specialization and Routing Behavior at Small Scale
  7. 2025Latent Prototype Routing: Achieving Near-Perfect Load Balancing in Mixture-of-Experts
  8. 2026TEXAS: Task-Expert-Aware Supervision for Downstream Mixture-of-Experts LLM Adaptation