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

大型语言扩散模型的不确定性量化

Uncertainty Quantification for Large Language Diffusion Models

MBZUAI;The University of Melbourne(墨尔本大学)

Artem Vazhentsev, Vladislav Smirnov, David Li, Maxim Panov, Timothy Baldwin, Artem Shelmanov

AI总结:

本文提出了一种轻量级的不确定性信号,通过迭代去噪过程和中间生成来提升LLDMs的不确定性量化,实验显示其在成本与性能之间取得良好平衡。

摘要:

大型语言扩散模型(LLDMs)作为一种替代自回归模型的新兴方法,通过更高的并行性实现了更快的推理。与自回归LLMs类似,它们仍易产生幻觉,因此可靠的不确定性量化(UQ)对安全部署至关重要。然而,现有UQ方法与这一新范式根本不符:它们假设自回归因子分解或使用昂贵的重复采样,这抵消了LLDMs的效率。本文首次系统研究了LLDMs的UQ,并提出轻量级、零样本的不确定性信号,利用中间生成、token remasking动态和去噪复杂性。我们进一步将最先进的UQ方法适配到LLDMs中,通过结合掩码扩散似然与基于轨迹的语义差异性。我们证明预期轨迹差异性下界了掩码扩散训练目标,这激励其作为不确定性评分使用。在三个任务、八个数据集和两个模型上的全面实验表明,我们的方法在成本与性能之间取得了良好平衡:它接近最强的基于采样的基线,同时计算开销低至100倍。我们的工作证明LLDMs可以同时实现快速推理和可靠的幻觉检测。

英文摘要:

Large Language Diffusion Models (LLDMs) are emerging as an alternative to autoregressive models, offering faster inference through higher parallelism. Similar to autoregressive LLMs, they remain prone to hallucinations, making reliable uncertainty quantification (UQ) crucial for safe deployment. However, existing UQ methods are fundamentally misaligned with this new paradigm: they assume autoregressive factorization or use expensive repeated sampling, negating the efficiency of LLDMs. In this work, we present the first systematic study of UQ for LLDMs and propose lightweight, zero-shot uncertainty signals derived from the iterative denoising process, leveraging intermediate generations, token remasking dynamics, and denoising complexity. We further adapt a state-of-the-art UQ method to LLDMs by combining masked diffusion likelihoods with trajectory-based semantic dissimilarity. We prove that expected trajectory dissimilarity lower bounds the masked diffusion training objective, which motivates its usage as an uncertainty score. Comprehensive experiments across three tasks, eight datasets, and four models show that our method achieves a great cost-performance trade-off: it approaches the strongest sampling-based baselines while incurring up to 100x lower computational overhead. Our work demonstrates that LLDMs can deliver both fast inference and reliable hallucination detection simultaneously.

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

↑