# A Martingale Kernel Two-Sample Test

arXiv: https://arxiv.org/abs/2510.11853 · HTML: https://mlsanity.com/paper/2510.11853/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 13 Oct 2025.

## Built on by (most cited first, 1 of 1)

- [A Martingale Kernel Independence Test](https://mlsanity.com/paper/2605.22549/) (2026)

## Abstract (arXiv)

The Maximum Mean Discrepancy (MMD) is a widely used multivariate distance metric for two-sample testing. The standard MMD test statistic has an intractable null distribution typically requiring costly resampling or permutation approaches for calibration. In this work we leverage a martingale interpretation of the estimated squared MMD to propose martingale MMD (mMMD), a quadratic-time statistic which has a limiting standard Gaussian distribution under the null. Moreover we show that the test is consistent against any fixed alternative and for large sample sizes, mMMD offers substantial computational savings over the standard MMD test, with only a minor loss in power.
