Skip to main content
QUICK REVIEW

[Paper Review] A New Robust Partial $p$-Wasserstein-Based Metric for Comparing Distributions

Sharath Raghvendra, Pouyan Shirzadian|arXiv (Cornell University)|May 6, 2024
Image and Signal Denoising MethodsComputer Science3 citations
TL;DR

This paper introduces the $k$-RPW metric, a robust partial $p$-Wasserstein-based distance that combines the sensitivity of $2$-Wasserstein to geometric differences with improved robustness to outliers and sampling discrepancies. It achieves a faster convergence rate of $n^{-1/3}$ in $ ^2$ compared to $n^{-1/4}$ for empirical $2$-Wasserstein, outperforming TV, $1$-Wasserstein, and $2$-Wasserstein in image retrieval on noisy data.

ABSTRACT

The $2$-Wasserstein distance is sensitive to minor geometric differences between distributions, making it a very powerful dissimilarity metric. However, due to this sensitivity, a small outlier mass can also cause a significant increase in the $2$-Wasserstein distance between two similar distributions. Similarly, sampling discrepancy can cause the empirical $2$-Wasserstein distance on $n$ samples in $\mathbb{R}^2$ to converge to the true distance at a rate of $n^{-1/4}$, which is significantly slower than the rate of $n^{-1/2}$ for $1$-Wasserstein distance. We introduce a new family of distances parameterized by $k \ge 0$, called $k$-RPW that is based on computing the partial $2$-Wasserstein distance. We show that (1) $k$-RPW satisfies the metric properties, (2) $k$-RPW is robust to small outlier mass while retaining the sensitivity of $2$-Wasserstein distance to minor geometric differences, and (3) when $k$ is a constant, $k$-RPW distance between empirical distributions on $n$ samples in $\mathbb{R}^2$ converges to the true distance at a rate of $n^{-1/3}$, which is faster than the convergence rate of $n^{-1/4}$ for the $2$-Wasserstein distance. Using the partial $p$-Wasserstein distance, we extend our distance to any $p \in [1,\infty]$. By setting parameters $k$ or $p$ appropriately, we can reduce our distance to the total variation, $p$-Wasserstein, and the Lévy-Prokhorov distances. Experiments show that our distance function achieves higher accuracy in comparison to the $1$-Wasserstein, $2$-Wasserstein, and TV distances for image retrieval tasks on noisy real-world data sets.

Motivation & Objective

  • Address the sensitivity of $2$-Wasserstein distance to small outliers and sampling discrepancies in empirical estimates.
  • Develop a metric that retains the geometric sensitivity of $p$-Wasserstein for $p=2$ while improving robustness to noise and distribution shifts.
  • Improve the convergence rate of empirical $p$-Wasserstein distances in low-dimensional spaces, particularly in $ ^2$.
  • Design a flexible distance that interpolates between $p$-Wasserstein, total variation (TV), and Lévy-Prokhorov distances via parameter $k$ or $p$.
  • Provide a theoretically grounded, metric-compliant distance suitable for use in generative modeling and distribution comparison tasks.

Proposed method

  • Propose the $k$-RPW metric as a partial $2$-Wasserstein distance that allows up to $k$ units of mass to be left unmatched, reducing sensitivity to outliers.
  • Formalize the $k$-RPW distance as the infimum of $2$-Wasserstein costs over all couplings that preserve at least $k$ mass in each distribution.
  • Prove that $k$-RPW satisfies all metric properties: non-negativity, identity of indiscernibles, symmetry, and triangle inequality.
  • Extend the framework to general $p o ^p$-Wasserstein distances, defining the $(p,k)$-RPW metric for any $p eq 1$.
  • Demonstrate that $k$-RPW converges to the true distance at rate $n^{-1/3}$ for $p=2$ in $ ^2$, faster than the $n^{-1/4}$ rate of standard $2$-Wasserstein.
  • Show that $k$-RPW interpolates between $p$-Wasserstein and TV distance as $k$ varies, and equals the Lévy-Prokhorov distance when $p = $.

Experimental results

Research questions

  • RQ1Can a partial $p$-Wasserstein-based metric be constructed that retains the geometric sensitivity of $2$-Wasserstein while being robust to small outlier masses?
  • RQ2What is the convergence rate of the empirical $k$-RPW distance on $n$ samples in $ ^2$, and how does it compare to the $n^{-1/4}$ rate of standard $2$-Wasserstein?
  • RQ3How does the $k$-RPW metric interpolate between $p$-Wasserstein and total variation distances as $k$ varies?
  • RQ4Can the $k$-RPW metric be extended to general $p o ^p$-Wasserstein distances while preserving its robustness and metric properties?
  • RQ5Does the $k$-RPW metric outperform TV, $1$-Wasserstein, and $2$-Wasserstein distances in real-world image retrieval tasks under noise and distribution shifts?

Key findings

  • The $k$-RPW metric achieves a convergence rate of $n^{-1/3}$ for empirical distances in $ ^2$, which is faster than the $n^{-1/4}$ rate of standard $2$-Wasserstein distance.
  • On the MNIST dataset with noise, the $(2,1)$-RPW distance outperforms $1$-Wasserstein and $2$-Wasserstein, demonstrating improved robustness while preserving geometric sensitivity.
  • On the CIFAR-10 dataset with inherent image variations, the $(2,0.1)$-RPW distance outperforms even the $1$-Wasserstein distance, indicating superior handling of distributional shifts.
  • For small $k$ (e.g., $k=0.1$), the $(2,k)$-RPW distance closely approximates the total variation distance, while for large $k$, it behaves like a scaled $2$-Wasserstein distance.
  • The $(2,1)$-RPW distance converges to zero significantly faster than the $2$-Wasserstein distance on both synthetic 2-point and 4×4 grid distributions, as confirmed by numerical experiments.
  • The $k$-RPW metric is mathematically proven to be a valid metric and interpolates between $p$-Wasserstein and TV distances, with equivalence to the Lévy-Prokhorov distance when $p = $.

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.