ALoDLM:自适应循环扩散语言模型

·

研究论文 · 2026/10/06

扩散语言模型(DLM)通过并行预测多个词元实现快速生成,但与同等规模的自回归(AR)模型相比,其质量差距限制了实际应用。我们将此差距归因于计算-难度不匹配:在部分观察的序列中,一些未知词元容易预测,而另一些则需要更多计算。现有DLM在每个去噪步骤对所有未知位置施加统一计算深度。我们提出ALoDLM,用词元自适应潜在循环替代统一计算。在每个去噪步骤,ALoDLM迭代细化潜在表示,并根据词元难度分配计算。准备提交的词元作为离散上下文反馈,而未解决的词元通过额外循环传递保留并进一步细化其潜在状态。为了联合学习词元预测和计算分配,我们将词元级计算调度建模为潜在变量,并推导出条件负证据下界(NELBO)。我们在1.7B和8B参数规模上训练ALoDLM。在十一个基准测试中,ALoDLM在两个规模上的平均基准得分均优于所有评估的DLM和相应的AR基线。ALoDLM还保留了快速并行解码,在优化推理引擎下,在评估的自回归和扩散模型中实现了强大的质量-效率权衡。

该研究通过自适应计算分配显著提升了扩散语言模型的生成质量,同时保持了并行解码的效率,为扩散模型在语言生成任务中的实际应用提供了新的解决方案。

Diffusion language models (DLMs) enable fast generation by predicting multiple tokens in parallel, but their practical adoption remains limited by a persistent quality gap relative to comparably sized autoregressive (AR) models. We attribute this gap to a computation-difficulty mismatch: within a partially observed sequence, some unknown tokens are easy to predict, while others require substantially more computation. Existing DLMs nevertheless apply uniform computational depth to all unknown positions at each denoising step. We introduce ALoDLM, which replaces uniform computation with token-adaptive latent recurrence. At each denoising step, ALoDLM iteratively refines latent representations and allocates computation according to token difficulty. Tokens ready to commit are fed back as discrete context, while unresolved tokens retain and further refine their latent states through additional recurrent passes. To learn token prediction and computation allocation jointly, we formulate token-wise computation schedules as latent variables and derive a conditional negative evidence lower bound (NELBO). We train ALoDLM at 1.7B and 8B parameter scales. Across eleven benchmarks, ALoDLM outperforms all evaluated DLMs and the corresponding AR baselines in average benchmark score at both scales. ALoDLM also retains fast parallel decoding, yielding a strong quality-efficiency trade-off among evaluated autoregressive and diffusion models under optimized inference engines.

阅读原文

参与讨论