TLDR: SpeCa is a novel framework that significantly accelerates diffusion models for image and video generation. Inspired by speculative decoding, it uses a “Forecast-then-verify” mechanism to predict and efficiently validate intermediate features, reducing computational steps without substantial quality loss. It also features sample-adaptive computation allocation, leading to impressive speedups (e.g., 6.34x on FLUX, 7.3x on DiT) with minimal quality degradation, making real-time generative AI more feasible.
Diffusion models have emerged as a powerful force in creating high-quality images and videos, but their significant computational demands often make them too slow for real-time applications. These models face two main hurdles: they process information step-by-step, which prevents parallel computing, and each step requires a lot of processing power.
Drawing inspiration from how large language models speed up their operations, a new framework called SpeCa (Speculative Feature Caching) has been introduced. SpeCa aims to tackle both of these limitations by using a clever “Forecast-then-verify” approach to accelerate Diffusion Transformers.
How SpeCa Works
SpeCa’s core idea is to introduce “Speculative Sampling” to diffusion models. Instead of computing every single step, it predicts intermediate features for several upcoming steps based on a few fully computed reference steps. Think of it like predicting the next few moves in a game based on the current state, rather than calculating every possible outcome.
A key innovation is its parameter-free verification mechanism. This system efficiently checks how reliable these predictions are, allowing the model to decide in real-time whether to accept or reject each prediction. Crucially, this verification adds very little extra computational cost.
Furthermore, SpeCa includes a sample-adaptive computation allocation system. This means it can dynamically adjust how much computing power it uses based on how complex the image or video being generated is. Simpler generations require less computation, while more intricate ones still get the intensive processing needed to maintain quality.
Impressive Performance Gains
Experiments show that SpeCa delivers substantial acceleration with minimal impact on quality:
- On the FLUX model, it achieved a 6.34 times speedup with only a 5.5% drop in quality.
- For the DiT model, SpeCa provided a 7.3 times speedup while maintaining high generation fidelity.
- When applied to the computationally intensive HunyuanVideo, it reached a 6.1 times acceleration, achieving a VBench score of 79.84%.
The verification mechanism, which is vital for preventing errors from accumulating, is incredibly lightweight, consuming only 1.67% to 3.5% of the total inference costs. This establishes a new way to make diffusion models more efficient without sacrificing the quality of the generated content, even at aggressive acceleration rates.
Also Read:
- Accelerating Vision-Language Models with Adaptive Compression and Online Training
- A New Approach to One-Step Image Super-Resolution: Balancing Detail and Realism
A Plug-and-Play Solution
One of SpeCa’s significant advantages is that it can be directly applied to existing diffusion models without needing any additional training. This makes it a versatile and practical solution for deploying diffusion models in environments with limited computational resources.
The framework’s ability to predict and verify features, combined with its adaptive resource allocation, marks a significant step forward in making advanced generative AI more accessible and efficient for a wider range of real-time applications.
For more in-depth information, you can read the full research paper here.


