GUD: Generation with Unified Diffusion

Mathis Gerdes, Max Welling, Miranda C. N. Cheng · Submission to ICLR 2025 · Rejected

TL;DR

GUD (Generation with Unified Diffusion) bridges standard diffusion models and autoregressive generation into a single mathematical framework inspired by the physics of Renormalization Group (RG) flows. By giving every data component its own noise schedule, choosing arbitrary representation bases, and tailoring prior distributions, GUD introduces "soft-conditioning"—a continuous spectrum connecting simultaneous diffusion to sequential next-token prediction.

What Problem Does This Paper Address?

Standard diffusion models and autoregressive models represent two dominant paradigms in generative modeling, but they are typically treated as fundamentally distinct. Diffusion generates all features simultaneously by destroying data with isotropic white noise, while autoregressive models generate features strictly sequentially, conditioned on previously generated ones.

In physics, the Renormalization Group (RG) systematically removes high-frequency (short-scale) information while retaining low-frequency (large-scale) structure. While diffusion resembles RG conceptually, typical diffusion models:

  1. Diffuse diagonally in pixel space rather than frequency space,
  2. Drive data to white noise rather than scale-invariant or data-matched priors, and
  3. Noise all pixels uniformly at the exact same rate.

The authors set out to remove these artificial constraints, investigating how diffusion behaves when generalized across representation bases, prior distributions, and component-wise schedules.

Methods

GUD formulates the forward process as a diagonalizable Ornstein-Uhlenbeck (OU) stochastic differential equation (SDE), decomposed via $\chi = M\phi = S^{-1}U\phi$:

  • Basis Choice ($U$): An orthogonal transformation allowing the diffusion process to decouple along arbitrary axes (e.g., Fourier/FFT, PCA, or Haar wavelets).
  • Prior Distribution ($S$): A scaling matrix defining the prior noise covariance $\Sigma_{\text{prior}} = U^{-1}S^2 U$. Setting $\Sigma_{\text{prior}}$ to match the data covariance acts as a whitening transform, strictly preserving variance throughout the entire diffusion process.
  • Component-Wise Noising Schedule ($\beta_i(t)$ or $\gamma_i(t)$): Each component $i$ follows its own signal-to-noise ratio $\text{SNR}_i(t)$. When the active time windows of components do not overlap, the model acts strictly autoregressively; when they coincide, it collapses back to standard diffusion.
  • Soft-Conditioning: Intermediate schedules allow components to generate while partially conditioned on other, more mature components.
  • Noising-State-Conditioned Architecture: Instead of conditioning the score network on a scalar time $t$, GUD conditions directly on the full vector noising state $\boldsymbol{\gamma}(t) \in \mathbb{R}^d$ via cross-attention or embedded projections. This allows a single trained score network to generalize across an entire family of generation schedules.

Datasets

The authors evaluated their framework on standard image benchmarks (no new datasets were introduced):

  • CIFAR-10 ($32 \times 32$ natural images)
  • PCAM (PatchCamelyon) (histopathology patches downscaled to $32 \times 32$)
  • CelebA-HQ (facial images resized to $256 \times 256$ for qualitative scaling tests)

Key Insights and Ideas

  • Standard diffusion has hidden hierarchy: Even when all components share the same noise schedule, components with higher initial variance naturally maintain higher signal-to-noise ratios. Standard diffusion was already generating dominant features first; GUD makes this explicit and tunable.
  • Autoregression is just extreme scheduling: Autoregressive generation is simply a special case of diffusion where component noising schedules have zero temporal overlap.
  • Path freedom in noise space: Training on a distribution of noising vectors $\boldsymbol{\gamma}$ exposes the network to an entire volume of noise configurations rather than a single 1D curve. As a result, the inference path (schedule) can be altered or optimized post-training.
  • Seamless image extension: A real-space column-wise schedule sweeps across an image like an "active front," allowing sliding-window diffusion to generate arbitrarily wide textures or panoramic image strips sequentially.

Key Results

  • CIFAR-10 Softness Tuning (PCA Basis): Evaluated over inverse softness $a \in [0.4, 1.6]$. Standard diffusion ($a = 1$, unwhitened) was near-optimal, achieving ~3.1–3.2 bits/dim negative log-likelihood (NLL) and an FID of ~6. Whitened models exhibited slightly worse FID despite constant covariance across diffusion.
  • Fourier Ordering: Interpolating the schedule hierarchy between variance-based ordering and pure frequency ordering ($|k|$) showed that optimal NLL occurs close to, but slightly shifted from, standard diffusion.
  • Haar Wavelet + Column Scheduling: Combining multi-level wavelet decomposition ($N = 3$) with column-wise sequential generation achieved 3.17 bits/dim on CIFAR-10.
  • Spatial Autoregression on PCAM: Separate column-wise models achieved competitive likelihoods of 3.90 bits/dim ($b=0.3$) and 3.94 bits/dim ($b=0.5$).
  • High-Resolution (CelebA-HQ $256 \times 256$): Demonstrated face generation across varying softness $a \in [0.7, 1.3]$; lower values of $a$ led to softer images with residual noise, whereas higher values yielded sharper images with minor artifacts.

Limitations and Future Work

  • Computational Constraints: The authors noted that limited compute constrained exhaustive hyperparameter sweeps and large-scale training.
  • Schedule Optimization: While the framework unifies the design space, deriving the mathematically or empirically optimal component-wise path remains an open problem.
  • Translational Assumptions: Sliding image extension relies on approximate translational invariance in the data, limiting its immediate use on structured compositions.
  • Architecture Mismatches: Standard convolutional U-Nets assume spatial 2D locality. Performing diffusion in non-local bases (like PCA or global FFT) required keeping the network I/O in pixel space while transforming internal score targets. Future work includes designing native architectures tailored for these transformed spaces.

Summary updated

BibTeX
@misc{gerdes2024gud,
  author = {Mathis Gerdes and Max Welling and Miranda C. N. Cheng},
  title = {{GUD: Generation with Unified Diffusion}},
  year = {2024},
  eprint = {2410.02667},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.02667},
}
Figure