Wasserstein Propagation for Semi-Supervised Learning

Justin Solomon, Raif M. Rustamov, Leonidas J. Guibas, Adrian Butscher

Introduction: The Problem with Distributions on Graphs

In many machine learning tasks, data at a given node isn't just a single scalar value; it’s a complex probability distribution or histogram. Examples include traffic density over a 24-hour cycle, product rating histograms, or wind direction frequencies.

Standard semi-supervised learning (SSL) on graphs works by "propagating" known labels from a few boundary nodes to the rest of the graph by minimizing a "smoothness" energy (typically Dirichlet energy). However, if you apply this standard Euclidean approach to histograms bin-by-bin, the bins don't interact. For instance, if you have a peak at 8:00 AM at one node and 10:00 AM at another, standard propagation will simply fade the 8:00 AM peak out while fading the 10:00 AM peak in across the intermediate nodes. In reality, we usually expect a single peak that smoothly shifts in time from 8:00 to 10:00.

Comparison of interpolation methods on a path graph. Standard methods cause peaks to fade, while Wasserstein propagation smoothly shifts the peak.

The Wasserstein Solution

To address this, the authors propose Wasserstein Propagation. This method replaces the standard squared Euclidean distance in the Dirichlet energy formula with the 2-Wasserstein distance ($W_2$), often known as the Earth Mover's Distance. This allows distributions to "move" and "deform" across a graph naturally, avoiding the blurring and artifacts common in traditional approaches.

The 1D "Linear Strategy"

The most elegant contribution of the paper is a highly efficient algorithm for distributions on a 1D line (like time or temperature). The authors leverage the fact that the $W_2$ distance between two 1D distributions is simply the $L^2$ distance between their inverse Cumulative Distribution Functions (CDFs).

This leads to a fast, four-step algorithm:

  1. Convert the labeled boundary histograms into inverse CDFs.
  2. Sample these inverse CDFs at $m$ points.
  3. Propagate these samples across the graph using standard, fast linear solvers (solving the Laplace equation $\Delta g = 0$).
  4. Convert the resulting samples back into histograms for the unlabeled nodes.

For more complex domains where this 1D trick doesn't apply (like histograms of angles on a circle or points in 2D space), the problem is formulated as a large-scale Linear Program (LP). While more computationally expensive, this generalized approach works on any domain with a defined distance metric.

Heatmaps comparing standard PDF interpolation with Wasserstein propagation. Wasserstein maintains the structural integrity and sharpness of the distributions across the graph.

Key Insights and Results

The authors evaluated their method on synthetic data, US daily temperature measurements, and wind direction histograms, revealing several key advantages:

  • Displacement vs. Intensity Interpolation: Unlike standard methods that perform "intensity interpolation" (making a peak dimmer in one spot and brighter in another), Wasserstein propagation performs "displacement interpolation," physically moving the peak across the domain.
  • Entropy Preservation: Traditional methods tend to "oversmooth," leading to high-entropy (nearly uniform) distributions far from labeled nodes. Wasserstein propagation preserves the "sharpness" and certainty of the original distributions.
  • Accuracy and Domain Awareness: On the US temperature dataset, the Wasserstein strategy consistently outperformed naive PDF interpolation, achieving significantly lower error rates even with only 5% of nodes labeled. In wind direction experiments, it correctly identified the dominant wind direction by accounting for the periodic nature of angles (recognizing that 0° and 360° are identical), where classical methods failed.
  • Computational Efficiency: For 1D distributions, the method is essentially "free"—it shares the same computational complexity as standard scalar label propagation.

Limitations and Future Work

While highly effective, the method has limitations. The general Linear Programming formulation for higher-dimensional target domains (like 2D or 3D histograms) scales poorly, with the number of variables growing as $O(m^2|E|)$ (where $m$ is the number of bins and $|E|$ is the number of edges). Additionally, the method assumes that the "spread" (variance) of the distributions should be preserved or interpolated smoothly, which might not be ideal for every application.

Future directions suggested by the authors include exploring approximations like the Sinkhorn distance to speed up the general case and extending the framework to more complex target domains, such as manifolds.

Summary updated

BibTeX
@inproceedings{solomon2014wasserstein,
  author = {Justin Solomon and Raif M. Rustamov and Leonidas J. Guibas and Adrian Butscher},
  title = {{Wasserstein Propagation for Semi-Supervised Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
}
Figure