paper-with-me

홈 › Papers

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

2025-04-04 · Xuran Ma, Yexin Liu, Yaofu Liu, Xianfeng Wu, Mingzhe Zheng, ZiHao Wang, Ser-Nam Lim, Harry Yang

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.

📄 PDF Abstract BibTeX arXiv:2504.03140

Code (1)

geekguru123/profilingdit 공식 구현 pytorch

Tasks

DenoisingVideo Generation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

ERTACache: Error Rectification and Timesteps Adjustment for Efficient Diffusion

2025-08-27 · Xurui Peng, Chenqian Yan, Hong Liu, Rui Ma 외 arxiv

Diffusion models suffer from substantial computational overhead due to their inherently iterative inference process. While feature caching offers a promising acceleration strategy by reusing intermediate outputs across t…

Video Generation

BWCache: Accelerating Video Diffusion Transformers through Block-Wise Caching

2025-09-17 · Hanshuai Cui, Zhiqing Tang, Zhifei Xu, Zhi Yao 외 arxiv

Recent advancements in Diffusion Transformers (DiTs) have established them as the state-of-the-art method for video generation. However, their inherently sequential denoising process results in inevitable latency, limiti…

Video Generation

Kamera: Unified Position-Invariant Multimodal KV Cache for Training-Free Reuse

2026-06-22 · Bole Ma, Jan Eitzinger, Harald Koestler, Gerhard Wellein arxiv

Multimodal agents repeatedly re-examine the same video frames, UI screenshots, and rendered artifacts as their context window slides and reasoning iterates, yet every look-back re-encodes from scratch, because prefix cac…

Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs

2023-10-03 · Suyu Ge, Yunan Zhang, Liyuan Liu, Minjia Zhang 외

In this study, we introduce adaptive KV cache compression, a plug-and-play method that reduces the memory footprint of generative inference for Large Language Models (LLMs). Different from the conventional KV cache that …

GPU

FeatFix: Reuse What You Verify through Local Exact-Feature Correction for Faster Cached Diffusion Inference

2026-07-30 · Hanshuai Cui, Zhiqing Tang, Zhi Yao, Qianli Ma 외 arxiv

Diffusion models are widely used to generate high-quality images and videos, but their iterative denoising process remains computationally intensive. A growing class of training-free accelerators reduces this cost by reu…