Introduction
Denoising Diffusion Probabilistic Models (DDPMs) have become the standard for high-fidelity image generation. However, their reliance on self-attention mechanisms introduces a significant computational bottleneck. Because the complexity of attention scales quadratically ($O(L^2)$) with the number of pixels, generating high-resolution images is often prohibitively expensive. To mitigate this, existing architectures like Diffusion Transformers (DiT) resort to "patchification"—grouping pixels into blocks—which can sacrifice fine-grained spatial detail. This paper introduces DiffuSSM, a novel architecture that replaces attention with gated Bidirectional State Space Models (SSMs), enabling high-fidelity synthesis with superior scaling efficiency.
The DiffuSSM Architecture
The core innovation of this work is the Diffusion State Space Model (DiffuSSM) block. Instead of the traditional Transformer backbone, the model utilizes a gated Bidirectional SSM, specifically the S4D (Structured State Space Sequence) model. This allows for the efficient processing of long sequences with $O(L \log L)$ complexity using Fast Fourier Transforms (FFTs).
As illustrated in the architecture diagram, DiffuSSM employs an "hourglass" design. It alternates between expanding and contracting sequence lengths within the MLP components while keeping the SSM core at the original sequence length. This design ensures that the model maintains a global receptive field across the entire image without the need for the global compression or patch-based approximations typical of other models.
Scaling and Computational Efficiency
A primary motivation for moving away from attention is computational scalability. By leveraging the sub-quadratic scaling of SSMs, DiffuSSM can handle significantly longer sequences (i.e., higher resolutions) than attention-based counterparts for the same computational budget.
The scaling analysis demonstrates that DiffuSSM-XL maintains a significantly lower GFLOP count compared to DiT-XL as the number of pixels ($L = H \times W$) increases. This efficiency allows the model to achieve competitive results while using roughly 20-25% fewer total GFLOPs during training compared to state-of-the-art attention-based models.
Experimental Results
The authors evaluated DiffuSSM on standard high-resolution benchmarks, including ImageNet-1k and LSUN (Church and Bedroom).
- ImageNet Performance: At $256 \times 256$ resolution, DiffuSSM-XL achieved an FID of 2.28 (with classifier-free guidance), matching the performance of DiT-XL while being more computationally efficient. At $512 \times 512$, it achieved an FID of 3.41, remaining competitive despite seeing 40% fewer images during training than DiT.
- Spatial Fidelity: Notably, DiffuSSM consistently achieved superior spatial FID (sFID) scores. This indicates that by avoiding patchification, the model preserves better structural integrity and fine-grained high-frequency details compared to other DDPM-based architectures.
Conclusion and Future Work
DiffuSSM demonstrates that self-attention is not a requirement for capturing the global context necessary for coherent image synthesis. By replacing attention with Bidirectional SSMs, the model achieves state-of-the-art results with significantly improved FLOP efficiency and spatial robustness. Future research may extend this architecture to text-to-image generation and other high-dimensional modalities like long-form video and 3D modeling, where the efficiency of SSMs could prove even more transformative.
Summary updated