DiCache: Let Diffusion Model Determine Its Own Cache
Jiazi Bu, Pengyang Ling, Yujie Zhou, Yibin Wang, Yuhang Zang, Dahua Lin, Jiaqi Wang
摘要
Recent years have witnessed the rapid development of acceleration techniques for diffusion models, especially caching-based acceleration methods. These studies seek to answer two fundamental questions: "When to cache" and "How to use cache", typically relying on predefined empirical laws or dataset-level priors to determine caching timings and adopting handcrafted rules for multi-step cache utilization. However, given the highly dynamic nature of the diffusion process, they often exhibit limited generalizability and fail to cope with diverse samples. In this paper, a strong sample-specific correlation is revealed between the variation patterns of the shallow-layer feature differences in the diffusion model and those of deep-layer features. Moreover, we have observed that the features from different model layers form similar trajectories. Based on these observations, we present DiCache, a novel training-free adaptive caching strategy for accelerating diffusion models at runtime, answering both when and how to cache within a unified framework. Specifically, DiCache is composed of two principal components: (1) Online Probe Profiling Scheme leverages a shallow-layer online probe to obtain an on-the-fly indicator for the caching error in real time, enabling the model to dynamically customize the caching schedule for each sample. (2) Dynamic Cache Trajectory Alignment adaptively approximates the deep-layer feature output from multi-step historical caches based on the shallow-layer feature trajectory, facilitating higher visual quality. Extensive experiments validate DiCache's capability in achieving higher efficiency and improved fidelity over state-of-the-art approaches on various leading diffusion models including WAN 2.1, HunyuanVideo and Flux. Our code is available at https://github.com/Bujiazi/DiCache .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- TAP: A Token-Adaptive Predictor Framework for Training-Free Diffusion Acceleration 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- TAP: A Token-Adaptive Predictor Framework for Training-Free Diffusion Acceleration 引用了 Scalable Diffusion Models with Transformers
- TAP: A Token-Adaptive Predictor Framework for Training-Free Diffusion Acceleration 引用了 Denoising Diffusion Probabilistic Models
- Fine-Grained GRPO for Precise Preference Alignment in Flow Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Fine-Grained GRPO for Precise Preference Alignment in Flow Models 引用了 Scalable Diffusion Models with Transformers
- Fine-Grained GRPO for Precise Preference Alignment in Flow Models 引用了 Denoising Diffusion Probabilistic Models
- D2Cache: Second-Order Delta Caching for Higher Video Diffusion Acceleration 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- D2Cache: Second-Order Delta Caching for Higher Video Diffusion Acceleration 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- D2Cache: Second-Order Delta Caching for Higher Video Diffusion Acceleration 引用了 Scalable Diffusion Models with Transformers
- D2Cache: Second-Order Delta Caching for Higher Video Diffusion Acceleration 引用了 Denoising Diffusion Probabilistic Models
- D2Cache: Second-Order Delta Caching for Higher Video Diffusion Acceleration 引用了 Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation
- Scalable Diffusion Models with Transformers 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Scalable Diffusion Models with Transformers 引用了 Diffusion Models Beat GANs on Image Synthesis
- Scalable Diffusion Models with Transformers 引用了 Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
- SeaCache: Spectral-Evolution-Aware Cache for Accelerating Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- SeaCache: Spectral-Evolution-Aware Cache for Accelerating Diffusion Models 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- SeaCache: Spectral-Evolution-Aware Cache for Accelerating Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- SeaCache: Spectral-Evolution-Aware Cache for Accelerating Diffusion Models 引用了 Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation
引用它的顶会 Paper6
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware PermutationShuo Yang, Haocheng Xi, Yilong Zhao, Muyang Li 等NeurIPS 2025 · 114 次引用
- Fine-Grained GRPO for Precise Preference Alignment in Flow ModelsYujie Zhou, Pengyang Ling, Jiazi Bu, Yibin Wang 等CVPR 2026 · 19 次引用
- SeaCache: Spectral-Evolution-Aware Cache for Accelerating Diffusion ModelsJiwoo Chung, Sangeek Hyun, MinKyu Lee, Byeongju Han 等CVPR 2026 · 9 次引用
- TAP: A Token-Adaptive Predictor Framework for Training-Free Diffusion AccelerationHaowei Zhu, Tingxuan Huang, Xing Wang, Tianyu Zhao 等CVPR 2026 · 3 次引用
- D2Cache: Second-Order Delta Caching for Higher Video Diffusion AccelerationEnhuai Liu, Yunke Wang, Changming Sun, Chang XuCVPR 2026
它引用的 Paper23
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
相关 Paper
- Denoising as Path Planning: Training-Free Acceleration of Diffusion Models with DPCacheBowen Cui, Yuanbin Wang, Huajiang Xu, Biaolong Chen 等CVPR 2026 · 6 次引用
- SenCache: Accelerating Diffusion Model Inference via Sensitivity-Aware CachingYasaman Haghighi, Alexandre AlahiCVPR 2026 · 5 次引用
- ERTACache: Error Rectification and Timesteps Adjustment for Efficient DiffusionXurui Peng, Chenqian Yan, Hong Liu, Rui Ma 等ICLR 2026 · 10 次引用
- ProCache: Constraint-Aware Feature Caching with Selective Computation for Diffusion Transformer AccelerationFanpu Cao, Yaofo Chen, Zeng You, Wei LuoAAAI 2026
- ScalingCache: Extreme Acceleration of DiTs through Difference Scaling and Dynamic Interval CachingLihui Gu, Jingbin He, Lianghao Su, Kang He 等ICLR 2026
