Why Retrieval-Augmented Generation Fails: A Graph Perspective

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Guo, Kai, Dai, Xinnan, Zhang, Zhibo, Lin, Nuohan, Zeng, Shenglai, Ren, Jie, Han, Haoyu, Tang, Jiliang
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910218773856256
author Guo, Kai
Dai, Xinnan
Zhang, Zhibo
Lin, Nuohan
Zeng, Shenglai
Ren, Jie
Han, Haoyu
Tang, Jiliang
author_facet Guo, Kai
Dai, Xinnan
Zhang, Zhibo
Lin, Nuohan
Zeng, Shenglai
Ren, Jie
Han, Haoyu
Tang, Jiliang
contents Retrieval-Augmented Generation (RAG) has become a powerful and widely used approach for improving large language models by grounding generation in retrieved evidence. However, RAG systems still produce incorrect answers in many cases. Why RAG fails despite having access to external information remains poorly understood. We present a model-internal study of retrieval-augmented generation that examines how retrieved evidence influences answer generation. Using circuit tracing, we construct attribution graphs that model the flow of information through transformer layers during decoding. These graphs represent interactions among retrieved context, intermediate model activations, and generated tokens, providing a graph, circuit-level view of how external evidence is integrated into the model's reasoning process across multiple question answering benchmarks, we observe consistent structural differences: correct predictions exhibit deeper reasoning paths, more distributed evidence flow, and a more structured pattern of local connectivity, while failed predictions show shallower, fragmented, and overly concentrated evidence flow. Building on these findings, we develop a graph-based error detection framework that uses attribution-graph topology features. Furthermore, we show that attribution graphs enable targeted interventions. By reinforcing question-constrained evidence grounding, we reshape internal routing so that answer generation remains guided by the question, leading to more effective integration of retrieved information and fewer errors.
format Preprint
id arxiv_https___arxiv_org_abs_2605_14192
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Why Retrieval-Augmented Generation Fails: A Graph Perspective
Guo, Kai
Dai, Xinnan
Zhang, Zhibo
Lin, Nuohan
Zeng, Shenglai
Ren, Jie
Han, Haoyu
Tang, Jiliang
Computation and Language
Artificial Intelligence
Retrieval-Augmented Generation (RAG) has become a powerful and widely used approach for improving large language models by grounding generation in retrieved evidence. However, RAG systems still produce incorrect answers in many cases. Why RAG fails despite having access to external information remains poorly understood. We present a model-internal study of retrieval-augmented generation that examines how retrieved evidence influences answer generation. Using circuit tracing, we construct attribution graphs that model the flow of information through transformer layers during decoding. These graphs represent interactions among retrieved context, intermediate model activations, and generated tokens, providing a graph, circuit-level view of how external evidence is integrated into the model's reasoning process across multiple question answering benchmarks, we observe consistent structural differences: correct predictions exhibit deeper reasoning paths, more distributed evidence flow, and a more structured pattern of local connectivity, while failed predictions show shallower, fragmented, and overly concentrated evidence flow. Building on these findings, we develop a graph-based error detection framework that uses attribution-graph topology features. Furthermore, we show that attribution graphs enable targeted interventions. By reinforcing question-constrained evidence grounding, we reshape internal routing so that answer generation remains guided by the question, leading to more effective integration of retrieved information and fewer errors.
title Why Retrieval-Augmented Generation Fails: A Graph Perspective
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2605.14192