arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.03983cs.LGcs.AI
收藏

扩散模型秘密地可交换:通过自动投机并行化DDPM

Diffusion Models are Secretly Exchangeable: Parallelizing DDPMs via Autospeculation

Computer Science Department, Stanford University, California, USA(斯坦福大学计算机科学系)

Hengyuan Hu, Aniket Das, Dorsa Sadigh, Nima Anari

AI总结:

本文证明DDPM增量在重参数化下可交换,并据此提出无需草稿模型的自动投机解码(ASD),实现K步顺序DDPM的并行加速,显著提升推理速度。

摘要:

去噪扩散概率模型(DDPM)已成为生成建模的强大工具。然而,其顺序计算需求导致了显著的推理时间瓶颈。在本工作中,我们利用DDPM与随机定位之间的联系,证明在适当的重新参数化下,DDPM的增量满足可交换性。这一通用见解使得各种性能优化技术能够近乎黑盒地从自回归模型适配到扩散设置。为证明这一点,我们引入了自动投机解码(ASD),这是广泛使用的投机解码算法在DDPM上的扩展,无需任何辅助草稿模型。我们的理论分析表明,ASD在K步顺序DDPM上实现了$\tilde{O}(K^{\frac{1}{3}})$的并行运行时间加速。我们还证明了自动投机解码的实际实现在各个领域显著加速了DDPM推理。

英文摘要:

Denoising Diffusion Probabilistic Models (DDPMs) have emerged as powerful tools for generative modeling. However, their sequential computation requirements lead to significant inference-time bottlenecks. In this work, we utilize the connection between DDPMs and Stochastic Localization to prove that, under an appropriate reparametrization, the increments of DDPM satisfy an exchangeability property. This general insight enables near-black-box adaptation of various performance optimization techniques from autoregressive models to the diffusion setting. To demonstrate this, we introduce \emph{Autospeculative Decoding} (ASD), an extension of the widely used speculative decoding algorithm to DDPMs that does not require any auxiliary draft models. Our theoretical analysis shows that ASD achieves a $\tilde{O} (K^{\frac{1}{3}})$ parallel runtime speedup over the $K$ step sequential DDPM. We also demonstrate that a practical implementation of autospeculative decoding accelerates DDPM inference significantly in various domains.

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

↑