Skip to main content
QUICK REVIEW

[Paper Review] Two-sample Test with Kernel Projected Wasserstein Distance

Jie Wang, Rui Gao|arXiv (Cornell University)|Feb 12, 2021
Anomaly Detection Techniques and ApplicationsComputer Science60 references5 citations
TL;DR

This paper proposes a kernel projected Wasserstein (KPW) distance for high-dimensional two-sample testing, using nonlinear projections via reproducing kernel Hilbert space (RKHS) to maximize distributional discrepancy. The method avoids the curse of dimensionality more effectively than linear projections, with a computationally efficient algorithm and non-asymptotic uncertainty quantification, demonstrating superior performance on synthetic and real-world data including human activity detection.

ABSTRACT

We develop a kernel projected Wasserstein distance for the two-sample test, an essential building block in statistics and machine learning: given two sets of samples, to determine whether they are from the same distribution. This method operates by finding the nonlinear mapping in the data space which maximizes the distance between projected distributions. In contrast to existing works about projected Wasserstein distance, the proposed method circumvents the curse of dimensionality more efficiently. We present practical algorithms for computing this distance function together with the non-asymptotic uncertainty quantification of empirical estimates. Numerical examples validate our theoretical results and demonstrate good performance of the proposed method.

Motivation & Objective

  • To address the challenge of two-sample testing in high-dimensional data where traditional methods suffer from the curse of dimensionality.
  • To develop a non-parametric test that outperforms linear projection-based methods in capturing complex, nonlinear data structures.
  • To provide a computationally efficient algorithm with theoretical guarantees on uncertainty quantification for empirical estimates.
  • To validate the method on both synthetic and real-world datasets, including human activity detection and change-point detection.

Proposed method

  • The method uses a nonlinear projector based on the reproducing kernel Hilbert space (RKHS) to map data into a lower-dimensional space where distributional differences are maximized.
  • It formulates the kernel projected Wasserstein distance as a finite-dimensional optimization problem using a representer theorem.
  • A block coordinate descent algorithm is employed to find an ϵ-stationary point with complexity O(ϵ⁻³).
  • Non-asymptotic bounds for empirical KPW distance are derived using covering number arguments to quantify uncertainty and set detection thresholds.
  • The kernel trick enables efficient computation without explicit parameterization of the function space.
  • The method is extended to online change-point detection by pre-training a nonlinear projector and comparing distributions over sliding windows.

Experimental results

Research questions

  • RQ1Can a nonlinear projection via RKHS improve two-sample test power in high-dimensional settings compared to linear projections?
  • RQ2Does the proposed kernel projected Wasserstein distance avoid the curse of dimensionality more effectively than existing non-parametric tests?
  • RQ3How does the choice of projected dimension d affect the test performance and sample complexity?
  • RQ4What is the impact of entropic regularization on the KPW test’s performance and robustness?
  • RQ5Can the method achieve reliable false detection rate control through non-asymptotic uncertainty quantification?

Key findings

  • The KPW test achieves higher testing power than linear projection methods, especially when data exhibit nonlinear patterns.
  • The method maintains strong performance across different projected dimensions d > 1, with results showing insensitivity to d as long as d > 1.
  • The KPW test with η = 0 (exact Wasserstein) performs comparably to regularized versions, indicating that the improvement comes primarily from kernel projection, not entropic regularization.
  • The Sinkhorn+ test still suffers from the curse of dimensionality, while KPW avoids it due to the nonlinear kernel projection.
  • In human activity detection, the KPW test successfully identifies change points with low delay, outperforming baseline methods.
  • Non-asymptotic bounds on empirical KPW distance are derived and validated, enabling reliable threshold setting for false detection rate control.

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.