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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Ma, Xuran, Liu, Yexin, Liu, Yaofu, Wu, Xianfeng, Zheng, Mingzhe, Wang, Zihao, Lim, Ser-Nam, Yang, Harry
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918104533041152
author Ma, Xuran
Liu, Yexin
Liu, Yaofu
Wu, Xianfeng
Zheng, Mingzhe
Wang, Zihao
Lim, Ser-Nam
Yang, Harry
author_facet Ma, Xuran
Liu, Yexin
Liu, Yaofu
Wu, Xianfeng
Zheng, Mingzhe
Wang, Zihao
Lim, Ser-Nam
Yang, Harry
contents Recent advances in diffusion models have demonstrated remarkable capabilities in video generation. However, the computational intensity remains a significant challenge for practical applications. While feature caching has been proposed to reduce the computational burden of diffusion models, existing methods typically overlook the heterogeneous significance of individual blocks, resulting in suboptimal reuse and degraded output quality. To this end, we address this gap by introducing ProfilingDiT, a novel adaptive caching strategy that explicitly disentangles foreground and background-focused blocks. Through a systematic analysis of attention distributions in diffusion models, we reveal a key observation: 1) Most layers exhibit a consistent preference for either foreground or background regions. 2) Predicted noise shows low inter-step similarity initially, which stabilizes as denoising progresses. This finding inspires us to formulate a selective caching strategy that preserves full computation for dynamic foreground elements while efficiently caching static background features. Our approach substantially reduces computational overhead while preserving visual fidelity. Extensive experiments demonstrate that our framework achieves significant acceleration (e.g., 2.01 times speedup for Wan2.1) while maintaining visual fidelity across comprehensive quality metrics, establishing a viable method for efficient video generation.
format Preprint
id arxiv_https___arxiv_org_abs_2504_03140
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Model Reveals What to Cache: Profiling-Based Feature Reuse for Video Diffusion Models
Ma, Xuran
Liu, Yexin
Liu, Yaofu
Wu, Xianfeng
Zheng, Mingzhe
Wang, Zihao
Lim, Ser-Nam
Yang, Harry
Computer Vision and Pattern Recognition
Recent advances in diffusion models have demonstrated remarkable capabilities in video generation. However, the computational intensity remains a significant challenge for practical applications. While feature caching has been proposed to reduce the computational burden of diffusion models, existing methods typically overlook the heterogeneous significance of individual blocks, resulting in suboptimal reuse and degraded output quality. To this end, we address this gap by introducing ProfilingDiT, a novel adaptive caching strategy that explicitly disentangles foreground and background-focused blocks. Through a systematic analysis of attention distributions in diffusion models, we reveal a key observation: 1) Most layers exhibit a consistent preference for either foreground or background regions. 2) Predicted noise shows low inter-step similarity initially, which stabilizes as denoising progresses. This finding inspires us to formulate a selective caching strategy that preserves full computation for dynamic foreground elements while efficiently caching static background features. Our approach substantially reduces computational overhead while preserving visual fidelity. Extensive experiments demonstrate that our framework achieves significant acceleration (e.g., 2.01 times speedup for Wan2.1) while maintaining visual fidelity across comprehensive quality metrics, establishing a viable method for efficient video generation.
title Model Reveals What to Cache: Profiling-Based Feature Reuse for Video Diffusion Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.03140