Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Beyond Black-Box Interventions: Latent Probing for Faithful Retrieval-Augmented Generation

About

Retrieval-Augmented Generation (RAG) systems often fail to maintain contextual faithfulness, generating responses that conflict with the provided context or fail to fully leverage the provided evidence. Existing methods attempt to improve faithfulness through external interventions, such as specialized prompting, decoding-based calibration, or preference optimization. However, since these approaches treat the LLM as a black box, they lack a reliable mechanism to assess when and why knowledge conflicts occur. Consequently, they tend to be brittle, data-intensive, and agnostic to the model's internal reasoning process. In this paper, we move beyond black-box interventions to analyze the model's internal reasoning process. We discover that conflicting and aligned knowledge states are linearly separable in the model's latent space, and contextual noise systematically increases the entropy of these representations. Based on these findings, we propose ProbeRAG, a novel framework for faithful RAG that operates in three stages: (i) fine-grained knowledge pruning to filter irrelevant context, (ii) latent conflict probing to identify hard conflicts in the model's latent space, and (iii) conflict-aware attention to modulate attention heads toward faithful context integration. Extensive experiments demonstrate that ProbeRAG substantially improves both accuracy and contextual faithfulness. The related resources are available at https://github.com/LinfengGao/ProbeRAG.

Linfeng Gao, Qinggang Zhang, Baolong Bi, Bo Zeng, Zheng Yuan, Zerui Chen, Zhimin Wei, Shenghua Liu, Linlong Xu, Longyue Wang, Weihua Luo, Jinsong Su• 2025

Related benchmarks

TaskDatasetResultRank
Question AnsweringSQuAD
F165.4
134
Faithfulness EvaluationFaithEval
F1 Score74.9
42
Multiple-choice Question AnsweringConFiQA MC
F1 Score91.2
42
Multi-step Reasoning Question AnsweringConFiQA MR (test)
F1 Score91.3
36
Open-ended Question AnsweringConFiQA (test)
F1 Score95.7
36
Question AnsweringSQuAD KRE-curated version
F1 Score71.5
36
Question AnsweringConFiQA MR
F1 Score89.6
6
Question AnsweringConFiQA
F1 Score94.3
6
Showing 8 of 8 rows

Other info

Follow for update