TL;DR
Generating crisp images and videos with modern Diffusion Transformers requires running a massive neural network dozens of times in a row—unless you can accurately predict what the network would do and skip steps. TORE accelerates diffusion models by up to 4.3x without any retraining by using calculus to estimate its own prediction errors on the fly, picking the mathematically optimal forecasting formula for every individual patch of an image.
What Problem Does This Paper Address?
Diffusion models generate media by iteratively cleaning up noise step-by-step. With modern Diffusion Transformers (DiTs), running the full network at every single step is painfully slow. Fortunately, adjacent steps are heavily redundant. Rather than recomputing everything, "forecasting" methods run the full model once, cache its output—specifically, the residual (the difference between the network's output and input)—and use Taylor series expansions from calculus to extrapolate what the next few steps will look like.
Different image tokens evolve at different speeds: a calm blue sky barely changes, while intricate textures shift rapidly. This means each token needs a different Taylor expansion order (e.g., 0th-order reuse vs. 2nd-order curves). Recent methods try to pick the best order per token by running a quick test on the very first layer of the network (a "shallow proxy") during skipped steps.
The authors uncover a critical flaw here: proxy–target mismatch. Evaluating polynomial fits on shallow features does not tell you which polynomial best predicts the full-model residual. Worse, checking the true error directly is a catch-22—you’d need the future ground-truth output, which requires running the exact full-model computation you are trying to skip!
Methods
To break this catch-22, the authors propose TORE (Taylor Order selection via Residual Error estimation), a training-free method that evaluates candidate Taylor orders directly on the target full-model residual without peeking into the future.
Instead of comparing predictions against unavailable ground truth, TORE analyzes the mathematical anatomy of Taylor forecasting errors. When extrapolating from discrete historical steps, error comes from two competing sources:
- Truncation Error: Error from cutting off the infinite Taylor series at a finite order $m$.
- Finite-Difference Derivative Error: Because we don't have exact analytical derivatives of the neural network's trajectory, we approximate them using historical cached steps (finite differences). Higher orders amplify noise in these approximations.
Using local smoothness assumptions, TORE derives computable formulas for both error terms using only cached historical residuals. At each full-computation step, TORE calculates the combined error score for every token and every upcoming skip distance, precomputing an "order map" for the next $N-1$ steps. During skipped steps, the model bypasses the entire Transformer—no shallow-layer probes needed—and simply applies the preselected Taylor formulas.
Datasets
Because TORE is entirely training-free, no training datasets are used. For evaluation, the authors rely on standard benchmarks across three tasks:
- Text-to-Image: 200 prompts from DrawBench (evaluating FLUX.1-dev).
- Text-to-Video: The standard VBench evaluation suite (evaluating Wan2.1).
- Class-to-Image: ImageNet (evaluating DiT-XL/2).
No new datasets or benchmarks are introduced.
Key Insights and Ideas
- Higher Taylor order isn't always better: In textbook calculus, adding more Taylor terms reduces truncation error. In discrete neural forecasting, however, higher-order finite differences accumulate approximation errors. Optimal forecasting requires balancing these two opposing forces per token.
- Shallow proxies are heavily biased: In motivation experiments, the authors compared shallow-proxy choices against an "oracle" that knew the true future residual. While ~88% of tokens actually favored orders 0 or 1, the shallow proxy matched the oracle on only 0.1% of them, aggressively over-selecting order 2 instead.
- Zero-probe skipping: Because TORE precomputes order maps at anchor steps using cached outputs, skipped steps require zero neural network layers to execute, cutting latency further than methods that still run shallow layers to gauge confidence.
Key Results
TORE consistently outperforms recent caching and forecasting baselines (including TaylorSeer, HiCache, TC-Padé, and TAP) across modalities:
- Text-to-Image (FLUX.1-dev): Achieves a 3.14x latency speedup while improving quality metrics across the board (24.39 dB PSNR, 1.0364 ImageReward), and pushes to a 4.31x speedup (dropping latency from 16.27s to 3.77s) with a 28.020 CLIP score—preserving scene layout and fine details where baselines morph objects (like turning a tram into a school bus).
- Text-to-Video (Wan2.1): Reaches a 4.18x speedup (131.51s down to 31.46s) with a VBench overall score of 80.22, just 0.50 points shy of full inference (80.72).
- Class-to-Image (DiT-XL/2): Delivers a 1.90x speedup with an FID of 2.67 (compared to 2.41 for full inference), beating simple step-reduction baselines by 15.2% in FID at identical 0.22s latency.
Limitations and Future Work
Not discussed in the paper. (Note: While the method relies mathematically on a local smoothness assumption of residual trajectories around full-computation steps to derive its error estimators, explicit failure modes, limitations, and future research directions are not discussed in the provided manuscript.)
Summary updated