TL;DR
Branched Optimal Transport Amortization (BOTA) introduces a scalable framework that brings the "economy of scale" from branched optimal transport into continuous-time generative models. By allowing generative trajectories to share common pathways (or "trunks") before splitting into specific targets, BOTA naturally captures hierarchical and multi-modal data structures. Crucially, it achieves this structural alignment during training, leaving inference speeds completely unaffected compared to standard flow matching.
What Problem Does This Paper Address?
State-of-the-art generative models like diffusion and flow matching typically learn independent, straight-line trajectories to transform a simple base distribution into complex data. While mathematically clean, independent paths are a poor fit for data that is inherently hierarchical or multi-modal. For instance, in biological cell differentiation or image datasets organized by taxonomies (like WordNet), different categories share common ancestral traits before diverging. Forcing independent trajectories wastes computational capacity and fails to capture these underlying relationships.
Branched Optimal Transport (BOT) offers a classical mathematical solution by minimizing costs using a subadditive function, which naturally incentivizes paths to coalesce into tree-like networks. However, classical BOT is notoriously difficult to scale—optimizing these networks is NP-hard and requires solving massive partial differential equation (PDE) systems, limiting its use to low-dimensional problems.
Methods
The authors introduce BOTA (also referred to as Branched Flow Matching) to make BOT scalable using a practical two-stage approach:
- Discrete Branched Transport Solver: For a fixed batch of source and target samples, the method computes an exemplar branched flow. To overcome the fact that continuous normalizing flows (CNFs) define continuous densities while classical BOT requires discrete point masses, the authors introduce a soft-atomic relaxation. This differentiable proxy uses Gaussian kernels to softly assign particle masses to a predefined set of $K$ proxy atoms, making the discrete optimization problem solvable via standard gradient descent.
- Amortization via Flow Matching: The discrete trajectories from the first stage are linearly interpolated to construct a continuous-time target vector field. A neural network velocity field ($v_\theta$) is then trained to regress onto this target field using a standard flow-matching objective.
Once trained, the neural network can generate new samples by solving a standard Ordinary Differential Equation (ODE), effectively amortizing the expensive discrete optimization process.
Datasets
The authors evaluated BOTA across several distinct benchmarks:
- Synthetic Gaussian Mixtures: Used to qualitatively demonstrate the formation of branching structures as the number of target clusters increases.
- Tedsim Dataset: A simulated biological dataset modeling single-cell RNA-seq cellular differentiation pathways with known ground-truth dynamics.
- MNIST: The classic handwritten digits dataset, specifically tested on class-conditional mappings (e.g., generating 0s and 1s).
- FFHQ: A high-resolution face dataset, evaluated within the latent space of a pretrained Adversarial Latent Autoencoder (ALAE) for a female-to-male translation task.
Key Insights and Ideas
- The Power of $\alpha$: The branching parameter $\alpha \in (0, 1)$ dictates the topology of the network. Smaller values of $\alpha$ strongly favor cooperative routing (shared trunks), while larger values ($\alpha \rightarrow 1$) cause trajectories to become independent, recovering classical straight-line optimal transport.
- Bridging Continuous and Discrete: The "soft-atomic cost" is the core mathematical bridge. It allows gradient-based deep learning frameworks to optimize a structural property (branching) that is inherently discrete and non-differentiable in its pure form.
- Zero Inference Overhead: Because the complex tree-structured routing is distilled directly into the velocity field during training, the sampling cost at inference time is identical to standard flow matching ($1\times$).
Key Results
- Qualitative Structure: As shown in the Gaussian mixture experiments, standard Flow Matching yields messy, crossing, independent paths, whereas BOTA successfully discovers clean, shared "trunks" before splitting into distinct branches.
- Biological Accuracy: On the Tedsim dataset, BOTA outperformed all baselines—including Flow Matching (FM), Conditional Flow Matching (CFM), and Branched Schrödinger Bridge Matching (BSBM)—across Wasserstein distances ($W_1, W_2$) and Maximum Mean Discrepancy (RBF-MMD).
- Image Quality: On the high-resolution FFHQ dataset, BOTA achieved a lower Frechet Inception Distance (FID) score ($10.46 \pm 1.80$) compared to standard Flow Matching ($10.61 \pm 1.39$), proving that respecting data geometry enhances generation quality.
- Computational Efficiency: BOTA introduces a bounded training overhead, taking roughly $2\times$ the total training time of standard FM, which is a one-time offline cost.
Limitations and Future Work
The primary limitation of BOTA is its reliance on the soft-atomic relaxation hyperparameters. The geometry of the learned paths depends heavily on the choice of the number of proxy atoms ($K$) and the kernel bandwidth ($\sigma$), which currently require task-specific tuning. Additionally, the two-stage optimization pipeline introduces extra design complexity compared to end-to-end models. Future work could explore adaptive methods for positioning proxy atoms or extending the framework to discrete data domains.
Summary updated