BridgeTwist: Twisting Schrödinger Bridges for Training-Free Conditional Sampling

Mengyu Li, Qianqian Qu, Jun S. LiuNeurIPS 2026

TL;DR

Suppose you have a massive, expensive generative model trained to generate faces, and tonight you suddenly want it to only generate smiling blondes or unblurry faces—without retraining a single weight. While diffusion and flow-matching models already have clever math tricks for this "plug-and-play" conditioning, Schrödinger bridge models—a flexible class of models that map between any two distributions—were left out in the cold. BridgeTwist provides the missing mathematical machinery to steer pretrained Schrödinger bridges toward arbitrary downstream goals, yielding exact target distributions as you scale up compute.

What Problem Does This Paper Address?

Training generative models from scratch is expensive. Because of this, researchers love training-free conditional sampling: taking a pretrained unconditional model (acting as a Bayesian prior, $p(x)$) and combining it at inference time with a task-specific constraint or "likelihood" ($p(y|x)$, like an image classifier or an inpainting mask) to sample from the desired posterior $p(x|y)$.

Recently, Schrödinger bridge (SB) models have gained traction as a generalization of diffusion and flow matching. Instead of being forced to start from pure Gaussian noise, SBs find the most efficient stochastic path between any arbitrary source distribution and a target data distribution. However, existing SB methods require training a brand-new network for every conditional task.

Why couldn't we just copy-paste the training-free tricks from diffusion or flow models onto SBs? Because those tricks rely on peeking ahead to guess where a noisy trajectory will end up: diffusion uses scores (denoising) to guess the endpoint, while flow matching uses velocities (straight-line extrapolation). In an SB, which is a noisy interpolation between two arbitrary endpoints, neither signal works on its own.

Methods

BridgeTwist frames conditional generation as a Sequential Monte Carlo (SMC) problem—evolving a swarm of "particles" (candidate generations) from source to target, nudging them toward the condition, and periodically culling bad particles while duplicating promising ones.

Figure 1: BRIDGETWIST overview. Schrödinger bridge’s velocity and score predict endpoints for likelihood evaluation. The schedules β(t) and g(t) control likelihood tempering and proposal noise, respectively. Vertical position denotes state and circle area denotes weight. Resampling copies retain their states and are offset horizontally for visibility. The highlighted SMC update repeats along the time grid, and the terminal weighted particles approximate the target conditional distribution.

While twisted SMC is an established framework, adapting it to Schrödinger bridges required three novel ingredients:

  • Two-Channel Endpoint Predictor: The authors derive a closed-form equation to predict the final clean data point $X_1$ from an intermediate noisy bridge state $X_t$. It combines both the probability-flow velocity (transport) and the marginal score (denoising) learned during SB pretraining.
  • Tempered Plug-in Twist: Evaluating the task likelihood on a single predicted endpoint ignores uncertainty, making the guidance wildly overconfident early in the journey. BridgeTwist "tempers" (scales down) the likelihood's influence using a time-varying exponent $\beta(t) = t^a$, starting at 0 and ramping up to 1. Crucially, telescoping importance weights cancel out all these intermediate approximations at the end, keeping the final distribution mathematically consistent.
  • Bridge-Shaped Diffusion Schedule: Exploiting the flexibility of SB inference, the authors introduce a noise schedule $g(t) \propto \sqrt{t(1-t)}$ that mirrors a Brownian bridge: low noise at the start (where guidance is weak) and end (to avoid ruining aligned particles), with peak exploration noise right in the middle.

Datasets

The authors evaluate BridgeTwist on existing benchmarks (no new datasets are introduced):

  • Synthetic 2D Toy Data: Mapping a standard Gaussian to a two-mode Gaussian mixture, where the exact mathematical posterior is known.
  • Image Benchmarks: MNIST (as a sanity check), CIFAR-10 (for class-conditional generation and 50% masked inpainting), and 256×256 CelebA-HQ (for CLIP text-prompted generation, 4× super-resolution, and Gaussian deblurring).

