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

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

14 Jun 2023NeurIPS 2023 11arXiv:2306.08777archive 2025-07-28

Felix Biggs, Antonin Schrab, Arthur Gretton

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2306.08777")

Code

Syntology Ran 2 of 15 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 15 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

antoninschrab/mmdfuse-paper officialmentioned in papermentioned on GitHubjaxMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 2 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
13unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from antoninschrab/mmdfuse-paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

MMDu antoninschrab/mmdfuse-paper/other_tests/deep_mmd_not_image.py official repository ran · our draft was wrong MIT (permissive) · b2fd0117a1785dcf · report
get_item antoninschrab/mmdfuse-paper/other_tests/deep_mmd_image.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · ada1992bbe1e1e8b · report
G antoninschrab/mmdfuse-paper/sampler_perturbations.py official repository unverified MIT (permissive) · 74f5342c2c79173c · report
MatConvert antoninschrab/mmdfuse-paper/other_tests/deep_mmd_image.py official repository unverified MIT (permissive) · 6a971acad70e55e1 · report
MatConvert antoninschrab/mmdfuse-paper/other_tests/deep_mmd_not_image.py official repository unverified MIT (permissive) · 8dae3f1d2133e338 · report
compute_bandwidths antoninschrab/mmdfuse-paper/kernel.py official repository unverified MIT (permissive) · ff420ac5893b251d · report
deep_mmd_image antoninschrab/mmdfuse-paper/other_tests/deep_mmd_image.py official repository unverified MIT (permissive) · 0f5d8713d451077f · report
deep_mmd_not_image antoninschrab/mmdfuse-paper/other_tests/deep_mmd_not_image.py official repository unverified MIT (permissive) · 0b574a538a744679 · report
f0 antoninschrab/mmdfuse-paper/sampler_perturbations.py official repository unverified MIT (permissive) · 3de090d02c055924 · report
f_theta antoninschrab/mmdfuse-paper/sampler_perturbations.py official repository unverified MIT (permissive) · 8f3b20cf3cb686c2 · report
jax_distances antoninschrab/mmdfuse-paper/kernel.py official repository unverified MIT (permissive) · 96320bb32a7c4b9b · report
kernel_matrix antoninschrab/mmdfuse-paper/kernel.py official repository unverified MIT (permissive) · dbcb6b687249d1a2 · report
ratio_mmd_std antoninschrab/mmdfuse-paper/mmd_split.py official repository unverified MIT (permissive) · e098ad70adbd383d · report
sampler_galaxy antoninschrab/mmdfuse-paper/sampler_galaxy.py official repository unverified MIT (permissive) · 1bd578f7d2dc6c47 · report
sampler_mixture antoninschrab/mmdfuse-paper/sampler_mixture.py official repository unverified MIT (permissive) · 64efdbe02b940c75 · report

Tasks

Two-sample testing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections