Model Reveals What to Cache: Profiling-Based Feature Reuse for Video Diffusion Models

Xuran Ma, Yexin Liu, Yaofu Liu, Xianfeng Wu, Mingzhe Zheng, Zihao Wang, Ser-Nam Lim, Harry Yang · DOI

Introduction

Video generation using Diffusion Transformers (DiTs) has achieved remarkable realism but remains computationally intensive. These models require numerous sequential denoising steps, each involving heavy transformer computations, which hinders real-time applications. While feature caching—reusing layer outputs from previous steps—has been proposed to mitigate this, existing methods are often "semantic-blind." They treat all frames and layers uniformly, leading to either motion blur or insufficient speedup.

ProfilingDiT: Adaptive Caching via Model Profiling

ProfilingDiT addresses these challenges through a "dual-granularity" caching strategy that distinguishes between static backgrounds and dynamic foregrounds.

Block-Level Profiling

The core innovation lies in the discovery that transformer blocks have intrinsic focuses. Some layers consistently process background information, while others handle moving foregrounds. By utilizing semantic masks (e.g., from SAM2) and attention maps, ProfilingDiT identifies "background-focused" blocks. During inference, these features are cached aggressively, while foreground blocks undergo full computation to preserve detail.

Selective foreground identification for targeted computation.

Step-Level and Delta List Schemes

Not all denoising steps are equally stable. ProfilingDiT employs an adaptive interval ($T_s$) that disables caching during the high-variance "warm-up" phase and increases caching frequency as the generation stabilizes. Furthermore, a "delta list" scheme allows for fine-grained control over which individual or consecutive blocks are bypassed, moving beyond the limitations of previous block-grouping methods.

Experimental Evaluation

The framework was evaluated on HunyuanVideo (720p) and Wan2.1 (480p) using metrics such as VBench, LPIPS, PSNR, and SSIM.

Key Results

ProfilingDiT consistently outperforms the current state-of-the-art, TeaCache, in both efficiency and visual fidelity.

  • Acceleration: The model achieved a 2.01× speedup on Wan2.1 and 1.87× on HunyuanVideo.
  • Visual Quality: On HunyuanVideo, ProfilingDiT reached an LPIPS of 0.1203, significantly better than TeaCache’s 0.1720 (lower is better).
  • Fidelity: It maintained higher PSNR (26.44 vs 21.91) and SSIM (0.8445 vs 0.7456) compared to TeaCache, indicating that the accelerated videos remain much closer to the high-quality original outputs.
Qualitative and quantitative comparison of ProfilingDiT against baselines.

Conclusion and Future Work

ProfilingDiT demonstrates that model "personalities"—the consistent focus of specific layers—can be leveraged for significant performance gains. While the method scales well across multiple GPUs, future work will address communication overhead at high GPU counts and improve robustness for extremely dynamic backgrounds.

Summary updated

BibTeX
@inproceedings{ma2025model,
  author = {Xuran Ma and Yexin Liu and Yaofu Liu and Xianfeng Wu and Mingzhe Zheng and Zihao Wang and Ser-Nam Lim and Harry Yang},
  title = {{Model Reveals What to Cache: Profiling-Based Feature Reuse for Video Diffusion Models}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
  url = {https://openreview.net/forum?id=mdpDFbAtHi},
}
Figure