RETA-LLM: A Retrieval-Augmented Large Language Model Toolkit
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Although Large Language Models (LLMs) have demonstrated extraordinary capabilities in many domains, they still have a tendency to hallucinate and generate fictitious responses to user requests. This problem can be alleviated by augmenting LLMs with information retrieval (IR) systems (also known as retrieval-augmented LLMs). Applying this strategy, LLMs can generate more factual texts in response to user input according to the relevant content retrieved by IR systems from external corpora as references. In addition, by incorporating external knowledge, retrieval-augmented LLMs can answer in-domain questions that cannot be answered by solely relying on the world knowledge stored in parameters. To support research in this area and facilitate the development of retrieval-augmented LLM systems, we develop RETA-LLM, a {RET}reival-{A}ugmented LLM toolkit. In RETA-LLM, we create a complete pipeline to help researchers and users build their customized in-domain LLM-based systems. Compared with previous retrieval-augmented LLM systems, RETA-LLM provides more plug-and-play modules to support better interaction between IR systems and LLMs, including {request rewriting, document retrieval, passage extraction, answer generation, and fact checking} modules. Our toolkit is publicly available at https://github.com/RUC-GSAI/YuLan-IR/tree/main/RETA-LLM.
Key facts. Cited by 40 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 23 of its 24 references that are in the map. First posted on arXiv 8 Jun 2023.
Builds on
23 of 24 references.
References · 23
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
- 2019How Can We Know What Language Models Know?cited by 959
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
11 more
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
- 2023Active Retrieval Augmented Generationcited by 516
- 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 360
- 2023Large Language Models are Zero-Shot Rankers for Recommender Systemscited by 309
- 2023Recommendation as Instruction Following: A Large Language Model Empowered Recommendation Approachcited by 168
- 2020Detecting Hallucinated Content in Conditional Neural Sequence Generationcited by 152
- 2023Query2doc: Query Expansion with Large Language Modelscited by 149
- 2023Large Language Models Know Your Contextual Search Intent: A Prompting Framework for Conversational Searchcited by 75
- 2023Adaptive Machine Translation with Large Language Modelscited by 58
- 2022Disentangled Modeling of Domain and Relevance for Adaptable Dense Retrievalcited by 4
Built on by
Citing papers per year: 2023: 12; 2024: 24; 2025: 4.
40 papers.
Sort:
By area:
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 260
- 2023Foundational Models Defining a New Era in Vision: A Survey and Outlookcited by 110
- 2023Enhancing Uncertainty-Based Hallucination Detection with Stronger Focuscited by 99
- 2023When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunitiescited by 90
- 2023Cognitive Mirage: A Review of Hallucinations in Large Language Modelscited by 84
- 2024SuRe: Summarizing Retrievals using Answer Candidates for Open-domain QA of LLMscited by 67
- 2024Small Models, Big Insights: Leveraging Slim Proxy Models To Decide When and What to Retrieve for LLMscited by 34
- 2024LLMs + Persona-Plug = Personalized LLMscited by 32
- 2023Personalized Large Language Model Assistant with Evolving Conditional Memorycited by 25
- 2024CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Taskscited by 18
28 more
- 2024Special Characters Attack: Toward Scalable Training Data Extraction From Large Language Modelscited by 17
- 2024DomainRAG: A Chinese Benchmark for Evaluating Domain-specific Retrieval-Augmented Generationcited by 16
- 2024ERAGent: Enhancing Retrieval-Augmented Language Models with Improved Accuracy, Efficiency, and Personalizationcited by 15
- 2024Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systemscited by 15
- 2023UniGen: A Unified Generative Framework for Retrieval and Question Answering with Large Language Modelscited by 14
- 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
- 2025Elevating Legal LLM Responses: Harnessing Trainable Logical Structures and Semantic Knowledge with Legal Reasoningcited by 13
- 2023Towards reducing hallucination in extracting information from financial reports using Large Language Modelscited by 11
- 2023SEED: Domain-Specific Data Curation With Large Language Modelscited by 10
- 2024QUITO: Accelerating Long-Context Reasoning through Query-Guided Context Compressioncited by 7
- 2023Conceptual Framework for Autonomous Cognitive Entitiescited by 6
- 2024A Comparison of LLM Finetuning Methods & Evaluation Metrics with Travel Chatbot Use Casecited by 6
- 2024Dr.Academy: A Benchmark for Evaluating Questioning Capability in Education for Large Language Modelscited by 6
- 2024DCR-Consistency: Divide-Conquer-Reasoning for Consistency Evaluation and Improvement of Large Language Modelscited by 4
- 2024QUITO-X: A New Perspective on Context Compression from the Information Bottleneck Theorycited by 4
- 2024A Roadmap Towards Automated and Regulated Robotic Systemscited by 2
- 2024HelloFresh: LLM Evaluations on Streams of Real-World Human Editorial Actions across X Community Notes and Wikipedia editscited by 2
- 2024R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Modelscited by 2
- 2024Novel-WD: Exploring acquisition of Novel World Knowledge in LLMs Using Prefix-Tuningcited by 2
- 2024SEGMENT+: Long Text Processing with Short-Context Language Modelscited by 2
- 2024How the Advent of Ubiquitous Large Language Models both Stymie and Turbocharge Dynamic Adversarial Question Generationcited by 1
- 2024Relational Learning in Pre-Trained Models: A Theory from Hypergraph Recovery Perspectivecited by 1
- 2025Oreo: A Plug-in Context Reconstructor to Enhance Retrieval-Augmented Generationcited by 1
- 2025Expanding before Inferring: Enhancing Factuality in Large Language Models through Premature Layers Interpolationcited by 1
- 2024Science Checker Reloaded: A Bidirectional Paradigm for Transparency and Logical Reasoningcited by 0
- 2024KEHRL: Learning Knowledge-Enhanced Language Representations with Hierarchical Reinforcement Learningcited by 0
- 2024Lower Layers Matter: Alleviating Hallucination via Multi-Layer Fusion Contrastive Decoding with Truthfulness Refocusedcited by 0
- 2025Rethinking Knowledge in Distillation: An In-context Sample Retrieval Perspectivecited by 0
- 2025Expanding before Inferring: Enhancing Factuality in Large Language Models through Premature Layers Interpolation3 Jun 2025
- 2025Oreo: A Plug-in Context Reconstructor to Enhance Retrieval-Augmented Generation18 Feb 2025
- 2025Elevating Legal LLM Responses: Harnessing Trainable Logical Structures and Semantic Knowledge with Legal Reasoning11 Feb 2025
- 2025Rethinking Knowledge in Distillation: An In-context Sample Retrieval Perspective13 Jan 2025
- 2024SEGMENT+: Long Text Processing with Short-Context Language Models9 Oct 2024
- 2024LLMs + Persona-Plug = Personalized LLMs18 Sep 2024
- 2024Novel-WD: Exploring acquisition of Novel World Knowledge in LLMs Using Prefix-Tuning30 Aug 2024
- 2024Dr.Academy: A Benchmark for Evaluating Questioning Capability in Education for Large Language Models20 Aug 2024
- 2024QUITO-X: A New Perspective on Context Compression from the Information Bottleneck Theory20 Aug 2024
- 2024Lower Layers Matter: Alleviating Hallucination via Multi-Layer Fusion Contrastive Decoding with Truthfulness Refocused16 Aug 2024
- 2024A Comparison of LLM Finetuning Methods & Evaluation Metrics with Travel Chatbot Use Case7 Aug 2024
- 2024QUITO: Accelerating Long-Context Reasoning through Query-Guided Context Compression1 Aug 2024
28 more
- 2024Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systems15 Jul 2024
- 2024KEHRL: Learning Knowledge-Enhanced Language Representations with Hierarchical Reinforcement Learning24 Jun 2024
- 2024R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Models17 Jun 2024
- 2024Relational Learning in Pre-Trained Models: A Theory from Hypergraph Recovery Perspective17 Jun 2024
- 2024DomainRAG: A Chinese Benchmark for Evaluating Domain-specific Retrieval-Augmented Generation9 Jun 2024
- 2024HelloFresh: LLM Evaluations on Streams of Real-World Human Editorial Actions across X Community Notes and Wikipedia edits5 Jun 2024
- 2024Special Characters Attack: Toward Scalable Training Data Extraction From Large Language Models9 May 2024
- 2024ERAGent: Enhancing Retrieval-Augmented Language Models with Improved Accuracy, Efficiency, and Personalization6 May 2024
- 2024SuRe: Summarizing Retrievals using Answer Candidates for Open-domain QA of LLMs17 Apr 2024
- 2024A Roadmap Towards Automated and Regulated Robotic Systems21 Mar 2024
- 2024Science Checker Reloaded: A Bidirectional Paradigm for Transparency and Logical Reasoning21 Feb 2024
- 2024Small Models, Big Insights: Leveraging Slim Proxy Models To Decide When and What to Retrieve for LLMs19 Feb 2024
- 2024CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks2 Feb 2024
- 2024How the Advent of Ubiquitous Large Language Models both Stymie and Turbocharge Dynamic Adversarial Question Generation20 Jan 2024
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Security10 Jan 2024
- 2024DCR-Consistency: Divide-Conquer-Reasoning for Consistency Evaluation and Improvement of Large Language Models4 Jan 2024
- 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challenges27 Dec 2023
- 2023Personalized Large Language Model Assistant with Evolving Conditional Memory22 Dec 2023
- 2023UniGen: A Unified Generative Framework for Retrieval and Question Answering with Large Language Models18 Dec 2023
- 2023Enhancing Uncertainty-Based Hallucination Detection with Stronger Focus22 Nov 2023
- 2023Towards reducing hallucination in extracting information from financial reports using Large Language Models16 Oct 2023
- 2023Conceptual Framework for Autonomous Cognitive Entities3 Oct 2023
- 2023SEED: Domain-Specific Data Curation With Large Language Models1 Oct 2023
- 2023Cognitive Mirage: A Review of Hallucinations in Large Language Models13 Sep 2023
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Models3 Sep 2023
- 2023Large Language Models for Information Retrieval: A Survey14 Aug 2023
- 2023When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunities31 Jul 2023
- 2023Foundational Models Defining a New Era in Vision: A Survey and Outlook25 Jul 2023
- 2024DomainRAG: A Chinese Benchmark for Evaluating Domain-specific Retrieval-Augmented Generationcited by 16
- 2024ERAGent: Enhancing Retrieval-Augmented Language Models with Improved Accuracy, Efficiency, and Personalizationcited by 15
- 2024Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systemscited by 15
- 2024A Comparison of LLM Finetuning Methods & Evaluation Metrics with Travel Chatbot Use Casecited by 6
- 2024R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Modelscited by 2
- 2025Oreo: A Plug-in Context Reconstructor to Enhance Retrieval-Augmented Generationcited by 1
- 2025Oreo: A Plug-in Context Reconstructor to Enhance Retrieval-Augmented Generation18 Feb 2025
- 2024A Comparison of LLM Finetuning Methods & Evaluation Metrics with Travel Chatbot Use Case7 Aug 2024
- 2024Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systems15 Jul 2024
- 2024R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Models17 Jun 2024
- 2024DomainRAG: A Chinese Benchmark for Evaluating Domain-specific Retrieval-Augmented Generation9 Jun 2024
- 2024ERAGent: Enhancing Retrieval-Augmented Language Models with Improved Accuracy, Efficiency, and Personalization6 May 2024
- 2025Elevating Legal LLM Responses: Harnessing Trainable Logical Structures and Semantic Knowledge with Legal Reasoningcited by 13
- 2024QUITO: Accelerating Long-Context Reasoning through Query-Guided Context Compressioncited by 7
- 2024DCR-Consistency: Divide-Conquer-Reasoning for Consistency Evaluation and Improvement of Large Language Modelscited by 4
- 2024Science Checker Reloaded: A Bidirectional Paradigm for Transparency and Logical Reasoningcited by 0
- 2025Elevating Legal LLM Responses: Harnessing Trainable Logical Structures and Semantic Knowledge with Legal Reasoning11 Feb 2025
- 2024QUITO: Accelerating Long-Context Reasoning through Query-Guided Context Compression1 Aug 2024
- 2024Science Checker Reloaded: A Bidirectional Paradigm for Transparency and Logical Reasoning21 Feb 2024
- 2024DCR-Consistency: Divide-Conquer-Reasoning for Consistency Evaluation and Improvement of Large Language Models4 Jan 2024
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2023Foundational Models Defining a New Era in Vision: A Survey and Outlookcited by 110
- 2023Enhancing Uncertainty-Based Hallucination Detection with Stronger Focuscited by 99
- 2023When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunitiescited by 90
- 2023Cognitive Mirage: A Review of Hallucinations in Large Language Modelscited by 84
- 2024SuRe: Summarizing Retrievals using Answer Candidates for Open-domain QA of LLMscited by 67
- 2024Small Models, Big Insights: Leveraging Slim Proxy Models To Decide When and What to Retrieve for LLMscited by 34
- 2024LLMs + Persona-Plug = Personalized LLMscited by 32
- 2023Personalized Large Language Model Assistant with Evolving Conditional Memorycited by 25
- 2024CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Taskscited by 18
- 2024Special Characters Attack: Toward Scalable Training Data Extraction From Large Language Modelscited by 17
12 most cited of 25 All 25 (JSON)
- 2025Expanding before Inferring: Enhancing Factuality in Large Language Models through Premature Layers Interpolation3 Jun 2025
- 2024SEGMENT+: Long Text Processing with Short-Context Language Models9 Oct 2024
- 2024LLMs + Persona-Plug = Personalized LLMs18 Sep 2024
- 2024Novel-WD: Exploring acquisition of Novel World Knowledge in LLMs Using Prefix-Tuning30 Aug 2024
- 2024Dr.Academy: A Benchmark for Evaluating Questioning Capability in Education for Large Language Models20 Aug 2024
- 2024Lower Layers Matter: Alleviating Hallucination via Multi-Layer Fusion Contrastive Decoding with Truthfulness Refocused16 Aug 2024
- 2024Relational Learning in Pre-Trained Models: A Theory from Hypergraph Recovery Perspective17 Jun 2024
- 2024HelloFresh: LLM Evaluations on Streams of Real-World Human Editorial Actions across X Community Notes and Wikipedia edits5 Jun 2024
- 2024Special Characters Attack: Toward Scalable Training Data Extraction From Large Language Models9 May 2024
- 2024SuRe: Summarizing Retrievals using Answer Candidates for Open-domain QA of LLMs17 Apr 2024
- 2024A Roadmap Towards Automated and Regulated Robotic Systems21 Mar 2024
- 2024Small Models, Big Insights: Leveraging Slim Proxy Models To Decide When and What to Retrieve for LLMs19 Feb 2024
12 newest of 25 All 25 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023RaLLe: A Framework for Developing and Evaluating Retrieval-Augmented Large Language Models
- 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMs
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
- 2023DIVKNOWQA: Assessing the Reasoning Ability of LLMs via Open-Domain Question Answering over Knowledge Base and Text
- 2024Reliable, Adaptable, and Attributable Language Models with Retrieval
- 2024RAG and RAU: A Survey on Retrieval-Augmented Language Model in Natural Language Processing
- 2024Transforming LLMs into Cross-modal and Cross-lingual Retrieval Systems