arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.40618cs.LGstat.ML
收藏

基于常微分方程(ODE)的离散扩散模型采样器

An ODE-based Sampler for Discrete Diffusion Models

CMAP, Ecole polytechnique(巴黎综合理工学院);Institute of Foundation Models(基础模型研究所);MBZUAI(穆罕默德·本·扎耶德人工智能大学);EPITA, LRE(EPITA);Bocconi University, Department of Decision Sciences and BIDSA(博科尼大学)

Samson Gourevitch, Yazid Janati, Eric Moulines, Eric P. Xing, Alain Durmus, Giacomo Zanella

AI总结:

本文提出基于指数残差流(ERFs)的ODE采样器,解决离散扩散模型的类似公式问题,其保留原模型边缘分布,在多基准任务中性能优于现有方法,支持一致性蒸馏。

摘要:

连续扩散模型的边缘分布可通过确定性常微分方程(ODE)(即概率流ODE)复现,该方程为加速采样和一致性蒸馏提供了基础。本文研究离散扩散模型是否存在类似公式,通过引入指数残差流(ERFs)给出肯定答案。我们的框架为每个token和位置补充连续残差变量以增强离散状态,这些残差根据分段定义的ODE确定性演化,其向量场依赖于当前离散状态及指定扩散模型的前向、后向速率矩阵;当残差归零后离散状态发生变化。我们证明该构造保留原扩散模型的边缘分布,推导了采样器的实用离散化方法,并将其专门应用于掩码扩散和均匀扩散。ERFs的确定性轨迹支持一致性蒸馏,在代码、文本生成等各类基准任务中,相比现有方法取得了实证性能提升。

英文摘要:

The marginals of a continuous diffusion model can be reproduced by a deterministic ordinary differential equation (ODE), known as the probability flow ODE, which provides a foundation for accelerated sampling and consistency distillation. In this paper we address the question whether an analogous formulation exists for discrete diffusion models and answer it affirmatively by introducing exponential residual flows (ERFs). Our framework augments the discrete state with a continuous residual variable for each token and position. These residuals evolve deterministically according to piecewise-defined ODEs whose vector fields depend on the current discrete state and the forward and backward rate matrices of the prescribed diffusion model. The discrete state changes whenever a residual reaches zero. We prove that this construction preserves the marginals of the original diffusion. We derive a practical discretization of our sampler and specialize it to masked and uniform diffusion. The deterministic trajectories of ERFs support consistency distillation and yield empirical improvements over previous approaches across a variety of benchmarks including code and text generation tasks.

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

↑