Key Insights and Ideas

  • Transport + Denoising = The Full Picture: If you use diffusion's score-only predictor on an SB, you accidentally estimate the linear interpolation between source and target rather than the target itself. If you use flow matching's velocity-only predictor, you miss a crucial noise-correction term. Ablations show using only velocity or score on CIFAR-10 drops accuracy from 91.4% down to 48.5% and 51.4%, respectively.
  • Tempering as Variance Matching: Raising the lookahead likelihood to an exponent $\beta(t)$ isn't just a heuristic hack. The authors prove that in a linear-Gaussian setting, tempering exactly compensates for the missing conditional variance of the endpoint, recovering the ideal mathematical guidance without expensive Monte Carlo rollouts.
  • True Inference-Time Scaling: Gradient-only guidance methods (like DPS) introduce permanent approximation biases that plateau even if you throw more compute at them. Because BridgeTwist corrects its proposals with SMC importance weights, its errorprovably shrinks at a rate of $K^{-1/2}$ as particle count $K$ grows.
As particle count K increases on the 2D toy benchmark, BridgeTwist's error (MMD²) decays steadily, outperforming baselines that plateau.

Key Results

  • 2D Toy Benchmark: BridgeTwist closely recovers uneven posterior modes, with squared Maximum Mean Discrepancy ($\text{MMD}^2$) decaying linearly with $1/K$ (log-log slope of $-1.01$), beating both flow (TFTF) and diffusion (TDS) SMC samplers.
Ground-truth posterior samples vs. BridgeTwist samples on the 2D toy benchmark.
  • Class-Conditional Generation: On CIFAR-10 ($K=64$ particles), BridgeTwist hits 97.9% external classifier accuracy and 0.0403 KID, outperforming TFTF (93.4% acc, 0.0572 KID) and TDS (86.9% acc, 0.129 KID). At matched neural network evaluation budgets, BridgeTwist leads across all medium-to-large compute tiers.
  • Text-to-Image & Restoration: On CelebA-HQ text-prompting, it achieves the highest attribute accuracy (82.7%) alongside the highest LPIPS image diversity (0.613). On inverse problems, this general-purpose sampler beats specialized restoration solvers on CelebA-HQ deblurring (31.13 dB PSNR) and CIFAR-10 inpainting, while ranking a close second on super-resolution (28.33 dB vs. PnP-Flow's 28.47 dB).

Limitations and Future Work

  • Reference Process Lock-in: The closed-form endpoint predictor relies on a standard Brownian reference process; other SB reference processes will require deriving new predictors.
  • First-Order Blind Spots: Relying solely on the mean endpoint prediction can stumble when likelihoods are sharply curved or conditional endpoints are multimodal (estimating full covariance in high dimensions remains too expensive).
  • Prior Imperfections & Overhead: The sampler is only asymptotically exact relative to the discretized, learned prior—it cannot fix pretraining or time-discretization errors, and SB pretraining requires learning an extra score head compared to plain flow models.
  • Next Steps: Expanding into scientific domains where non-Gaussian sources shine, such as protein motif scaffolding and single-cell trajectory modeling.

Summary updated

Abstract

Generative models are often required to serve many downstream conditional tasks. In the training-free setting, a pretrained unconditional model is reused as a prior and combined with a task-specific likelihood to sample from the corresponding posterior. While such training-free samplers have been developed for diffusion and flow models, their counterpart for Schrödinger bridge (SB) models remains unexplored, despite the growing appeal of SBs as flexible stochastic transport models between general source and target distributions. We propose BridgeTwist, a training-free conditional sampler for pretrained SB generative models, formulated as a tempered twisted sequential Monte Carlo scheme. The twist function employs a plug-in surrogate built on a closed-form endpoint predictor, which is derived by combining the velocity and score fields obtained from the SB pretraining. Since this surrogate is less reliable near the source, we temper the twist function with a time-varying exponent, downweighting its influence at early steps. We further introduce a bridge-shaped inference-time diffusion schedule that concentrates the proposal noise in the interior of the path. Telescoping importance weights then cancel all intermediate twist factors, yielding an asymptotically exact sampler for the posterior. Empirically, BridgeTwist outperforms training-free baselines on class-conditional and text-prompted image generation, and is competitive with specialized inverse problem solvers on inpainting, deblurring, and super-resolution.
BibTeX
@inproceedings{li2026bridgetwist,
  author = {Mengyu Li and Qianqian Qu and Jun S. Liu},
  title = {{BridgeTwist: Twisting Schrödinger Bridges for Training-Free Conditional Sampling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=d5smsmfpBy},
}
Figure