学习的中继表示用于前向思考的离散扩散模型
Learned Relay Representations for Forward-Thinking Discrete Diffusion Models
AI总结:
提出Learned Relay Representations (Relay)方法,通过可微通道传递潜在信息,使掩码扩散模型在去噪步骤间前向思考,减少推理延迟并提升性能。
摘要:
当掩码扩散模型(MDMs)通过迭代细化生成序列时,掩码位置上的丰富内部计算被丢弃,迫使每个后续细化步骤重新计算存储为模型表示的有价值内部信息。为了避免去噪轮次之间的硬重置,我们提出了学习的中继表示(Relay),一种允许MDMs在去噪时进行前向思考的方法,通过显式学习如何传播潜在信息以利于未来的去噪步骤。Relay引入了一个可微的逐token通道,在前向传递之间传递信息,并通过时间截断反向传播(BPTT)进行训练。我们展示了该框架可以扩展到最先进的扩散语言模型(DLMs),并且与块扩散和KV缓存等技术无缝兼容。我们首先在具有挑战性的基于数独的规划任务上对Relay的设计选择进行了彻底验证。然后,我们将Relay扩展到最先进的DLM Fast-dLLM v2,在编码任务上优于标准的监督微调,同时将推理延迟降低高达32%。我们的实证结果表明,最先进的DLM可以被显式训练以在解码步骤间前向中继潜在信息,从而推进性能-延迟帕累托前沿。我们提供了所有实验的代码。
英文摘要:
When Masked Diffusion Models (MDMs) generate sequences through iterative refinement, the rich internal computation over masked positions is discarded, forcing every subsequent refinement step to recompute the valuable internal information stored as model representations. To avoid a hard reset between denoising rounds, we propose Learned Relay Representations (Relay), a method that allows MDMs to be forward-thinking when denoising by explicitly learning how to propagate latent information for the benefit of future denoising steps. Relay introduces a differentiable per-token channel that passes information between forward passes and is trained via truncated backpropagation through time (BPTT). We show that this framework can be scaled to state-of-the-art Diffusion Language Models (DLMs), and is seamlessly compatible with techniques like block diffusion and KV caching. We first provide a thorough justification of the design choices in Relay on a challenging Sudoku-based planning task. We then scale Relay to Fast-dLLM v2, a state-of-the-art DLM, outperforming standard supervised finetuning on coding tasks while reducing inference latency by up to 32%. Our empirical results demonstrate that state-of-the-art DLMs can be explicitly trained to relay latent information forward across decoding steps, advancing the performance-latency Pareto frontier. We provide code for all our experiments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。