SoftCache: Adaptive Step Size Caching for Diffusion Transformers

Shimon Malnick, Nadav Orenstein, Ohad Fried, Shai AvidanarXiv 2026

TL;DR

SoftCache is a training-free acceleration method for diffusion transformers that replaces binary "hard caching" with adaptive "soft caching." By using a staleness signal to dynamically control step size, it enables the sampler to take "long jumps" when the cache is reliable, achieving 3.5x–6.9x speedups while maintaining higher fidelity than existing state-of-the-art caching baselines.

What Problem Does This Paper Address?

Generating high-quality images and videos with diffusion and flow models is computationally expensive because it requires dozens of full passes through massive transformer networks. Caching—reusing internal activations from previous steps instead of recomputing them—is a popular training-free way to speed this up.

Current "dynamic" caching methods (like SeaCache or TeaCache) use a cheap probe to estimate how much the network's output is changing. When this "staleness signal" crosses a threshold, they refresh the cache. However, these methods perform hard caching: they treat the decision as a binary switch (refresh vs. reuse) and always advance by the fixed step size prescribed by the original scheduler. This ignores a crucial piece of information: how much "headroom" is left before the cache becomes unreliable.

Methods

SoftCache introduces the concept of soft caching, where the staleness signal doesn't just decide when to refresh, but how far the next step should go.

  1. Headroom as Step Size: The authors define "headroom" as the distance between the current staleness signal and the refresh threshold. When headroom is high (the cache is "fresh"), SoftCache takes a long jump that can skip multiple scheduled nodes. As the signal approaches the threshold, the step size shrinks back toward the original schedule.
  2. Off-Grid Landing: Unlike previous methods that are tethered to a fixed grid of timesteps, SoftCache's adaptive jumps can land between scheduled nodes.
  3. Tail Re-spacing: After a jump lands off-grid, the remaining nodes in the schedule are evenly re-spaced to ensure the trajectory remains smooth and reaches the final destination ($t=1$) correctly.
  4. Linear Residual Extrapolation: Instead of a simple zero-order hold (reusing the exact same residual), SoftCache extrapolates the residual along a straight line defined by the two most recent fresh evaluations. This significantly reduces reuse error at no extra network cost.
Figure 1: SoftCache: how far, not just whether. Hard caching walks the fixed grid of scheduled nodes one node at a time, deciding only whether to refresh or reuse. SoftCache also sets the step size: a reused step the cache still supports skips several nodes and lands between them (inset).

Datasets

The authors evaluated SoftCache across three major backbones:

  • FLUX.1-dev: For image generation, using the DrawBench (200 prompts) and DPG-Bench (50 prompts for ablations) datasets.
  • HunyuanVideo: For video generation, using the full VBench (946 prompts) suite.
  • Wan2.1-T2V-1.3B: For video generation, using a representative 100-prompt subset of VBench.

Key Insights and Ideas

  • The Signal is a Speedometer: The core "aha" moment is that the staleness signal used by dynamic caches correlates strongly with the actual reuse error. A cache that has just been refreshed is much more "trustworthy" than one on the verge of expiration.
  • Headroom Predicts Error: As shown in Figure 2, the relative reuse error grows steadily with the accumulated signal. By reading this headroom, the sampler can safely accelerate when error is low and decelerate as error increases.
  • Grid Freedom Matters: Allowing the sampler to land between scheduled nodes and re-spacing the "tail" of the schedule provides the flexibility needed to turn computational savings into higher fidelity.
Figure 2: The refresh signal carries more than a binary decision. (a) On uncached FLUX trajec- tories, the error Ei of reusing the cached residual (binned median, interquartile band) grows steadily with the refresh signal Ai. (b) Hard caching only compares Ai with τ and takes the scheduled step ∆i at every cached node. SoftCache also reads how far below τ it sits: the lower Ai, the longer the step, up to J∆i (Eq. (9)). Stars mark the same Ai in both panels: a low error buys a long jump, a high one only a short jump, and past τ the node refreshes.

Key Results

SoftCache consistently outperforms strong baselines like SeaCache, DPCache, and TaylorSeer across all tested models and metrics (PSNR, SSIM, LPIPS, and DreamSim).

  • Speed vs. Quality: At speedups ranging from 3.5x to 6.9x, SoftCache maintains higher fidelity to the original uncached model than any other method. For example, on FLUX at the fastest band, it leads SeaCache by 1.12 dB PSNR.
  • Qualitative Superiority: SoftCache avoids common artifacts seen in other caching methods, such as "double heads" on animals, missing limbs, or blurred textures.
Figure 4: FLUX on DrawBench at ≈5.2× speedup. The speedup under each method is its band mean. Red ellipses mark structural errors, and each inset enlarges one region of its tile where shown.

Limitations and Future Work

  • PSNR Discrepancy: The authors note that at very high speedups, PSNR (which rewards pixel-wise smoothness) sometimes favors blurrier outputs, whereas perceptual metrics (LPIPS, DreamSim) and human judgment favor the sharper results produced by SoftCache.
  • Extrapolation Reliability: Linear extrapolation of residuals becomes less reliable at extremely high speeds. The authors addressed this by damping the extrapolation scale ($\beta$) for speedups above 4x.
  • Future Directions: The method currently uses a simple linear extrapolation; exploring higher-order predictors or more sophisticated adaptive ODE solvers that incorporate caching could further push the speed-fidelity frontier.

Summary updated

BibTeX
@misc{malnick2026softcache,
  author = {Shimon Malnick and Nadav Orenstein and Ohad Fried and Shai Avidan},
  title = {{SoftCache: Adaptive Step Size Caching for Diffusion Transformers}},
  year = {2026},
  eprint = {2610.22369},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.22369},
}
Figure