Skip to main content
QUICK REVIEW

[Paper Review] Two Sample Testing in High Dimension via Maximum Mean Discrepancy

Hanjia Gao, Xiaofeng Shao|arXiv (Cornell University)|Sep 30, 2021
Statistical Methods and InferenceMathematics43 references8 citations
TL;DR

This paper proposes a studentized test statistic for two-sample testing in high-dimensional settings using Maximum Mean Discrepancy (MMD), establishing central limit theorems as both dimension $p$ and sample sizes $n, m$ diverge. The method achieves improved normal approximation accuracy with increasing dimensionality and is valid for popular kernels like Gaussian and Laplacian, with theoretical guarantees on power in moderately high-dimensional regimes.

ABSTRACT

Maximum Mean Discrepancy (MMD) has been widely used in the areas of machine learning and statistics to quantify the distance between two distributions in the $p$-dimensional Euclidean space. The asymptotic property of the sample MMD has been well studied when the dimension $p$ is fixed using the theory of U-statistic. As motivated by the frequent use of MMD test for data of moderate/high dimension, we propose to investigate the behavior of the sample MMD in a high-dimensional environment and develop a new studentized test statistic. Specifically, we obtain the central limit theorems for the studentized sample MMD as both the dimension $p$ and sample sizes $n,m$ diverge to infinity. Our results hold for a wide range of kernels, including popular Gaussian and Laplacian kernels, and also cover energy distance as a special case. We also derive the explicit rate of convergence under mild assumptions and our results suggest that the accuracy of normal approximation can improve with dimensionality. Additionally, we provide a general theory on the power analysis under the alternative hypothesis and show that our proposed test can detect difference between two distributions in the moderately high dimensional regime. Numerical simulations demonstrate the effectiveness of our proposed test statistic and normal approximation.

Motivation & Objective

  • To address the lack of theoretical understanding for MMD-based two-sample testing when dimension $p$ grows with sample size.
  • To develop a robust, studentized test statistic that maintains validity under high-dimensional asymptotics.
  • To establish central limit theorems for the studentized MMD under diverging $p$, $n$, and $m$.
  • To provide a general power analysis framework for detecting distributional differences in moderately high-dimensional settings.
  • To validate the method through numerical simulations demonstrating accuracy and effectiveness.

Proposed method

  • Proposes a studentized version of the sample MMD to stabilize variance under high-dimensional asymptotics.
  • Derives central limit theorems for the studentized MMD under general conditions on the kernel, including Gaussian and Laplacian kernels.
  • Establishes the rate of convergence of the normal approximation, showing it improves with increasing dimensionality.
  • Applies U-statistic theory to analyze the asymptotic behavior of the MMD under joint divergence of $p$, $n$, and $m$.
  • Introduces a general power analysis framework under the alternative hypothesis, accounting for high-dimensional distributional differences.
  • Validates the method via simulations under various high-dimensional configurations and kernel choices.

Experimental results

Research questions

  • RQ1How does the sampling distribution of the MMD behave when both dimension $p$ and sample sizes $n, m$ grow to infinity?
  • RQ2Can a studentized test statistic for MMD achieve valid inference under high-dimensional asymptotics?
  • RQ3Does the accuracy of the normal approximation for the studentized MMD improve as dimensionality increases?
  • RQ4What is the theoretical power of the proposed test in detecting distributional differences in moderately high-dimensional settings?
  • RQ5How do different kernels—such as Gaussian, Laplacian, and energy distance—behave under the proposed framework?

Key findings

  • The central limit theorem holds for the studentized MMD under joint divergence of $p$, $n$, and $m$, ensuring asymptotic normality.
  • The rate of convergence for the normal approximation improves with increasing dimensionality under mild regularity conditions.
  • The proposed test maintains high power in detecting distributional differences even when $p$ grows with $n$ and $m$.
  • The method is valid for a broad class of kernels, including Gaussian, Laplacian, and energy distance as a special case.
  • Numerical simulations confirm the accuracy of the normal approximation and the effectiveness of the test statistic in high-dimensional settings.
  • The theoretical power analysis shows that the test can detect subtle distributional differences in moderately high-dimensional regimes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.