Sinkhorn Barycenters with Free Support via Frank-Wolfe Algorithm

Giulia Luise, Saverio Salzo, Massimiliano Pontil, Carlo Ciliberto

Introduction

In modern machine learning, representing the "average" of multiple data distributions—such as images, point clouds, or sensor readings—is a fundamental task. While the standard Euclidean mean is often used, it frequently fails to capture the underlying geometry of the data, resulting in blurry or non-physical averages. Optimal Transport (OT) metrics, specifically the Wasserstein distance, offer a geometrically meaningful alternative. However, computing Wasserstein barycenters is computationally intensive and often requires pre-defining a fixed grid for the barycenter's support, which becomes prohibitively expensive in high-dimensional spaces.

This paper introduces a memory-efficient algorithm to compute barycenters using Sinkhorn divergence. By leveraging the Frank-Wolfe (FW) optimization framework, the proposed method builds the support of the barycenter incrementally. This "free support" approach avoids the need for a massive, fixed grid and provides the first formal convergence guarantees for this setting.

The Problem: Support Identification and Scalability

Calculating barycenters via regularized OT (Sinkhorn loss) typically faces two major hurdles:

  1. Support Identification: Most existing algorithms require fixing the locations of the points (the support) of the barycenter ahead of time. In high dimensions, the number of grid points required to represent a distribution accurately grows exponentially, leading to massive memory requirements.
  2. Continuous Measures: When dealing with continuous distributions, researchers often rely on heuristic sampling. There has been a lack of strong theoretical backing regarding the number of samples necessary to ensure convergence.

The Frank-Wolfe Approach

The authors propose a greedy, incremental algorithm based on the Frank-Wolfe framework. Unlike previous free-support methods that rely on alternating minimization—which is often non-convex and lacks convergence guarantees—this approach builds the barycenter point by point.

The Core Algorithm

  • Initialization: The process begins with a single point (a Dirac delta).
  • Incremental Growth: In each iteration, the algorithm identifies a new optimal location in the domain to add to the barycenter's support.
  • Weight Update: The weights of all existing points are then updated to minimize the Sinkhorn objective.
  • Sparsity: Because the support grows by at most one point per iteration, the algorithm naturally seeks a sparse representation, making it extremely memory-efficient.

Theoretical Breakthroughs

A key contribution of this work is the establishment of a landmark theoretical result: the authors prove that the gradient of the Sinkhorn divergence is Lipschitz continuous with respect to the Total Variation (TV) distance. This mathematical property allows the authors to provide the first rigorous convergence rates for free-support Sinkhorn barycenters:

  • Discrete Distributions: A convergence rate of $O(1/k)$, where $k$ is the number of iterations.
  • Continuous Distributions: A convergence rate of $O(k^{-1/2})$. For continuous measures, the authors demonstrate that if one samples $n \approx k^2$ points, the $O(1/k)$ rate can be recovered.

Experimental Validation

The authors validated the Frank-Wolfe approach across a variety of synthetic and real-world datasets:

  • Synthetic Tests: The algorithm successfully computed barycenters for 30 randomly generated nested ellipses and 5 Gaussian mixtures in $\mathbb{R}^2$, demonstrating its ability to handle both discrete and continuous settings.
  • Image Processing: Using a subset of the MNIST dataset, the algorithm was applied to $k$-means clustering. In qualitative tests, it reconstructed complex shapes (such as a cat's face) using only a few thousand support points, effectively learning the most salient features of the distribution.
  • Real-World Weather Data: The method was tested on data from 115 weather stations in Texas to predict missing temperature and pressure measurements. The Frank-Wolfe approach outperformed the standard Dirichlet propagation baseline, particularly in scenarios with low data availability (10%–30% of stations).
  • Scalability: The algorithm's ability to handle higher-dimensional spatial data was demonstrated using a 3D "dinosaur" mesh.

Key Insights

  • Debiasing: The use of Sinkhorn Divergence—rather than standard Sinkhorn Loss—is critical. The divergence includes interpolation terms that remove entropic bias, ensuring that the barycenter of a distribution with itself correctly results in the original distribution.
  • Efficiency: By avoiding fixed grids, the algorithm provides a scalable path for OT applications in high-dimensional spaces where traditional methods fail.

Limitations and Future Work

While the algorithm is robust, the "Minimize" step—finding the next best point to add to the support—involves solving a non-convex optimization problem. Although first-order methods perform well in practice, global optimality for this specific sub-step remains unproven. Additionally, the current model represents barycenters as collections of Dirac deltas; future research may explore extending this to smoother representations, such as mixtures of Gaussians, to better approximate continuous densities.

Summary updated

BibTeX
@inproceedings{luise2019sinkhorn,
  author = {Giulia Luise and Saverio Salzo and Massimiliano Pontil and Carlo Ciliberto},
  title = {{Sinkhorn Barycenters with Free Support via Frank-Wolfe Algorithm}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure