TL;DR
MS-pDiT is a multi-scale pixel-space diffusion transformer that treats spatial scale as a parallel modality. By processing multiple patch sizes simultaneously and enabling bidirectional information exchange through a novel "compacted" joint attention mechanism, it achieves state-of-the-art image generation quality directly in pixel space, bypassing the lossy bottlenecks of traditional latent-based models.
What Problem Does This Paper Address?
Most modern high-resolution diffusion models (like Stable Diffusion) operate in a compressed "latent space" created by a pretrained autoencoder. While efficient, this approach has two major drawbacks: the compression is inherently lossy, and the spatial granularity is fixed by the autoencoder's design.
Pixel-space diffusion avoids these issues by modeling RGB pixels directly, but it faces its own challenges. High-resolution pixel-space modeling is computationally expensive, and existing multi-scale approaches usually follow a strict "coarse-to-fine" hierarchy. In these models, global structure informs local detail, but local details can't "talk back" to help refine the global structure, leading to potential inconsistencies.
Methods
The authors introduce MS-pDiT, which reframes spatial scale as a modality, much like text or image features.
- Multi-Scale Tokenization: Instead of one patch size, the model tokenizes the same noisy image at multiple scales simultaneously (e.g., 16×16, 4×4, and 1×1 pixels).
- Parallel Transformer Streams: Each scale is processed in its own dedicated transformer stream. Coarser streams capture global semantics, while finer streams preserve local details.
- Compacted Multi-Scale Joint Attention: To keep the computational cost of attention manageable (especially for the massive 1×1 pixel stream), the model "compacts" finer tokens onto a shared coarser spatial grid.
- Bidirectional Interaction: All active streams—including an optional text stream—interact through a single joint attention operation. This allows for unrestricted, bidirectional information flow across all scales.
- Late Anchoring: To optimize compute, the model starts with only the coarse stream and introduces finer-grained streams in later layers once the global structure is established.
Datasets
- ImageNet-1K: Used for class-conditional generation at both $256 \times 256$ and $512 \times 512$ resolutions.
- BLIP3o: A large-scale dataset used for pretraining the text-to-image models.
- GenEval & DPG-Bench: Standard benchmarks used to evaluate the model's ability to follow complex text prompts and handle object composition.
Key Insights and Ideas
- Scale as a New Scaling Dimension: The authors found that increasing the number of scales (e.g., moving from two scales to five) is a more effective way to improve performance than simply adding more layers (depth) to a single-scale model.
- The Power of Bidirectional Flow: Contrary to the common "top-down" design of prior models, allowing fine-grained streams to influence coarse-grained ones significantly improves image quality. Local details provide essential feedback that helps the model maintain global consistency.
- Efficiency via Compaction: By compacting fine tokens into a shared grid for attention, the model keeps the attention cost independent of the finest patch size, making 1×1 pixel-level modeling feasible within a transformer.
- Late Refinement is Optimal: Fine-scale computation is most effective when introduced in the later stages of the network, after the coarse stream has already "sketched out" the global layout.
Key Results
MS-pDiT sets new benchmarks for pixel-space diffusion:
- State-of-the-Art FID: On ImageNet $256 \times 256$, it achieved an FID of 1.43, outperforming previous pixel-space leaders like PixelDiT (1.61) and JiT (1.82).
- High-Resolution Excellence: At $512 \times 512$, it reached an FID of 1.44, significantly better than the previous best pixel-space result of 1.81.
- Competitive Text-to-Image: It matches the best pixel-space results on GenEval (0.86) and achieves a top-tier score on DPG-Bench (83.9), proving the architecture's versatility.
Limitations and Future Work
While MS-pDiT is more efficient than many pixel-space predecessors, it still requires more compute than latent-space models due to the overhead of processing multiple streams. The authors also note that while they explored up to five scales, the performance hadn't yet saturated, suggesting that even more granularities could be beneficial.
Future work could explore applying this "scale as modality" approach to other domains like video generation or 3D modeling, where multi-scale structural consistency is equally critical.
Summary updated