CLAILGOct 17, 2023

Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection

UW
arXiv:2310.11511v11967 citationsh-index: 82
Originality Highly original
AI Analysis

It addresses the issue of unreliable outputs in LLMs for users needing accurate information, representing a novel advancement beyond standard retrieval-augmented methods.

The paper tackles the problem of factual inaccuracies in large language models by introducing Self-RAG, a framework that adaptively retrieves and critiques passages to enhance response quality, resulting in significant outperformance over state-of-the-art models like ChatGPT and retrieval-augmented Llama2-chat on tasks such as open-domain QA and fact verification.

Despite their remarkable capabilities, large language models (LLMs) often produce responses containing factual inaccuracies due to their sole reliance on the parametric knowledge they encapsulate. Retrieval-Augmented Generation (RAG), an ad hoc approach that augments LMs with retrieval of relevant knowledge, decreases such issues. However, indiscriminately retrieving and incorporating a fixed number of retrieved passages, regardless of whether retrieval is necessary, or passages are relevant, diminishes LM versatility or can lead to unhelpful response generation. We introduce a new framework called Self-Reflective Retrieval-Augmented Generation (Self-RAG) that enhances an LM's quality and factuality through retrieval and self-reflection. Our framework trains a single arbitrary LM that adaptively retrieves passages on-demand, and generates and reflects on retrieved passages and its own generations using special tokens, called reflection tokens. Generating reflection tokens makes the LM controllable during the inference phase, enabling it to tailor its behavior to diverse task requirements. Experiments show that Self-RAG (7B and 13B parameters) significantly outperforms state-of-the-art LLMs and retrieval-augmented models on a diverse set of tasks. Specifically, Self-RAG outperforms ChatGPT and retrieval-augmented Llama2-chat on Open-domain QA, reasoning and fact verification tasks, and it shows significant gains in improving factuality and citation accuracy for long-form generations relative to these models.

Code Implementations6 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes