TL;DR
Looped-DiT introduces a parameter-efficient way to scale text-to-image models by repeatedly running shared Transformer blocks within each denoising step. By incorporating deep supervision and self-modulating attention, the authors enable a 260M-parameter model to outperform models 6.5× larger while requiring significantly less inference compute and demonstrating emergent "latent reasoning" capabilities.
What Problem Does This Paper Address?
Scaling text-to-image (T2I) models typically follows two paths: increasing the number of parameters (model size) or increasing the number of denoising steps. Both approaches are computationally expensive. While "looping"—repeatedly applying the same shared layers to increase computational depth—has shown promise in language modeling, it has struggled in the visual domain.
The authors identify two primary failure modes for "naive" looping in T2I:
- Weak Supervision: Gradients struggle to flow back through many iterations, depriving early loops of a strong learning signal.
- Spatial Information Erosion: Repeated attention updates tend to overwrite or attenuate local spatial information, causing the model to "forget" the layout of the image as it loops.
Methods
The authors propose Looped Diffusion Transformer (Looped-DiT), built on a Multimodal Diffusion Transformer (MMDiT) backbone. The architecture divides Transformer blocks into three stages: a pre-loop stage, a looped stage (where blocks are shared and repeated $N$ times), and a post-loop stage.
To solve the issues of naive looping, they introduce two key components:
- Deep Supervision: During training, every intermediate loop output is passed through the shared post-loop blocks and supervised against the clean-image target using a flow-matching loss. This ensures every loop contributes to a meaningful prediction.
- Self-Modulating Attention (SMA): The authors introduce Exclusive Self-Attention (XSA), a parameter-free mechanism that projects the attention output onto a subspace orthogonal to a token's own value direction. This prevents redundant "self-updates" that would otherwise erode spatial features over multiple iterations.
Additionally, they implement Adaptive Looping, using a lightweight gating network to decide when to exit the loop early. This allows the model to spend more compute on complex prompts and less on simple ones.
Datasets
Looped-DiT was pretrained on CC12M and fine-tuned on a mixture of BLIP3o-60K, DALL-E 3, and ShareGPT-4o-Image.
Evaluation was conducted across six benchmarks focusing on reasoning and instruction following:
- T2I-CoReBench and PRISM: Complex composition and multi-step reasoning.
- DPG-Bench: Adherence to dense prompts.
- SpatialGenEval: Spatial understanding.
- GenEval: Object-centric alignment (color, counting).
- TIIF-Short: Fine-grained instruction following.
Key Insights and Ideas
- Latent Reasoning: Looping acts as a form of "visual chain-of-thought." As shown in Figure 5, the model progressively corrects spelling errors, resolves spatial constraints, and removes extraneous objects across successive loops without needing explicit text reasoning tokens.
- Looping > Denoising Steps: Under a fixed inference budget, the authors found that increasing loop depth (internal refinement) yields higher performance gains than simply adding more denoising steps (external refinement).
- Parameter Efficiency: Looping allows a small model to emulate the depth of a much larger one. A 260M model with 4 loops has an "effective depth" of 32 blocks while only storing the weights for 17.
Key Results
- State-of-the-Art Efficiency: Looped-DiT B/16 (260M parameters) outperformed the 1.7B InternVL-U model by 2.5 points on average across benchmarks, despite being 6.5× smaller and requiring 4.9× less compute (TFLOPs).
- Reasoning Gains: The model achieved a +5.3 improvement on CoReBench and +3.5 on PRISM compared to non-looped baselines.
- Pareto Frontier: Looped-DiT consistently traces the Pareto frontier for the performance-efficiency trade-off, outperforming much larger models in both latency and benchmark scores.
Limitations and Future Work
- Scaling Limits: The study focused on models around 260M parameters. It remains to be seen if these benefits hold for multi-billion parameter models or latent-space architectures (like Stable Diffusion).
- Training Overhead: While inference is efficient, Deep Supervision increases training compute because intermediate states must be decoded and backpropagated.
- Architectural Heuristics: The specific split of pre-loop, looped, and post-loop blocks was chosen as a simple default; optimizing this partition for different hardware or budgets is an open question.
Summary updated