mlsanityData to 14 Oct 2026

ExpertRAG: Efficient RAG with Mixture of Experts -- Optimizing Context Retrieval for Adaptive LLM Responses

arXiv 2504.08744 ↗First posted 23 Mar 2025cs.IR cs.AI cs.CLcited by 2

On the map: Retrieval-augmented generation → RAG pipeline design and evaluation

also in 1 more
Abstract (arXiv)

ExpertRAG is a novel theoretical framework that integrates Mixture-of-Experts (MoE) architectures with Retrieval Augmented Generation (RAG) to advance the efficiency and accuracy of knowledge-intensive language modeling. We propose a dynamic retrieval gating mechanism coupled with expert routing, enabling the model to selectively consult an external knowledge store or rely on specialized internal experts based on the query's needs. The paper lays out the theoretical foundations of ExpertRAG, including a probabilistic formulation that treats retrieval and expert selection as latent decisions, and mathematical justifications for its efficiency in both computation and knowledge utilization. We derive formulae to quantify the expected computational cost savings from selective retrieval and the capacity gains from sparse expert utilization. A comparative analysis positions ExpertRAG against standard RAG (with always-on retrieval) and pure MoE models (e.g., Switch Transformer, Mixtral) to highlight its unique balance between parametric knowledge and non-parametric retrieval. We also outline an experimental validation strategy, proposing benchmarks and evaluation protocols to test ExpertRAG's performance on factual recall, generalization, and inference efficiency. The proposed framework, although presented theoretically, is supported by insights from prior work in RAG and MoE, and is poised to provide more factual, efficient, and adaptive generation by leveraging the best of both paradigms. In summary, ExpertRAG contributes a new perspective on scaling and augmenting language models, backed by a thorough analysis and a roadmap for empirical validation.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 71 of its 94 references that are in the map. First posted on arXiv 23 Mar 2025.

Builds on

71 of 94 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
  2. 2022FiD-Light: Efficient and Effective Retrieval-Augmented Text Generation28 Sep

Other references · 69

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  7. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  8. 2020Scaling Laws for Neural Language Modelscited by 6,586
  9. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  11. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  12. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
38 more
  1. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  2. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  3. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  4. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  6. 2020Longformer: The Long-Document Transformercited by 3,413
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  8. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  9. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  10. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  11. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  12. 2024Mixtral of Expertscited by 1,823
  13. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  14. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
  15. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  16. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  17. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  18. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
  19. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  20. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  21. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
  22. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  23. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
  24. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
  25. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
  26. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
  27. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
  28. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
  29. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
  30. 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
  31. 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 668
  32. 2022Mixture-of-Experts with Expert Choice Routingcited by 623
  33. 2020Recipes for building an open-domain chatbotcited by 593
  34. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 573
  35. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
  36. 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 538
  37. 2023Active Retrieval Augmented Generationcited by 516
  38. 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 501

50 most cited of 69 All 69 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Unveiling and Consulting Core Experts in Retrieval-Augmented MoE-based LLMs
  2. 2024Open-RAG: Enhanced Retrieval-Augmented Reasoning with Open-Source Large Language Models
  3. 2025RAG in the Wild: On the (In)effectiveness of LLMs with Mixture-of-Knowledge Retrieval Augmentation
  4. 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancement
  5. 2024KBM: Delineating Knowledge Boundary for Adaptive Retrieval in Large Language Models
  6. 2025Dynamic and Parametric Retrieval-Augmented Generation
  7. 2024Retrieval-Augmented Generation for Natural Language Processing: A Survey
  8. 2024Auto-RAG: Autonomous Retrieval-Augmented Generation for Large Language Models