TL;DR
Feature caching accelerates diffusion models by skipping denoiser steps and forecasting intermediate features, but blindly trusting these forecasts causes generation quality to collapse at high speeds. RACER solves this by using the disagreement between two cheap, concurrent forecasters as a real-time reliability signal. It dynamically shrinks uncertain forecasts or triggers an exact "refresh-and-repay" recomputation, delivering massive speedups with zero training and a strict computational budget.
What Problem Does This Paper Address?
Generating images and videos with diffusion models is notoriously slow because it requires running a massive neural network (the denoiser) dozens or hundreds of times sequentially. To speed this up, recent "feature caching" methods skip certain denoising steps and use a forecaster to predict what the skipped features would have been.
However, existing methods operate open-loop: they trust the forecast completely at every skipped step. In reality, diffusion trajectories aren't perfectly smooth; they bend sharply at unpredictable intervals. When a trajectory bends, forecast errors spike. At aggressive acceleration regimes, this blind trust causes severe visual artifacts. The core challenge is determining when and how much to trust a forecast at runtime without incurring the massive computational cost of running the denoiser just to check.
Methods
The authors introduce RACER (Reliability-Aware Closed-loop controller with Exact Repay), a training-free framework that turns feature caching into a closed-loop control problem.
- The Disagreement Signal ($r_t$): Instead of running one forecaster, RACER runs two cheap ones simultaneously from the same cache—a global base forecaster (Chebyshev polynomials) and a local observer forecaster (Taylor expansion). Because they have different mathematical biases, they agree on smooth trajectories but diverge sharply when the trajectory gets complex. This divergence serves as a zero-cost proxy for forecast uncertainty.
- Continuous Trust Shrinkage: When the disagreement signal rises, RACER continuously shrinks its trust in the forecast, interpolating between the predicted feature and the last known cached feature (the anchor).
- Exact Refresh-and-Repay: If a step is deemed too risky to trust at all, RACER executes a "refresh"—it spends one denoiser evaluation to compute the true feature. To maintain a strict computational budget, it logs this as a "debt" and "repays" it by skipping a later scheduled denoiser step.
Datasets
The authors evaluated RACER across four state-of-the-art diffusion models spanning both image and video generation:
- Models: SD3.5-Large, FLUX.1-dev, Wan2.1-14B, and HunyuanVideo.
- Benchmarks: DrawBench and COCO (for text-to-image evaluation), and VBench (for video quality evaluation).
Key Insights and Ideas
- The Cache Contains Its Own Error Signal: You don't need an expensive external probe to validate a forecast. The internal drift between two mathematically distinct, cheap forecasters is highly predictive of true error. As shown in Figure 1, this disagreement signal flags high-error steps with an impressive mean AUROC of 0.94, vastly outperforming traditional input-side probes (0.77).
- Zero-Sum Budgeting: By pairing every emergency recomputation (refresh) with a guaranteed future skip (repay), RACER guarantees that the total Number of Function Evaluations (NFE) matches the open-loop baseline exactly. It acts as a drop-in optimization that rearranges where compute is spent rather than spending more of it.
Key Results
- Superior Quality at Matched NFE: Across all tested image and video models, RACER consistently outperformed the strongest open-loop baselines (like Chebyshev and TeaCache) in PSNR, SSIM, and perceptual metrics.
- Pareto-Optimal Speedups: On SD3.5-Large, RACER achieved a 5.4× speedup over the standard 50-step sampler. Crucially, it matched the highest quality of the open-loop baseline while requiring only 0.76× the latency and 0.72× the NFE (Figure 3).
- Plug-and-Play Generalization: The controller is decoupled from the specific forecaster choice. When applied to a weaker Taylor-expansion baseline, RACER "rescued" its performance, boosting PSNR by up to 3.83 dB.
Limitations and Future Work
The primary limitation of RACER stems from its "repay" mechanism. Because a refresh must be paid back by skipping a later scheduled step, the system cannot perform refreshes near the very end of the diffusion process. As illustrated in Figure 5, the final denoising steps have "no repayable steps" left ahead of them, forcing RACER to rely strictly on forecast shrinkage in the final tail of generation.
Future work could explore look-ahead budgeting strategies or adaptive scheduling that dynamically adjusts the initial step layout to accommodate late-stage trajectory volatility.
Summary updated