Abstract
Optimal Transport (OT) is a fundamental tool for distribution comparison, yet its reliance on separable linear costs often leads to the destruction of inherent data structures. This paper introduces Structured Optimal Transport (SOT), a framework that replaces linear costs with nonlinear, submodular functions. This approach encourages groups of points to move together, preserving structures like class labels or spatial clusters. We demonstrate that SOT significantly outperforms traditional OT in domain adaptation, natural language processing similarity tasks, and image color transfer.
Introduction
Optimal Transport is widely used for comparing probability distributions, famously known as the Earth Mover's Distance (EMD). However, standard OT has a significant limitation: it assumes the cost of moving mass is separable. In this framework, the cost of moving point $A$ to point $B$ is independent of where point $C$ is transported.
In many real-world scenarios, such as domain adaptation, this independence is a flaw. Ideally, samples belonging to the same class (e.g., "Cat") should be mapped to the same general region in the target space. Standard OT often splits these classes apart to minimize individual point-to-point distances. SOT addresses this by introducing nonlinear interactions into the transport cost, allowing the model to recognize and respect underlying data groupings.
Methodology
The core innovation of SOT is the use of submodular set functions to define transport costs.
- Submodularity as a "Volume Discount": Submodular functions encode the property of diminishing returns. In transport, this means the marginal cost of mapping an additional point from a specific group decreases as more points from that group are already mapped. This "discount" encourages coherent group movement.
- The Lovász Extension: To handle the continuous/fractional assignments inherent in OT, the authors utilize the Lovász extension to transform discrete submodular functions into continuous, convex ones.
- Optimization: The problem is framed as a saddle-point game and solved using the Saddle Point Mirror Prox (SP-MP) algorithm. This approach offers a faster convergence rate ($O(1/t)$) than standard subgradient methods.
Experimental Evaluation
The authors evaluated SOT across several domains, demonstrating its versatility and performance gains over structure-agnostic methods.
Domain Adaptation
On the MNIST $\to$ USPS digit classification task, SOT achieved 62.97% accuracy, a substantial improvement over standard EMD (37.72%) and group-lasso regularized versions (57.12%).
Natural Language Processing
By grouping neighboring words (n-grams), the authors developed a "syntax-aware" Word Mover's Distance. This model showed a significantly higher correlation with human similarity scores ($\rho = 0.75$) compared to the standard WMD ($\rho = 0.71$).
Image Color Transfer
In color transfer experiments, SOT was used with superpixels as structural groups. Qualitatively, SOT produced images with uniform and sharp color distributions, avoiding the "speckled" artifacts common in entropy-regularized OT.
Discussion and Conclusion
SOT allows for the injection of domain knowledge—such as "these points belong together"—directly into the optimization objective. While it is more computationally demanding than the standard Sinkhorn algorithm, its flexibility in handling hierarchies and coverage constraints makes it a powerful framework for structured data.
Future work may focus on learning the submodular cost functions directly from data to reduce the need for manual structure definition, and improving scalability for extremely large datasets where exact projections may become a bottleneck.
Summary updated