From Logs to Faults: Reference-Free Fault Localization for Retrieval-Augmented Generation Pipelines
On the map: Retrieval-augmented generation → RAG for code
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) pipelines are widely used for domain-specific question answering, yet locating faults remains manual and time-consuming. Fault localization is challenging because RAG pipelines consist of interdependent stages, where faults can propagate downstream, masking their origin, or remain undetected even when the final answer is correct. Existing evaluation approaches often focus on individual stages and rely on reference answers or code instrumentation. We present RAGLog, which detects and localizes faults across RAG stages using execution logs, without requiring reference answers or code instrumentation. RAGLog transforms heterogeneous API logs into a common RAG schema and combines rule-based, embedding-based, and LLM-based checks to identify faulty stages. We introduce a live fault injector and RAGLog Faults, a dataset of 3,134 runs from five RAG pipelines with stage-level fault labels. With Claude Haiku 5.5, RAGLog achieves a pooled F1 score of 0.73 on runs with naturally occurring faults, outperforming Claude Code (0.58) and Codex (0.52), and comparable effectiveness on runs with injected faults (0.84 versus 0.80 and 0.82, respectively). It analyzes runs in approximately five seconds at US0.005 each, with overall lower cost and latency than agent baselines. RAGLog is available as an open-source tool for debugging, evaluating, and monitoring RAG pipelines.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in RAG for code, one of 15 directions in Retrieval-augmented generation. Builds on 23 of its 49 references that are in the map. Submitted 1 Nov 2026.
Builds on
23 of 49 references.
References · 23
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,978
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,667
- 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 490
- 2023RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Modelscited by 323
- 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 300
- 2023ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systemscited by 279
- 2024Seven Failure Points When Engineering a Retrieval Augmented Generation Systemcited by 148
- 2024Sufficient Context: A New Lens on Retrieval Augmented Generation Systemscited by 111
- 2024Visibility into AI Agentscited by 85
11 more
- 2018DeepMutation: Mutation Testing of Deep Learning Systemscited by 69
- 2024RAGEval: Scenario Specific RAG Evaluation Dataset Generation Frameworkcited by 44
- 2024DMQR-RAG: Diverse Multi-Query Rewriting for RAGcited by 30
- 2025AgentSight: System-Level Observability for AI Agents Using eBPFcited by 25
- 2025RAFFLES: Reasoning-based Attribution of Faults for LLM Systemscited by 25
- 2025Classifying and Addressing the Diversity of Errors in Retrieval-Augmented Generation Systemscited by 11
- 2025Retrieval-Augmented Generation in Industry: An Interview Study on Use Cases, Requirements, Challenges, and Evaluationcited by 10
- 2025RAGTrace: Understanding and Refining Retrieval-Generation Dynamics in Retrieval-Augmented Generationcited by 5
- 2025MetaRAG: Metamorphic Testing for Hallucination Detection in RAG Systemscited by 3
- 2026When Failures Propagate: Causal Failure Attribution in Agentic Retrieval-Augmented Generationcited by 3
- 2026FROAV: A Framework for RAG Observation and Agent Verification -- Lowering the Barrier to LLM Agent Researchcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025RAG Without the Lag: Interactive Debugging for Retrieval-Augmented Generation Pipelines
- 2025RAGVUE: A Diagnostic View for Explainable and Automated Evaluation of Retrieval-Augmented Generation
- 2026BLAgent: Agentic RAG for File-Level Bug Localization
- 2025Never Come Up Empty: Adaptive HyDE Retrieval for Improving LLM Developer Support
- 2024RAGProbe: An Automated Approach for Evaluating RAG Applications
- 2025RAGXplain: From Explainable Evaluation to Actionable Guidance of RAG Pipelines
- 2024RAGViz: Diagnose and Visualize Retrieval-Augmented Generation
- 2026Not All RAGs Are Created Equal: A Component-Wise Empirical Study for Software Engineering Tasks