Nonasymptotic one-and two-sample tests in high dimension with unknown covariance structure

Gilles Blanchard, Jean-Baptiste FermanianarXiv 2021

In modern data science, we frequently encounter datasets where the number of features $d$ significantly exceeds the number of observations $n$. Traditional statistical tests often fail or become computationally intractable in these high-dimensional regimes. Furthermore, the assumption that we know the underlying noise structure—the covariance matrix $\Sigma$—is rarely met in practice. This paper addresses these challenges by developing nonasymptotic tests for "relevant differences," determining if the mean of a distribution is within a specific distance $\eta$ of a target, rather than exactly equal to it.

The Problem: Testing Beyond Exact Equality

In classical statistics, the standard null hypothesis is often $H_0: \mu = 0$. However, in high-dimensional settings, this is often too restrictive or physically unrealistic. We are often more interested in whether a mean is "close enough" to a target. The authors frame this as testing $H_0: \|\mu\| \leq \eta$ against the alternative $H_1: \|\mu\| \geq \eta + \delta$.

This problem is complicated by three factors:

  1. High Dimensionality: $d$ can be much larger than $n$.
  2. Unknown Covariance: $\Sigma$ acts as a nuisance parameter that can hide signals.
  3. Finite Samples: Guarantees must hold for the specific $n$ available, rather than relying on asymptotic limits.

Methodology and Quantile Estimation

The authors propose a test based on a modified U-statistic, which serves as an unbiased estimator of the squared distance between means. Because the covariance $\Sigma$ is unknown, the "threshold" for the test (the quantile) cannot be pre-calculated.

To solve this, the paper provides a data-driven "recipe" (Theorem 3). The authors develop estimators for the operator norm ($\|\Sigma\|_\infty$) and the Frobenius norm ($\|\Sigma\|_2$) to set these thresholds dynamically. They derive sharp concentration inequalities for the test statistic under both Gaussian and bounded distribution settings. The latter is particularly significant for machine learning, as it allows the results to be applied to Kernel Mean Embeddings (KME) and Maximum Mean Discrepancy (MMD) methods.

The Testing-Estimation Gap

A central insight of the work is the distinction between different types of "effective dimensionality." While the difficulty of estimating a mean vector typically depends on the effective rank $d_e = \|\Sigma\|_1 / \|\Sigma\|_\infty$, the authors show that testing for the existence of a signal depends on the pseudo-dimension:

$$d_* := \frac{\|\Sigma\|_2^2}{\|\Sigma\|_\infty^2}$$

Crucially, they demonstrate a significant gap in sample complexity. To estimate $\mu$ with high precision, the error scales with $d_e^{1/2}$. However, to test if the mean is non-zero ($\eta=0$), the required separation distance $\delta$ only scales with $d_*^{1/4}$. In high dimensions, $d^{1/4}$ is much smaller than $d^{1/2}$, meaning we can statistically detect the presence of a signal long before we can accurately measure its coordinates.

Key Results and Optimality

  • Minimax Optimality: In the Gaussian setting, the authors provide matching lower bounds, proving that their proposed test is minimax optimal—no other test can fundamentally outperform it under these conditions.
  • Separation Distance: The minimum distance $\delta$ needed to achieve a certain power is established as $\Theta(d_*^{1/4} \sqrt{\|\Sigma\|_\infty / n})$ for the case where $\eta=0$.
  • Robustness: By testing for a neighborhood ($\eta$) rather than a point, the framework is naturally more robust to small amounts of noise or model misspecification.

Future Directions

While the paper establishes rigorous upper bounds for bounded distributions, matching lower bounds for that specific case remain an open problem. Additionally, while this work focuses on Gaussian and bounded data, the authors suggest that "median-of-means" (MoM) estimators could potentially extend these high-dimensional guarantees to distributions with heavier tails, requiring only finite 4th or 8th moments.

Summary updated

BibTeX
@misc{blanchard2021nonasymptotic,
  author = {Gilles Blanchard and Jean-Baptiste Fermanian},
  title = {{Nonasymptotic one-and two-sample tests in high dimension with unknown covariance structure}},
  year = {2021},
  eprint = {2109.01730},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.01730},
}
Figure