Abstract
Optimal Transport (OT) distances provide a powerful geometric framework for comparing probability distributions, yet their application in machine learning is often hindered by sensitivity to outliers, high computational costs, and the curse of dimensionality. This paper introduces Unbalanced Sinkhorn Divergences, a robust and computationally efficient family of loss functions that unify entropic regularization with unbalanced optimal transport. By relaxing strict mass conservation and utilizing a debiased entropic formulation, the proposed framework offers a geometrically sensitive metric that is both statistically efficient and fast enough for large-scale applications.
1. Introduction
Comparing probability measures is a fundamental task in machine learning, appearing in generative modeling, domain adaptation, and imaging. While the Wasserstein distance (derived from Optimal Transport) is prized for its ability to incorporate the underlying geometry of the sample space, it suffers from three primary limitations:
- Sensitivity to Outliers: Standard OT requires strict mass conservation. A single outlier far from the main distribution can disproportionately inflate the transport cost.
- Computational Complexity: Solving the exact OT problem typically scales as $O(N^3 \log N)$, which is prohibitive for modern deep learning datasets.
- Statistical Sample Complexity: In high dimensions, the number of samples required to accurately estimate the Wasserstein distance grows exponentially with the dimension ($O(n^{-1/d})$).
While entropic regularization (the Sinkhorn algorithm) addressed the speed issue, it introduced a mathematical bias where the distance from a distribution to itself is non-zero. This research presents a unified framework to resolve these issues simultaneously through the lens of Unbalanced Sinkhorn Divergences.
2. The Unbalanced Sinkhorn Divergence Framework
The authors propose the Unbalanced Sinkhorn Divergence ($S_\epsilon$), a metric built upon three theoretical pillars:
2.1 Unbalanced Optimal Transport
Unlike standard OT, which forces marginals to match exactly, unbalanced OT utilizes Csiszár $\phi$-divergences (such as Kullback-Leibler or Total Variation) as soft penalties. This allows the model to "destroy" or "create" mass if moving it is too costly, effectively making the metric robust to occlusions and outliers.
2.2 Entropic Regularization
By adding an entropy term ($\epsilon KL$) to the optimization objective, the problem becomes strictly convex. This transformation allows the use of the Sinkhorn Algorithm, which is highly parallelizable on GPUs and significantly faster than traditional linear programming solvers.
2.3 Debiasing
To correct the "entropic bias" inherent in regularized OT, the authors employ a debiasing formula: $$S_\epsilon(\alpha, \beta) = OT_\epsilon(\alpha, \beta) - \frac{1}{2}OT_\epsilon(\alpha, \alpha) - \frac{1}{2}OT_\epsilon(\beta, \beta)$$ This ensures that $S_\epsilon(\alpha, \alpha) = 0$, satisfying the requirements of a true divergence.
3. Technical Innovations
A significant contribution of this work is the introduction of the anisotropic proximity operator (Aprox). This operator allows the Sinkhorn algorithm to generalize across a wide variety of penalty functions—including KL divergence, Total Variation, and range constraints—while maintaining linear convergence rates.
Furthermore, the framework introduces a "Reach" parameter ($\rho$). In this context, $\rho$ acts as a characteristic radius: if the distance required to move mass exceeds $\rho$, the model opts to delete the mass at the source and recreate it at the target. This provides a principled, geometric threshold for noise rejection.
4. Empirical Evaluation
4.1 Synthetic Benchmarks
The authors utilized 1D and 2D synthetic measures to visualize gradient flows. These experiments demonstrated how the choice of the entropy function $\phi$ influences the behavior of the divergence, showing a smooth interpolation between Maximum Mean Discrepancy (MMD) at high regularization and standard OT at low regularization.
4.2 3D Scene Flow on KITTI
The method was tested on the KITTI dataset, a benchmark for autonomous driving. By using cropped 3D LiDAR point clouds, the authors estimated "3D scene flow"—the movement of objects between consecutive frames. LiDAR data is notoriously noisy and prone to occlusions. The Unbalanced Sinkhorn Divergence successfully recovered smooth displacement fields for moving vehicles even when the ground plane was inconsistently sampled or partially missing, outperforming standard OT approaches that struggled with the missing mass.
5. Key Results and Insights
- Linear Convergence: The generalized Sinkhorn algorithm is proven to converge linearly for a broad range of unbalanced settings, ensuring reliability in production pipelines.
- Statistical Efficiency: The authors demonstrate that the sample complexity of $S_\epsilon$ is $O(1/\sqrt{n})$. This is a significant improvement over the $O(n^{-1/d})$ rate of unregularized OT, meaning the metric remains robust even in high-dimensional spaces with limited data.
- Mathematical Soundness: $S_\epsilon$ is proven to be a positive, definite, and convex divergence that metrizes the convergence in law.
6. Conclusion and Future Directions
Unbalanced Sinkhorn Divergences provide a robust, fast, and mathematically grounded alternative to traditional OT. While the method introduces hyperparameters such as blur ($\epsilon$) and reach ($\rho$) that require tuning, its ability to handle noisy, high-dimensional data makes it a powerful tool for modern machine learning.
Future work includes extending theoretical proofs to non-compact spaces (such as Gaussian measures on $\mathbb{R}^d$) and integrating these divergences as loss functions within generative frameworks like GANs and VAEs to improve training stability on real-world, imperfect datasets.
Summary updated