Subspace Diffusion Generative Models

Bowen Jing, Gabriele Corso, Renato Berlinghieri, Tommi S. Jaakkola

Abstract

Diffusion models have become the standard for high-quality image synthesis but remain computationally expensive due to their high-dimensional nature. We present Subspace Diffusion Generative Models, a framework that restricts the diffusion process to lower-dimensional subspaces as data evolves toward noise. By projecting data onto subspaces (e.g., via downsampling) at specific time intervals, we reduce inference costs by approximately 30% while achieving state-of-the-art performance, including an FID of 2.17 on CIFAR-10.

Introduction

Score-based generative models, or diffusion models, operate by learning to reverse a noise-injection process. However, standard diffusion occurs in the full ambient space of the data, which is computationally demanding and prone to the "curse of dimensionality." As noise is added, data loses its structure, yet models are still required to represent this featureless noise in high-dimensional space. This leads to computational waste and difficulties in learning the score function in vast, empty regions far from the data manifold.

Subspace Diffusion addresses these challenges by asking whether the entire diffusion process must occur at full dimensionality. By punctuating the diffusion process with projections onto increasingly smaller subspaces, the model focuses its computational power where it matters most.

Methods

The core of the proposed framework is the transition from full-dimensional diffusion to subspace diffusion.

Subspace Projection and Score Matching

The forward Stochastic Differential Equation (SDE) begins in the full ambient space. At specific time points $t_k$, the data is projected onto a subspace. For image data, this projection is implemented via downsampling (e.g., from $32 \times 32$ to $16 \times 16$). Smaller, lower-dimensional neural networks are then trained to learn the score function specifically within these subspaces. These models are faster to evaluate and easier to train due to the reduced dimensionality.

Conceptual overview of Subspace Diffusion. The process starts with full diffusion (A to B), followed by a projection/downsampling step (B to C), and continues with subspace diffusion (C to D). The right panels show how the process is viewed through orthogonal and subspace projections.

Orthogonal Fisher Divergence

To determine the optimal timing for subspace projection, the authors introduce the Orthogonal Fisher Divergence. This metric measures the deviation of the learned full-dimensional score model from a Gaussian approximation in directions orthogonal to the subspace. A low divergence indicates that the discarded dimensions have effectively become Gaussian noise, allowing for a safe transition to the subspace.

Reverse Sampling

During generation, the process is reversed. The model starts in the smallest subspace, solves the reverse SDE, and then "upsamples" by injecting Gaussian noise into the orthogonal components to transition back to higher-dimensional spaces.

Results

The framework was evaluated on CIFAR-10, CelebA-HQ-256, and LSUN Church datasets.

  • Sample Quality: On CIFAR-10, the "deep" version of the model achieved a state-of-the-art FID of 2.17, outperforming the full-dimensional baseline (2.20).
  • Efficiency: The method demonstrated a runtime reduction of 30-34% compared to full-dimensional models for an equivalent number of denoising steps.
  • Scalability: For $256 \times 256$ resolutions, up to 70% of the diffusion process could be restricted to a $64 \times 64$ subspace with negligible loss in visual quality.
  • Mathematical Robustness: Negative Log-Likelihood (NLL) scores remained near-identical to full models, confirming that the subspace approximation preserves the underlying data distribution.

Discussion and Conclusion

Subspace Diffusion exploits the "Gaussianization" hierarchy, where high-frequency details (orthogonal to the natural manifold) become noise faster than core structural components. By discarding these dimensions early, the model improves generalization and stability. Unlike other acceleration techniques that trade quality for speed, Subspace Diffusion improves both.

While currently focused on linear subspaces like downsampling, future work may explore non-linear manifolds to further enhance efficiency. Additionally, while inference is accelerated, the approach requires training multiple models for different subspace levels. Despite these considerations, Subspace Diffusion represents a significant step toward more efficient and robust generative modeling.

Summary updated

BibTeX
@inproceedings{jing2022subspace,
  author = {Bowen Jing and Gabriele Corso and Renato Berlinghieri and Tommi S. Jaakkola},
  title = {{Subspace Diffusion Generative Models}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=wWeCXk_s6WJ},
}
Figure