arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.05644cs.AI
收藏

FIDES: 通过深层证据信号实现RAG中检索-记忆冲突的忠实推理

FIDES: Faithful Inference via Deep Evidence Signals for Retrieval-Memory Conflict in RAG

Binjiang Institute of Zhejiang University(浙江大学滨江研究院);Zhejiang University(浙江大学);Guangzhou University(广州大学);GenTel.io

Zhe Yu, Wenpeng Xing, Tiancheng Zhao, Mohan Li, Changting Lin, Meng Han

AI总结:

针对检索增强生成中检索证据与参数记忆冲突导致模型忽略上下文的问题,提出无训练解码器FIDES,通过融合输出表面、隐藏表示和预测轨迹三种内部信号,在token级别动态调整干预强度,显著提升上下文忠实度。

摘要:

当检索到的证据与参数记忆相矛盾时,语言模型常常忽略上下文并默认采用记忆化的先验知识——这种失败削弱了检索增强的核心目的。对比解码通过放大上下文条件输出以抑制参数偏差,但现有方法基于一个隐含假设:这种偏差在token间是均匀的。单一的全局对比权重会过度惩罚安全token,同时使真正存在冲突的token得不到充分纠正。我们识别出token级别的冲突集中现象:检索-记忆张力呈现高度异质性,集中在少数答案关键的解码步骤上。这重新定义了对比解码:从“施加多少对比”转变为“在何处施加对比”。我们提出FIDES(通过深层证据信号实现忠实推理),一种无训练解码器,它读取三种内部信号——输出表面、隐藏表示和预测轨迹——在互补深度探测检索-记忆冲突,并融合它们以控制每个解码步骤的干预强度。在三个基准和六个主干模型(四个主流的7B/8B模型和两个扩展至70B的主干模型)上,FIDES在所有18个设置中实现了最佳的上下文忠实度,比最强的无训练基线高出3到13个百分点。在70B规模上,忠实度达到92-94%,同时F1分数飙升至62-63%,表明token级别的选择性解锁了粗粒度对比规则所抑制的生成能力。

英文摘要:

When retrieved evidence contradicts parametric memory, language models frequently ignore context and default to memorized priors -- a failure that undermines the core purpose of retrieval augmentation. Contrastive decoding amplifies the context-conditioned output to suppress parametric bias, but existing methods rest on an implicit assumption that this bias is uniform across tokens. A single global contrastive weight over-penalizes safe tokens while leaving genuinely conflicted ones insufficiently corrected. We identify token-level conflict concentration: retrieval-memory tension is sharply heterogeneous, concentrated on a small fraction of answer-critical decoding steps. This reframes contrastive decoding from how much contrast to apply to where to apply it. We propose FIDES (Faithful Inference via Deep Evidence Signals), a training-free decoder that reads three internal signals probing retrieval-memory conflict at complementary depths -- output surface, hidden representations, and prediction trajectory -- and fuses them to govern intervention strength at each decoding step. Across three benchmarks and six backbones -- four primary 7B/8B models and two scaling backbones up to 70B -- FIDES achieves the best context fidelity in all 18 settings, outperforming the strongest training-free baseline by +3 to +13 points. On the 70B scale, fidelity reaches 92-94% while F1 surges to 62-63%, demonstrating that token-level selectivity unlocks generation capability that coarse contrastive rules suppress.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