Alleviating Distortion in Image Generation via Multi-Resolution Diffusion Models and Time-Dependent Layer Normalization

Qihao Liu, Zhanpeng Zeng, Ju He, Qihang Yu, Xiaohui Shen, Liang-Chieh Chen

Recent breakthroughs in image generation have increasingly shifted from traditional convolutional U-Nets to Transformer-based architectures, such as the Diffusion Transformer (DiT). However, these Transformer models face a fundamental "patchification" dilemma. Because the computational complexity of self-attention grows quadratically with the number of tokens, these models must group pixels into larger patches (e.g., $2 \times 2$ or $4 \times 4$). While larger patches improve computational speed, they inherently lose fine-grained spatial details, leading to visible distortions and lower visual fidelity in the generated images.

To address this trade-off without skyrocketing computational costs, researchers have introduced DiMR (Multi-Resolution Diffusion Model). DiMR is a hybrid architecture designed to eliminate the visual distortions common in pure Transformer-based generators. By combining a low-resolution Transformer "core" with high-resolution convolutional refinement branches, DiMR achieves state-of-the-art FID scores while significantly reducing image artifacts.

Comparison of uncurated samples from DiMR and DiT, highlighting DiMR's improved visual fidelity and lack of distortion.

Core Innovations

The paper proposes two primary architectural enhancements to standard diffusion models:

1. Multi-Resolution Network (DiMR)

Instead of processing an image at a single, flat resolution, DiMR utilizes a "feature cascade" across multiple branches to decouple the resolution of the attention mechanism from the output image.

  • The Base Branch: Processes the lowest resolution using standard Transformer blocks. This allows the model to efficiently capture global structure and context without the $O(N^2)$ cost of high-resolution self-attention.
  • Refinement Branches: Handle higher resolutions using ConvNeXt blocks. These convolutional layers are highly efficient and better suited for processing high-resolution spatial data.
  • Features from the lower-resolution Transformer branch are progressively upsampled and merged into the higher-resolution ConvNeXt branches. This ensures that fine, local details are "painted in" accurately based on the global structural plan.
Architecture of the Multi-Resolution Diffusion Model (DiMR), showing the progression from low-resolution Transformer blocks to high-resolution ConvNeXt refinement branches.

2. Time-Dependent Layer Normalization (TD-LN)

Diffusion models require conditioning on the current "time step" (noise level). Standard models typically use adaptive Layer Normalization (adaLN), which relies on heavy Multi-Layer Perceptrons (MLPs) to predict scaling factors for every layer.

Through Principal Component Analysis (PCA), the authors discovered that these scaling factors are actually simple functions of time. TD-LN replaces the heavy MLPs with a straightforward linear interpolation between two learnable parameters based on the time step. This simple sigmoid-based interpolation injects temporal information effectively, making the model significantly more parameter-efficient without sacrificing generative performance.

Key Results and Insights

The models were trained and evaluated on the ImageNet-1K dataset across multiple resolutions ($64 \times 64$ in pixel space, and $256 \times 256$ / $512 \times 512$ in latent space using a pre-trained VAE). DiMR sets new benchmarks for class-conditional image generation:

  • State-of-the-Art FID: The largest variant, DiMR-G (1.06 billion parameters), achieved an impressive FID of 1.63 on ImageNet $256 \times 256$, outperforming leading models like DiT (2.27) and U-ViT (2.29).
  • High-Resolution Success: On the more challenging ImageNet $512 \times 512$ benchmark, the DiMR-XL variant achieved an FID of 2.89, a notable improvement over DiT's 3.04.
  • Drastically Reduced Distortion: In human evaluation studies, DiMR's "distortion rate" (the percentage of generated images containing visible artifacts) was only 29.2%. This is a massive improvement compared to 71.0% for DiT and 63.5% for U-ViT.
  • Hybrid Efficiency: The success of DiMR proves that pure Transformer architectures aren't necessarily the endgame for computer vision. By leveraging Transformers for global "thinking" and Convolutions for local "details," the model achieves high-fidelity outputs efficiently. Furthermore, thanks to the TD-LN module, variants like DiMR-M remain more parameter-efficient than their predecessors despite the multi-branch design.

Limitations and Future Work

While DiMR represents a significant leap in image fidelity, it is currently limited to class-conditional generation (e.g., generating images based on specific ImageNet categories). Extending this hybrid architecture to full text-to-image generation using complex prompts is a logical and highly anticipated next step. Additionally, while the model was scaled to over a billion parameters, the authors note that computational limits bounded their experiments; further scaling could yield even more impressive results. Finally, the specific configuration of branches and the choice of ConvNeXt were manual design decisions, suggesting that automated architecture search could uncover even more optimal multi-resolution setups in the future.

Summary updated

BibTeX
@inproceedings{liu2024alleviating,
  author = {Qihao Liu and Zhanpeng Zeng and Ju He and Qihang Yu and Xiaohui Shen and Liang-Chieh Chen},
  title = {{Alleviating Distortion in Image Generation via Multi-Resolution Diffusion Models and Time-Dependent Layer Normalization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=3JwMwL8i5f},
}
Figure