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

顺序无关语言模型中的解码:链式法则偏差与均匀扩散

Decoding in Order-Agnostic Language Models: Chain-Rule Deviation and Uniform Spreading

School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);Zhongguancun Academy(中关村学院)

Lin Yao

AI总结:

本文研究顺序无关语言模型(OALM)中揭示顺序对似然的影响,提出基于置信度方差的诊断方法,并证明均匀扩散定理以优化解码路径。

摘要:

顺序无关语言模型(OALM),包括离散扩散语言模型(dLLM),被训练用于在任意条件集下预测掩码标记,从而允许在推理时以任意揭示顺序生成或评分序列。在LLaDA-2.1中,我们报告了三个发现。首先,学习到的条件概率并不是一个连贯联合分布的精确分解:仅改变揭示顺序就会使目标对数似然偏移高达0.49 nats/标记,因此仅凭似然就混合了内容难度和路径依赖的伪影。其次,尽管置信度优先(CF)解码是顺序无关的,但其在内容标记上的揭示顺序接近从左到右(L2R)。第三,我们提出了一种基于置信度轨迹形状的补充诊断方法。一个均匀扩散定理表明,在固定总似然下,当每一步的置信度均匀扩散时,目标可恢复性最大化;由此产生的偏差促使我们使用$\mathrm{Var}(\log q_t)$作为比较解码路径的诊断指标。在C4和四个下游基准测试中,低方差将结构化路径与随机排序区分开来,并且方差与下游正确性一致相关。这些结果支持在比较OALM解码路径时联合报告平均置信度和置信度方差。

英文摘要:

Order-agnostic language models (OALMs), including discrete diffusion language models (dLLMs), are trained to predict masked tokens under arbitrary conditioning sets, allowing sequences to be generated or scored under arbitrary reveal orders at inference time. In LLaDA-2.1, we report three findings. First, the learned conditionals are not exact factorizations of a coherent joint distribution: changing only the reveal order shifts target log-likelihood by up to 0.49 nats/token, so likelihood alone mixes content difficulty with path-dependent artifacts. Second, although confidence-first (CF) decoding is order-agnostic, its reveal orders are close to left-to-right (L2R) on content tokens. Third, we propose a complementary diagnostic based on the shape of the confidence trace. A uniform-spreading theorem shows that, at fixed total likelihood, target recoverability is maximized when per-step confidence is spread uniformly; the resulting deviation motivates $\mathrm{Var}(\log q_t)$ as a diagnostic for comparing decoding paths. Across C4 and four downstream benchmarks, low variance separates structured paths from random ordering, and variance is consistently associated with downstream correctness. These results support reporting mean confidence and confidence variance jointly when comparing OALM decoding paths.

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

↑