ExpertRAG: Efficient RAG with Mixture of Experts -- Optimizing Context Retrieval for Adaptive LLM Responses
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
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
- 2022FiD-Light: Efficient and Effective Retrieval-Augmented Text Generation28 Sep
Other references · 69
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
38 more
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2024Mixtral of Expertscited by 1,823
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
- 2023A Survey on Evaluation of Large Language Modelscited by 1,242
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
- 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 668
- 2022Mixture-of-Experts with Expert Choice Routingcited by 623
- 2020Recipes for building an open-domain chatbotcited by 593
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 573
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
- 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 538
- 2023Active Retrieval Augmented Generationcited by 516
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 501
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Unveiling and Consulting Core Experts in Retrieval-Augmented MoE-based LLMs
- 2024Open-RAG: Enhanced Retrieval-Augmented Reasoning with Open-Source Large Language Models
- 2025RAG in the Wild: On the (In)effectiveness of LLMs with Mixture-of-Knowledge Retrieval Augmentation
- 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancement
- 2024KBM: Delineating Knowledge Boundary for Adaptive Retrieval in Large Language Models
- 2025Dynamic and Parametric Retrieval-Augmented Generation
- 2024Retrieval-Augmented Generation for Natural Language Processing: A Survey
- 2024Auto-RAG: Autonomous Retrieval-Augmented Generation for Large Language Models