2025-10-17 · 专家 · 自然语言处理 · 机器学习

Efficient Parallel Samplers for Recurrent-Depth Models and Their Connection to Diffusion Language Models

该论文提出了一种新的扩散采样器,用于加速循环深度模型的生成,通过并行化计算提高了生成速度,同时保持了与基线自回归生成相当的准确性。

更新于 2025-10-17。作者:Jonas Geiping、Xinyu Yang、Guinan Su。

中文摘要

具有循环深度的语言模型,在考虑变换器时也称为通用或循环的,其定义在于通过重复层来增加其计算能力。最近在预训练方面的努力表明,这些架构可以扩展到现代语言建模任务,同时在推理任务中展现出优势。在这项工作中,我们研究了循环深度模型与扩散语言模型之间的关系。基于它们的相似性,我们为这些模型开发了一种新的扩散强制采样器,以加速生成过程。该采样器通过在模型的每次正向传递中解码新的标记来推进,同时这些标记的潜在状态可以通过循环进一步细化。从理论上讲,使用我们的采样器进行生成,在相同的时间预算和现代硬件上,比基线自回归生成具有更严格的表达能力。此外,这个基于扩散文献原理的采样器可以无任何调整直接应用于现有的35亿参数的循环深度变换器,从而实现高达5倍的速度提升。因此,我们的发现不仅为循环深度模型在推理时并行化额外计算提供了一种有效机制,还表明这些模型可以自然地被视为强大的连续(尽管是因果的)扩散语言模型。

英文摘要

Language models with recurrent depth, also referred to as universal or looped when considering transformers, are defined by the capacity to increase their computation through the repetition of layers. Recent efforts in pretraining have demonstrated that these architectures can scale to modern language modeling tasks while exhibiting advantages in reasoning tasks. In this work, we examine the relationship between recurrent-depth models and diffusion language models. Building on their similarities, we develop a new diffusion forcing sampler for these models to accelerate generation. The sampler advances by decoding new tokens at every forward pass of the model, while the latent states of these tokens can be further refined in parallel through recurrence. Theoretically, generation with our sampler is strictly more expressive than the baseline autoregressive generation using the same time budget on modern hardware. Moreover, this sampler, based on principles from diffusion literature, can be directly applied to existing 3.5B recurrent-depth transformers without any tuning, leading to up to a 5x speedup. Consequently, our findings not only provide an efficient mechanism for parallelizing the extra computation in recurrent-depth models at inference, but also suggest that such models can be naturally viewed as strong continuous, though causal, diffusion language models.

解读

一句话总结

该论文提出了一种新的扩散采样器,用于加速循环深度模型的生成,通过并行化计算提高了生成速度,同时保持了与基线自回归生成相当的准确性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源