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

预测主成分,稳定残差:面向高效扩散变换器的子空间感知特征缓存

Forecast the Principal, Stabilize the Residual: Subspace-Aware Feature Caching for Efficient Diffusion Transformers

Shanghai Jiao Tong University(上海交通大学);Sun Yat-Sen University(中山大学);South China University of Technology(华南理工大学);Jilin University(吉林大学)

Guantao Chen, Shikang Zheng, Yuqi Lin, Linfeng Zhang

AI总结:

本文提出SVD-Cache方法,通过子空间感知的特征缓存技术提升扩散变换器的推理效率,实现近无损效果并支持多种加速技术。

摘要:

扩散变换器(DiT)模型在图像和视频生成中取得了前所未有的质量,但其迭代采样过程仍然计算上是不可行的。为加速推理,特征缓存方法通过在时间步之间重用中间表示而出现。然而,现有缓存方法对所有特征组件一视同仁。我们发现DiT特征空间包含具有不同时间行为的主成分和残差子空间:主成分子空间演变平稳且可预测,而残差子空间表现出波动、低能量振荡,难以准确预测。基于这一见解,我们提出了SVD-Cache,一种子空间感知的缓存框架,通过奇异值分解(SVD)分解扩散特征,对主导的低秩成分应用指数移动平均(EMA)预测,并直接重用残差子空间。广泛的实验表明,SVD-Cache在各种模型和方法中实现了近无损的效果,包括在FLUX和HunyuanVideo上实现了5.55倍的速度提升,并与模型加速技术如知识蒸馏、量化和稀疏注意力兼容。我们的代码见补充材料,并将在GitHub上发布。

英文摘要:

Diffusion Transformer (DiT) models have achieved unprecedented quality in image and video generation, yet their iterative sampling process remains computationally prohibitive. To accelerate inference, feature caching methods have emerged by reusing intermediate representations across timesteps. However, existing caching approaches treat all feature components uniformly. We reveal that DiT feature spaces contain distinct principal and residual subspaces with divergent temporal behavior: the principal subspace evolves smoothly and predictably, while the residual subspace exhibits volatile, low-energy oscillations that resist accurate prediction. Building on this insight, we propose SVD-Cache, a subspace-aware caching framework that decomposes diffusion features via Singular Value Decomposition (SVD), applies exponential moving average (EMA) prediction to the dominant low-rank components, and directly reuses the residual subspace. Extensive experiments demonstrate that SVD-Cache achieves near-lossless across diverse models and methods, including 5.55$\times$ speedup on FLUX and HunyuanVideo, and compatibility with model acceleration techniques including distillation, quantization and sparse attention. Our code is in supplementary material and will be released on Github.

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

↑