OnCache: Learning Dynamic Caching Schedules for Efficient Diffusion Inference
On the map: Diffusion models → Diffusion foundations and sampling also fits: Discrete and text diffusion
Abstract (arXiv)
Diffusion models have revolutionized generative tasks but incur high inference latency due to iterative denoising. Cache-based strategies accelerate inference by reusing intermediate features, yet they largely rely on static, sample-agnostic schedules. Our empirical analysis reveals two factors that these schedules overlook. (i) denoising dynamics and computational requirements vary across prompts, motivating adaptive computation allocation. (ii) sensitivity to caching errors varies across timesteps, so static schedules may reuse features at error-sensitive steps or waste computation at less sensitive ones. We therefore propose OnCache, a dynamic caching framework that makes prompt-adaptive decisions online about how much computation to allocate and when to refresh cached features. A policy is trained offline on paired compute and cache continuations from identical denoising states, using differences in terminal fidelity and the number of function evaluations (NFE) to account for the downstream consequences of each decision. To further improve the generation quality, a neural corrector compensates for caching-induced errors and mitigates their accumulation throughout the denoising trajectory. Both components are lightweight and introduce negligible additional inference latency. On FLUX.1-dev, OnCache achieves a nearly 3× generation speedup at 10242 resolution, with LPIPS of 0.156 and SSIM of 0.860. We further extend OnCache to video generation on Wan2.1-T2V-1.3B, achieving state-of-the-art efficiency--quality trade-offs across both modalities.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 39 of its 42 references that are in the map. Submitted 22 Nov 2026, announced 24 Nov 2026.
Builds on
39 of 42 references.
Closest ancestors · 29
Same direction, newest first
- 2026BAG: Budget-Aware Gating for Diffusion Caching10 Aug
- 2026Budget-Constrained Step-Level Diffusion Caching11 Jun
- 2026ReCache: Learning Budget-Aware Caching Schedules for Diffusion Models via REINFORCE4 Jun
- 2026Adaptive Spectral Feature Forecasting for Diffusion Sampling Acceleration2 Mar
- 2026Denoising as Path Planning: Training-Free Acceleration of Diffusion Models with DPCache26 Feb
- 2026SeaCache: Spectral-Evolution-Aware Cache for Accelerating Diffusion Models22 Feb
- 2025ERTACache: Error Rectification and Timesteps Adjustment for Efficient Diffusion27 Aug
- 2025DiCache: Let Diffusion Model Determine Its Own Cache24 Aug
- 2025From Reusing to Forecasting: Accelerating Diffusion Models with TaylorSeers10 Mar
- 2024Rethinking Token-wise Feature Caching: Accelerating Diffusion Transformers with Dual Feature Caching25 Dec
- 2024Simplifying, Stabilizing and Scaling Continuous-Time Consistency Models14 Oct
- 2024Accelerating Diffusion Transformers with Token-wise Feature Caching5 Oct
17 more
- 2024FORA: Fast-Forward Caching in Diffusion Transformer Acceleration1 Jul
- 2024Learning-to-Cache: Accelerating Diffusion Transformer via Layer Caching3 Jun
- 2024Improved Distribution Matching Distillation for Fast Image Synthesis23 May
- 2023Cache Me if You Can: Accelerating Diffusion Models through Block Caching6 Dec
- 2023DeepCache: Accelerating Diffusion Models for Free1 Dec
- 2023One-step Diffusion with Distribution Matching Distillation30 Nov
- 2023Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inference6 Oct
- 2023Consistency Models2 Mar
- 2023UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models9 Feb
- 2022Scalable Diffusion Models with Transformers19 Dec
- 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models2 Nov
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps2 Jun
- 2022Elucidating the Design Space of Diffusion-Based Generative Models1 Jun
- 2022Pseudo Numerical Methods for Diffusion Models on Manifolds20 Feb
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
- 2020Denoising Diffusion Implicit Models6 Oct
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 10
- 2014Microsoft COCO: Common Objects in Contextcited by 18,045
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,842
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,494
- 2024CogVideoX: Text-to-Video Diffusion Models with An Expert Transformercited by 2,492
- 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 2,060
- 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,118
- 2024Timestep Embedding Tells: It's Time to Cache for Video Diffusion Modelcited by 324
- 2014Reinforcement and Imitation Learning via Interactive No-Regret Learningcited by 132
- 2025MagCache: Fast Video Generation with Magnitude-Aware Cachecited by 52
- 2026EpaCache: Error-Propagation-Aware Caching for Accelerating Diffusion-Based Visual Generationcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026OnlineCache: Learning Dynamic Caching Policies with Error Correction for Efficient Diffusion Inference
- 2026SenCache: Accelerating Diffusion Model Inference via Sensitivity-Aware Caching
- 2025No Cache Left Idle: Accelerating diffusion model via Extreme-slimming Caching
- 2025AB-Cache: Training-Free Acceleration of Diffusion Models via Adams-Bashforth Cached Feature Reuse
- 2025A Survey on Cache Methods in Diffusion Models: Toward Efficient Multi-Modal Generation
- 2025H2-Cache: A Novel Hierarchical Dual-Stage Cache for High-Performance Acceleration of Generative Diffusion Models
- 2026Fixed State, Long Reach: What a Constant-Size Cache Buys Block Diffusion at Scale
- 2026Evolving Cache Schedules for Fast Diffusion Policy Inference