Skip to main content
QUICK REVIEW

[Paper Review] Learning with a Wasserstein Loss

Charlie Frogner, Chiyuan Zhang|arXiv (Cornell University)|Jun 17, 2015
Topological and Geometric Data AnalysisComputer Science25 references270 citations
TL;DR

This paper introduces a novel Wasserstein-based loss function for multi-label learning that leverages a predefined ground metric on the output space to improve prediction robustness. By using entropic regularization for efficient computation, the method encourages semantically smooth predictions—outperforming standard losses on a real-world image tagging task using the Yahoo Flickr dataset, especially under label noise.

ABSTRACT

Learning to predict multi-label outputs is challenging, but in many problems there is a natural metric on the outputs that can be used to improve predictions. In this paper we develop a loss function for multi-label learning, based on the Wasserstein distance. The Wasserstein distance provides a natural notion of dissimilarity for probability measures. Although optimizing with respect to the exact Wasserstein distance is costly, recent work has described a regularized approximation that is efficiently computed. We describe an efficient learning algorithm based on this regularization, as well as a novel extension of the Wasserstein distance from probability measures to unnormalized measures. We also describe a statistical learning bound for the loss. The Wasserstein loss can encourage smoothness of the predictions with respect to a chosen metric on the output space. We demonstrate this property on a real-data tag prediction problem, using the Yahoo Flickr Creative Commons dataset, outperforming a baseline that doesn't use the metric.

Motivation & Objective

  • Address the challenge of multi-label learning where output classes have inherent semantic relationships or a defined metric structure.
  • Improve prediction quality by incorporating prior knowledge of output space similarity into the loss function.
  • Develop an efficient optimization method for the Wasserstein loss, which is otherwise computationally prohibitive.
  • Extend the Wasserstein loss to unnormalized measures while preserving computational efficiency.
  • Provide a statistical learning bound to justify empirical risk minimization with the proposed loss.

Proposed method

  • Formulate multi-label prediction as learning to predict a non-negative measure over a finite output space.
  • Define a loss function based on the Wasserstein distance between predicted and ground-truth measures, using a given ground metric on the output space.
  • Apply entropic regularization to the optimal transport problem to enable efficient computation of the Wasserstein distance.
  • Propose a novel extension of the regularized Wasserstein loss to unnormalized measures, maintaining computational efficiency.
  • Combine the Wasserstein loss with a standard KL divergence loss in a weighted objective to balance semantic smoothness and maximum likelihood.
  • Use empirical risk minimization with the regularized Wasserstein loss for training deep learning models.

Experimental results

Research questions

  • RQ1Can the Wasserstein distance be effectively used as a supervised learning loss to improve predictions in multi-label settings with structured output spaces?
  • RQ2How can the computational cost of optimizing with the exact Wasserstein distance be reduced while preserving its desirable properties?
  • RQ3To what extent does incorporating a ground metric into the loss improve generalization, especially under label noise or semantic confusion?
  • RQ4How does the proposed loss compare to standard losses like cross-entropy in terms of top-K performance and robustness?
  • RQ5Can the Wasserstein loss be meaningfully extended to unnormalized measures without sacrificing computational efficiency?

Key findings

  • The Wasserstein loss significantly improves prediction robustness to label noise, particularly when classes are semantically similar (e.g., Siberian husky vs. Eskimo dog).
  • On the Yahoo Flickr Creative Commons dataset, the Wasserstein loss outperforms the baseline divergence-based loss in top-K cost, especially when the number of proposed tags is small.
  • The optimal trade-off between AUC and top-K cost is achieved when the Wasserstein loss is weighted more heavily than in the standard AUC-optimized setting.
  • The proposed method achieves better performance on the reduced-redundancy Flickr tag dataset, demonstrating robustness to label redundancy.
  • Visual examples show that the Wasserstein-based model produces semantically relevant predictions even when overlapping minimally with ground-truth tags.
  • The statistical learning bound supports the generalization performance of the empirical risk minimization framework using the Wasserstein loss.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.