Twisted Schrödinger Bridge Matching

Maxence Noble, Marie Scheid, Yazid Janati, Eric Moulines, Alain Oliviero DurmusNeurIPS 2026

TL;DR

Standard diffusion bridge models learn the "laziest" random path between two data distributions, assuming empty space in between. Twisted Schrödinger Bridge Matching (TSBM) teaches these models to navigate complex obstacle courses and intermediate hints along the way, providing a mathematically rigorous upgrade to previous heuristic methods. By directly baking the gradients of environmental costs into the loss function—and taming the resulting noise—TSBM charts cleaner, lower-cost trajectories across everything from cell biology to image translation.

What Problem Does This Paper Address?

Imagine a cloud of dust at point A that randomly diffuses and somehow ends up forming a specific sculpture at point B. Finding the most likely way that happened—while minimizing wasted kinetic energy—is the classic Schrödinger Bridge (SB) problem. In machine learning, we use this to transport data from a source distribution to a target distribution (like turning cat photos into dog photos).

Usually, the baseline assumption is pure Brownian motion: particles wander through empty, cost-free space. In the real world, however, the space between start and finish rarely has uniform cost. Crowds must walk around pillars; evolving cells follow biological valleys; sparse data points give hints at intermediate times without being dense enough to define full probability distributions.

To handle this, we can introduce a spatio-temporal potential (a "state cost" $V$) that penalizes or rewards paths at certain places and times. While a recent method called Generalized Schrödinger Bridge Matching (GSBM) tackled this setup empirically, its training updates didn't cleanly connect to Iterative Markovian Fitting (IMF)—the gold-standard theoretical framework that guarantees convergence for standard Schrödinger bridges. As a result, GSBM relied on approximations that introduced hidden biases.

Methods

The authors reframe the state-cost problem as a Twisted Schrödinger Bridge (TSB). Here, the reference process isn't plain Brownian motion, but twisted Brownian motion—paths exponentially reweighted by the state-cost potential (a Feynman–Kac transform). They then build TSBM by rigorously extending the two alternating steps of the standard IMF playbook:

  1. Reciprocal Projection (Approximating the Bridge): Because you can't easily sample from a twisted bridge in closed form, TSBM fits a lightweight, spline-based stochastic interpolant to mimic it via reverse-KL minimization. Unlike GSBM, TSBM's loss retains a crucial Brownian bridge anchor term.
  2. Markovian Projection (Learning the Drift): Instead of training a neural network to copy the approximate interpolant's velocity (which bakes in approximation errors, as GSBM does), TSBM derives the exact conditional drift. This new loss explicitly integrates the gradient of the potential ($-\nabla V$) along future (or past) trajectories.
  3. Learnable Control Variates: Evaluating $\nabla V$ along noisy paths creates massive variance during training. To fix this without adding bias, the authors introduce a clever zero-mean control variate parameterized by a small neural network, trained jointly to keep gradients calm. They also introduce a bidirectional training scheme that pretrains forward and backward drifts simultaneously before fine-tuning.

Datasets

  • Crowd Navigation: Synthetic benchmarks (Stunnel, Gmm, Vneck) across dimensions $d \in \{2, 10, 50\}$ with repulsive obstacle potentials.
  • Single-Cell Trajectory Inference (New Benchmark Setting): Real single-cell data ($d \in \{2, 5, 50\}$) modified into a sparse-observation regime—retaining only 25% of intermediate snapshots and using an attractive potential to pull trajectories toward surviving data points.
  • AFHQ: Unpaired cat-to-dog and dog-to-cat image translation ($64 \times 64$, $d = 4096$), guided by latent-space interpolations.
  • Opinion Depolarization: High-dimensional ($d = 1000$) synthetic opinion dynamics with a congestion potential to prevent echo-chamber clustering.

