arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.08048cs.CL
收藏

TDGNet: 通过时间动态图检测扩散语言模型中的幻觉

TDGNet: Hallucination Detection in Diffusion Language Models via Temporal Dynamic Graphs

Department of Computer Science, University of Oxford(牛津大学计算机科学系);Department of Engineering Science, University of Oxford(牛津大学工程科学系);Carnegie Mellon University(卡内基梅隆大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Arshia Hemmat, Philip Torr, Yongqiang Chen, Junchi Yu

AI总结:

TDGNet通过时间动态图框架,利用演进的token级注意力图进行学习,实现对扩散语言模型中幻觉的高效检测。

摘要:

扩散语言模型(D-LLMs)提供了并行去噪和双向上下文,但针对D-LLMs的幻觉检测仍处于探索阶段。此前用于自回归LLM的检测器通常依赖单次传递提示,不能直接转移到扩散生成中,因为在扩散生成中事实性证据分布在去噪轨迹中,可能在时间上出现、漂移或自我修正。我们介绍了TDGNet,一种时间动态图框架,将幻觉检测建模为在演进的token级注意力图上学习的过程。在每个去噪步骤中,我们稀疏化注意力图,并通过消息传递更新每个token的记忆,然后应用时间注意力来聚合轨迹范围内的证据以进行最终预测。在QA基准测试中对LLaDA-8B和Dream-7B的实验显示,与基于输出、基于潜在空间和静态图的基线相比,TDGNet在AUROC上实现了稳定的提升,具有单次传递推理和适度的开销。这些结果突显了在扩散语言模型中对注意力图进行时间推理的重要性,以实现稳健的幻觉检测。

英文摘要:

Diffusion language models (D-LLMs) offer parallel denoising and bidirectional context, but hallucination detection for D-LLMs remains underexplored. Prior detectors developed for auto-regressive LLMs typically rely on single-pass cues and do not directly transfer to diffusion generation, where factuality evidence is distributed across the denoising trajectory and may appear, drift, or be self-corrected over time. We introduce TDGNet, a temporal dynamic graph framework that formulates hallucination detection as learning over evolving token-level attention graphs. At each denoising step, we sparsify the attention graph and update per-token memories via message passing, then apply temporal attention to aggregate trajectory-wide evidence for final prediction. Experiments on LLaDA-8B and Dream-7B across QA benchmarks show consistent AUROC improvements over output-based, latent-based, and static-graph baselines, with single-pass inference and modest overhead. These results highlight the importance of temporal reasoning on attention graphs for robust hallucination detection in diffusion language models.

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

↑