[Paper Review] MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting
MMD-FUSE proposes a novel two-sample test that adaptively combines multiple kernels using a weighted soft maximum to maximize test power without data splitting. By learning feature extractors and kernel weights in an unsupervised, permutation-independent manner on the full dataset, it achieves well-calibrated, high-power detection with exponential concentration bounds under both null and alternative hypotheses.
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.
Motivation & Objective
- To address the critical limitation of kernel choice in MMD-based two-sample tests, which significantly affects test power.
- To eliminate the need for data splitting in kernel selection, preserving statistical power by using the full dataset for both kernel learning and testing.
- To develop a principled, well-calibrated method for combining multiple kernels—especially deep or learned kernels—into a single, adaptive test statistic.
- To provide theoretical guarantees, including exponential concentration bounds, for the proposed test under both null and alternative hypotheses.
Proposed method
- Proposes a new test statistic, FUSE, based on a weighted soft maximum of normalized MMD values across a set of kernels, with weights learned via variational inference.
- Introduces an unsupervised, permutation-independent method to select kernel features (e.g., via autoencoders or self-supervised models) using the entire dataset.
- Employs a variational approximation to the posterior over kernel weights, enabling closed-form computation of the fused statistic on finite kernel sets.
- Derives exponential concentration bounds for the FUSE statistic under both the null and alternative hypotheses, ensuring well-calibrated type I and II error control.
- Applies the framework to both finite and infinite kernel sets, including deep kernels trained on the full dataset without supervision.
- Uses a divergence-based regularization (KL divergence with a prior) to prevent overfitting during kernel weight optimization.
Experimental results
Research questions
- RQ1Can we learn optimal kernel features for MMD-based two-sample testing without splitting the data?
- RQ2How can we combine multiple MMD statistics under different kernels into a single, adaptive test statistic with improved power?
- RQ3Can we achieve theoretical guarantees—such as exponential concentration and well-calibrated type I error—without data splitting?
- RQ4Does the proposed method outperform existing kernel selection heuristics and data-splitting approaches in terms of statistical power?
- RQ5Can the framework be applied to deep kernels and unsupervised feature extractors while maintaining validity?
Key findings
- The MMD-FUSE test achieves well-calibrated type I error control without data splitting, as demonstrated by theoretical concentration bounds.
- The method provides exponential concentration of the test statistic under both null and alternative hypotheses, enabling strong power guarantees.
- By learning kernel features and weights on the full dataset, MMD-FUSE avoids the power loss associated with data splitting, particularly beneficial in low-sample regimes.
- The proposed soft-max fusion mechanism with variational weighting enables adaptive kernel combination that outperforms fixed kernel choices and heuristic bandwidth selection.
- The framework supports deep kernels and unsupervised feature extractors (e.g., autoencoders, contrastive models), extending applicability to high-dimensional data like images.
- Empirical results show MMD-FUSE achieves higher power than state-of-the-art kernel tests on both synthetic and real-world datasets, especially in high-dimensional settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.