CoChat

The DOI matches its DataCite record; 231 of the 231 references it cites were found in a registry or an index; none of the 119 sources its claims cite is checked for support yet.

Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely

Open access
Zhao, Siyun, Yang, Yuqing, Wang, Zilong, He, Zhiyuan, Qiu, Luna K., Qiu, Lili · 2024 · arXiv

Abstract

Large language models (LLMs) augmented with external data have demonstrated remarkable capabilities in completing real-world tasks. Techniques for integrating external data into LLMs, such as Retrieval-Augmented Generation (RAG) and fine-tuning, are gaining increasing attention and widespread application. Nonetheless, the effective deployment of data-augmented LLMs across various specialized fields presents substantial challenges. These challenges encompass a wide range of issues, from retrieving relevant data and accurately interpreting user intent to fully harnessing the reasoning capabilities of LLMs for complex tasks. We believe that there is no one-size-fits-all solution for data-augmented LLM applications. In practice, underperformance often arises from a failure to correctly identify the core focus of a task or because the task inherently requires a blend of multiple capabilities that must be disentangled for better resolution. In this survey, we propose a RAG task categorization method, classifying user queries into four levels based on the type of external data required and primary focus of the task: explicit fact queries, implicit fact queries, interpretable rationale queries, and hidden rationale queries. We define these levels of queries, provide relevant datasets, and summarize the key challenges and most effective techniques for addressing these challenges. Finally, we discuss three main forms of integrating external data into LLMs: context, small model, and fine-tuning, highlighting their respective strengths, limitations, and the types of problems they are suited to solve. This work aims to help readers thoroughly understand and decompose the data requirements and key bottlenecks in building LLM applications, offering solutions to the different challenges and serving as a guide to systematically developing such applications.

Overview

CoChat Summary

TL;DR

This survey proposes a four-level categorization of queries for data-augmented LLM applications—explicit facts, implicit facts, interpretable rationales, and hidden rationales—and maps each level to suitable techniques. It also compares three ways to inject external data into LLMs: context, small model, and fine-tuning.

Key findings

  • Proposes a RAG task categorization into four levels based on the type of external data required and the task’s primary focus: explicit fact queries, implicit fact queries, interpretable rationale queries, and hidden rationale queries.
  • Recommends techniques by level: basic RAG for explicit facts; iterative RAG, graph/tree QA, and NL2SQL for implicit facts; prompt tuning and CoT prompting for interpretable rationales; offline learning, in-context learning, and fine-tuning for hidden rationales.
  • Identifies three main forms of integrating external data into LLMs: context, small model, and fine-tuning, with increasing requirements for data volume, training duration, and computational resources.
  • Notes there is no one-size-fits-all solution; misclassifying query levels can cause performance pitfalls, such as retrieving superficial information for explicit queries or insufficient data for implicit queries.

Methods

  • Survey/position paper: proposes a query stratification method and reviews relevant datasets, challenges, and techniques for data-augmented LLM applications.
  • Uses existing literature and common QA datasets (Table 1 stratifies datasets such as NQ, MS MARCO, TriviaQA, SQuAD, ASQA, and WebQSP as Level 1; HotPotQA, 2WikiMultiHopQA, MuSiQue, and others as Level 2) rather than new experiments.
  • Main analysis is conceptual synthesis: defines each query level, summarizes key challenges and effective techniques, and discusses context, small-model, and fine-tuning integration strategies.

Limitations

  • The paper does not state a formal limitations section; it acknowledges that data-augmented LLM applications are not one-size-fits-all and that challenges span retrieval, intent interpretation, and reasoning.
  • Evident from the text: as a survey, it provides no empirical evaluation, no quantitative benchmark results, and no systematic review protocol; its recommendations are based on literature review and expert discussions.
  • Evident: the four-level taxonomy and technique mappings are conceptual and may require validation across domains and mixed-query routing pipelines.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2409.14924

Cites

231 of 231 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Verification

Claims the paper makes

0 Valid · 2 Not valid · 71 Not checked · 52 Own results and interpretations

32 more claims

