HarmoniCa: Harmonizing Training and Inference for Better Feature Caching in Diffusion Transformer Acceleration
Yushi Huang, Zining Wang, Ruihao Gong, Jing Liu, Xinjie Zhang, Jinyang Guo, Xianglong Liu, Jun Zhang
摘要
Diffusion Transformers (DiTs) excel in generative tasks but face practical deployment challenges due to high inference costs. Feature caching, which stores and retrieves redundant computations, offers the potential for acceleration. Existing learning-based caching, though adaptive, overlooks the impact of the prior timestep. It also suffers from misaligned objectives-aligned predicted noise vs. high-quality images-between training and inference. These two discrepancies compromise both performance and efficiency. To this end, we harmonize training and inference with a novel learning-based caching framework dubbed HarmoniCa. It first incorporates Step-Wise Denoising Training (SDT) to ensure the continuity of the denoising process, where prior steps can be leveraged. In addition, an Image Error Proxy-Guided Objective (IEPO) is applied to balance image quality against cache utilization through an efficient proxy to approximate the image error. Extensive experiments across 8 models, 4 samplers, and resolutions from 256 × 256 to 2K demonstrate superior performance and speedup of our framework. For instance, it achieves over 40% latency reduction (i.e., 2.07× theoretical speedup) and improved performance on PIXARTα. Remarkably, our image-free approach reduces training time by 25% compared with the previous method. Our code is available at https: //github.com/ModelTC/HarmoniCa.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 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
- LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video Generation 引用了 Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse Attention
- LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video Generation 引用了 QVGen: Pushing the Limit of Quantized Video Generative Models
- QVGen: Pushing the Limit of Quantized Video Generative Models 引用了 LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video Generation
- LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video Generation 引用了 Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
- From Cradle to Cane: A Two-Pass Framework for High-Fidelity Lifespan Face Aging 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- From Cradle to Cane: A Two-Pass Framework for High-Fidelity Lifespan Face Aging 引用了 Denoising Diffusion Probabilistic Models
- QVGen: Pushing the Limit of Quantized Video Generative Models 引用了 Denoising Diffusion Probabilistic Models
- Directly Denoising Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Directly Denoising Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
- Directly Denoising Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers 引用了 Directly Denoising Diffusion Models
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers 引用了 Denoising Diffusion Probabilistic Models
引用它的顶会 Paper12
- QVGen: Pushing the Limit of Quantized Video Generative ModelsYushi Huang, Ruihao Gong, Jing Liu, Yifu Ding 等ICLR 2026 · 22 次引用
- Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse AttentionChengtao Lv, Yumeng Shi, Yushi Huang, Ruihao Gong 等ICML 2026 · 10 次引用
- LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video GenerationYushi Huang, Xingtong Ge, Ruihao Gong, Chengtao Lv 等CVPR 2026 · 9 次引用
- From Cradle to Cane: A Two-Pass Framework for High-Fidelity Lifespan Face AgingTao Liu, Dafeng Zhang, Gengchen Li, Shizhuo Liu 等NeurIPS 2025 · 3 次引用
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion TransformersDahye Kim, Deepti Ghadiyaram, Raghudeep GaddeCVPR 2026 · 3 次引用
它引用的 Paper49
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- 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 次引用
- Directly Denoising Diffusion ModelsDan Zhang, Jingjing Wang, Feng LuoICML 2024 · 11,724 次引用
相关 Paper
- ProCache: Constraint-Aware Feature Caching with Selective Computation for Diffusion Transformer AccelerationFanpu Cao, Yaofo Chen, Zeng You, Wei LuoAAAI 2026
- Beyond Fixed Formulas: Data-Driven Linear Predictor for Efficient Diffusion ModelsZhirong Shen, Rui Huang, Jiacheng Liu, Chang Zou 等CVPR 2026 · 1 次引用
- DiffSparse: Accelerating Diffusion Transformers with Learned Token SparsityHaowei Zhu, Ji Liu, Ziqiong Liu, Dong Li 等ICLR 2026 · 2 次引用
- Diffusion on Demand: Selective Caching and Modulation for Efficient GenerationHee Min Choi, Hyoa Kang, Dokwan Oh, Nam Ik ChoNeurIPS 2025 · 2 次引用
- Sortblock: Similarity-Aware Feature Reuse for Diffusion ModelHanqi Chen, Xu Zhang, Xiaoliu Guan, Lielin Jiang 等AAAI 2026
