mlsanityData to 7 Oct 2026

HarmoniCa: Harmonizing Training and Inference for Better Feature Caching in Diffusion Transformer Acceleration

arXiv 2410.01723 ↗First posted 2 Oct 2024cs.CVcited by 16

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

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.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 61 of its 71 references that are in the map. First posted on arXiv 2 Oct 2024.

Builds on

61 of 71 references.

Closest ancestors · 37

Same direction, newest first

  1. 2024Token Caching for Diffusion Transformer Acceleration27 Sep
  2. 2024FORA: Fast-Forward Caching in Diffusion Transformer Acceleration1 Jul
  3. 2024Learning-to-Cache: Accelerating Diffusion Transformer via Layer Caching3 Jun
  4. 2024Delta-DiT: A Training-Free Acceleration Method Tailored for Diffusion Transformers3 Jun
  5. 2024LAPTOP-Diff: Layer Pruning and Normalized Distillation for Compressing Diffusion Models17 Apr
  6. 2024SparseDM: Toward Sparse Efficient Diffusion Models16 Apr
  7. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesis5 Mar
  8. 2024T-Stitch: Accelerating Sampling in Pre-Trained Diffusion Models with Trajectory Stitching21 Feb
  9. 2023Cache Me if You Can: Accelerating Diffusion Models through Block Caching6 Dec
  10. 2023DeepCache: Accelerating Diffusion Models for Free1 Dec
  11. 2023TFMQ-DM: Temporal Feature Maintenance Quantization for Diffusion Models27 Nov
  12. 2023EfficientDM: Efficient Quantization-Aware Fine-Tuning of Low-Bit Diffusion Models5 Oct
25 more
  1. 2023SA-Solver: Stochastic Adams Solver for Fast Sampling of Diffusion Models10 Sep
  2. 2023Elucidating the Exposure Bias in Diffusion Models29 Aug
  3. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis4 Jul
  4. 2023OMS-DPM: Optimizing the Model Schedule for Diffusion Probabilistic Models15 Jun
  5. 2023Alleviating Exposure Bias in Diffusion Models through Sampling with Shifted Time Steps24 May
  6. 2023Q-Diffusion: Quantizing Diffusion Models8 Feb
  7. 2023Input Perturbation Reduces Exposure Bias in Diffusion Models27 Jan
  8. 2022Scalable Diffusion Models with Transformers19 Dec
  9. 2022Post-training Quantization on Diffusion Models28 Nov
  10. 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models2 Nov
  11. 2022All are Worth Words: A ViT Backbone for Diffusion Models25 Sep
  12. 2022Classifier-Free Diffusion Guidance26 Jul
  13. 2022gDDIM: Generalized denoising diffusion implicit models11 Jun
  14. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps2 Jun
  15. 2022Fast Sampling of Diffusion Models with Exponential Integrator29 Apr
  16. 2022Pseudo Numerical Methods for Diffusion Models on Manifolds20 Feb
  17. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
  18. 2021On Fast Sampling of Diffusion Probabilistic Models31 May
  19. 2021Gotta Go Fast When Generating Data with Score-Based Models28 May
  20. 2021Diffusion Models Beat GANs on Image Synthesis11 May
  21. 2021Improved Denoising Diffusion Probabilistic Models18 Feb
  22. 2021Knowledge Distillation in Iterative Generative Models for Improved Sampling Speed7 Jan
  23. 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
  24. 2020Denoising Diffusion Implicit Models6 Oct
  25. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 24

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  7. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  9. 2016Improved Techniques for Training GANscited by 2,938
  10. 2023Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasetscited by 2,526
  11. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  12. 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,361
12 more
  1. 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,010
  2. 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 925
  3. 2024Latte: Latent Diffusion Transformer for Video Generationcited by 536
  4. 2021A White Paper on Neural Network Quantizationcited by 453
  5. 2021Generating Images with Sparse Representationscited by 262
  6. 2024Playground v2.5: Three Insights towards Enhancing Aesthetic Quality in Text-to-Image Generationcited by 249
  7. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
  8. 2019Generalization in Generation: A closer look at Exposure Biascited by 123
  9. 2024DiTFastAttn: Attention Compression for Diffusion Transformer Modelscited by 109
  10. 2023A Picture is Worth More Than 77 Text Tokens: Evaluating CLIP-Style Models on Dense Captionscited by 107
  11. 2022Why Exposure Bias Matters: An Imitation Learning Perspective of Error Accumulation in Language Generationcited by 106
  12. 2021CAT: Cross Attention in Vision Transformercited by 92

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 9.

16 papers.

Sort:

By area:

  1. 2025QVGen: Pushing the Limit of Quantized Video Generative Modelscited by 20
  2. 2025A Survey on Cache Methods in Diffusion Models: Toward Efficient Multi-Modal Generationcited by 14
  3. 2025SlimInfer: Accelerating Long-Context LLM Inference via Dynamic Token Pruningcited by 13
  4. 2026Salt: Self-Consistent Distribution Matching with Cache-Aware Training for Fast Video Generationcited by 11
  5. 2026Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse Attentioncited by 9
  6. 2025LLMC+: Benchmarking Vision-Language Model Compression with a Plug-and-play Toolkitcited by 7
  7. 2026Focus-dLLM: Accelerating Long-Context Diffusion LLM Inference via Confidence-Guided Context Focusingcited by 6
  8. 2026SGMD: Score Gradient Matching Distillation for Few-Step Video Diffusion Distillationcited by 6
  9. 2026DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformerscited by 3
  10. 2025Plug-and-Play Fidelity Optimization for Diffusion Transformer Acceleration via Cumulative Error Minimizationcited by 2
  11. 2026DC-DiT: Adaptive Compute and Elastic Inference for Visual Generation via Dynamic Chunkingcited by 2
  12. 2026Beyond Fixed Formulas: Data-Driven Linear Predictor for Efficient Diffusion Modelscited by 2
4 more
  1. 2025RSTR: Reducing SpatioTemporal Redundancy in Diffusion Transformerscited by 1
  2. 2025InvarDiff: Cross-Scale Invariance Caching for Accelerated Diffusion Modelscited by 0
  3. 2026SODA: Sensitivity-Oriented Dynamic Acceleration for Diffusion Transformercited by 0
  4. 2026GeoShrink: Accelerating Diffusion Transformers with Two Lines of Codecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025ProCache: Constraint-Aware Feature Caching with Selective Computation for Diffusion Transformer Acceleration
  2. 2026BeCARE: Budgeted Cache Refresh for Diffusion Transformer Acceleration
  3. 2026DiffSparse: Accelerating Diffusion Transformers with Learned Token Sparsity
  4. 2025CorGi: Contribution-Guided Block-Wise Interval Caching for Training-Free Acceleration of Diffusion Transformers
  5. 2026Frequency-Aware Error-Bounded Caching for Accelerating Diffusion Transformers
  6. 2025Accelerating Diffusion Transformer via Gradient-Optimized Cache
  7. 2025OmniCache: A Trajectory-Oriented Global Perspective on Training-Free Cache Reuse for Diffusion Transformer Models
  8. 2025FastCache: Fast Caching for Diffusion Transformer Through Learnable Linear Approximation