Glossary term
Glossary term
Memory and Retrieval
Self-RAG (Self-Reflective Retrieval-Augmented Generation) is an approach where an AI system evaluates and refines its own retrieval and generation process during response creation. It retrieves information, assesses the relevance and quality of that information, and iteratively improves the output by validating or correcting its reasoning. This self-evaluation loop helps improve accuracy, reduce hallucinations, and ensure that responses are grounded in reliable data.
The original Self-RAG paper by Asai et al. (2023) introduced reflection tokens for retrieval and grounding decisions.
LangGraph implementations of Self-RAG combine retrieval grading, hallucination grading, and answer grading.
LlamaIndex's CorrectiveRAG agent is closely related and uses similar self-evaluation loops.