Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
Large language models are proficient with text generation but may lack factual accuracy and contain outdated information. Retrieval-Augmented Generation (RAG) is proposed to enhance large language models by equipping them with external knowledge. Instead of only relying on the model's own parametric knowledge, RAG uses the information in the documents retrieved from external storage to improve the accuracy and factual correctness of the generated text. This paper reviews the RAG methods from the perspective of foundations, enhancements, and applications. We identify four foundational paradigms of RAG: Query-based RAG incorporates retrieved documents into the prompt, latent representation-based RAG fuses information in the hidden layer of the neural network, logit-based RAG adjusts the probability distribution of token prediction, and speculative RAG replaces the generation process with retrieval. All these RAG methods have unique application scenarios and are effective in different tasks.This paper also summarizes the five enhancement directions of RAG, including input enhancement, retriever enhancement, generator enhancement, result enhancement, and pipeline enhancement. Input enhancement focuses on the optimization of query formulation. The retriever enhancement covers recursive retrieval, chunking strategy, and hybrid retrieval. Generator enhancement explores the prompt engineering and fine-tuning of the generator. The result enhancement includes the optimization of the output format, and the pipeline enhancement pays attention to the system-level optimization. We present the experimental results of RAG in the fields of question answering, fact verification, commonsense reasoning, and domain-specific tasks. The experiments show that the RAG systems that can intelligently select when to retrieve and when to generate achieve better performance in accuracy and latency. The quality of retrieval is the bottleneck of the RAG system, and the optimization of each component is of significance.The RAG framework has been popular in the community and has been applied to code generation, image captioning, video description, and other fields. Experiments show that retrieving relevant documents and using the information in the documents to augment the language model is effective in all application scenarios. This survey aims to provide a global view of the RAG research field to help future works develop more reliable and maintainable AI systems
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) 2018 · 2018 · 46039 citations90% match
2014 · 34004 citations90% match
2019 · 33225 citations90% match
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) 2019 · 2019 · 17465 citations90% match
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) 2023 · 2023 · 14309 citations90% match
2014 · 13959 citations90% match
arXiv (Cornell University) 2013 · 2013 · 11714 citations90% match
No comments yet — start the discussion below.
2019 · 11662 citations90% match
Transactions of the Association for Computational Linguistics 2017 · 2017 · 9887 citations90% match
2014 · 8653 citations90% match