TL;DR
TC-Padé is a training-free acceleration framework that enables high-quality diffusion model generation in the practical low-step regime (20–30 steps). By replacing traditional polynomial-based feature forecasting with rational Padé approximations applied to layer residuals, it achieves up to a 2.88× speedup on FLUX.1-dev with minimal loss in visual fidelity.
What Problem Does This Paper Address?
State-of-the-art Diffusion Transformers (DiTs) like FLUX.1 and Wan2.1 generate stunning images and videos but suffer from high computational latency due to their iterative denoising process. To accelerate inference, researchers often use feature caching—skipping full network evaluations by reusing or extrapolating internal features from previous steps.
While existing caching methods work well when sampling with many steps (e.g., 50 steps), they fail catastrophically in the practical low-step regime (20–30 steps) favored by industry applications. At low step counts, the time interval between consecutive steps is large, causing feature similarity to drop exponentially. Polynomial-based extrapolators (like Taylor expansions used in TaylorSeer) suffer from severe error accumulation and trajectory drift outside their narrow radius of convergence, leading to distorted textures, altered colors, and degraded image quality.
Methods
TC-Padé introduces a trajectory-consistent residual prediction framework grounded in Padé approximation—a method of approximating functions using the ratio of two polynomials (rational functions) rather than a single high-order polynomial.
The framework consists of three core components:
- Residual-Based Feature Forecasting: Instead of predicting raw high-dimensional features directly, TC-Padé forecasts layer residuals (the incremental updates applied by transformer blocks). The authors demonstrate that residuals maintain a significantly higher temporal similarity across large step intervals than raw features.
- Trajectory Stableness Indicator (TSI): To maintain sampling stability, the TSI module dynamically monitors the denoising trajectory. If the trajectory is smooth and stable, full block computation is skipped and the residuals are predicted. If instability is detected, full computation is executed to preserve generation fidelity.
- Denoising Step-Aware Strategy: Diffusion models perform different tasks at different stages (large-scale structural formation early on vs. fine-grained detail refinement later). TC-Padé partitions the denoising process into three phases, applying a tailored prediction strategy to each: a simple weighted combination for the early phase, full Padé approximation for the middle phase, and Padé augmented with a first-order difference term for the final refinement phase.
Datasets
The authors evaluated TC-Padé across three distinct visual generation modalities using established benchmarks:
- COCO 2017: Used to evaluate text-to-image generation performance on FLUX.1-dev.
- VBench-2.0: Used to evaluate text-to-video generation performance on Wan2.1-1.3B.
- ImageNet (256×256): Used for class-conditional image generation on DiT-XL/2.
- DrawBench: Utilized for qualitative trajectory analysis (PCA) and detailed ablation studies.
No new datasets were introduced in this work.
Key Insights and Ideas
- Rational Functions > Polynomials: Taylor series expansions diverge rapidly outside local neighborhoods. Rational functions (Padé approximants) possess superior asymptotic properties, allowing them to faithfully capture both smooth transitions and abrupt regime changes even over large timestep intervals.
- Predicting the Change, Not the State: Raw features change drastically over large step gaps, leading to exponential similarity decay. Layer residuals, however, remain highly structured and predictable across timesteps.
- Phase-Dependent Modeling: A uniform prediction strategy fails because a diffusion model's internal dynamics evolve fundamentally throughout the denoising schedule. Differentiating the early, middle, and late phases is essential to preventing trajectory drift.
Key Results
- FLUX.1-dev (Text-to-Image): TC-Padé (fast configuration) achieved a 2.88× latency speedup with only a minor 3% increase in FID, vastly outperforming TaylorSeer and reuse-based methods in visual quality.
- Wan2.1 (Text-to-Video): Delivered a 1.72× speedup and a 1.74× reduction in FLOPs while retaining a VBench-2.0 score of 60.38% (compared to the 64.16% unaccelerated baseline).
- DiT-XL/2 (Class-Conditional): Achieved a 1.46× speedup while maintaining the highest generation quality (FID of 6.93) among all tested caching methods.
- Synergy with Quantization: Because TC-Padé is training-free and orthogonal to model compression techniques, combining it with INT8/FP8 quantization led to an impressive ~6× overall latency reduction on FLUX.1-dev.
Limitations and Future Work
Not discussed in the paper.
Summary updated