TL;DR
Adversarially trained models frequently suffer from "robust overfitting," degrading generalization on clean and perturbed data alike. This paper tackles the issue in logistic regression by combining type-1 Wasserstein distributionally robust optimization (DRO) with adversarially robust optimization (ARO), further refining the model's ambiguity set by intersecting it with a second Wasserstein ball derived from auxiliary (e.g., synthetic or out-of-domain) data.
What Problem Does This Paper Address?
Adversarially robust optimization (ARO) trains models to withstand worst-case feature perturbations at test time. However, ARO models notoriously suffer from severe robust overfitting—often far worse than the standard overfitting seen in empirical risk minimization (ERM).
While ARO acts implicitly as a type-$\infty$ Wasserstein distributionally robust optimization (DRO) problem, type-$\infty$ ambiguity sets only perturb features, ignore labels, and require excessively conservative radii to guarantee statistical generalization. Conversely, type-1 Wasserstein DRO excels at hedging against statistical finite-sample errors (overfitting), but standard Wasserstein DRO alone does not directly enforce test-time adversarial robustness. The authors set out to unify type-1 Wasserstein DRO and ARO for logistic regression, and examine how auxiliary data (e.g., synthetic datasets or related out-of-domain sources) can make the underlying uncertainty sets tighter and less conservative.
Methods
- Convex DR-ARO Formulation: The authors observe that the worst-case logistic loss under $\ell_p$ adversarial perturbations is convex and has a Lipschitz modulus of 1. By leveraging Wasserstein duality for Lipschitz losses, they reformulate the distributionally and adversarially robust logistic regression problem (DR-ARO) into a single, tractable convex program with exponential cone constraints.
- Intersecting Ambiguity Sets (Inter-ARO): Rather than naively mixing empirical data with auxiliary data, the framework constructs two type-1 Wasserstein balls: one centered on the training distribution $\mathbb{P}_N$ (radius $\varepsilon$) and one centered on the auxiliary distribution $\widehat{\mathbb{P}}_{\widehat{N}}$ (radius $\widehat{\varepsilon}$). The optimization is performed over their intersection $\mathcal{B}_\varepsilon(\mathbb{P}_N) \cap \mathcal{B}_{\widehat{\varepsilon}}(\widehat{\mathbb{P}}_{\widehat{N}})$, drastically shrinking the set of plausible worst-case distributions while maintaining high-confidence coverage of the true data-generating distribution $\mathbb{P}_0$.
- Static Relaxation for Tractability: The authors prove that Inter-ARO is an adjustable robust optimization problem that is NP-hard even in the minimal setting where $N = \widehat{N} = 1$. To solve it, they derive Inter-ARO* using a static relaxation, transforming the problem into a tractable convex exponential cone program that off-the-shelf solvers (such as MOSEK) can solve in polynomial time.
- "Do No Harm" Guarantee: The formulation guarantees that if the auxiliary data is irrelevant or too distant ($\widehat{\varepsilon} \to \infty$), the relaxation safely ignores the auxiliary data and reduces exactly to standard DR-ARO without performance penalty.
Datasets
The authors evaluated their methods across three distinct auxiliary-data regimes:
- 10 UCI Machine Learning Repository Datasets (e.g., absent, annealing, audiology, breast-cancer, contraceptive, dermatology, ecoli, spambase, spect, prim-tumor): Auxiliary data was synthetically generated using a Gaussian Copula via the Synthetic Data Vault (SDV).
- MNIST / EMNIST: Binary digit classification (distinguishing 1 vs. 7). The MNIST dataset served as the true source, while out-of-domain samples from high school students in EMNIST served as the auxiliary source.
- Controlled Synthetic Benchmark: Artificially generated binary logistic regression datasets ($n = 100$ features, $N=100$ training, $\widehat{N}=200$ auxiliary, $N_{\text{te}} = 10{,}000$ test instances) where auxiliary data was generated by deliberately injecting noise into the true underlying probabilities.
Key Insights and Ideas
- Hardness in Logistic DRO: While prior work showed that intersecting Wasserstein balls yields tractable convex reformulations for linear regression (squared loss) or maximums of concave functions, the logistic loss breaks these structural assumptions. The authors show that intersecting Wasserstein balls for logistic loss is fundamentally NP-hard, justifying the need for their static relaxation.
- Principled Use of Auxiliary Data: Common heuristics blend auxiliary and empirical data via weighted averages ($\mathcal{Q}_{\text{mix}} = \lambda \mathbb{P}_N + (1-\lambda)\widehat{\mathbb{P}}_{\widehat{N}}$). The authors prove that under mild conditions, such mixture distributions are strictly contained within the intersection of Wasserstein balls. Optimizing over the intersection is thus strictly more expressive and less biased than arbitrary dataset blending.
- Cross-Validation as a Filter: Because the formulation allows the auxiliary radius $\widehat{\varepsilon}$ to grow large when auxiliary data is unhelpful, standard cross-validation naturally switches off the auxiliary term when it provides no value.
Key Results
Across all domains, DRO+ARO+Aux consistently outperformed standard ERM, ARO, data-mixture ARO (ARO+Aux), and standard DR-ARO:
- UCI Benchmark ($\ell_2$-attack, $\alpha = 0.05$): On the audiology dataset, out-of-sample error dropped from $21.43\%$ (ERM) and $21.54\%$ (ARO) to $11.76\%$ (DRO+ARO) and $9.01\%$ (DRO+ARO+Aux). Similar substantial gains appeared across datasets like spect ($33.75\%$ ERM $\to$ $21.56\%$ DRO+ARO+Aux).
- MNIST vs. EMNIST: Under an $\ell_2$ adversarial attack ($\alpha = 128/255$), naive ERM was completely vulnerable ($99.93\%$ error), while ARO achieved $3.36\%$, DRO+ARO achieved $2.40\%$, and DRO+ARO+Aux achieved $2.12\%$. Even under clean data ($\alpha=0$), intersecting with auxiliary data cut error from $1.55\%$ down to $0.53\%$.
- Scalability: Solved via MOSEK’s exponential cone interior-point optimizer, runtimes scaled smoothly; for $n=1{,}000$ features and $N=\widehat{N}=10{,}000$ samples, instances solved in roughly 134 to 232 seconds.
Limitations and Future Work
- Model Class Scope: The theoretical derivations specifically exploit the convexity and Lipschitz continuity of the binary logistic loss under $\ell_p$ perturbations; extending exact or relaxed formulations to deep neural networks or multi-class settings remains non-trivial.
- Asymptotic Inconsistency: Because the Wasserstein distance between the true distribution $\mathbb{P}_0$ and the auxiliary distribution $\widehat{\mathbb{P}}$ is non-zero, Inter-ARO does not converge to the true risk as auxiliary sample size $\widehat{N} \to \infty$. It is intended specifically for low-to-medium data regimes where auxiliary data counteracts sample scarcity.
- Scaling to Massive Datasets: The relaxed problem contains $\mathcal{O}(N \cdot \widehat{N})$ exponential cone constraints. Monolithically passing this to an interior-point solver becomes expensive for massive datasets; the authors highlight customized cutting-plane or first-order optimization methods as essential future directions.
Summary updated