Retrieval-Augmented Generation
Retrieval-augmented generation (RAG) is a technique that enables large language models (LLMs) to retrieve and incorporate new information from external data sources. With RAG, LLMs first refer to a specified set of documents, then respond to user queries. These documents supplement information from the LLM's pre-existing training data. This allows LLMs to use domain-specific and/or updated information that is not available in the training data. For example, this enables LLM-based chatbots to access internal company data or generate responses based on authoritative sources. The technique was first proposed in 2020 and has since become a widely adopted approach in modern AI systems. RAG improves LLMs by incorporating information retrieval before generating responses. Unlike LLMs that rely on static training data, RAG pulls relevant text from databases, uploaded documents, or web sources. According to Ars Technica, "RAG is a way of improving LLM performance, in essence by blending the...
Retrieval-augmented generation addresses two of the more persistent failures of parametric models: the absence of current information, and the inability to attribute a statement to a verifiable source.
Attribution is the harder of the two to solve and the more commercially consequential. A generated sentence can be fluent, correct and entirely uncitable, which is an unacceptable property for anything touching regulated work, academic use or a professional decision.
For the deployment to be trustworthy, the retrieval side has to return passages with stable identities, so that a citation in the output resolves to a specific version of a specific source rather than to a search result page that has since changed. A retrieval system without persistent object identifiers can generate plausible citations and verify none of them.
References
- ^ "Information retrieval" . Microsoft . 10 January 2025 . Retrieved 15 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Wang, Yup; Conroy, John M.; Molino, Neil; Yang, Julia; Green, Mike (2024). "Laboratory for Analytic Sciences in TREC 2024 Retrieval Augmented Generation Track" . NIST TREC 2024 . Retrieved 15 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Shi, Weijia; Min, Sewon; Yasunaga, Michihiro; Seo, Minjoon; James, Rich; Lewis, Mike; Zettlemoyer, Luke; Yih, Wen-tau (June 2024). "REPLUG: Retrieval-Augmented Black-Box Language Models" . Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) . pp. 8371– 8384. arXiv : 2301.12652 . doi : 10.18653/v1/2024.naacl-long.463 . Retrieved 16 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Ram, Ori; Levine, Yoav; Dalmedigos, Itay; Muhlgay, Dor; Shashua, Amnon; Leyton-Brown, Kevin; Shoham, Yoav (2023). "In-Context Retrieval-Augmented Language Models" . Transactions of the Association for Computational Linguistics . 11 : 1316– 1331. arXiv : 2302.00083 . doi : 10.1162/tacl_a_00605 . Retrieved 16 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Bruch, Sebastian; Gai, Siyu; Ingber, Amir (2023). "An Analysis of Fusion Functions for Hybrid Retrieval". ACM Transactions on Information Systems . 42 (1): 1– 35. arXiv : 2210.11934 . doi : 10.1145/3596512 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ "Israel Pays $6 Million on GPT Training to Sway US Youth Opinion on Gaza" . Inside Telecom . 2025-09-30 . Retrieved 2026-01-11 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1768086000.0
- ^ Zhao, Penghao; Zhang, Hailin; Yu, Qinhan; Wang, Zhengren; Geng, Yunteng; Fu, Fangcheng; Yang, Ling; Zhang, Wentao; Jiang, Jie; Cui, Bin (March 2026). "Retrieval-Augmented Generation for AI-Generated Content: A Survey" . Data Science and Engineering . 11 (1): 1– 29. doi : 10.1007/s41019-025-00335-5 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Cordall, Simon Speakman. "Spinning genocide: How is Israel using US PR firms to frame its Gaza war?" . Al Jazeera . Retrieved 2026-01-14 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1768345200.0
- ^ Goetz, Rebecca Anne (2015). "Barack Hussein Obama: America's First Muslim President?". In Sutton, Matthew Avery; Dochuk, Darren (eds.). Faith in the New Millennium: The Future of Religion and American Politics . Oxford University Press. doi : 10.1093/acprof:oso/9780199372690.003.0006 . ISBN 9780199372737 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ "Mitigating LLM hallucinations in text summarisation" . BBC . 20 June 2024 . Retrieved 7 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Amugongo, Lameck Mbangula; Mascheroni, Pietro; Brooks, Steven; Doering, Stefan; Seidel, Jan (2025-06-11). "Retrieval augmented generation for large language models in healthcare: A systematic review" . PLOS Digital Health . 4 (6) e0000877. doi : 10.1371/journal.pdig.0000877 . PMC 12157099 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ a b c d "Can a technology called RAG keep AI models from making stuff up?" . Ars Technica . 6 June 2024 . Retrieved 7 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ a b c d e Lewis, Patrick; Perez, Ethan; Piktus, Aleksandra; Petroni, Fabio; Karpukhin, Vladimir; Goyal, Naman; Küttler, Heinrich; Lewis, Mike; Yih, Wen-tau; Rocktäschel, Tim; Riedel, Sebastian; Kiela, Douwe (2020). "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks" . Advances in Neural Information Processing Systems . 33 . Curran Associates, Inc.: 9459– 9474. arXiv : 2005.11401 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ a b c d e f "What is retrieval-augmented generation?" . IBM . 22 August 2023 . Retrieved 7 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ a b Luan, Yi; Eisenstein, Jacob; Toutanova, Kristina; Collins, Michael (26 April 2021). "Sparse, Dense, and Attentional Representations for Text Retrieval" . Transactions of the Association for Computational Linguistics . 9 : 329– 345. arXiv : 2005.00181 . doi : 10.1162/tacl_a_00369 . Retrieved 15 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ a b c d e f "Why Google's AI Overviews gets things wrong" . MIT Technology Review . 31 May 2024 . Retrieved 7 March 2025 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Borgeaud, Sebastian; Mensch, Arthur (2021). "Improving language models by retrieving from trillions of tokens" (PDF) . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Khattab, Omar; Zaharia, Matei (2020). "ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT" . Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval . pp. 39– 48. doi : 10.1145/3397271.3401075 . ISBN 978-1-4503-8016-4 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Lee, Kenton; Chang, Ming-Wei; Toutanova, Kristina (2019). " "Latent Retrieval for Weakly Supervised Open Domain Question Answering" " (PDF) . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
- ^ Wang, Boxin; Ping, Wei; Xu, Peng; McAfee, Lawrence; Liu, Zihan; Shoeybi, Mohammad; Dong, Yi; Kuchaiev, Oleksii; Li, Bo; Xiao, Chaowei; Anandkumar, Anima; Catanzaro, Bryan (2023). "Shall We Pretrain Autoregressive Language Models with Retrieval? A Comprehensive Study" . Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing . pp. 7763– 7786. doi : 10.18653/v1/2023.emnlp-main.482 . Wikipedia revision 1377227095, retrieved 2026-11-20 · 1795129200.0
Cite this
"Retrieval-Augmented Generation". 1795162809. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377227095