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

去噪作为路径规划:通过DPCache实现扩散模型的训练免费加速

Denoising as Path Planning: Training-Free Acceleration of Diffusion Models with DPCache

Alibaba Group(阿里巴巴集团)

Bowen Cui, Yuanbin Wang, Huajiang Xu, Biaolong Chen, Aixi Zhang, Hao Jiang, Zhengzheng Jin, Xu Liu, Pipei Huang

AI总结:

DPCache通过全局路径规划框架实现扩散模型的高效加速,减少计算开销并提升生成质量。

摘要:

扩散模型在图像和视频生成中展现了显著的成功,但其实际部署仍受到多步迭代采样巨大计算开销的阻碍。在加速策略中,基于缓存的方法提供了一种无需训练的有效解决方案,通过在时间步之间重用或预测特征。然而,现有方法依赖于固定或局部自适应的日程安排,而未考虑去噪轨迹的全局结构,往往导致误差累积和视觉伪影。为克服这一限制,我们提出DPCache,一种新的无需训练的加速框架,将扩散采样加速 formulations 为一个全局路径规划问题。DPCache从一个小的校准集构建一个路径感知的成本张量,以量化在先前关键时间步条件下跳过时间步的路径依赖误差。利用这个张量,DPCache通过动态规划选择一个最优的关键时间步序列,以最小化总路径成本的同时保持轨迹保真度。在推理过程中,模型只在这些关键时间步执行完整计算,而中间输出则通过缓存的特征高效预测。在DiT、FLUX和HunyuanVideo上的大量实验表明,DPCache实现了强大的加速,同时质量损失很小,优于先前的加速方法,在4.87倍的加速速度下,ImageReward提高了+0.031,甚至在FLUX上,比全步基线提高了+0.028,在3.54倍的加速速度下,验证了我们路径感知的全局调度框架的有效性。代码可在https://github.com/argsss/DPCache上获得。

英文摘要:

Diffusion models have demonstrated remarkable success in image and video generation, yet their practical deployment remains hindered by the substantial computational overhead of multi-step iterative sampling. Among acceleration strategies, caching-based methods offer a training-free and effective solution by reusing or predicting features across timesteps. However, existing approaches rely on fixed or locally adaptive schedules without considering the global structure of the denoising trajectory, often leading to error accumulation and visual artifacts. To overcome this limitation, we propose DPCache, a novel training-free acceleration framework that formulates diffusion sampling acceleration as a global path planning problem. DPCache constructs a Path-Aware Cost Tensor from a small calibration set to quantify the path-dependent error of skipping timesteps conditioned on the preceding key timestep. Leveraging this tensor, DPCache employs dynamic programming to select an optimal sequence of key timesteps that minimizes the total path cost while preserving trajectory fidelity. During inference, the model performs full computations only at these key timesteps, while intermediate outputs are efficiently predicted using cached features. Extensive experiments on DiT, FLUX, and HunyuanVideo demonstrate that DPCache achieves strong acceleration with minimal quality loss, outperforming prior acceleration methods by $+$0.031 ImageReward at 4.87$\times$ speedup and even surpassing the full-step baseline by $+$0.028 ImageReward at 3.54$\times$ speedup on FLUX, validating the effectiveness of our path-aware global scheduling framework. Code is available at https://github.com/argsss/DPCache.

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

↑