Key Insights and Ideas

  • Zero-potential sanity check: When you set the state cost $V \equiv 0$, TSBM's loss mathematically collapses exactly back into standard Diffusion Schrödinger Bridge Matching (DSBM) in continuous time (and DDPM in discrete time). GSBM fails this test due to a missing Brownian bridge term, resulting in measurably worse bridge approximations even in empty space.
  • Dodging the variational gap: By deriving the regression target from the exact twisted dynamics rather than the spline approximation, TSBM avoids compounding errors across iterations.
  • The Optimality–Feasibility Trade-off: Explicitly chasing $-\nabla V$ forces paths to respect obstacles much better (higher optimality), though the extra gradient variance can slightly soften how tightly the final distribution matches the target boundary (feasibility).
Figure 1: Learned TSB dynamics for Stunnel (top), Gmm (middle), Vneck (bottom) with d = 2.

Key Results

Across tasks, TSBM consistently finds lower-cost paths (better Optimality) than GSBM, while trading blows on endpoint matching (Feasibility):

  • Crowd Navigation: Qualitatively, TSBM hugs obstacle boundaries more cleanly (see Figure 1 above). Quantitatively, in Vneck ($d=2$), TSBM drops the optimality cost from GSBM's 69.2 to 53.1, and at $d=50$ in Stunnel, TSBM wins on both feasibility (17.07 vs. 17.49) and optimality (3570 vs. 3592).
Table 1: Results of crowd navigation experiments for Stunnel and Vneck, with increasing d. Results are averaged over 8 metric evaluations. Bold indicates the best result in each setting.
  • Sparse Single-Cell ($d=50, \beta=20$): TSBM slashes the state-cost optimality metric from 31.75 down to 22.53, showing strong guidance from just 25% of intermediate data.
  • High-Dimensional Tasks: In 1000D opinion depolarization, TSBM crushes backward optimality cost (867.1 vs. 1317.6) with comparable feasibility. On AFHQ images, TSBM achieves better optimality (2.68 vs. 2.76 for Cat $\to$ Dog) and preserves source image structure better visually, though GSBM edges it out on raw FID (35.20 vs. 41.23).

Limitations and Future Work

TSBM needs differentiable potentials with informative gradients; if a cost landscape is flat almost everywhere with sudden cliffs, $-\nabla V$ won't provide useful steering signals. Evaluating potential gradients along trajectories also makes TSBM more computationally expensive per step than GSBM, and residual gradient variance still creates a mild optimality–feasibility trade-off even with control variates. For future work, the authors suggest taming this variance further and pairing TSBM with fast SDE solvers to speed up iterative training and inference.

Summary updated

Abstract

Over the past few years, diffusion-based Schrödinger bridge models have been proposed to approximate optimal transport dynamics between two prescribed boundary distributions, with successful applications to generative modeling. More precisely, these methods aim to estimate a path measure whose initial and terminal marginals match the two boundary distributions, while minimizing the Kullback–Leibler divergence with respect to a reference Markov process. In this work, we consider the generalized Schrödinger bridge problem, in which the reference process is a twisted Brownian motion, that is, a Feynman–Kac transform of a Brownian motion induced by a time-dependent differentiable potential. Building on the Iterative Markovian Fitting (IMF) paradigm, and in particular on its special case Diffusion Schrödinger Bridge Matching (DSBM), which corresponds to the zero potential case, we introduce Twisted Schrödinger Bridge Matching (TSBM), a diffusion-based method designed to handle both continuous- and discrete-time potentials. Unlike previous approaches, TSBM provides a rigorous extension of the IMF scheme to the generalized Schrödinger bridge problem. This derivation leads to a new bridge-matching loss that depends explicitly on the gradient of the potential and recovers the DSBM objective when the potential vanishes, yielding improved performance. We further introduce trajectory-based variance-reduction techniques that substantially stabilize optimization and may be useful beyond the present setting. Finally, we empirically demonstrate the benefits of TSBM for trajectory inference on a variety of experimental settings including crowd navigation, single-cell data, opinion depolarization and unpaired image translation. Code available at https://github.com/maxencenoble/twisted-sb-matching.
BibTeX
@inproceedings{noble2026twisted,
  author = {Maxence Noble and Marie Scheid and Yazid Janati and Eric Moulines and Alain Oliviero Durmus},
  title = {{Twisted Schrödinger Bridge Matching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=M3sfAYXJNX},
}
Figure