The Curse of Conditions: Analyzing and Improving Optimal Transport for Conditional Flow-Based Generation
Year: 2025
Type: conference-paper
Abstract: Minibatch optimal transport coupling straightens paths in unconditional flow matching. This leads to computationally less demanding inference as fewer integration steps and less complex numerical solvers can be employed when numerically solving an ordinary differential equation at test time. However, in the conditional setting, minibatch optimal transport falls short. This is because the default optimal transport mapping disregards conditions, resulting in a conditionally skewed prior distribution during training. In contrast, at test time, we have no access to the skewed prior, and instead sample from the full, unbiased prior distribution. This gap between training and testing leads to a subpar performance. To bridge this gap, we propose conditional optimal transport ($C^{2} O T$) that adds a conditional weighting term in the cost matrix when computing the optimal transport assignment. Experiments demonstrate that this simple fix works with both discrete and continuous conditions in 8gaussians → moons, CIFAR-10, ImageNet-32$\times 32$, and ImageNet-256$\times 256$. Our method performs better overall compared to the existing baselines across different function evaluation budgets. Code is available at hkchengrex.github.io/C2OT.
Authors: Ho Kei Cheng, Alexander Schwing
Institution: University of Illinois Urbana-Champaign
Language: English
Subfield: Computer Vision and Pattern Recognition
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
Awards: G1957999595, G2926720356, G3147509767, RI: Medium: Creating Knowledge with All-Novel-Class Computer Vision, G5620962805, Category I: Bridging the Gap Between AI/ML Computing Demands and Today's Capabilities, NSF-BSF: RI: Small: Structured Distributions in Deep Nets, CAREER: Learning to Anticipate with Visual Simulation
OpenAlex ID: W4417280700
