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
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video Generation cites Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse Attention
- LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video Generation cites QVGen: Pushing the Limit of Quantized Video Generative Models
- QVGen: Pushing the Limit of Quantized Video Generative Models cites 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 cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- From Cradle to Cane: A Two-Pass Framework for High-Fidelity Lifespan Face Aging cites High-Resolution Image Synthesis with Latent Diffusion Models
- From Cradle to Cane: A Two-Pass Framework for High-Fidelity Lifespan Face Aging cites Denoising Diffusion Probabilistic Models
- QVGen: Pushing the Limit of Quantized Video Generative Models cites Denoising Diffusion Probabilistic Models
- Directly Denoising Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Directly Denoising Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- Directly Denoising Diffusion Models cites Denoising Diffusion Probabilistic Models
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers cites High-Resolution Image Synthesis with Latent Diffusion Models
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers cites Directly Denoising Diffusion Models
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers12
- QVGen: Pushing the Limit of Quantized Video Generative ModelsYushi Huang, Ruihao Gong, Jing Liu, Yifu Ding et al.ICLR 2026 · 22 citations
- Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse AttentionChengtao Lv, Yumeng Shi, Yushi Huang, Ruihao Gong et al.ICML 2026 · 10 citations
- LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video GenerationYushi Huang, Xingtong Ge, Ruihao Gong, Chengtao Lv et al.CVPR 2026 · 9 citations
- From Cradle to Cane: A Two-Pass Framework for High-Fidelity Lifespan Face AgingTao Liu, Dafeng Zhang, Gengchen Li, Shizhuo Liu et al.NeurIPS 2025 · 3 citations
- DDiT: Dynamic Patch Scheduling for Efficient Diffusion TransformersDahye Kim, Deepti Ghadiyaram, Raghudeep GaddeCVPR 2026 · 3 citations
Builds on49
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Directly Denoising Diffusion ModelsDan Zhang, Jingjing Wang, Feng LuoICML 2024 · 11,724 citations
Related papers
- 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 et al.CVPR 2026 · 1 citation
- DiffSparse: Accelerating Diffusion Transformers with Learned Token SparsityHaowei Zhu, Ji Liu, Ziqiong Liu, Dong Li et al.ICLR 2026 · 2 citations
- Diffusion on Demand: Selective Caching and Modulation for Efficient GenerationHee Min Choi, Hyoa Kang, Dokwan Oh, Nam Ik ChoNeurIPS 2025 · 2 citations
- Sortblock: Similarity-Aware Feature Reuse for Diffusion ModelHanqi Chen, Xu Zhang, Xiaoliu Guan, Lielin Jiang et al.AAAI 2026
