Abstract
We consider a data-driven robust hypothesis test where the optimal test will minimize the worst-case performance regarding distributions that are close to the empirical distributions with respect to the Wasserstein distance. This leads to a new non-parametric hypothesis testing framework based on distributionally robust optimization, which is more robust when there are limited samples for one or both hypotheses. Such a scenario often arises from applications such as health care, online change-point detection, and anomaly detection. We study the computational and statistical properties of the proposed test by presenting a tractable convex reformulation of the original infinite-dimensional variational problem exploiting Wasserstein's properties and characterizing the radii selection for the uncertainty sets. We also demonstrate the good performance of our method on synthetic and real data.
Introduction: The Challenge of Limited Data
Standard hypothesis testing, such as the Neyman-Pearson Lemma, typically assumes that the true underlying probability distributions ($P_1$ and $P_2$) are known. However, in practical applications like healthcare or anomaly detection, we often only have access to a small number of samples. Traditional robust methods, such as Huber’s $\epsilon$-contamination model, rely on metrics like total-variation distance or Kullback-Leibler (KL) divergence.
These metrics struggle when empirical distributions—the data we actually observe—do not perfectly overlap with the true distributions. In sparse data scenarios, KL-based methods often fail because they require common support. This paper introduces a framework that remains computationally tractable and statistically sound even when training data is scarce and contains "holes" or non-overlapping supports.
Methodology: Distributionally Robust Optimization
The authors frame the problem as a distributionally robust optimization (DRO) task. Instead of testing against a single estimated distribution, they test against the "worst-case" distributions within a Wasserstein ball centered at the empirical data.
The core technical pipeline involves several key steps:
- Minimax Formulation: Seeking a decision rule that minimizes the maximum possible risk across all distributions in the uncertainty sets.
- Tractable Reformulation: Using strong duality to transform the infinite-dimensional problem into a finite-dimensional convex optimization problem.
- Least Favorable Distributions (LFDs): Identifying the pair of distributions within the uncertainty sets that are hardest to distinguish.
- Kernel Smoothing: Extending the test from training points to the entire sample space to handle new, unseen test samples.
Key Insights: Geometry and the "Holes" Problem
In small-sample regimes, empirical distributions are discrete and often have "holes" — regions where data could occur but hasn't appeared in the training set. Wasserstein distance is uniquely suited for this because it measures the "work" needed to move probability mass, allowing the model to consider distributions with different supports.
Unlike KL-divergence, which is "blind" to the underlying geometry of the sample space, the Wasserstein-based test directly incorporates the distance metric of the data space. This makes the resulting test more intuitive and robust to outliers. By decoupling the minimax problem through duality, the authors show that finding the robust test is equivalent to finding the LFDs, moving the problem from abstract functional analysis to practical convex programming.
Experimental Results
The researchers evaluated their method across three distinct domains:
- Synthetic Gaussian Mixtures: In a 100-dimensional test with only 10 training samples, the proposed method achieved a misclassification rate of 0.2145, significantly outperforming standard GMM (0.2588), Logistic Regression (0.4925), and even a 3-layer Neural Network (0.4164).
- MNIST Handwritten Digits: With only 5 training samples per class, the Wasserstein test outperformed Logistic Regression and SVM, showing increased reliability as the number of test observations grew.
- Human Activity Recognition (WISDM): In real-time change-point detection (e.g., detecting a transition from walking to jogging), the method showed a much lower Expected Detection Delay (EDD) compared to the classic Hotelling’s T-squared statistic for the same Type-I error rate.
Conclusion and Future Work
This framework provides a powerful tool for robust hypothesis testing in data-starved environments. While the current convex reformulation is tractable, future work may focus on reducing the computational complexity for larger datasets. Additionally, while kernel smoothing effectively extends the test to the whole space, further theoretical grounding for kernel and bandwidth selection within the DRO context remains an open area for exploration.
Summary updated