Two-sample Test using Projected Wasserstein Distance
Jie Wang, Rui Gao, Yao Xie
TL;DR
This work tackles high-dimensional two-sample testing by introducing the projected Wasserstein distance $\mathcal{P}W$, which maximizes the Wasserstein distance after projecting data onto a $k$-dimensional subspace via an orthogonal map $A$ with $A^{\top}A=I_k$. It develops finite-sample IPM guarantees using Rademacher complexity for the projected function class and formulates a PW-based two-sample test with a data-driven acceptance region. The authors provide practical algorithms (Riemannian gradient methods) to compute $\mathcal{P}W$ and validate the approach with numerical experiments, showing competitive performance overall and improved robustness in high dimensions compared to MMD. The results indicate that projecting to an appropriate low-dimensional subspace mitigates the curse of dimensionality in Wasserstein-based testing, offering a scalable and interpretable tool for high-dimensional distribution comparison.
Abstract
We develop a projected Wasserstein distance for the two-sample test, a fundamental problem in statistics and machine learning: given two sets of samples, to determine whether they are from the same distribution. In particular, we aim to circumvent the curse of dimensionality in Wasserstein distance: when the dimension is high, it has diminishing testing power, which is inherently due to the slow concentration property of Wasserstein metrics in the high dimension space. A key contribution is to couple optimal projection to find the low dimensional linear mapping to maximize the Wasserstein distance between projected probability distributions. We characterize the theoretical property of the finite-sample convergence rate on IPMs and present practical algorithms for computing this metric. Numerical examples validate our theoretical results.
