SPI-GAN: Denoising Diffusion GANs with Straight-Path Interpolations

Jinsung Jeon, Noseong Park

TL;DR

This paper introduces SPI-GAN, a novel GAN-based generative model that significantly speeds up sampling while maintaining high image quality and diversity, addressing a key limitation of existing Score-Based Generative Models (SGMs). By learning a direct "straight-path" interpolation between noisy and clean images, SPI-GAN avoids the complex multi-step denoising process of SGMs and their GAN-based imitators.

What Problem Does This Paper Address?

State-of-the-art generative models, particularly Score-Based Generative Models (SGMs), excel at producing high-quality and diverse images. However, they suffer from notoriously high training and sampling complexity, making them impractical for resource-limited settings. While some approaches try to simplify SGMs by learning simpler processes or by having Generative Adversarial Networks (GANs) imitate SGMs, these methods still face challenges. Specifically, existing GAN-based imitators either rely on learning intermediate "shortcuts" of the SGM denoising path (like DD-GAN) or use augmentation techniques (like Diffusion-GAN). The authors aim to bridge this gap by proposing a GAN architecture that directly learns a simplified denoising path, achieving a better balance between sampling quality, diversity, and speed.

Methods

SPI-GAN is a GAN-based method that approximates a denoising process by learning a "straight-path interpolation." Instead of mimicking the complex, multi-step reverse SDE of SGMs, SPI-GAN learns to directly map a noisy image to a clean image along a linear interpolation path: $i(u) = u \cdot x_0 + (1-u) \cdot x_T$, where $x_0$ is the clean image, $x_T$ is a noisy image, and $u$ is an interpolation parameter.

The core components of SPI-GAN include:

  • Straight-Path Interpolation: This is the central idea, defining a simple linear path between a noisy and a clean image. This path is significantly easier for a neural network to learn compared to the complex SDE reverse path.
  • Mapping Network: This network, based on Neural Ordinary Differential Equations (NODEs), generates a latent vector $h(u)$ that represents the image at a specific interpolation point $u$. It takes an initial noisy image $i(0)$ and learns its continuous-time dynamics to produce $h(u)$ for any $u$. This allows for a single latent space that captures information across different noise levels.
  • Generator: A modified StyleGAN2 generator takes the latent vector $h(1)$ (corresponding to the clean image) from the mapping network and generates the final fake image. It's designed to mimic the stochasticity of SGMs using noise inputs.
  • Time-Dependent Discriminator: Unlike traditional GAN discriminators, SPI-GAN's discriminator is conditioned on the interpolation parameter $u$. This helps it learn the data distribution across various noise levels and mitigates mode collapse by seeing a balanced set of noisy and clean images.

Datasets

The paper evaluates SPI-GAN on the following datasets:

  • CIFAR-10: A standard benchmark dataset for image generation tasks (32x32 resolution).
  • CelebA-HQ-256: A high-resolution dataset of celebrity faces (256x256 resolution).

Key Insights and Ideas

  • Simplifying the Denoising Path: The most significant insight is that a direct, linear interpolation path between noisy and clean data is sufficient for learning a high-quality generative process, bypassing the need to explicitly model the complex SDE reverse path.
  • NODE for Continuous Latent Space: Using a NODE-based mapping network to generate latent vectors for continuous interpolation points is a clever way to create a unified latent space that can produce images at various stages of denoising.
  • Time-Dependent Discriminator for Stability: Conditioning the discriminator on the interpolation time $u$ is crucial for learning the evolving data distribution and preventing mode collapse, offering a more stable training process than traditional GANs.
  • GANs as Efficient SGM Imitators: SPI-GAN demonstrates that GANs can effectively imitate SGMs, not by replicating their complexity, but by learning a simplified, direct path to generation.

Key Results

SPI-GAN achieves a strong balance across the generative task trilemma (quality, diversity, and time):

  • Sampling Quality & Diversity: SPI-GAN achieves competitive Inception Scores (IS) and Fréchet Inception Distances (FID) comparable to or better than state-of-the-art SGM-based methods and related GAN-based methods on CIFAR-10 and CelebA-HQ-256. For instance, on CIFAR-10, it shows a better FID than DD-GAN and Diffusion-GAN. On CelebA-HQ-256, it achieves the best FID score among the evaluated methods.
  • Sampling Speed: SPI-GAN drastically reduces sampling time. Its wall-clock runtime for sampling is comparable to StyleGAN2 (around 0.04s for CIFAR-10 with a batch size of 100 on an A5000 GPU), which is significantly faster than traditional SGMs and even DD-GAN (0.36s). This is achieved because it generates images directly without recursive steps.

Limitations and Future Work

  • Comparison to DD-GAN ($K=1$): The paper notes that while DD-GAN with $K=1$ (a single shortcut) fails to produce good results, SPI-GAN's straight-path interpolation method stabilizes the training process and achieves good results even without intermediate shortcuts. This suggests that the direct straight-path is more robust than a single shortcut.
  • Future Work: Not explicitly discussed in the paper, but the success of SPI-GAN suggests potential for exploring even more complex interpolation strategies or applying this approach to other generative tasks. The authors also mention that their method is suitable for resource-limited settings, hinting at its potential for deployment in such environments.

Summary updated

BibTeX
@inproceedings{jeon2022spi,
  author = {Jinsung Jeon and Noseong Park},
  title = {{SPI-GAN: Denoising Diffusion GANs with Straight-Path Interpolations}},
  booktitle = {PML4LRS @ ICLR},
  year = {2022},
  url = {https://openreview.net/forum?id=01sjjq6m4F},
}
Figure