Forecast then Calibrate: Feature Caching as ODE for Efficient Diffusion Transformers

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zheng, Shikang, Feng, Liang, Wang, Xinyu, Zhou, Qinming, Cai, Peiliang, Zou, Chang, Liu, Jiacheng, Lin, Yuqi, Chen, Junjie, Ma, Yue, Zhang, Linfeng
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915456895418368
author Zheng, Shikang
Feng, Liang
Wang, Xinyu
Zhou, Qinming
Cai, Peiliang
Zou, Chang
Liu, Jiacheng
Lin, Yuqi
Chen, Junjie
Ma, Yue
Zhang, Linfeng
author_facet Zheng, Shikang
Feng, Liang
Wang, Xinyu
Zhou, Qinming
Cai, Peiliang
Zou, Chang
Liu, Jiacheng
Lin, Yuqi
Chen, Junjie
Ma, Yue
Zhang, Linfeng
contents Diffusion Transformers (DiTs) have demonstrated exceptional performance in high-fidelity image and video generation. To reduce their substantial computational costs, feature caching techniques have been proposed to accelerate inference by reusing hidden representations from previous timesteps. However, current methods often struggle to maintain generation quality at high acceleration ratios, where prediction errors increase sharply due to the inherent instability of long-step forecasting. In this work, we adopt an ordinary differential equation (ODE) perspective on the hidden-feature sequence, modeling layer representations along the trajectory as a feature-ODE. We attribute the degradation of existing caching strategies to their inability to robustly integrate historical features under large skipping intervals. To address this, we propose FoCa (Forecast-then-Calibrate), which treats feature caching as a feature-ODE solving problem. Extensive experiments on image synthesis, video generation, and super-resolution tasks demonstrate the effectiveness of FoCa, especially under aggressive acceleration. Without additional training, FoCa achieves near-lossless speedups of 5.50 times on FLUX, 6.45 times on HunyuanVideo, 3.17 times on Inf-DiT, and maintains high quality with a 4.53 times speedup on DiT.
format Preprint
id arxiv_https___arxiv_org_abs_2508_16211
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Forecast then Calibrate: Feature Caching as ODE for Efficient Diffusion Transformers
Zheng, Shikang
Feng, Liang
Wang, Xinyu
Zhou, Qinming
Cai, Peiliang
Zou, Chang
Liu, Jiacheng
Lin, Yuqi
Chen, Junjie
Ma, Yue
Zhang, Linfeng
Computer Vision and Pattern Recognition
Diffusion Transformers (DiTs) have demonstrated exceptional performance in high-fidelity image and video generation. To reduce their substantial computational costs, feature caching techniques have been proposed to accelerate inference by reusing hidden representations from previous timesteps. However, current methods often struggle to maintain generation quality at high acceleration ratios, where prediction errors increase sharply due to the inherent instability of long-step forecasting. In this work, we adopt an ordinary differential equation (ODE) perspective on the hidden-feature sequence, modeling layer representations along the trajectory as a feature-ODE. We attribute the degradation of existing caching strategies to their inability to robustly integrate historical features under large skipping intervals. To address this, we propose FoCa (Forecast-then-Calibrate), which treats feature caching as a feature-ODE solving problem. Extensive experiments on image synthesis, video generation, and super-resolution tasks demonstrate the effectiveness of FoCa, especially under aggressive acceleration. Without additional training, FoCa achieves near-lossless speedups of 5.50 times on FLUX, 6.45 times on HunyuanVideo, 3.17 times on Inf-DiT, and maintains high quality with a 4.53 times speedup on DiT.
title Forecast then Calibrate: Feature Caching as ODE for Efficient Diffusion Transformers
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.16211