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

DSVD:用于大型语言模型忠实生成的动态自验证解码

DSVD: Dynamic Self-Verify Decoding for Faithful Generation in Large Language Models

Fudan University(复旦大学);Shanghai AI Laboratory(上海人工智能实验室);Shanghai JiaoTong University(上海交通大学);University of Science and Technology of China(中国科学技术大学)

YiQiu Guo, Yuchen Yang, Zhe Chen, Pingjie Wang, Yusheng Liao, Ya Zhang, Yanfeng Wang, Yu Wang

AI总结:

提出动态自验证解码框架DSVD,通过并行自验证架构和动态回滚机制实现实时幻觉检测与错误纠正,显著提升问答真实性与事实准确性,且可与现有方法结合增强性能。

摘要:

大型语言模型的可靠性仍是一个关键挑战,主要由于它们在文本生成过程中容易出现幻觉和事实不准确。现有解决方案要么通过先发制人的策略未能充分利用模型的自纠正能力,要么使用成本高昂的事后验证。为了进一步探索实时自验证和纠正的潜力,我们提出了动态自验证解码(DSVD),这是一种新颖的解码框架,通过实时幻觉检测和高效错误纠正来增强生成可靠性。DSVD 集成了两个关键组件:(1)用于持续质量评估的并行自验证架构,(2)用于针对性错误恢复的动态回滚机制。在五个基准上的广泛实验证明了 DSVD 的有效性,在真实性(问答)和事实准确性(FActScore)方面取得了显著提升。结果表明 DSVD 可以进一步与现有忠实解码方法结合以实现更强性能。我们的工作确立了生成过程中的实时自验证为更可信的语言模型提供了一条可行路径,且不牺牲实际可部署性。

英文摘要:

The reliability of large language models remains a critical challenge, particularly due to their susceptibility to hallucinations and factual inaccuracies during text generation. Existing solutions either underutilize models' self-correction with preemptive strategies or use costly post-hoc verification. To further explore the potential of real-time self-verification and correction, we present Dynamic Self-Verify Decoding (DSVD), a novel decoding framework that enhances generation reliability through real-time hallucination detection and efficient error correction. DSVD integrates two key components: (1) parallel self-verification architecture for continuous quality assessment, (2) dynamic rollback mechanism for targeted error recovery. Extensive experiments across five benchmarks demonstrate DSVD's effectiveness, achieving significant improvement in truthfulness (Quesetion-Answering) and factual accuracy (FActScore). Results show the DSVD can be further incorporated with existing faithful decoding methods to achieve stronger performance. Our work establishes that real-time self-verification during generation offers a viable path toward more trustworthy language models without sacrificing practical deployability.

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

↑