English

Neural Wasserstein Two-Sample Tests

Methodology 2026-01-30 v1

Abstract

The two-sample homogeneity testing problem is fundamental in statistics and becomes particularly challenging in high dimensions, where classical tests can suffer substantial power loss. We develop a learning-assisted procedure based on the projection 1-Wasserstein distance, which we call the neural Wasserstein test. The method is motivated by the observation that there often exists a low-dimensional projection under which the two high-dimensional distributions differ. In practice, we learn the projection directions via manifold optimization and a witness function using deep neural networks. To adapt to unknown projection dimensions and sparsity levels, we aggregate a collection of candidate statistics through a max-type construction, avoiding explicit tuning while potentially improving power. We establish the validity and consistency of the proposed test and prove a Berry--Esseen type bound for the Gaussian approximation. In particular, under the null hypothesis, the aggregated statistic converges to the absolute maximum of a standard Gaussian vector, yielding an asymptotically pivotal (distribution-free) calibration that bypasses resampling. Simulation studies and a real-data example demonstrate the strong finite-sample performance of the proposed method.

Keywords

Cite

@article{arxiv.2601.21732,
  title  = {Neural Wasserstein Two-Sample Tests},
  author = {Xiaoyu Hu and Zhenhua Lin},
  journal= {arXiv preprint arXiv:2601.21732},
  year   = {2026}
}

Comments

49 pages, 3 figures

R2 v1 2026-07-01T09:25:44.142Z