Introduction
In the rapidly evolving landscape of generative AI, transforming one arbitrary data distribution into another—such as converting a blurry image into a sharp one, or a sketch into a photorealistic image—is a foundational challenge. While standard diffusion models typically map from pure Gaussian noise, Diffusion Bridge (DB) and Flow Matching (FM) have emerged as powerful techniques designed specifically to handle transitions between any two arbitrary distributions.
Despite their widespread adoption, the community has lacked a rigorous, "apples-to-apples" comparison between the two. Their underlying mathematical formulations and typical neural architectures (U-Nets for DB versus Transformers for FM) differ so significantly that determining which approach is objectively better has been difficult. This paper resolves this ambiguity by providing the first unified theoretical framework and fair experimental benchmark comparing Diffusion Bridge and Flow Matching.
Theoretical Framework
The authors bridge the conceptual gap between DB and FM using two distinct mathematical perspectives:
1. Stochastic Optimal Control (SOC)
By analyzing both models through the lens of SOC, the authors prove that Flow Matching is mathematically a "degraded" special case of the Diffusion Bridge. The critical difference lies in DB's inclusion of an extra "drift term" (specifically, $\theta_t(x_1 - x_t)$). This term acts as a mathematical compass, actively guiding the system toward the target distribution. Consequently, DB exhibits a lower total "cost function," which translates to more stable, natural trajectories during image generation.
2. Optimal Transport (OT)
Flow Matching is often praised for its simplicity, particularly its linear interpolation scheme. However, the authors' OT analysis reveals a critical flaw: FM's fixed interpolation coefficients ($t$ and $1-t$) rely on assumptions that only hold true given an infinite amount of training data. When data is limited, these assumptions violate the Brenier-potential theorem. This leads to conflicting vector fields, causing the model's performance to collapse and produce blurry results.
Methodology: A Fair Fight
To ensure a fair empirical comparison, the authors discarded the traditional U-Net architecture. Instead, they engineered a novel Latent Transformer architecture—heavily inspired by the Diffusion Transformer (DiT)—and implemented it for both models. This allowed DB to benefit from the same modern scaling properties that have driven FM's recent successes.
The models were rigorously evaluated across a spectrum of image restoration and translation tasks, including Image Inpainting, Deblurring, $4\times$ Super-Resolution, and Image-to-Image translation. Datasets included CelebA-HQ, FFHQ, Edges$\to$Handbags, Edges$\to$Shoes, and Nights$\to$Days.
Key Findings
- Perceptual Superiority and Realism: There is a fundamental trade-off between the two approaches. FM, being ODE-based, produces highly "smooth" images that score well on pixel-level metrics like PSNR. However, DB (an SDE-based approach) better captures the natural manifold of the data. This results in vastly superior visual realism. DB consistently outperformed FM on perceptual metrics like FID (Frechet Inception Distance) and LPIPS. For example, in $128 \times 128$ inpainting, DB achieved an FID of 7.71, crushing FM's score of 17.84.
- Robustness to Task Difficulty: As the "gap" between the source and target distributions widened (e.g., increasing the size of an inpainting mask), FM's performance plummeted. DB, aided by its drift term, remained remarkably stable.
- Data Efficiency: The theoretical predictions regarding Optimal Transport were perfectly validated in low-data regimes. When trained on a scarce dataset of only 500 samples, DB maintained high-quality outputs. In stark contrast, FM suffered a significant performance degradation.
- Training Speed: Flow Matching's primary advantage is computational efficiency. Because it features a simpler, more direct gradient path, FM is roughly 3\times faster to train than DB.
Limitations and Future Directions
While Diffusion Bridge demonstrates a higher performance ceiling and superior robustness, it converges more slowly than Flow Matching. Furthermore, the current experiments were capped at a $256 \times 256$ resolution.
The authors note that scaling these findings to high-resolution, large-scale text-to-image models is a crucial next step. Additionally, DB's exceptional data efficiency makes it a highly promising candidate for fields like Embodied AI and robotics, where collecting training data is notoriously expensive and scarce.
Summary updated