Relay Diffusion: Unifying diffusion process across resolutions for image synthesis

Jiayan Teng, Wendi Zheng, Ming Ding, Wenyi Hong, Jianqiao Wangni, Zhuoyi Yang, Jie Tang

High-resolution image generation has long been the "final boss" for diffusion models. While models like Stable Diffusion have made massive strides, training them directly at high resolutions is computationally brutal. Traditional "cascaded" approaches—generating a low-resolution image and then upscaling it—often suffer from efficiency bottlenecks and visual artifacts.

In their ICLR 2024 paper, researchers from Tsinghua University and Zhipu AI introduce the Relay Diffusion Model (RDM). By rethinking how noise behaves across different resolutions, they have created a framework that allows the diffusion process to "relay" seamlessly from low to high resolution, setting new records for image quality and computational efficiency.

TL;DR

Relay Diffusion (RDM) treats high-resolution image synthesis like a relay race, where a high-resolution model picks up exactly where a low-resolution model left off. By utilizing a novel "block noise" and patch-wise blurring technique, RDM eliminates the need to restart from pure noise at each upscaling stage. This approach achieves state-of-the-art FID scores on ImageNet and CelebA-HQ with significantly less training data.

What Problem Does This Paper Address?

The authors identify a fundamental issue in how we scale diffusion models: Noise is resolution-dependent.

Through the lens of the frequency domain (using the Discrete Cosine Transform), they discovered that the same level of Gaussian noise "looks" different at $64 \times 64$ than it does at $256 \times 256$. Specifically, at higher resolutions, the low-frequency signal is much stronger relative to the noise, resulting in a higher Signal-to-Noise Ratio (SNR). This discrepancy causes standard noise schedules, which are optimized for small images, to perform poorly when applied directly to large ones.

Existing solutions to this scaling problem have major drawbacks:

  1. Latent Diffusion (LDM): Compresses images into a latent space. While fast, it can introduce low-level artifacts during the decoding or "un-compression" phase.
  2. Cascaded Diffusion (CDM): Generates a low-resolution image, then uses it as a condition for a separate super-resolution model that starts entirely from pure noise. This is highly redundant—the model has to re-learn low-frequency information—and leads to "distribution mismatch" where the high-res model struggles to correct artifacts generated by the low-res input.

Methods

RDM introduces a "relay" mechanism that allows the diffusion process to continue across resolutions without restarting. Two key innovations make this possible:

  1. Block Noise: When you upsample a low-resolution noisy image, the noise inherently becomes "blocky." To make the high-resolution model's starting point compatible with this, the authors introduce noise where nearby pixels are correlated within $s \times s$ blocks. This bridges the frequency gap, ensuring the SNR remains consistent as the resolution increases.
Signal-to-Noise Ratio (SNR) across frequencies, demonstrating how Block Noise maintains consistency.
  1. Patch-wise Blurring Diffusion: Instead of just adding noise, RDM uses a blurring process based on the heat equation. It applies this blurring to $4 \times 4$ patches independently. This ensures that the "blurred" high-resolution state is mathematically equivalent to the output of the previous low-resolution stage.

By combining these techniques, the high-resolution model doesn't just look at a low-resolution image for "hints"—it literally starts its denoising process from the upsampled, block-noisy result of the previous stage.

Key Insights and Ideas

  • The Frequency "Aha!" Moment: The core insight is that the difficulty of high-resolution diffusion isn't just about pixel count; it is about the shift in the frequency spectrum. Standard Gaussian noise fails to "corrupt" high-resolution images enough in the low-frequency bands.
  • Markovian Denoising: Because RDM is a continuous process, it can actually "fix" mistakes made by the low-resolution model. In traditional cascades, if the $64 \times 64$ image has a weird artifact, the super-resolution model is stuck with it. In RDM, the high-resolution stage can refine those low-frequency details.
  • Eliminating Redundancy: By skipping the "start from pure noise" step in the second stage, RDM saves a massive amount of computation and training time.

Key Results

RDM was evaluated on gold-standard benchmarks, including ImageNet $256 \times 256$ (class-conditional) and CelebA-HQ (unconditional face generation up to $1024 \times 1024$). It achieved impressive quantitative and qualitative results:

  • State-of-the-Art Quality: On ImageNet $256 \times 256$, RDM achieved an FID of 1.87 (with classifier-free guidance), surpassing heavyweights like ADM, LDM, and DiT.
  • Superior Detail: On CelebA-HQ, it outperformed StyleSwin and other specialized high-resolution models across all tested resolutions.
  • Efficiency Gains: RDM is remarkably efficient. As shown below, it achieved better results than MDT-XL/2 while using only about 1/3 of the training iterations.
FID-50K vs. Number of Training Images, showing RDM's superior efficiency.
  • Robust Sampling: The model maintains high generation quality even with very few sampling steps, whereas competing models' performance degrades sharply when sampling is sped up.

Limitations and Future Work

While RDM provides a powerful empirical framework, the authors note a few areas for growth:

  • Theoretical Noise Schedules: While they analyzed the frequency domain to justify Block Noise, they haven't yet derived a "perfect" closed-form noise schedule purely from frequency theory. Optimal schedules still depend somewhat on model size and inductive biases.
  • Scaling to Text-to-Image: The current work focuses on class-conditional and unconditional generation. Applying the "relay" philosophy to massive, prompt-based models is the logical next step.

Ultimately, RDM proves that in the race for higher resolution, you don't need to run the whole track at once—you just need a better way to pass the baton.

Summary updated

BibTeX
@inproceedings{teng2024relay,
  author = {Jiayan Teng and Wendi Zheng and Ming Ding and Wenyi Hong and Jianqiao Wangni and Zhuoyi Yang and Jie Tang},
  title = {{Relay Diffusion: Unifying diffusion process across resolutions for image synthesis}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=qTlcbLSm4p},
}
Figure