TL;DR
PreciseCache is a plug-and-play framework that accelerates video generation models by up to 2.6× without sacrificing visual quality. It achieves this through a dual-tier caching strategy: LFCache intelligently skips redundant denoising steps based on low-frequency feature changes, while BlockCache eliminates redundant computations within individual transformer blocks.
What Problem Does This Paper Address?
State-of-the-art video generation models, particularly those based on Diffusion Transformers (DiTs), are computationally massive and painfully slow to run. While researchers have tried to speed them up by "caching" features—essentially skipping some computation steps and reusing results from previous ones—this often leads to a "quality-speed trade-off."
Existing methods typically skip steps uniformly or use simple metrics that fail to distinguish between truly redundant features and those critical for video structure. This results in videos that are either fast but blurry/distorted, or high-quality but still slow. As illustrated in the denoising process, early stages are critical for structure, while later stages often refine details that might be perceptually redundant.
Methods
PreciseCache introduces two novel, training-free components to address the shortcomings of naive caching:
- LFCache (Step-wise Caching): Instead of skipping steps blindly, it uses a new metric called Low-Frequency Difference (LFD). The authors found that low-frequency components of model predictions are the primary drivers of video quality. To make this practical, they perform a "trial" inference on a downsampled latent (reducing resolution significantly) to estimate the LFD at a negligible cost. If the LFD is below a specific threshold, the full-resolution computation for that step is skipped entirely.
- BlockCache (Block-wise Caching): Even in steps that aren't skipped, not every transformer block is doing heavy lifting. PreciseCache identifies "pivotal" blocks (those that significantly change the features) and "non-pivotal" blocks. It caches the outputs of non-pivotal blocks and reuses them in subsequent steps, surgically trimming computation time from within the network itself.
Key Insights and Ideas
- Frequency Matters: Traditional caching metrics often look at the total difference between features. PreciseCache reveals that high-frequency differences are often "perceptual noise" that can be safely ignored for caching decisions, whereas low-frequency differences represent critical structural changes.
- Resolution Invariance of LFD: A key insight was discovering that LFD is remarkably stable even when the input is heavily downsampled. This allows the model to "peek" at the next step's importance using a tiny fraction of the usual compute.
- Block-Level Redundancy: Even in "important" timesteps, many transformer blocks contribute very little to the final output. Identifying these "non-pivotal" blocks allows for acceleration that step-wise skipping alone cannot achieve.
Key Results
The authors validated PreciseCache across several state-of-the-art video generation backbones, including Wan2.1-14B, HunyuanVideo, CogVideoX, and Open-Sora 1.2. It consistently outperforms existing state-of-the-art acceleration methods like TeaCache and PAB:
- Speed: Achieves an average of 2.6× speedup on the Wan2.1-14B model.
- Quality: Maintains high fidelity with almost no drop in VBench scores. For example, on Wan2.1, it achieved a 2.63× speedup while keeping the VBench score at 83.43% (compared to the 83.62% baseline).
- Efficiency: It reduces the number of Multiply-Accumulate Operations (MACs) significantly—from 329.2P down to 122.4P on Wan2.1.
Limitations and Future Work
- Memory Overhead: While BlockCache saves time, it requires storing features for each transformer block, which increases GPU memory usage. This makes generating high-resolution (1080P) videos on a single 80G GPU challenging.
- Multi-GPU Optimization: The authors suggest that future work could involve better multi-GPU inference strategies to handle the memory demands of block-level caching at higher resolutions.
- Broader Applications: Exploring PreciseCache in other diffusion-based tasks like image editing or controllable generation remains an open direction.
Summary updated