Diffusion models (DMs) are the current gold standard for generative AI, but their iterative denoising process makes them notoriously slow. To accelerate generation, researchers often employ feature caching, a technique that computes expensive neural network layers only at specific "anchor" steps and forecasts the features for the skipped steps. However, current cache-then-forecast strategies rely on rigid, hand-crafted mathematical approximations.
EigenCache is a new training-free framework that re-frames diffusion acceleration as covariance-adaptive feature forecasting and uncertainty-aware temporal design. By replacing fixed mathematical bases with data-driven Gaussian Process regression, EigenCache achieves a superior speed-fidelity balance across images and videos.
The Flaw in Polynomial Forecasting
State-of-the-art forecasting methods typically use fixed mathematical bases like Taylor or Hermite polynomials. These assume feature trajectories follow smooth, predictable curves. In reality, generative features are non-stationary and vary wildly across different layers.
When these rigid polynomials fail to capture the true dynamics, they "overshoot." In images, this causes structural incoherence; in videos, it manifests as a jarring "polynomial flicker." The authors mathematically link this jitter to Runge’s phenomenon, where high-order polynomials oscillate violently at the edges of an interval.
The EigenCache Approach
EigenCache treats the cache-then-forecast challenge as a problem of optimal experimental design, introducing two core innovations:
1. Covariance-Optimal Forecasting (Kriging)
Instead of forcing features into a polynomial mold, EigenCache models them as a stochastic process. It utilizes a lightweight calibration phase (requiring only about five prompts) to learn the empirical temporal kernel—how features correlate over time—for each layer.
It then applies Kriging (Gaussian Process regression), the best linear unbiased predictor, to estimate skipped features. Unlike polynomials, Kriging naturally reverts to the mean when uncertainty is high. This dampens high-frequency deviations and prevents wild oscillations.
2. Submodular Information Scheduling
Most caching methods compute anchor steps at fixed intervals (e.g., every third step). EigenCache adopts an information-theoretic approach, treating anchor selection as a submodular optimization problem. By maximizing "information gain" (the log-determinant of the covariance), a greedy algorithm selects the most "uncertain" timesteps for full computation. Because the scheduling objective is monotone submodular, this simple greedy selection is mathematically guaranteed to be near-optimal, ensuring compute resources are allocated exactly where they are needed most.
Key Results and Performance
EigenCache was evaluated across a diverse array of architectures (Diffusion Transformers and U-Nets) and tasks (Text-to-Image with FLUX.1-dev and SDXL; Text-to-Video with HunyuanVideo).
- Efficiency and Quality: On the massive 12B parameter FLUX.1-dev model, EigenCache achieved a ~3.76x to 4.03x speedup while maintaining higher ImageReward and PSNR scores than the previous state-of-the-art, HiCache.
- Video Stability: For video generation, EigenCache significantly outperformed TaylorSeer and HiCache in VBench Flickering scores (0.972 vs. 0.915 and 0.955, respectively), effectively eliminating polynomial flicker and producing vastly smoother motion.
- Zero-Shot LoRA Transfer: A surprising insight is that temporal covariance structure is dominated by the base model's architecture, not specific prompts or LoRA weights. Thus, a kernel calibrated on the base model transfers seamlessly to fine-tuned adapters (Anime, Realism, 3D-Render) without extra cost.
- Low Overhead: The calibration phase takes merely ~85 seconds on an H800 GPU for FLUX.1, with negligible VRAM overhead during inference (+2.98%). It also remains robust even when the sampling trajectory is altered by dynamic guidance.
Limitations and Future Directions
While highly effective, EigenCache requires a one-time offline calibration for each new base model or noise schedule. Additionally, to maintain speed, it relies on a "scalar" kernel shared across spatial positions; exploring more expressive, per-channel kernels without sacrificing performance remains an open area for future work. Finally, like all caching methods, generation quality eventually degrades at extreme compression ratios (e.g., >8x speedups), though EigenCache degrades much more gracefully than its predecessors.
Summary updated