Standard Optimal Transport (OT) is a powerful mathematical tool for measuring distances between probability distributions because it accounts for the underlying geometry of the data space. However, it has a notorious "glass jaw": it is extremely sensitive to outliers.
In standard OT, all probability mass from the source distribution must be moved to the target. If your data contains even a tiny fraction of "contaminated" points located very far from the main cluster, the cost to transport that mass becomes massive, distorting the entire distance metric. This makes OT-based loss functions (like those used in Wasserstein GANs) perform poorly in real-world scenarios where data is often noisy or maliciously corrupted.
To address this, researchers introduce ROBOT (ROBust Optimal Transport), a formulation that is mathematically equivalent to simply capping transport costs at a threshold. This simple "cost truncation" trick allows ROBOT to plug directly into existing fast OT algorithms, providing a principled and efficient way to handle contaminated data.
Methods: Total Variation and Cost Truncation
The authors propose a robust version of OT by adding a Total Variation (TV) regularization term. This allows the model to "ignore" or modify parts of the data distribution by paying a penalty proportional to the amount of mass modified.
The core technical breakthrough of the paper is proving that this seemingly complex regularized problem is exactly equivalent to OT with a truncated cost function. Instead of using a standard cost $c(x, y)$ (like squared Euclidean distance), ROBOT uses:
$$C_\lambda(x, y) = \min\{c(x, y), 2\lambda\}$$
where $\lambda$ is a robustness hyperparameter.
This equivalence is a major practical win: it means researchers don't need specialized new solvers. They can simply clip their cost matrix and use standard, highly optimized tools like the Sinkhorn algorithm. Furthermore, the authors provide a method to reconstruct "slack" variables from the truncated cost solution. These variables explicitly identify which data points were treated as outliers by capturing the mass that was too "expensive" to transport.
Key Insights
- The Equivalence Insight: The most powerful idea is that allowing a model to "ignore mass" (TV-regularization) is mathematically identical to "capping the cost of moving mass" (cost truncation).
- Guaranteed Robustness: Unlike standard OT, the authors prove a theoretical bound showing that an adversary cannot increase the ROBOT distance arbitrarily, no matter how far away they place an outlier.
- Outlier Detection "For Free": Because ROBOT explicitly accounts for mass that shouldn't be transported, it provides a principled way to identify outliers by looking at which points were assigned to the slack variables.
- The "No-Harm" Property: Empirical tests show that when data is clean (no outliers), ROBOT performs nearly as well as standard OT, meaning there is little downside to using the robust version by default.
Datasets and Key Results
The authors evaluated ROBOT on simulated data (Gaussian and Cauchy distributions under the Huber contamination model) for robust mean estimation, and on the MNIST dataset for a "wild" outlier detection task.
- Robust Mean Estimation: In GAN-based mean estimation, ROBOT consistently outperformed or matched other robust loss functions (like Jensen-Shannon or Squared Hellinger) across different contamination levels and distributions.
- Superior Outlier Detection: On the MNIST task, a "clean" set of digits (0-4) was used to help identify "outlier" digits (5-9) hidden within a contaminated dataset. ROBOT-Sinkhorn achieved 89.7% accuracy in identifying outlier digits, significantly outperforming standard baselines like Isolation Forests (63.6%) and One-class SVMs (49.6%).
- Computational Efficiency: By leveraging the cost-truncation equivalence, ROBOT is orders of magnitude faster than previous robust OT methods that relied on general-purpose convex solvers. For a sample size of $n=1000$, ROBOT-Sinkhorn ran in 6 seconds, while a competing robust method took nearly an hour (3343 seconds).
Limitations and Future Work
While ROBOT is highly effective across a broad range of $\lambda$ values, performance does degrade if $\lambda$ is chosen poorly (too small and you ignore real data; too large and you lose robustness). The authors suggest a heuristic based on subsampling clean data, but more formal hyperparameter selection methods are a target for future work. Additionally, while the empirical results for outlier detection are strong, a rigorous theoretical analysis of the guarantees for this specific detection method remains to be explored.
Summary updated