Create a free account to see all 125 claims and every source verdict.

See all claims — free account
  • Probably not a substantial claim. 66
  • It may state two separate claims as one. 51

Create a free account to see these claims.

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

1 of 1

Citations

Cites

Items 201–231 of 231

Research works printed but not linked: 14

  1. Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. Semantic parsing on freebase from question- answer pairs. In Proceedings of the 2013 conference on empirical methods in natural language processing, pages 1533-1544, 2013.
  2. Ziniu Hu, Ahmet Iscen, Chen Sun, Zirui Wang, Kai-Wei Chang, Yizhou Sun, Cordelia Schmid, David A Ross, and Alireza Fathi. Reveal: Retrieval-augmented visual-language pre-training with multi-source multimodal knowledge memory. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 23369-23379, 2023.
  3. Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation. In International conference on machine learning, pages 12888-12900. PMLR, 2022.
  4. Karen Sparck Jones. A statistical interpretation of term specificity and its application in retrieval. Journal of documentation, 28(1):11-21, 1972.
  5. Fangyuan Xu, Weijia Shi, and Eunsol Choi. Recomp: Improving retrieval-augmented lms with context com- pression and selective augmentation. In The Twelfth International Conference on Learning Representations, 2024.
  6. Chaofan Li, Zheng Liu, Shitao Xiao, Yingxia Shao, and Defu Lian. Llama2vec: Unsupervised adaptation of large language models for dense retrieval. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3490-3500, 2024.
  7. Xin Cheng, Di Luo, Xiuying Chen, Lemao Liu, Dongyan Zhao, and Rui Yan. Lift yourself up: Retrieval- augmented text generation with self-memory. Advances in Neural Information Processing Systems, 36, 2024.
  8. Darren Edge, Ha Trinh, Newman Cheng, Joshua Bradley, Alex Chao, Apurva Mody, Steven Truitt, and Jonathan Larson. From local to global: A graph rag approach to query-focused summarization. arXiv.org.
  9. Haoyang Li, Jing Zhang, Cuiping Li, and Hong Chen. Resdsql: Decoupling schema linking and skeleton parsing for text-to-sql. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 13067-13075, 2023.
  10. Ziwei Ji, Tiezheng Yu, Yan Xu, Nayeon Lee, Etsuko Ishii, and Pascale Fung. Towards mitigating llm hallucination via self reflection. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 1827-1843, 2023.
  11. Hangfeng He, Hongming Zhang, and Dan Roth. Socreval: Large language models with the socratic method for reference-free reasoning evaluation. In Findings of the Association for Computational Linguistics: NAACL 2024, pages 2736-2764, 2024.
  12. Jiacheng Ye, Zhiyong Wu, Jiangtao Feng, Tao Yu, and Lingpeng Kong. Compositional exemplars for in-context learning. In International Conference on Machine Learning, pages 39818-39833. PMLR, 2023.
  13. Yinheng Li, Shaofei Wang, Han Ding, and Hang Chen. Large language models in finance: A survey. In Proceedings of the fourth ACM international conference on AI in finance, pages 374-382, 2023.
  14. Yunxiang Li, Zihan Li, Kai Zhang, Ruilong Dan, Steve Jiang, and You Zhang. Chatdoctor: A medical chat model fine-tuned on a large language model meta-ai (llama) using medical domain knowledge. Cureus, 15(6), 2023.

Cited by

See all 180

Metadata

Authors
Zhao, S., Yang, Y., Wang, Z., He, Z., Qiu, L. K., & Qiu, L.
Affiliations
Microsoft Research Asia (China) (CN)
Venue
arXiv
Publisher
arXiv
Published
2024
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4403796472
Cited by
180
References
118
Citations by year
2026: 73 · 2025: 103 · 2024: 4
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Information Systems › Information Retrieval and Search Behavior
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Multimodal Machine Learning Applications
Keywords
retrieval-augmented generation, large language models, external data integration, query categorization, contextual integration, fine-tuning, user intent understanding, task decomposition

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

A language model drew the claims from the paper on 2026-11-14, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-11-14 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.