cs.IRMar 17, 2026

Open-Source Reproduction and Explainability Analysis of Corrective Retrieval Augmented Generation

Authors: Surya Vardhan Yalavarthi

Organizations: College of Engineering and Applied Science, University of Cincinnati

Abstract

Corrective Retrieval Augmented Generation (CRAG) improves the robustness of RAG systems by evaluating retrieved document quality and triggering corrective actions. However, the original implementation relies on proprietary components including the Google Search API and closed model weights, limiting reproducibility. In this work, we present a fully open-source reproduction of CRAG, replacing proprietary web search with the Wikipedia API and the original LLaMA-2 generator with Phi-3-mini-4k-instruct. We evaluate on PopQA and ARC-Challenge, demonstrating that our open-source pipeline achieves comparable performance to the original system. Furthermore, we contribute the first explainability analysis of CRAG's T5-based retrieval evaluator using SHAP, revealing that the evaluator primarily relies on named entity alignment rather than semantic similarity. Our analysis identifies key failure modes including domain transfer limitations on science questions. All code and results are available at https://github.com/suryayalavarthi/crag-reproduction.

Figures & tables

Explore similar work

CardsList
  1. Quantifying Retriever-Generator Alignment in RAG with Local Explanations

    Jan 29, 2026Korbinian Randl, Guido Rocchietti, Aron Henriksson +3Gradient-Based AttributionRetrieval-Augmented Generation

  2. CRITIC-R1: Learning Structured Critics for Retrieval-Augmented Generation

    May 28, 2026Wenhan Xiao, Ziwei Zhang, Chuanyue Yu +4LLM Self-CorrectionRetrieval-Augmented Generation