2025-03-13 · 专家 · 机器学习 · 自然语言处理

Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models

该论文提出了一种新型的块扩散语言模型(BD3-LMs),通过在块内进行扩散并定义块上的自回归概率分布,实现了对自回归和扩散模型的插值,从而支持灵活长度的生成并提高推理效率。

更新于 2025-03-14。作者:Marianne Arriola、Aaron Gokaslan、Justin T Chiu、Zhihan Yang、Zhixuan Qi、Jiaqi Han、Subham Sekhar Sahoo、Volodymyr Kuleshov。

中文摘要

扩散语言模型相较于自回归模型具有独特的优势,得益于其并行生成能力和可控性,然而在似然建模方面有所欠缺,且局限于固定长度的生成。在本研究中,我们介绍了一类块状扩散语言模型,这类模型介于离散去噪扩散模型和自回归模型之间。块状扩散通过支持灵活长度的生成以及使用KV缓存和并行标记采样来提高推理效率,克服了这两种方法的关键限制。我们提出了一种构建有效块状扩散模型的配方,包括高效的训练算法、梯度方差估计器和数据驱动的噪声调度以最小化方差。块状扩散在语言建模基准测试中为扩散模型设定了新的最先进性能,并能够生成任意长度的序列。我们提供了代码、模型权重以及关于项目的博客文章,可在以下项目页面上找到:https://m-arriola.com/bd3lms/

英文摘要

Diffusion language models offer unique benefits over autoregressive models due to their potential for parallelized generation and controllability, yet they lag in likelihood modeling and are limited to fixed-length generation. In this work, we introduce a class of block diffusion language models that interpolate between discrete denoising diffusion and autoregressive models. Block diffusion overcomes key limitations of both approaches by supporting flexible-length generation and improving inference efficiency with KV caching and parallel token sampling. We propose a recipe for building effective block diffusion models that includes an efficient training algorithm, estimators of gradient variance, and data-driven noise schedules to minimize the variance. Block diffusion sets a new state-of-the-art performance among diffusion models on language modeling benchmarks and enables generation of arbitrary-length sequences. We provide the code, along with the model weights and blog post on the project page: https://m-arriola.com/bd3lms/

解读

一句话总结

该论文提出了一种新型的块扩散语言模型(BD3-LMs),通过在块内进行扩散并定义块上的自回归概率分布,实现了对自回归和扩散模型的插值,从而支持灵活长度的生成并提高推理效率。

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

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

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

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

来源

机器可读索引:llms.txt