Abstract
Hypothesis testing in small-sample regimes remains a significant challenge due to the unreliability of empirical distributions. This paper presents a robust, data-driven framework utilizing Sinkhorn uncertainty sets—a regularized variant of the Wasserstein distance. By smoothing the transport plan through entropic regularization, the proposed Sinkhorn Distributionally Robust Optimization (SDRO) approach generates detectors that generalize effectively to unseen samples. We demonstrate the efficacy of this method across high-dimensional synthetic data, image classification, and change-point detection tasks.
1. Introduction
Standard statistical tests, such as those derived from the Neyman-Pearson Lemma, typically assume perfect knowledge of underlying data distributions. In practice, researchers often operate with limited training data, relying on empirical distributions that may not capture the true variability of the population. This leads to overfitting, where detectors fail when confronted with samples slightly outside the training support. While Wasserstein-based robust methods offer a "safety buffer," they often produce Least Favorable Distributions (LFDs) restricted to the coordinates of the training samples. This paper introduces a Sinkhorn-based approach to overcome these limitations by allowing LFDs to support regions beyond the observed data.
2. Methodology
The core of the proposed framework is Sinkhorn Distributionally Robust Optimization (SDRO). This approach involves several key components:
Sinkhorn Uncertainty Sets
Unlike standard Wasserstein distance, the Sinkhorn distance incorporates an entropic regularization term. This "blurs" the optimal transport plan, effectively smoothing the uncertainty and allowing the model to consider distributions with support outside the training set.
Minimax Formulation and Loss Functions
The problem is framed as a minimax game where the goal is to find a detector that minimizes the maximum possible risk across all distributions within a Sinkhorn-defined neighborhood of the training data. The choice of loss function $\ell(t)$ in the optimization objective determines the specific statistical divergence being addressed.
As shown in Table 1, various common loss functions correspond to well-known divergences like Hellinger distance ($H^2$), Jensen-Shannon divergence ($JS$), Chi-squared divergence ($\chi^2$), and Total Variation ($TV$). This theoretical bridge allows the SDRO framework to adapt to different statistical requirements by varying the loss objective.
Dual Reformulation and Approximation
To handle the infinite-dimensional nature of the optimization, the authors prove a strong duality theorem, transforming it into a manageable convex problem. Monte-Carlo methods and importance sampling are then used to approximate the continuous LFDs. Because the resulting robust detector is defined on these LFDs, a weighted $k$-Nearest Neighbor approach is employed to classify new testing samples based on their proximity to the LFD support points.
3. Experimental Evaluation
The SDRO method was evaluated across three primary applications:
- High-Dimensional Gaussian Mixture (HDGM): A synthetic dataset with 100 dimensions designed to test performance in high-dimensional spaces with very few samples ($n \leq 10$).
- MNIST Digits: A classic computer vision dataset where the authors distinguished between digits "1" and "2" using only five training images per class.
- Synthetic Change-Point Datasets: Four different scenarios (Discrete distributions, Gaussian to Mixture, Mean/Covariance shifts, and Gaussian to Laplace) to test the ability to detect when a data stream's underlying distribution has changed.
4. Key Results and Insights
The experiments yielded several critical insights into the performance of Sinkhorn-based detectors:
- Superior Generalization: SDRO consistently achieved lower average risk (misclassification rates) than standard Neural Networks (NN), Wasserstein-based tests (WDRO), and Maximum Mean Discrepancy (MMD) tests in small-sample regimes.
- Support Expansion: The entropic regularization parameter $\epsilon$ acts as a smoothness control. Increasing $\epsilon$ allows LFDs to spread across the sample space, providing a more realistic safety margin than the "spiky" LFDs of Wasserstein methods which are often stuck on training points.
- Dimension Independence: Surprisingly, the complexity of solving the core optimization problem depends primarily on the number of samples ($n$) rather than the data dimension ($d$), making it viable for high-dimensional data like images.
- Robust Change-Point Detection: In three out of four change-point scenarios, SDRO showed the highest "detection power," successfully identifying distribution shifts that other methods missed.
5. Conclusion and Future Work
The Sinkhorn-based robust hypothesis testing framework provides a powerful tool for data-scarce environments. By smoothing uncertainty through entropic regularization, it achieves better generalization than traditional robust methods. While the Monte-Carlo approximation works well in practice, future work will address the mathematical convergence of these approximations and extend the framework to include Type-I error constraints for more specialized testing requirements.
Summary updated