Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

OUSAC: Optimized Guidance Scheduling with Adaptive Caching for DiT Acceleration

About

Diffusion models have emerged as the dominant paradigm for high-quality image generation, yet their computational expense remains substantial due to iterative denoising. Classifier-Free Guidance (CFG) significantly enhances generation quality and controllability but doubles the computation by requiring both conditional and unconditional forward passes at every timestep. We present OUSAC (Optimized gUidance Scheduling with Adaptive Caching), a framework that accelerates diffusion transformers (DiT) through systematic optimization. Our key insight is that variable guidance scales enable sparse computation: adjusting scales at certain timesteps can compensate for skipping CFG at others, enabling both fewer total sampling steps and fewer CFG steps while maintaining quality. However, variable guidance patterns introduce denoising deviations that undermine standard caching methods, which assume constant CFG scales across steps. Moreover, different transformer blocks are affected at different levels under dynamic conditions. This paper develops a two-stage approach leveraging these insights. Stage-1 employs evolutionary algorithms to jointly optimize which timesteps to skip and what guidance scale to use, eliminating up to 82% of unconditional passes. Stage-2 introduces adaptive rank allocation that tailors calibration efforts per transformer block, maintaining caching effectiveness under variable guidance. Experiments demonstrate that OUSAC significantly outperforms state-of-the-art acceleration methods, achieving 53% computational savings with 15% quality improvement on DiT-XL/2 (ImageNet 512x512), 60% savings with 16.1% improvement on PixArt-alpha (MSCOCO), and 5x speedup on FLUX while improving CLIP Score over the 50-step baseline.

Ruitong Sun, Tianze Yang, Wei Niu, Jin Sun• 2025

Related benchmarks

TaskDatasetResultRank
Image GenerationImageNet 256x256 (val)
FID2.04
307
Image GenerationImageNet 512x512 (val)
FID-50K2.71
184
Text-to-Image GenerationDrawBench 512 x 512 resolution
ImageReward1.0092
10
Text-to-Image GenerationMSCOCO 2014 (val)
FID19.27
5
Showing 4 of 4 rows

Other info

Follow for update