MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting

Felix Biggs, Antonin Schrab, Arthur Gretton
6/14/2023
stat.MLcs.LGmath.ST

No official code found. Best implementation: antoninschrab/mmdfuse (12 stars, MIT, last commit 2024-05-31). 1 more below.

Abstract

We propose novel statistics which maximise the power of a two-sample test based on the Maximum Mean Discrepancy (MMD), by adapting over the set of kernels used in defining it. For finite sets, this reduces to combining (normalised) MMD values under each of these kernels via a weighted soft maximum. Exponential concentration bounds are proved for our proposed statistics under the null and alternative. We further show how these kernels can be chosen in a data-dependent but permutation-independent way, in a well-calibrated test, avoiding data splitting. This technique applies more broadly to general permutation-based MMD testing, and includes the use of deep kernels with features learnt using unsupervised models such as auto-encoders. We highlight the applicability of our MMD-FUSE test on both synthetic low-dimensional and real-world high-dimensional data, and compare its performance in terms of power against current state-of-the-art kernel tests.

View on arXivView PDF

Code Implementations(2)

MIT

Reproducibility code for MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting, by Biggs, Schrab, and Gretton: https://arxiv.org/abs/2306.08777

30Python, Jupyter NotebookMay 23, 20232 years agoMIT
hypothesis-testingkernel-methodsmachine-learningreproducible-research
MIT

MMD-FUSE package implementing the MMD-FUSE test proposed in MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting by Biggs, Schrab, and Gretton: https://arxiv.org/abs/2306.08777

120PythonMay 23, 20232 years agoMIT
hypothesis-testingkernel-methodsmachine-learningpackage

Cite this paper

@article{biggs2023mmdfuse,
  title  = {MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting},
  author = {Felix Biggs and Antonin Schrab and Arthur Gretton},
  year   = {2023},
  eprint = {2306.08777},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.08777v2},
  journal = {NEURIPS 2023 2023}
}

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/2306.08777.svg)](https://codeofpaper.com/paper/2306.08777)

Discussion