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

通过累积误差最小化实现扩散变换器加速的即插即用保真优化

Plug-and-Play Fidelity Optimization for Diffusion Transformer Acceleration via Cumulative Error Minimization

Tong Shao, Yusen Fu, Guoying Sun, Jingde Kong, Zhuotao Tian, Jingyong Su

AI总结:

通过累积误差最小化实现扩散变换器加速的即插即用保真优化,提升生成保真度并优于现有方法。

摘要:

尽管扩散变换器(DiT)已成为图像和视频生成的主要架构,但其迭代去噪过程导致推理速度慢,这限制了更广泛的应用和发展。基于缓存的方法可以实现无训练加速,但会带来显著的计算误差。现有方法通常采用剪枝或预测等误差校正策略来缓解这一问题。然而,其固定的缓存策略无法适应去噪过程中复杂的误差变化,这限制了误差校正的全部潜力。为解决这一挑战,我们提出了一种新的保真优化插件,通过累积误差最小化来增强现有误差校正方法,命名为CEM。CEM预定义误差以表征模型对加速的敏感性,该敏感性由时间步和缓存间隔共同影响。基于这一先验知识,我们提出了一个动态规划算法,通过累积误差近似进行策略优化,从而实现缓存误差最小化,从而显著提高生成保真度。CEM具有模型无关性,并表现出强大的泛化能力,可适应任意的加速预算。它可以无缝集成到现有的误差校正框架和量化模型中,而不会引入任何额外的计算开销。在三个任务上对九个生成模型和量化方法进行的广泛实验表明,CEM显著提高了现有加速模型的生成保真度,并在FLUX.1-dev、PixArt-α、StableDiffusion1.5和Hunyuan上优于原始生成性能。我们的代码已公开发布在https://github.com/leaves162/CEM。

英文摘要:

Although Diffusion Transformer (DiT) has emerged as a predominant architecture for image and video generation, its iterative denoising process results in slow inference, which hinders broader applicability and development. Caching-based methods achieve training-free acceleration, while suffering from considerable computational error. Existing methods typically incorporate error correction strategies such as pruning or prediction to mitigate it. However, their fixed caching strategy fails to adapt to the complex error variations during denoising, which limits the full potential of error correction. To tackle this challenge, we propose a novel fidelity-optimization plugin for existing error correction methods via cumulative error minimization, named CEM. CEM predefines the error to characterize the sensitivity of model to acceleration jointly influenced by timesteps and cache intervals. Guided by this prior, we formulate a dynamic programming algorithm with cumulative error approximation for strategy optimization, which achieves the caching error minimization, resulting in a substantial improvement in generation fidelity. CEM is model-agnostic and exhibits strong generalization, which is adaptable to arbitrary acceleration budgets. It can be seamlessly integrated into existing error correction frameworks and quantized models without introducing any additional computational overhead. Extensive experiments conducted on nine generation models and quantized methods across three tasks demonstrate that CEM significantly improves generation fidelity of existing acceleration models, and outperforms the original generation performance on FLUX.1-dev, PixArt-$α$, StableDiffusion1.5 and Hunyuan. Our code is released publicly at https://github.com/leaves162/CEM.

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

↑