SFA: A Statistical Physics-Inspired Diffusion Transformer for Efficient and High-Quality Image Generation
Abstract
Diffusion transformers have achieved remarkable success in image generation, but accelerating attention while preserving generation quality remains a major challenge at high resolutions. Inspired by statistical physics and the widespread occurrence of scale-free laws in nature, we introduce Scale-Free Attention (SFA), which preserves fine local interactions while summarizing distant regions at progressively coarser scales. For tokens, mean pooling, token-count correction, and a shared softmax over a scale-free spatial hierarchy give SFA complexity in both forward and backward passes. Our Triton implementation achieves forward and backward attention speedups over FlashAttention at 262,144 tokens. After 40 epochs of PixelFlow training from scratch on ImageNet at resolution, SFA achieves the best generation quality among five attention mechanisms, including full attention. Fréchet inception distance evaluated on 50,000 generated samples (FID-50k) improves from 13.25 for full attention to 12.51, and the advantage over full attention persists through 80 epochs. SFA also achieves the best generation quality among the compared efficient-attention methods on Flickr-Faces-HQ (FFHQ). Beyond training from scratch, Stable Diffusion 3.5 Medium with attention replaced by SFA retains the generation quality of its full-attention counterpart under matched fine-tuning budgets. We obtain similar results when fine-tuning pretrained PixelFlow on ImageNet. SFA establishes scale-free structure as an effective design principle for efficient, high-quality diffusion transformers.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.GR, eess.IV
- Comments
- 47 pages, 14 figures
Related papers
Two Halves are More than One: Phase-wise Velocity Distillation for Fast and High-Quality Image Generation
Shared title terminologycs.CVZhen Guo, Rongyuan Wu, Qiaosi Yi et al.
DualCast: Dual-Image Conditioned Diffusion Transformers for Digital Human E-Commerce Video Generation
Shared title terminologycs.CVLifan Jiang, Yifan Huang, Jixuan Zhang et al.
MoonGS: High-quality Representation of the Lunar Surface via Gaussian Splatting Using Robust Depth Features from Image Pairs
Shared title terminologycs.CVYun Jiang, Bo Zheng, Yingying Zhang et al.
Semantic State Reading for Joint Image-Semantic Diffusion Transformers
Shared title terminologycs.CVGuanxi Lai, Zixuan Li, Zhiwei Li et al.
TWIST: Teacher-Weighted Initial-Noise Spherical Transform for Quality-Preserving Diversity in Distilled Diffusion Models
Shared title terminologycs.CVShayan Baghayi-Nejad, Jeongsol Kim, Jong Chul Ye
ScanAR: Parallel Row-Scan Decoding for Efficient Image Generation in Unified Autoregressive Models
Shared title terminologycs.CVJingen Qu, Xi Chen, Yingbo Tang et al.