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
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.
School of Statistics, East China Normal University(东华大学统计学院);Department of Statistics and Data Science, University of California, Los Angeles(加州大学洛杉矶分校统计与数据科学系);Department of Industrial and Systems Engineering, University of Minnesota(明尼苏达大学工业与系统工程系);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院)
MaRS: A Fast Sampler for Mean Reverting Diffusion based on ODE and SDE Solvers
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences (CASIA)(中国科学院自动化研究所);DAMO Academy, Alibaba Group(阿里巴巴达摩院);Hupan Laboratory(湖畔实验室)
On the Collapse Errors Induced by the Deterministic Sampler for Diffusion Models
Institute of Data Science, The University of Hong Kong(数据科学研究所,香港大学);School of Electronic Information and Communications, Huazhong University of Science and Technology(电子信息与通讯学院,华中科技大学);University of California, Berkeley(加州大学伯克利分校);Simons Institute for the Theory of Computing(Simons计算理论研究所);Institute of Data Science & School of Computing and Data Science, The University of Hong Kong(数据科学研究所及计算与数据科学学院,香港大学)
Score Mismatch and Set-Constrained Sampling in Zero-Shot Conditional Discrete Diffusion
University of California, Davis(加州大学戴维斯分校);Luddy School of Informatics, Computing, and Engineering, Indiana University Indianapolis(印第安纳大学印第安纳波利斯分校卢迪信息学、计算与工程学院);The Ohio State University(俄亥俄州立大学)
Elucidating Flow Matching ODE Dynamics with Respect to Data Geometries and Denoisers
Department of Mathematics, University of Missouri(密苏里大学数学系);Halıcıoğlu Data Science Institute, University of California San Diego(加州大学圣地亚哥分校Halıcıoğlu数据科学研究院)
GAS: Improving Discretization of Diffusion ODEs via Generalized Adversarial Solver
HSE University(俄罗斯高等经济学院);Lomonosov Moscow State University(莫斯科罗蒙诺索夫莫斯科国立大学);FusionBrain Lab(FusionBrain实验室);Moscow Independent Research Institute of Artificial Intelligence(莫斯科独立人工智能研究所)
Entropy Across the Bridge: Conditional-Marginal Discretization for Flow and Schrödinger Samplers
NVIDIA Corporation(NVIDIA公司);University of Oxford(牛津大学);Donders Institute for Brain, Cognition, and Behaviour(大脑与行为研究所);AITHYRA, Research Institute for Biomedical AI(生物医学人工智能研究所)
Discrete Langevin Sampler via Wasserstein Gradient Flow
Georgia Tech(佐治亚理工学院);Google Research(谷歌研究院);University of Alberta(阿尔伯塔大学)
已知连续空间的基于梯度的MCMC采样器,例如朗之万蒙特卡罗(LMC),可以导出为梯度流的粒子版本,其最小化Wasserstein流形上的KL发散。这种采样器的优越效率激发了最近几次尝试将LMC推广到离散空间。然而,朗之万动力学的一个完整的原则性扩展到离散空间尚未实现,由于缺乏定义良好的梯度在样本空间。在这项工作中,我们展示了如何Wasserstein梯度流可以自然地推广到离散空间。鉴于所提出的配方,我们演示了如何离散模拟朗之万动力学可以随后开发。有了这个新的理解,我们揭示了最近的基于梯度的采样器在离散空间中可以通过选择特定的离散化作为特殊情况。更重要的是,该框架还允许推导新的算法,其中之一,\textit{Discrete Langevin Monte Carlo}(DLMC),是通过一个因式分解的估计的过渡矩阵。DLMC方法允许一个方便的并行实现和时间均匀采样,实现更大的跳跃距离。我们证明了DLMC在各种二进制和分类分布上的优势。