arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24697cs.CLcs.AI
收藏

路径很重要:学习扩散语言模型的令牌提交策略

The Path Matters: Learning a Token-Commitment Policy for Diffusion Language Models

Department of Computer Science and Technology, University of Cambridge(计算机科学与技术系,剑桥大学);Department of Engineering Science, University of Oxford(工程科学系,牛津大学)

Bohang Sun, Max Zhu, Francesco Caso, Jindong Gu, Junchi Yu, Philip Torr, Pietro Liò, Jialin Yu

AI总结:

本文提出TraceLock,一种轻量级可插拔控制器,通过学习可复用的轨迹状态策略来优化扩散语言模型中的令牌提交决策,从而改善质量与步数之间的权衡。

摘要:

扩散大语言模型通过并行细化多个令牌位置有望实现更快的生成,但这种并行性引入了一个隐藏的控制问题:每一步中哪些提议的令牌应被转移到部分解码的序列中?我们将此决策称为令牌提交。现有的冻结生成器解码器主要依赖于手工设计的置信度规则或特定块的接受过滤器。我们认为令牌提交可以学习为一种可复用的轨迹状态策略。我们引入了TraceLock,一种轻量级可插拔控制器,为冻结的扩散语言模型实例化此策略。由于无法获得 oracle 提交时间,TraceLock 从未来稳定性中推导出自我监督:在解码步骤 t,如果提议的令牌在完整解码轨迹完成后与位置 i 的最终令牌匹配,则将其标记为稳定。控制器对可变长度的轨迹状态进行评分,并决定哪些活跃的令牌提议应被提交到部分解码的序列中。一旦为给定的冻结主干训练完成,该控制器可以在局部窗口宽度、生成长度和步数预算下部署,无需重新训练或按设置校准。在问答、数学推理和代码生成上的实验表明,TraceLock 在质量-步数权衡上优于启发式和学习的基线,在跨设置部署下尤其稳定。诊断分析表明,其决策不能简化为标量置信度,这表明冻结的扩散语言模型暴露了一个超越基于置信度解码的可学习的提交轨迹空间。代码可在 https://github.com/BobSun98/TraceLock 获取。

英文摘要:

Diffusion large language models promise faster generation by refining many token positions in parallel, but this parallelism introduces a hidden control problem: which proposed tokens should be transferred into the partially decoded sequence at each step? We refer to this decision as token commitment. Existing frozen-generator decoders largely rely on hand-designed confidence rules or block-specific acceptance filters. We argue that token commitment can instead be learned as a reusable trace-state policy. We introduce TraceLock, a lightweight plug-in controller that instantiates this policy for a frozen diffusion language model. Since oracle commitment times are unavailable, TraceLock derives self-supervision from future stability: at decoding step t, a proposed token for position i is labeled stable if it matches the final token at position i after the full decoding trace completes. The controller scores variable-length trace states and decides which active token proposals should be committed to the partially decoded sequence. Once trained for a given frozen backbone, the controller can be deployed across local-window widths, generation lengths, and step budgets without retraining or per-setting calibration. Experiments on question answering, mathematical reasoning, and code generation show that TraceLock improves the quality-step tradeoff over heuristic and learned baselines, with particularly stable behavior under cross-setting deployment. Diagnostic analyses show that its decisions are not reducible to scalar confidence, suggesting that frozen diffusion language models expose a learnable space of commitment trajectories beyond confidence-based decoding. Code is available at https://github.com/BobSun98/TraceLock.

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

↑