arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.11564cs.LG
收藏

用于语言建模的连续扩散模型

Continuous Diffusion Model for Language Modeling

KAIST(韩国科学技术院)

Jaehyeong Jo, Sung Ju Hwang

AI总结:

提出一种结合分类分布几何的连续扩散模型,建立离散扩散与连续流联系,引入径向对称训练框架,在语言建模基准上优于离散扩散并接近自回归性能。

摘要:

扩散模型已成为自回归模型在离散分类数据建模中的一种有前景的替代方案。然而,直接在离散数据空间上工作的扩散模型无法充分利用迭代细化的能力,因为在离散状态之间的转换过程中信号会丢失。现有的用于离散数据的连续扩散模型性能不如离散方法,且这两种方法之间缺乏明确联系,阻碍了针对离散数据的有效扩散模型的发展。在这项工作中,我们提出了一种用于语言建模的连续扩散模型,该模型结合了底层分类分布的几何结构。我们在统计流形上的离散扩散与连续流之间建立了联系,并基于这一类比,引入了一个简单的扩散过程,该过程推广了现有的离散扩散模型。我们进一步提出了一种基于径向对称性的免模拟训练框架,以及一种解决流形高维性的简单技术。在语言建模基准和其他模态上的综合实验表明,我们的方法优于现有的离散扩散模型,并接近自回归模型的性能。代码可在 https://github.com/harryjo97/RDLM 获取。

英文摘要:

Diffusion models have emerged as a promising alternative to autoregressive models in modeling discrete categorical data. However, diffusion models that directly work on discrete data space fail to fully exploit the power of iterative refinement, as the signals are lost during transitions between discrete states. Existing continuous diffusion models for discrete data underperform compared to discrete methods, and the lack of a clear connection between the two approaches hinders the development of effective diffusion models for discrete data. In this work, we propose a continuous diffusion model for language modeling that incorporates the geometry of the underlying categorical distribution. We establish a connection between the discrete diffusion and continuous flow on the statistical manifold, and building on this analogy, introduce a simple diffusion process that generalizes existing discrete diffusion models. We further propose a simulation-free training framework based on radial symmetry, along with a simple technique to address the high dimensionality of the manifold. Comprehensive experiments on language modeling benchmarks and other modalities show that our method outperforms existing discrete diffusion models and approaches the performance of autoregressive models. The code is available at https://github.com/harryjo97/RDLM.

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

↑