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

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

Overview

Score-Based Generative Models (SGMs) have become a cornerstone of modern AI, but they suffer from a fundamental "time" problem. In standard diffusion, data is progressively corrupted with Gaussian noise until it becomes an approximately Gaussian "prior." To ensure this final distribution is truly Gaussian, the noising process must run for a sufficiently long time.

This creates a difficult trade-off: running the process for a long time requires many discretization steps to keep errors low, making sampling slow. Conversely, shortening the time means the prior isn't actually Gaussian, causing the reverse generative process to start from the wrong distribution and yield poor results.

The Diffusion Schrödinger Bridge (DSB) framework addresses this by moving away from the "infinite-time" Gaussian assumption. Instead, it treats data generation as an entropy-regularized optimal transport problem. By finding a Schrödinger Bridge—the most efficient diffusion path connecting the data distribution to a prior in a fixed, finite amount of time—DSB enables high-quality sample generation in much shorter time horizons and with fewer steps.

The DSB Algorithm

The core contribution of this work is a practical, high-dimensional implementation of a classical mathematical procedure called Iterative Proportional Fitting (IPF).

Unlike standard diffusion, which trains a single model once, DSB alternates between a "forward" pass (data to prior) and a "backward" pass (prior to data). In each pass, the algorithm uses score-matching (estimating the gradient of the log-density) to update the drift of the Stochastic Differential Equations (SDEs).

Interestingly, the very first iteration of DSB recovers the standard SGM framework. Subsequent iterations then "fix" the errors introduced by using a short time horizon, effectively tightening the bridge between the two distributions. DSB can also be viewed as the continuous-space version of the popular Sinkhorn algorithm used in discrete optimal transport.

The iterative process of DSB. At iteration 1 (top), the short time horizon prevents the model from reaching the data distribution. By iteration 5 (bottom), the bridge is successfully built, creating a functional generative model.

Key Capabilities and Results

The authors validated DSB across several benchmarks, including 2D toy examples (S-curve, Swiss-roll) and image datasets (MNIST, EMNIST, CelebA $32 \times 32$). The framework introduces several major advantages:

  • Finite-Time Efficiency: Because DSB solves for a bridge over a fixed interval $[0, T]$, it doesn't need to wait for the distribution to settle into a perfect Gaussian. This allows for much shorter trajectories, producing high-quality samples with significantly fewer diffusion steps (e.g., $N=12$ or $N=20$) compared to original SGMs.
  • Flexible Priors and Dataset Interpolation: Standard diffusion must use a simple prior like a Gaussian. DSB, however, can bridge any two distributions. This allows for direct "dataset interpolation"—such as learning a diffusion path that transforms a Swiss-roll shape directly into an S-curve, or EMNIST letters into MNIST digits.
  • Iterative Improvement: Quantitative metrics like the Fréchet Inception Distance (FID) consistently improve as the number of DSB iterations increases, proving that the iterative IPF approach works in practice for complex data.
  • Theoretical Grounding: The paper provides the first quantitative convergence results for SDE-based generative models, proving that the method avoids "poor mixing" even in high dimensions.

Limitations and Future Work

While DSB is faster at inference (sampling) due to the reduced number of steps, it is more expensive to train. Because it requires multiple iterations of forward and backward passes, each iteration is essentially a full training cycle.

Additionally, scaling the iterative procedure to megapixel-scale images remains a computational challenge, as experiments primarily focused on $32 \times 32$ resolutions. Finally, while the time horizon $T$ can be small, it cannot be arbitrarily close to zero; if the time is too short, the "score" becomes too sharp and difficult for neural networks to learn accurately.

Future work may explore ways to accelerate these training iterations or apply DSB to domains like domain adaptation and Wasserstein barycenter computation.

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