Minimax-Optimal Two-Sample Test with Sliced Wasserstein

Binh Thuan Tran, Nicolas Schreuder
10/31/2025
stat.MLcs.LGmath.ST

No confident code implementation found for this paper.

Abstract

We study the problem of nonparametric two-sample testing using the sliced Wasserstein (SW) distance. While prior theoretical and empirical work indicates that the SW distance offers a promising balance between strong statistical guarantees and computational efficiency, its theoretical foundations for hypothesis testing remain limited. We address this gap by proposing a permutation-based SW test and analyzing its performance. The test inherits finite-sample Type I error control from the permutation principle. Moreover, we establish non-asymptotic power bounds and show that the procedure achieves the minimax separation rate $n^{-1/2}$ over multinomial and bounded-support alternatives, matching the optimal guarantees of kernel-based tests while building on the geometric foundations of Wasserstein distances. Our analysis further quantifies the trade-off between the number of projections and statistical power. Finally, numerical experiments demonstrate that the test combines finite-sample validity with competitive power and scalability, and -- unlike kernel-based tests, which require careful kernel tuning -- it performs consistently well across all scenarios we consider.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tran2025minimaxoptimal,
  title  = {Minimax-Optimal Two-Sample Test with Sliced Wasserstein},
  author = {Binh Thuan Tran and Nicolas Schreuder},
  year   = {2025},
  eprint = {2510.27498},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.27498v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.27498.svg)](https://codeofpaper.com/paper/2510.27498)

Discussion