Wasserstein Gradient Flows of the Discrepancy with Distance Kernel on the Line

Johannes Hertrich, Robert Beinert, Manuel Gräf, Gabriele Steidl

Abstract

This paper investigates the analytical properties of Wasserstein gradient flows on the real line, specifically focusing on the Maximum Mean Discrepancy (MMD) with a non-smooth negative distance kernel. By leveraging an isometric embedding of the Wasserstein space into a Hilbert space of quantile functions, the authors derive explicit analytic formulas for the evolution of probability measures. The study reveals that while MMD is generally non-convex in higher dimensions, it remains convex along geodesics on the real line, leading to unique global minimizers and predictable flow behaviors, such as the "melting" of point masses into continuous distributions.

Introduction

Gradient flows in the Wasserstein space—the space of probability measures—have become a cornerstone of modern machine learning, underpinning diverse applications from training Generative Adversarial Networks (GANs) to sampling via Langevin dynamics. However, these flows are mathematically complex because the Wasserstein space is not a standard flat vector space; it is a manifold-like structure where geodesics are defined by optimal transport.

When utilizing Maximum Mean Discrepancy (MMD) as a loss function, researchers typically employ smooth kernels, such as the Gaussian kernel, where particles follow standard gradient descent. This paper explores the more complex case of non-smooth kernels, specifically the negative distance kernel ($K(x, y) = -|x - y|$). This kernel introduces a repulsive interaction energy that prevents particle clumping, potentially causing measures to spread into continuous distributions. The authors provide a rigorous framework to understand these flows on the real line, where the mathematics becomes more tractable.

Methodology: Isometric Embedding

The authors employ a powerful mathematical technique to simplify the analysis: isometric embedding. On the real line ($\mathbb{R}$), every probability measure can be uniquely represented by its quantile function. The authors demonstrate that the Wasserstein space $P_2(\mathbb{R})$ can be isometrically embedded into the Hilbert space $L_2((0, 1))$.

By mapping the complex geometry of probability measures into this flat Hilbert space, the evolution of the measure can be solved as a subgradient flow. This transformation allows the MMD functional to be characterized as a convex functional in $L_2$, enabling the use of the theory of maximal monotone operators to prove the existence and uniqueness of the flow.

Key Theoretical Insights

Convexity on the Line

A significant finding of this work is that while MMD with Riesz kernels is generally non-convex in dimensions $d \geq 2$, it is convex along geodesics on the real line. This convexity is a critical property, as it guarantees that the gradient flow will reliably converge to a unique global minimizer, avoiding the saddle points often encountered with smooth kernels.

The "Melting" Particle Phenomenon

In standard gradient descent, a point mass (Dirac measure) typically remains a point mass. However, in Wasserstein flows with a negative distance kernel, a Dirac measure can immediately "melt" into a continuous distribution. This occurs because the repulsive interaction energy forces the mass to spread out. The flow demonstrates a delicate balance between potential energy (pulling the measure toward the target) and interaction energy (the repulsive force ensuring proper distribution spread).

Results and Analytic Solutions

The paper provides a closed-form solution (Proposition 1) for the flow $g_t(s)$, describing the exact evolution of the quantile function over time. This is a rare achievement in gradient flow literature, where solutions are predominantly numerical.

Key observations from these solutions include:

  • Finite vs. Infinite Time Convergence: Depending on the target measure, the flow may reach the optimum in finite time (e.g., when flowing toward a Dirac measure) or converge only as $t \to \infty$ (e.g., when flowing toward a uniform distribution).
  • Evolutionary Dynamics: The flow of a Dirac measure toward a target does not simply involve a translation of the mass. Instead, the measure expands into an absolutely continuous "block" that grows until it reaches the destination, at which point mass begins to accumulate at the target.

Limitations and Future Work

While the results provide deep insights, they are currently limited by dimensionality. The quantile function trick is specific to the real line ($d=1$), and extending these analytic results to higher dimensions is challenging because no simple isometric embedding exists for $P_2(\mathbb{R}^d)$. Additionally, the analytic results are tailored specifically to the negative distance kernel ($r=1$) and do not immediately generalize to other Riesz kernels.

Future research directions suggested by the authors include using Radon transforms to lift these 1D results into multivariate settings—similar to Sliced-Wasserstein distances—and incorporating deep learning techniques to manage empirical measures in higher-dimensional spaces.

Summary updated

BibTeX
@inproceedings{hertrich2023wasserstein,
  author = {Johannes Hertrich and Robert Beinert and Manuel Gräf and Gabriele Steidl},
  title = {{Wasserstein Gradient Flows of the Discrepancy with Distance Kernel on the Line}},
  booktitle = {SSVM},
  year = {2023},
  url = {https://openreview.net/forum?id=3srhnIDJc-},
}
Figure