Generative Neural Networks for Sinkhorn Distributionally Robust Hypothesis Testing
Organizations: School of Artificial Intelligence and School of Data Science, The Chinese University of Hong Kong, Shenzhen · Department of Decision Analytics and Operations, College of Business, City University of Hong Kong
Abstract
This paper studies the Sinkhorn distributionally robust hypothesis testing (SDRHT) problem, seeking a robust detector against least-favorable distributions in Sinkhorn discrepancy-based ambiguity sets centered at the empirical distributions. Existing approaches solve this problem by solving large-scale conic programs, which are not scalable. To overcome this, we propose a generative framework that learns least-favorable distributions and supports efficient training and end-to-end sampling. For the Sinkhorn discrepancy-based ambiguity sets, we first derive an equivalent conditional-KL-divergence representation with respect to kernel-smoothed reference distributions. This property allows us to prove strong duality for both constrained and unconstrained minimax SDRHT formulations. Based on the closed-form optimal detector and Brenier's theorem, we reformulate the max-min dual formulation as a maximization problem over convex potentials whose gradients characterize invertible transport maps between kernel-smoothed distributions and their least-favorable counterparts. We efficiently approximate these potentials using Hyper Input Convex Neural Networks (HyCNNs) equipped with stochastic gradient estimators and prove the representation power of HyCNNs and the distributional universality of their induced transport maps. Numerical results show that the proposed method achieves superior accuracy and robustness across different sample sizes and dimensions, while avoiding the scalability limitations of classical SDRHT methods.
Figures & tables
| Optimal | Corresponding optimal | |
| Computation Time (s) | ||||||
| SDRO-H | SDRO-C | WDRO | GMM | SVM | 3NN | |
| 4 | 1.906 | 1.749 | 0.283 | 0.075 | 0.000 | 0.052 |
| 10 | 1.507 | 1.802 | 0.275 | 0.002 | 0.001 | 0.040 |
| 30 | 1.292 | 1.900 | 0.271 | 0.002 | 0.000 | 0.034 |
| 50 | 1.753 | 1.897 | 0.285 | 0.002 | 0.001 | 0.033 |
| 70 | 1.614 | 1.907 | 0.290 | 0.002 | 0.000 | 0.026 |
| Method | PGD- Attack | PGD- Attack | ||||||
| = 0.025 | = 0.05 | = 0.075 | = 0.1 | = 0.05 | = 0.1 | = 0.15 | = 0.2 | |
| SDRO-H | 85.801 | 85.769 | 85.736 | 85.737 | 85.467 | 85.165 | 84.906 | 84.811 |
| SDRO-C | 82.333 | 82.347 | 82.332 | 82.309 | 82.175 | 82.018 | 81.867 | 81.774 |
| WDRO | 69.693 | 68.902 | 68.108 | 67.924 | 62.440 | 54.711 | 48.096 | 44.256 |
| GMM | 73.401 | 72.392 | 71.367 | 71.121 | 63.100 | 51.579 | 41.804 | 36.414 |
| SVM | 64.477 | 63.628 | 62.774 | 62.561 | 55.957 | 47.171 | 40.166 | 36.166 |
| Computation Time (s) | ||||||
| SDRO | FDRO | WDRO | LR | SVM | 3NN | |
| 2 | 1.943 | 4.821 | 0.022 | 0.008 | 0.001 | 0.167 |
| 5 | 1.477 | 8.999 | 0.045 | 0.011 | 0.001 | 0.231 |
| 10 | 1.465 | 17.153 | 0.135 | 0.018 | 0.001 | 0.269 |
| Method | PGD- Attack | PGD- Attack | ||||||
| = 0.025 | = 0.05 | = 0.075 | = 0.1 | = 0.05 | = 0.1 | = 0.15 | = 0.2 | |
| SDRO | 95.75 | 95.70 | 95.67 | 95.67 | 93.53 | 90.60 | 87.46 | 85.47 |
| FDRO | 91.04 | 90.93 | 90.87 | 90.87 | 86.51 | 80.92 | 75.28 | 71.91 |
| WDRO | 94.54 | 94.47 | 94.42 | 94.42 | 91.18 | 85.63 | 79.42 | 75.56 |
| LR | 91.15 | 90.98 | 90.89 | 90.89 | 84.79 | 75.80 | 67.27 | 62.34 |
| SVM | 76.67 | 76.50 | 76.44 | 76.44 | 72.65 | 69.02 | 66.21 | 64.73 |
| Accuracy (%) | Computation Time (s) | |||||||||
| ( ) | SDRO | FDRO | LR | SVM | 3NN | SDRO | FDRO | LR | SVM | 3NN |
| 1 | 68.09 | 62.07 | 59.73 | 64.13 | 57.92 | 1.11 | 2.09 | 0.02 | 0.18 | 5.09 |
| 2 | 71.32 | 65.56 | 60.45 | 66.67 | 58.70 | 1.06 | 2.06 | 0.01 | 0.58 | 11.06 |
| 3 | 72.83 | 67.20 | 60.68 | 67.87 | 58.97 | 1.13 | 2.69 | 0.01 | 0.74 | 9.86 |
| 4 | 73.88 | 68.03 | 60.95 | 68.88 | 60.17 | 1.64 | 3.65 | 0.02 | 1.51 | 11.21 |
| 5 | 74.62 | 68.77 | 61.01 | 69.56 | 61.00 | 1.79 | 3.56 | 0.02 | 2.20 | 11.16 |
| Method | PGD- Attack | PGD- Attack | ||||||
| = 0.025 | = 0.05 | = 0.075 | = 0.1 | = 0.025 | = 0.05 | = 0.075 | = 0.1 | |
| SDRO | 72.342 | 71.998 | 71.887 | 71.891 | 73.352 | 72.758 | 72.436 | 72.284 |
| FDRO | 66.999 | 64.888 | 62.736 | 60.835 | 62.780 | 55.396 | 48.914 | 44.461 |
| LR | 62.945 | 60.913 | 59.193 | 57.582 | 59.708 | 54.046 | 48.528 | 44.412 |
| SVM | 67.669 | 65.849 | 64.191 | 62.716 | 64.524 | 58.350 | 53.250 | 49.614 |
| 3NN | 58.204 | 54.669 | 50.782 | 48.015 | 50.264 | 38.658 | 30.418 | 26.266 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Spaces | Description |
| Closed sample space, . | |
| Functional space, which is not necessarily compact. | |
| Basic Sets | |
| Indices set of hypotheses, . | |
| The set of all probability distributions on . | |
| The set of measures on . | |
| Functions | Description |
| Transport cost function satisfying Assumption 1 , we choose . | |
| Generating function (see Definition 1 ), we choose . | |
| Detector for hypothesis testing, which is measurable and upper semicontinuous. | |
| Optimal detector for generating function , . | |
| Convex functions, decision variables in the problem ( 7 ). | |
| Convex conjugate of a convex function . |
Statistical Hypothesis Testing
Statistical hypothesis testing develops methods for assessing evidence against a stated null while controlling false-positive and false-negative rates.
See all 101 papers