Introduction
In the current landscape of generative artificial intelligence, the Diffusion Transformer (DiT) has emerged as the standard architecture for high-quality image and video synthesis. However, the reliance on self-attention mechanisms introduces a significant "attention tax": computational costs that scale quadratically with image resolution. This scaling bottleneck makes high-resolution generation increasingly resource-intensive.
While alternative architectures like Mamba have attempted to achieve linear complexity, they often struggle with the bidirectional nature of visual data. DiCo (Diffusion ConvNet) challenges the necessity of Transformers by revitalizing convolutional neural networks (ConvNets). By identifying and addressing the "channel redundancy" that previously limited ConvNet performance in diffusion tasks, DiCo demonstrates that a purely convolutional backbone can outperform Transformers in both efficiency and image quality.
The DiCo Architecture
DiCo is built upon a purely convolutional framework designed for hardware efficiency and scalability. Its architecture is defined by three primary components:
1. U-Shaped Hierarchical Structure
Unlike the isotropic (uniform) structure typical of Diffusion Transformers, DiCo employs a three-stage U-Net-style hierarchical design. This allows the model to process features at multiple spatial scales, efficiently capturing global structural information at lower resolutions and fine-grained textures at higher resolutions.
2. The DiCo Block
At the core of the model is the DiCo Block, which replaces expensive self-attention layers with a streamlined combination of $1 \times 1$ pointwise convolutions for cross-channel mixing and $3 \times 3$ depthwise convolutions for spatial mixing. This design leverages the inherent local correlation in images while maintaining a low computational footprint.
3. Compact Channel Attention (CCA)
The authors identify that previous convolutional diffusion models failed largely due to "channel redundancy"—a state where many channels remain inactive or redundant during the generation process. To bridge this gap, DiCo introduces Compact Channel Attention (CCA). CCA is a lightweight mechanism that utilizes Global Average Pooling and a small linear projection to dynamically activate the most informative channels, restoring the representational diversity that Transformers naturally possess without the quadratic cost.
Text-to-Image Integration
For text-conditioned generation, DiCo avoids expensive cross-attention layers. Instead, it utilizes Dynamic Depthwise Convolution (DWC). In this setup, text embeddings are transformed directly into convolution kernels. This allows the textual prompt to modulate the image features dynamically, providing a highly efficient path for complex text-guided synthesis.
Key Insights: Why Convolutions Work
The success of DiCo is rooted in two critical observations regarding visual data and hardware:
- Locality of Attention: Analysis of pre-trained DiT models reveals that "global" self-attention is often underutilized; most tokens primarily attend to their immediate neighbors. This suggests that the global receptive field of Transformers is frequently unnecessary for image generation, making the local nature of convolutions a natural fit.
- Hardware Optimization: While newer architectures may offer theoretical linear complexity, convolutions are deeply optimized in hardware (CUDA/cuDNN). This leads to superior real-world throughput compared to theoretically "faster" but less optimized architectures like Mamba.
Experimental Results
DiCo was rigorously evaluated on ImageNet-1K (at $256 \times 256$ and $512 \times 512$ resolutions) and MS-COCO for text-to-image tasks. The results establish DiCo as a new benchmark for efficient generative modeling:
- Superior Image Quality: On ImageNet $256 \times 256$, DiCo-XL achieved a Fréchet Inception Distance (FID) of 2.05, surpassing the baseline DiT-XL/2 (2.27).
- Significant Throughput Gains: At $512 \times 512$ resolution, DiCo-XL is 3.1× faster than DiT-XL/2. It also significantly outperforms Mamba-based alternatives, clocking in at 6.8× faster than DiS-XL.
- Scalability: The architecture scales effectively to large parameter counts. The largest iteration, DiCo-H (1 Billion parameters), achieved a record-breaking FID of 1.90 on ImageNet $256 \times 256$.
Conclusion and Future Work
DiCo proves that the perceived superiority of Transformers in diffusion modeling is not absolute. By addressing channel redundancy through Compact Channel Attention, ConvNets can regain their status as highly competitive, efficient, and scalable backbones for generative AI.
Future research directions include scaling DiCo to multi-billion parameter regimes and extending the architecture to video generation, where the computational savings of a convolutional approach could be even more transformative. While extremely complex scenes with long-range structural dependencies might still benefit from hybrid approaches, DiCo establishes a powerful, hardware-friendly alternative for the next generation of visual synthesis models.
Summary updated