RAGChecker: A Fine-grained Framework for Diagnosing Retrieval-Augmented Generation
Dongyu Ru, Lin Qiu, Xiangkun Hu, Tianhang Zhang, Peng Shi, Shuaichen Chang, Cheng Jiayang, Cunxiang Wang, Shichao Sun, Huanyu Li, Zizhao Zhang, Binjie Wang, Jiarong Jiang, Tong He, Zhiguo Wang, Pengfei Liu, Yue Zhang, Zheng Zhang
TL;DR
RagChecker addresses the challenging problem of evaluating Retrieval-Augmented Generation by offering a fine-grained, claim-entailment framework that diagnoses both retrieval and generation components. It introduces a formal formulation, a dual-predicate design for end-users and developers, and a comprehensive metric suite encompassing overall, retriever, and generator diagnostics. Meta-evaluation against human judgments demonstrates RagChecker achieves stronger correlations than existing metrics, and experiments across 8 RAG systems over 4,162 queries reveal actionable patterns and trade-offs in retrieval quality, model size, and context usage. The framework, benchmark, and findings provide practical guidance for building more faithful, robust RAG systems and are openly released for community use and extension.
Abstract
Despite Retrieval-Augmented Generation (RAG) showing promising capability in leveraging external knowledge, a comprehensive evaluation of RAG systems is still challenging due to the modular nature of RAG, evaluation of long-form responses and reliability of measurements. In this paper, we propose a fine-grained evaluation framework, RAGChecker, that incorporates a suite of diagnostic metrics for both the retrieval and generation modules. Meta evaluation verifies that RAGChecker has significantly better correlations with human judgments than other evaluation metrics. Using RAGChecker, we evaluate 8 RAG systems and conduct an in-depth analysis of their performance, revealing insightful patterns and trade-offs in the design choices of RAG architectures. The metrics of RAGChecker can guide researchers and practitioners in developing more effective RAG systems. This work has been open sourced at https://github.com/amazon-science/RAGChecker.
