TL;DR
Feature caching is a powerful way to accelerate diffusion models, but applying it to autoregressive video models causes approximation errors to compound over time, severely degrading long videos. This paper introduces ARCache, a training-free framework that dynamically schedules cache refreshes based on historical context and uses a clean reference trajectory to correct residual errors. It delivers up to 3.13× speedups across image-to-video, text-to-video, and world-modeling tasks with negligible loss in visual quality.
What Problem Does This Paper Address?
To generate long, temporally consistent videos, researchers often turn to Autoregressive Diffusion Models (ARDMs). Unlike standard diffusion models (SDMs) that generate all frames simultaneously, ARDMs synthesize videos segment-by-segment, conditioning each new segment on the previously generated frames.
While ARDMs excel at long-form generation, they are computationally expensive. A common acceleration strategy in SDMs is feature caching—reusing intermediate neural network activations across consecutive denoising timesteps because they change slowly. However, when you directly apply standard caching to ARDMs, you run into a catastrophic "error drift" problem. Small approximation errors introduced by caching in early segments propagate and amplify across subsequent segments. By the time the model reaches later frames, the accumulated errors manifest as severe visual artifacts and a total breakdown of temporal consistency.
Methods
The authors present ARCache, the first training-free, caching-based acceleration framework designed specifically for ARDMs. It mitigates error accumulation through two core components:
- History-Guided Cache (HGC): Standard caching methods look at the entire model input to decide when to refresh the cache. HGC, however, specifically monitors variations in the historical context tokens (the representations of previous segments). By tracking shifts in history between adjacent steps, HGC intelligently detects when new content is being introduced, triggering a cache refresh only when necessary to suppress intra-segment errors.
- Enhanced Residual Correction (ERC): To prevent errors from compounding between segments, ERC exploits a key property of ARDMs: unaccelerated models exhibit highly stable and similar residual trajectories across different segments. Because the very first segment contains zero historical error, ERC uses its clean residual trajectory as an "ideal case" reference anchor to calibrate and correct the drifted residual trajectories of all subsequent segments.
Datasets
The authors evaluated ARCache across three distinct models and benchmarks to prove its generalizability:
- FramePack-F1 (Image-to-Video): Evaluated using 1,118 image-text pairs from VBench-I2V, generating 5,590 videos in total.
- SkyReels-V2 (Text-to-Video): Evaluated using 946 prompts from VBench, generating 4,730 videos.
- Matrix-Game (Interactive World Model): Evaluated using 2,432 image-action pairs from the GameWorld Score benchmark to simulate interactive Minecraft-like environments.
Key Insights and Ideas
- History is the Best Signal: Quantitative correlation analysis revealed that variations in historical tokens correlate much more strongly with final model output transitions than the noisy latent tokens of the current segment. This means history is a far more reliable indicator of whether a cache reuse is "safe."
- The First Segment as an Anchor: In an autoregressive chain, the first segment is uniquely pure because it has no historical ancestors to inherit errors from. Leveraging its trajectory parameters to correct downstream segments provides a lightweight, elegant fix to error drift without needing expensive layer-wise forecasting (like previous methods such as TaylorSeer).
Key Results
ARCache features a dual-mode design ("fast" and "slow") to allow flexible trade-offs between speed and quality:
- Substantial Speedups: ARCache-fast achieves 2.88× speedup on FramePack-F1, 1.87× on SkyReels-V2, and 3.13× on Matrix-Game, consistently outperforming state-of-the-art baselines like TeaCache and PAB.
- State-of-the-Art Fidelity: ARCache-slow achieves the highest fidelity scores across all benchmarks (e.g., a PSNR of 29.10 on SkyReels-V2 compared to TeaCache-slow's 26.65), effectively eliminating the severe artifacts that plague other caching methods in later frames.
- Robust Memory Efficiency: While competing methods like TaylorSeer suffer from excessive memory consumption and trigger out-of-memory (OOM) errors on long sequences, ARCache introduces minimal computational and memory overhead.
Limitations and Future Work
The primary limitation of ARCache is its reliance on a manually tuned threshold hyperparameter ($\delta$) to govern the cache reuse schedule. Choosing the optimal $\delta$ requires balancing the desired speedup against acceptable visual quality degradation. The authors note that future work will focus on developing fully adaptive, threshold-free caching mechanisms that can dynamically optimize themselves without manual intervention.
Summary updated