Abstract
In the current landscape of generative AI, the "Transformer revolution" has largely displaced Convolutional Neural Networks (CNNs) in state-of-the-art diffusion models. However, the quadratic computational cost of self-attention remains a significant bottleneck for high-resolution synthesis. This paper introduces DiC (Diffusion CNN), a framework that demonstrates how a properly designed 3x3 convolutional architecture can outperform Diffusion Transformers (DiTs) in both generative quality and inference throughput. By transitioning from isotropic designs back to a refined hourglass structure with sparse skip connections and optimized conditioning, DiC achieves a 5x speedup over DiT-XL/2 while reaching superior FID scores on ImageNet benchmarks.
Introduction
Recent breakthroughs in image and video generation—including models like Stable Diffusion 3 and Flux—have moved away from traditional U-Nets in favor of Transformer-based architectures. While Transformers offer excellent scalability, they impose a heavy "attention tax": the computational complexity grows quadratically with the number of pixels. This makes high-resolution generation resource-intensive and slow.
DiC challenges the assumption that convolutions are inherently inferior for diffusion tasks. The authors argue that the perceived limitations of CNNs were not due to the convolution operation itself, but rather to suboptimal architectural choices. By rethinking the design of the convolutional block and the overall macro-architecture, DiC provides a hardware-friendly alternative that scales linearly with resolution.
The DiC Roadmap: Architectural Refinements
To bridge the performance gap between CNNs and Transformers, the researchers implemented four critical architectural shifts:
1. The Return of the Hourglass
Modern Transformers often use "isotropic" designs where feature map dimensions remain constant throughout the network. While effective for self-attention, this is detrimental for 3x3 convolutions, which have a limited receptive field. DiC returns to an Encoder-Decoder Hourglass (U-Net style) structure. By downsampling the feature maps, the model allows small convolutional kernels to effectively "see" and process global information at lower resolutions before upsampling back to the original image space.
2. Sparse Skip Connections
Traditional U-Nets utilize dense skip connections at every layer to preserve spatial detail. However, the authors found this redundancy computationally expensive for large-scale models. DiC introduces strided or sparse skip connections, which connect only specific stages of the hourglass. This modification improves scalability and reduces memory overhead without sacrificing image quality.
3. Advanced Conditioning Mechanisms
Conditioning (incorporating timesteps or class labels) is vital for diffusion. DiC improves upon standard methods through:
- Stage-Specific Embeddings: Rather than using a single global embedding, DiC employs independent embedding tables for different stages of the hourglass, allowing for more granular control.
- Mid-Block Injection: The researchers discovered that injecting conditioning information into the middle of a convolutional block, rather than at the beginning, significantly enhances the model's ability to guide the denoising process.
- Conditional Gating: DiC adapts the "AdaLN-Zero" gating mechanism—a staple of the DiT architecture—to work within convolutional feature maps, providing a more dynamic way to modulate activations.
4. Internal Block Optimization
To align with modern high-performance standards, DiC replaces standard SiLU activations with GELU. The internal structure of the convolutional blocks was further refined to maximize hardware utilization, specifically leveraging Winograd acceleration to nearly double theoretical throughput on modern GPUs.
Experimental Results
Generative Quality
Evaluated on the ImageNet 256x256 benchmark, DiC-XL achieved a Fréchet Inception Distance (FID) of 13.11 after 400k iterations. This significantly outperforms the 20.05 FID produced by DiT-XL/2 under similar conditions. Furthermore, the largest variant, DiC-H, demonstrated remarkable convergence efficiency, reaching better results in 800k steps than DiT-XL/2 achieved after 7 million steps.
Inference Speed and Scaling
The efficiency gap between convolutions and attention is most apparent in throughput metrics. On an NVIDIA A100 GPU, DiC-XL processes 313.7 images per second, compared to 66.8 images per second for DiT-XL/2—a nearly 5x improvement.
At higher resolutions (512x512), the linear scaling of DiC provides an even greater advantage. DiC-XL consistently outperformed DiT-XL/2 in FID while utilizing fewer Floating Point Operations (FLOPs) and maintaining a much higher frame rate.
Conclusion and Future Work
DiC proves that the humble 3x3 convolution remains a powerful tool for generative modeling when paired with a hierarchical hourglass structure. By eliminating the quadratic cost of self-attention, DiC offers a path toward more efficient high-resolution image and video synthesis.
While current results focus on class-conditional ImageNet generation, the next frontier for DiC is large-scale text-to-image and video generation. Future research will investigate how to integrate cross-attention for complex prompt following while maintaining the linear scaling benefits of the convolutional backbone. Given the prohibitive costs of video generation, the efficiency of DiC could represent a significant shift in how we build the next generation of generative media tools.
Summary updated