arXiv:2508.02240cs.CVcs.AI2025-08被引 6

用误差自检机制让扩散模型加速更稳更快

Forecasting When to Forecast: Accelerating Diffusion Models with Confidence-Gated Taylor

  • 改用最后块级预测,减少缓存数据量
  • 根据首块误差判断是否信任预测,动态切换计算模式
  • 在保持画质几乎不变前提下提速超4倍,适合资源受限场景

扩散变换器(DiTs)在图像生成任务中表现优异,但推理速度慢限制了其在低资源场景的应用。现有免训练加速方法通过缓存并复用历史特征来提升效率,但依赖模块级泰勒预测需存储大量中间结果,带来显著内存与计算开销。同时,固定缓存策略未考虑不同时步预测精度差异,可能导致失败时输出质量下降。本文提出一种新方法:将泰勒预测目标从模块级改为最后一层块级,大幅减少缓存数量;利用首个块的预测误差作为可靠性指标,若误差小则信任预测,否则回退至全量计算,实现动态缓存。实验表明,该方法在FLUX上提速3.17倍,DiT上2.36倍,Wan Video上达4.14倍,画质损失极小。

原文摘要 · Abstract (English)

Diffusion Transformers (DiTs) have demonstrated remarkable performance in visual generation tasks. However, their low inference speed limits their deployment in low-resource applications. Recent training-free approaches exploit the redundancy of features across timesteps by caching and reusing past representations to accelerate inference. Building on this idea, TaylorSeer instead uses cached features to predict future ones via Taylor expansion. However, its module-level prediction across all transformer blocks (e.g., attention or feedforward modules) requires storing fine-grained intermediate features, leading to notable memory and computation overhead. Moreover, it adopts a fixed caching schedule without considering the varying accuracy of predictions across timesteps, which can lead to degraded outputs when prediction fails. To address these limitations, we propose a novel approach to better leverage Taylor-based acceleration. First, we shift the Taylor prediction target from the module level to the last block level, significantly reducing the number of cached features. Furthermore, observing strong sequential dependencies among Transformer blocks, we propose to use the error between the Taylor-estimated and actual outputs of the first block as an indicator of prediction reliability. If the error is small, we trust the Taylor prediction for the last block; otherwise, we fall back to full computation, thereby enabling a dynamic caching mechanism. Empirical results show that our method achieves a better balance between speed and quality, achieving a 3.17x acceleration on FLUX, 2.36x on DiT, and 4.14x on Wan Video with negligible quality drop. The Project Page is \href{https://cg-taylor-acce.github.io/CG-Taylor/}{here.}

扩散模型加速推理动态调度视觉生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。