DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers
Dahye Kim, Deepti Ghadiyaram, Raghudeep Gadde
TL;DR
DDiT addresses the high computational cost of diffusion transformers by dynamically varying patch sizes across denoising steps, guided by the evolving latent manifold. It introduces a test-time patching mechanism with LoRA-enhanced patch embeddings and a lightweight Dynamic Patch Scheduler that uses higher-order latent differences to allocate more computation where needed. The approach yields up to $3.52\times$ speedups on Flux-1.Dev and Wan-2.1 benchmarks with minimal perceptual quality loss, applicable to both text-to-image and text-to-video generation. The results highlight the importance of timestep-aware, content-driven resource allocation for efficient diffusion-based generation.
Abstract
Diffusion Transformers (DiTs) have achieved state-of-the-art performance in image and video generation, but their success comes at the cost of heavy computation. This inefficiency is largely due to the fixed tokenization process, which uses constant-sized patches throughout the entire denoising phase, regardless of the content's complexity. We propose dynamic tokenization, an efficient test-time strategy that varies patch sizes based on content complexity and the denoising timestep. Our key insight is that early timesteps only require coarser patches to model global structure, while later iterations demand finer (smaller-sized) patches to refine local details. During inference, our method dynamically reallocates patch sizes across denoising steps for image and video generation and substantially reduces cost while preserving perceptual generation quality. Extensive experiments demonstrate the effectiveness of our approach: it achieves up to $3.52\times$ and $3.2\times$ speedup on FLUX-1.Dev and Wan $2.1$, respectively, without compromising the generation quality and prompt adherence.
