TL;DR
This paper introduces a framework to incorporate "unbalancedness" into neural Monge map estimators, relaxing the strict mass conservation constraint of classical Optimal Transport (OT). By allowing for mass creation or destruction, the proposed method (UOT-FM) significantly improves performance in unpaired domain translation tasks, ranging from biological cell trajectory inference to high-resolution image-to-image translation.
The Problem with Strict Mass Conservation
Unpaired domain translation—transforming data from one distribution to another without direct examples of "before and after"—is a cornerstone of modern AI. It is used in everything from style transfer in computer vision to predicting how a cell reacts to a drug in computational biology.
Optimal Transport (OT) is a popular framework for this because it finds the most "cost-efficient" way to move one distribution to another. The resulting transformation is called a Monge map. However, classical OT has a major limitation: it assumes strict mass conservation. It insists that every single point in the source must be mapped to the target.
In the real world, data is messy. You might have outliers in your source that don't belong in the target, or severe class imbalances (e.g., a dataset with 1,000 men but only 500 women). Forcing a strict match in these scenarios leads to distorted mappings where the model tries too hard to account for every outlier, often destroying relevant features of the input in the process.
A Re-weighting Approach to Unbalanced OT
To tackle this, the authors propose a theoretically grounded re-scaling scheme that can be plugged into virtually any neural Monge map estimator.
Instead of forcing a direct map between the raw source ($\mu$) and target ($\nu$), the method performs a two-step procedure:
- Re-weighting: It learns re-weighting functions ($u$ and $v$) that "scale" the source and target distributions into new versions that have equal mass, effectively filtering out outliers or incompatible classes.
- Balanced Mapping: It then computes a standard (balanced) Monge map between these rescaled distributions.
The authors specifically showcase this with UOT-FM (Unbalanced Optimal Transport Flow Matching). By integrating unbalanced OT couplings into the training process of continuous normalizing flows, the model learns to ignore "distractor" data points and focus on the core transformation. Remarkably, this unbalanced version adds almost zero computational overhead compared to the balanced version.
Key Insights and Results
The researchers validated their approach across diverse domains, including single-cell RNA-seq (mouse pancreas development, sciPlex drug responses) and image datasets (EMNIST, CelebA, CIFAR-10).
Fixing Biological "Shortcuts"
In single-cell biology, mass conservation often forces cells to move toward the largest population in the next time step, even if it is biologically incorrect. Unbalanced OT allows the model to respect biological boundaries by accounting for different proliferation and apoptosis rates.
In a mouse pancreas development task, standard OT-ICNN correctly predicted the transition of certain progenitor cells (Ngn3 EP) only 7% of the time. The unbalanced version (UOT-ICNN) skyrocketed this accuracy to 69%, correctly routing the cells as highlighted in the trajectories above.
Superior Image Translation and Outlier Handling
Unbalanced OT acts as a natural filter. If a data point in the source is too "expensive" to move to the target, the model can simply "destroy" its mass.
- Handling Imbalance: In an EMNIST digits-to-letters task designed to test extreme class imbalances, UOT-FM achieved an average FID of 23.0, nearly halving the error of standard OT-FM (36.9), which previously failed to correctly map digits to their corresponding letter shapes due to population shifts.
- High-Resolution Images: On the CelebA dataset, UOT-FM outperformed established methods like CycleGAN and UVCGAN. For the Male $\to$ Female translation task, UOT-FM achieved an FID score of 13.9, beating CycleGAN's 15.2, while better preserving the "identity" and background of the source image.
Limitations and Future Work
While highly effective, the method introduces a hyperparameter $\tau$ that controls the "level" of unbalancedness. Currently, finding the optimal $\tau$ requires a grid search, as there isn't yet a principled way to determine it automatically for every dataset. Furthermore, if $\tau$ is set too low, the model might accidentally "remove" rare but important data points. Finally, the authors suggest that exploring cost functions tailored to specific data geometries (like the manifold of gene expressions) could further improve results beyond the standard squared Euclidean distance.
Summary updated