TL;DR
Reflected Schrödinger Bridge Matching (RSBM) brings the efficiency of simulation-free flow matching to constrained generative modeling. By restricting the reference process to a reflected Brownian motion on a unit hypercube, the authors eliminate out-of-bounds pixel violations in image-to-image translation with virtually zero computational or wall-clock overhead.
What Problem Does This Paper Address?
Standard generative models, such as diffusion models and flow matching, operate on unconstrained spaces. When applied to images, they frequently generate pixel values outside the valid $[0, 1]$ range. The typical workaround is ad-hoc clipping, which distorts the generative distribution and degrades sample quality.
Schrödinger Bridges (SBs) offer a mathematically rigorous framework for translating one data distribution into another while optimizing transport costs. However, existing methods for reflected SBs (which natively constrain samples to a bounded domain like a hypercube) are notoriously inefficient. They rely on complex forward-backward SDE theory, requiring full path simulations during training, expensive higher-order derivatives, and massive path caching. This paper aims to make training reflected SBs just as fast and simple as standard flow matching.
Methods
The authors introduce Reflected Schrödinger Bridge Matching (RSBM), extending the highly efficient Iterative Markovian Fitting ($\alpha$-IMF) framework to bounded domains.
To circumvent the computational bottlenecks of previous reflected SB methods, they implement two key innovations:
- Component-wise Score Approximation: Computing the score function of a reflected process on a hypercube normally suffers from the exponential curse of dimensionality. By choosing a reference process with independent components (Reflected Brownian Motion), the authors factorize the transition density, making high-dimensional score evaluation cheap and scalable.
- Exact Bridge Midpoint Sampling: Instead of simulating full, expensive SDE paths to sample intermediate states during training, the authors design an exact, simulation-free bridge sampler (Algorithm 2). It leverages a standard Brownian bridge combined with a coordinate-wise reflection operator.
Additionally, the authors utilize Girsanov's theorem to handle the Doob $h$-transform under constraints, bypassing the notoriously difficult task of defining the domain of the infinitesimal generator in restricted regimes.
Datasets
The method was evaluated on two image-to-image translation tasks where pixel values are naturally constrained:
- MNIST $\leftrightarrow$ EMNIST (letters A–E): Grayscale handwritten digits and letters ($28 \times 28$ pixels).
- AFHQv2 (Cat $\leftrightarrow$ Wild): Bounded RGB images downsampled to $64 \times 64$ resolution.
Key Insights and Ideas
- The Reflection Invariance: Under Girsanov's theorem, the reflection term (local time at the boundary) remains unchanged when moving from the reference process to the target bridge process. This means the neural network doesn't need to explicitly learn the boundary conditions; the geometry is entirely handled by the underlying reference process.
- Free Constraints: Bounded generation doesn't have to be slow. By carefully structuring the reference process, the complex boundary interactions can be computed analytically, yielding a bounded model with virtually the same training footprint as an unconstrained one.
Key Results
- Zero Domain Violations: In the MNIST experiments, the unconstrained baseline ($\alpha$-DSBM) produced out-of-bounds pixels in 100% of its generated samples, averaging 46% invalid pixels per image. RSBM completely eliminates these violations by design.
- Improved Image Likeness & Quality: RSBM achieved a lower Mean Squared Distance (MSD) to the source images, meaning it preserves more structural context during translation. For MNIST $\rightarrow$ EMNIST, the Fréchet Inception Distance (FID) improved from 6.41 (baseline) to 5.22 (RSBM).
- Negligible Computational Overhead: Training RSBM from MNIST to EMNIST took 32 hours on a single 40GB A100 GPU, compared to 31.5 hours for the unconstrained baseline—an overhead of less than 2%.
Limitations and Future Work
- No Reference Drift: The current theoretical framework requires the reference process to have zero drift ($\mu = 0$). This excludes the popular family of variance-preserving SDEs widely used in traditional diffusion models.
- Geometric Restrictions: The efficient score and bridge sampling mechanisms are strictly tied to the unit hypercube. While other domains can theoretically be mapped to a cube via diffeomorphisms, doing so can cause numerical instability or density blow-ups in certain regions.
Future work will focus on adapting the framework to accommodate more complex reference dynamics and non-hypercube geometries.
Summary updated