RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Implementing Retrieval-Augmented Generation (RAG) systems is inherently complex, requiring deep understanding of data, use cases, and intricate design decisions. Additionally, evaluating these systems presents significant challenges, necessitating assessment of both retrieval accuracy and generative quality through a multi-faceted approach. We introduce RAG Foundry, an open-source framework for augmenting large language models for RAG use cases. RAG Foundry integrates data creation, training, inference and evaluation into a single workflow, facilitating the creation of data-augmented datasets for training and evaluating large language models in RAG settings. This integration enables rapid prototyping and experimentation with various RAG techniques, allowing users to easily generate datasets and train RAG models using internal or specialized knowledge sources. We demonstrate the framework effectiveness by augmenting and fine-tuning Llama-3 and Phi-3 models with diverse RAG configurations, showcasing consistent improvements across three knowledge-intensive datasets. Code is released as open-source in https://github.com/IntelLabs/RAGFoundry.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 33 of its 39 references that are in the map. First posted on arXiv 5 Aug 2024.
Builds on
33 of 39 references.
Closest ancestors · 7
Same direction, newest first
- 2024BERGEN: A Benchmarking Library for Retrieval-Augmented Generation1 Jul
- 2024FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research22 May
- 2024Evaluation of Retrieval-Augmented Generation: A Survey13 May
- 2024Seven Failure Points When Engineering a Retrieval Augmented Generation System11 Jan
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
- 2023ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems16 Nov
- 2023Ragas: Automated Evaluation of Retrieval Augmented Generation26 Sep
Other references · 26
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
14 more
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 351
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 316
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 307
- 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 258
- 2022ASQA: Factoid Questions Meet Long-Form Answerscited by 231
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 200
- 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAGcited by 90
- 2024Searching for Best Practices in Retrieval-Augmented Generationcited by 83
- 2024RAG vs Fine-tuning: Pipelines, Tradeoffs, and a Case Study on Agriculturecited by 80
- 2024RAGGED: Towards Informed Design of Scalable and Stable RAG Systemscited by 24
- 2023Chain of Thought Prompting Elicits Knowledge Augmentationcited by 21
- 2023Pre-computed memory or on-the-fly encoding? A hybrid approach to retrieval augmentation makes the most of your computecited by 17
- 2024CoTAR: Chain-of-Thought Attribution Reasoning with Multi-level Granularitycited by 12
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025RARE: Retrieval-Augmented Reasoning Modelingcited by 11
- 2025LEKA:LLM-Enhanced Knowledge Augmentationcited by 1
- 2025Overcoming Vision Language Model Challenges in Diagram Understanding: A Proof-of-Concept with XML-Driven Large Language Models Solutionscited by 1
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoningcited by 0
- 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning1 Oct 2026
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2025RARE: Retrieval-Augmented Reasoning Modeling30 Mar 2025
- 2025Overcoming Vision Language Model Challenges in Diagram Understanding: A Proof-of-Concept with XML-Driven Large Language Models Solutions5 Feb 2025
- 2025LEKA:LLM-Enhanced Knowledge Augmentation29 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Survey
- 2024CoFE-RAG: A Comprehensive Full-chain Evaluation Framework for Retrieval-Augmented Generation with Enhanced Data Diversity
- 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMs
- 2024Retrieval Augmented Generation Systems: Automatic Dataset Creation, Evaluation and Boolean Agent Setup
- 2024XRAG: eXamining the Core -- Benchmarking Foundational Components in Advanced Retrieval-Augmented Generation
- 2025A System for Comprehensive Assessment of RAG Frameworks
- 2024Towards Optimizing a Retrieval Augmented Generation using Large Language Model on Academic Data
- 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference