Scale-DiT: Ultra-High-Resolution Image Generation with Hierarchical Local Attention
Yuyao Zhang, Yu-Wing Tai
TL;DR
Scale-DiT tackles ultra-high-resolution text-to-image generation by addressing the dominant bottlenecks of quadratic attention and scarce high-resolution data. It introduces hierarchical local attention over fixed-size windows, guided by a low-resolution latent with scaled positional anchors to preserve global structure, and uses a light LoRA-based joint denoising scheme for efficient fusion of global and local cues. Token permutation via a Hilbert-curve and a fused-kernel tile-skipping mechanism yield GPU-friendly, near-linear scaling to $4K$ without additional high-resolution training data. Empirically, Scale-DiT delivers over $2\times$ faster inference and reduced memory usage compared with dense-attention baselines while achieving competitive or superior FID, IS, and CLIP metrics against state-of-the-art 4K methods. This work demonstrates a practical and generalizable path for scalable ultra-high-resolution diffusion-based generation.
Abstract
Ultra-high-resolution text-to-image generation demands both fine-grained texture synthesis and globally coherent structure, yet current diffusion models remain constrained to sub-$1K \times 1K$ resolutions due to the prohibitive quadratic complexity of attention and the scarcity of native $4K$ training data. We present \textbf{Scale-DiT}, a new diffusion framework that introduces hierarchical local attention with low-resolution global guidance, enabling efficient, scalable, and semantically coherent image synthesis at ultra-high resolutions. Specifically, high-resolution latents are divided into fixed-size local windows to reduce attention complexity from quadratic to near-linear, while a low-resolution latent equipped with scaled positional anchors injects global semantics. A lightweight LoRA adaptation bridges global and local pathways during denoising, ensuring consistency across structure and detail. To maximize inference efficiency, we repermute token sequence in Hilbert curve order and implement a fused-kernel for skipping masked operations, resulting in a GPU-friendly design. Extensive experiments demonstrate that Scale-DiT achieves more than $2\times$ faster inference and lower memory usage compared to dense attention baselines, while reliably scaling to $4K \times 4K$ resolution without requiring additional high-resolution training data. On both quantitative benchmarks (FID, IS, CLIP Score) and qualitative comparisons, Scale-DiT delivers superior global coherence and sharper local detail, matching or outperforming state-of-the-art methods that rely on native 4K training. Taken together, these results highlight hierarchical local attention with guided low-resolution anchors as a promising and effective approach for advancing ultra-high-resolution image generation.
