Diffusion Schrödinger Bridge with Applications to Score-Based Generative Modeling

Valentin De Bortoli, James Thornton, Jeremy Heng, Arnaud Doucet

TL;DR

This paper introduces the Diffusion Schrödinger Bridge (DSB), a novel generative modeling framework that treats data generation as an entropy-regularized optimal transport problem. By iteratively refining forward and backward diffusion processes, DSB enables high-quality sample generation in significantly fewer time steps and with more flexible prior distributions than standard score-based models.

What Problem Does This Paper Address?

Score-Based Generative Models (SGMs) have revolutionized image and audio synthesis by learning to reverse a noising process. However, they face a fundamental trade-off: to ensure the data is transformed into a simple Gaussian prior, the forward noising process must run for a long time ($T$). If $T$ is too short, the distribution doesn't reach the prior; if $T$ is too long, sampling becomes computationally expensive as it requires many discretization steps to maintain accuracy.

The authors address this by reframing generative modeling as a Schrödinger Bridge (SB) problem. Instead of just noising data and hoping it hits a Gaussian target, the SB problem seeks the "most efficient" diffusion path that connects the data distribution at $t=0$ to a specific prior distribution at $t=T$ in finite time.

Methods

The core contribution is Diffusion SB (DSB), a practical algorithm to solve the SB problem in high-dimensional continuous spaces.

  1. Iterative Proportional Fitting (IPF): DSB is based on IPF, a classical algorithm for solving Schrödinger Bridges. IPF works by alternating between fixing the target distribution (to match the prior) and fixing the starting distribution (to match the data).
  2. Score-Based Implementation: The authors show that each step of the IPF can be implemented using score-matching techniques similar to those used in standard diffusion models.
  3. The Algorithm: DSB starts with a reference diffusion (like a standard noising SDE). It then iteratively:
  4. Learns a backward SDE that moves from the prior toward the data.
  5. Learns a forward SDE that moves from the data toward the prior.
  6. Uses the previous iteration's drift to inform the next, gradually "tightening" the bridge between the two distributions.
Figure 1: The reference forward diffusion initialized from the 2-dimensional data distribution fails to converge to the Gaussian prior in T = 0.2 diffusion-time (N = 20 discrete time steps), and the reverse diffusion initialized from the Gaussian prior does not converge to the data distribution. However, convergence does occur after 5 DSB iterations.

Datasets

The authors validated DSB across several benchmarks:

  • 2D Toy Tasks: Swiss-roll, S-curve, and various "pinwheel" distributions to visualize the transport paths.
  • Image Synthesis: MNIST (handwritten digits) and CelebA (celebrity faces, downscaled to 32x32).
  • Dataset Interpolation: EMNIST (letters) to MNIST (digits) to demonstrate the model's ability to bridge two arbitrary data distributions.

Key Insights and Ideas

  • Continuous Sinkhorn: DSB can be viewed as the continuous state-space analogue of the popular Sinkhorn algorithm used in discrete optimal transport. This connects generative modeling deeply with the field of computational optimal transport.
  • Shorter Time Horizons: Because DSB explicitly enforces the boundary conditions at both $t=0$ and $t=T$, it doesn't require the forward process to reach "equilibrium." This allows for much smaller values of $T$, leading to faster sampling.
  • Prior Flexibility: Unlike standard diffusion models that almost exclusively use Gaussian priors, DSB can bridge any two distributions. This is showcased in their "dataset interpolation" experiments, where the model learns a smooth diffusion path between two different datasets.
  • Theoretical Grounding: The paper provides the first quantitative convergence results for the score-based methodology proposed by Song et al. (2021), proving that these Langevin-type diffusions don't suffer from poor mixing times even in high dimensions.

Key Results

  • Efficiency: DSB achieves high-quality results on CelebA with as few as $N=50$ steps, whereas traditional SGMs often require hundreds or thousands of steps to achieve similar fidelity.
  • Sample Quality: On MNIST, the Fréchet Inception Distance (FID) — a measure of image quality and diversity — improved significantly with each DSB iteration. For example, with $N=10$ steps, the FID dropped from over 60 after one iteration to nearly 20 after ten iterations.
  • Gaussian Ground Truth: In cases where the Schrödinger Bridge can be calculated analytically (Gaussian to Gaussian), DSB successfully recovered the ground-truth mean and covariance.

Limitations and Future Work

  • Training Cost: While DSB speeds up sampling, it increases training complexity because it requires multiple iterations of learning scores (though the authors suggest "warm-starting" later iterations from earlier ones to mitigate this).
  • The $T \to 0$ Limit: Although $T$ can be small, it cannot be zero. If $T$ is too small, the score function becomes very difficult to learn because the supports of the two distributions may be disjoint or very far apart.
  • Scaling: The experiments were conducted on relatively low-resolution images (32x32). Scaling DSB to high-resolution datasets like ImageNet remains a challenge for future implementation.
  • Architecture: The authors noted that while DSB is flexible, the choice of neural network architecture (like U-Nets) still plays a massive role in the final quality of the generative model.

Summary updated

BibTeX
@inproceedings{bortoli2021diffusion,
  author = {Valentin De Bortoli and James Thornton and Jeremy Heng and Arnaud Doucet},
  title = {{Diffusion Schrödinger Bridge with Applications to Score-Based Generative Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=9BnCwiXB0ty},
}
Figure