RAG connects generation to retrieved documents
Researchers propose RAG: before answering, a language model first retrieves relevant passages from a document collection and then writes its answer from them, instead of relying only on what it learned in training. The paper used Wikipedia as the collection for knowledge-heavy question answering.