arXiv:2610.22955cs.LGOct 2026

Manuscript Offprint

arXiv:2610.22955

On the tradeoff between robustness and geometric accuracy in adversarial training

Rachel Morris, Ryan Murray, Kerrek Stinson

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

RACHEL MORRIS, RYAN MURRAY, AND KERREK STINSON

ABSTRACT. For non-parametric binary classification in the presence of an adversary, we prove an optimal quantitative estimate for adversarial classifiers controlling geometric accuracy, as measured by the Hausdorff distance to the Bayes classifier, in terms or their robustness, as encoded by the adversarial budget ε\varepsilon. This rigorously shows that robust classifiers sacrifice at most O(ε)O(\sqrt{\varepsilon}) or O(ε)O(\varepsilon) in accuracy, depending on the regularity of the underlying Bayes classifier. In contrast to prior work on the incompatibility of robustness and accuracy over low-complexity hypothesis classes, our work shows that high-complexity hypothesis classes allow for robust classifiers with precisely quantified accuracy. Our results apply for adversaries determined by any norm on Euclidean space and in both the infinite and finite data settings.

1. INTRODUCTION

Adversarial training is a robust optimization principle that accounts for perturbations of the data in the training process. In the formulation proposed by Madry et al. [18], one seeks to solve the min-max optimization problem

adversarial training

min⁡uE(x,y)∼μ[sup⁡x~∈B(x,ε)ℓ(u(x~),y)],\min_{u}\mathbb{E}_{(x,y)\sim\mu}\Big[\sup_{\tilde{x}\in B(x,\varepsilon)}\ell(u(\tilde{x}),y)\Big],

where uu is a classifier, μ\mu is a probability measure describing the data, ℓ\ell is the loss function, B(x,ε)B(x,\varepsilon) is a ball defined by a norm σ\sigma, and ε>0\varepsilon > 0 represents the adversarial budget. As seen in a variety of work [3, 23, 26, 27], adversarial training is a powerful antidote to adversarial attacks. However, there is an underlying tension in the problem:

Does robustness come at the expense of accuracy?

Here, accuracy is often measured by the standard risk E(x,y)∼μ[ℓ(u(x),y)]\mathbb{E}_{(x,y)\sim\mu}[\ell(u(x),y)]. We are not the first to question the tradeoff between robustness and accuracy. Tsipras et al. [25] constructed a binary classification problem where small standard risk is incompatible with small robust risk over all linear classifiers. Nakkiran [20] further quantified this by showing that

(ε−robustrisk)+(standardrisk)γ≥1forsomeγ>0(\varepsilon-robust risk)+(standard risk)^{\gamma}\geq1\quad for some\gamma>0

over linear classifiers for a particular classification problem. Instead of viewing this as an intrinsic shortcoming of adversarial training, Nakkiran proposed that robust training is at odds with simplicity, and the loss of accuracy is a consequence of an insufficiently complex hypothesis class. In other words, finding a robust and (standard) accurate classifier is prohibited by a rigid hypothesis class.

In this paper, we take the complementary view: We show that given a flexible hypothesis class, robust classifiers sacrifice at most O(ε)O(\sqrt{\varepsilon}) in geometric accuracy, and in fact, the accuracy is guaranteed to improve with additional structural information on the decision boundary of the Bayes classifier. Precisely, in the setting of non-parametric (where classifiers are the most expressive) binary classification, we consider the Bayes classifier

A0=argmin⁡A⊂RdE(x,y)∼μ[∣χA(x)−y∣],A_{0}=\operatorname{a r g m i n}_{A\subset\mathbb{R}^{d}}\mathbb{E}_{(x,y)\sim\mu}\Big[|\chi_{A}(x)-y|\Big],

2020 Mathematics Subject Classification. 28A75, 68Q32, 62G35, 35B25.

Key words and phrases. adversarial training, robust classifiers, Hausdorff convergence, geometric measure theory.

which is unique under a simple non-degeneracy assumption on the data μ\mu, and an adversarial classifier

Aε∈argmin⁡A⊂RdE(x,y)∼μ[sup⁡x~∈B(x,ε)∣χA(x~)−y∣].A_{\varepsilon}\in\operatorname{a r g m i n}_{A\subset\mathbb{R}^{d}}\mathbb{E}_{(x,y)\sim\mu}\Big[\sup_{\tilde{x}\in B(x,\varepsilon)}\left|\chi_{A}(\tilde{x})-y\right|\Big].

We prove that for an ℓ2\ell^{2}-adversary it holds that

dH,K(Aε,A0)≲{εwhen∂A0islocallyLipschitz,εwhen∂A0islocallyC1,1−regular,(1.1)d_{\mathcal{H},K}(A_{\varepsilon},A_{0})\lesssim\begin{cases}\sqrt{\varepsilon}&when\partial A_{0}is locally Lipschitz,\\\varepsilon&when\partial A_{0}is locally C^{1,1}-regular,\end{cases} \tag{1.1}

where dH,Kd_{\mathcal{H},K} is the local Hausdorff metric on K⊂RdK \subset \mathbb{R}^d (in fact, a related, but weaker estimate (5.13) holds with no regularity assumptions on ∂A0\partial A_0). A similar geometric estimate holds for adversarial training with perturbations determined by any norm σ\sigma (e.g., an ℓ∞\ell^\infty-adversary) and for the empirical adversarial training problem with near optimal sample complexity; we refer to Theorems 2.3 and 2.7 for the precise details. We remark that Raghunathan et al. [22] were concerned with the robustness-accuracy tradeoff in finite data settings, and our empirical result (Theorem 2.7) provides, under appropriate assumptions, rigorous guarantees in precisely finite data settings.

Our approach builds on the geometric perspective for adversarial training introduced in [6]. Therein, it was shown that the adversarial training problem could equivalently be viewed as standard risk minimization regularized by a nonlocal total variation, allowing the authors to prove the existence of adversarial classifiers. Subsequent work by Bungert and the last author in [7] identified the asymptotic limit of the nonlocal total variation as the adversarial budget vanished. Using this, they showed that even without non-degeneracy assumptions on the data (i.e., allowing for non-unique Bayes classifiers), adversarial training acts as a selection mechanism for standard risk minimization with adversarial classifiers converging to a minimal-perimeter Bayes classifier as ε→0\varepsilon \to 0. It was very recently shown that this selection is still present for parametric models of adversarial training and allows for interpretability of the model via the saliency map [17]. Quantitative estimates for geometric accuracy were first introduced by the first two authors in [19]. Of particular interest to us here, it was shown that dH,K(Aε,A0)→0d_{\mathcal{H},K}(A_{\varepsilon}, A_0) \to 0 as ε→0\varepsilon \to 0 given a unique Bayes classifier and under additional non-degeneracy and regularity assumptions that dH,K(Aε,A0)≲ε1/(d+2)d_{\mathcal{H},K}(A_{\varepsilon}, A_0) \lesssim \varepsilon^{1/(d+2)}. By comparison, our main result (1.1) shows that a dimension-independent estimate holds for the geometric error, making the new optimal estimate meaningful in the context of high-dimensional statistics. The optimality of (1.1) is formally justified in Examples 5.4 and 5.8 and by [13], where it was shown that ε↦Aε\varepsilon \mapsto A_{\varepsilon} is described in terms of a curvature flow.

We briefly remark on related literature, though we surely provide an incomplete review which mostly focuses on the theoretical and mathematical aspects of the problem. Existence of adversarial classifiers has also been proven by Awasthi et al. [2] for a closed-ball version of the optimization problem. The open-ball model we consider has the advantage of substantially simplifying questions regarding measurability of classifiers. Frank and Niles-Weed [10] developed an existence theory for adversarial training with surrogate losses, and consistency of such models was studied by Awasthi et al. [1]. Building on this, Frank has identified natural uniqueness conditions for adversarial training in specific contexts [9, 8]. It has also been fruitful to view adversarial training as a distributionally robust optimization problem, opening the door to analysis via optimal transport. From this perspective, Pydi and Jog [21] proved existence of (closed-ball) adversarial classifiers, and García Trillos et al. [11, 12] proved existence of multiclass classifiers and a reformulation of the problem in terms of multimarginal optimal transport. We are optimistic that our low (Lipschitz) regularity estimate (1.1) will help quantify accuracy in the multiclass case, where the geometry must account for junctions where multiple classes meet.

Outline of the strategy. The intuition behind our arguments is contained in the proof of (1.1) for an ℓ2\ell^2-adversary under assumed regularity on the boundary of the Bayes and adversarial classifiers, see Section 3. For this, we use the first-order necessary conditions for adversarial classifiers introduced in [13] to deduce that all points in the boundary ∂Aε\partial A_\varepsilon must be sufficiently close to ∂A0\partial A_0. The proof is conditional as it is not known whether we can a priori assume any regularity for AεA_\varepsilon; the presence of non-smooth σ\sigma determining the adversary further complicates the matter. To extend the argument beyond these assumptions, we introduce a flexible method for constructing energetic competitors by removing a ball from a given classifier, cf. Lemma 5.1. For minimizers, these energetic competitors are used to construct geometric barriers, preventing ∂Aε\partial A_\varepsilon from moving too far away from ∂A0\partial A_0. The barriers depend on both ε\varepsilon and the regularity of A0A_0, thereby leading to control by ε\sqrt{\varepsilon} or ε\varepsilon depending on whether A0A_0 has low (Lipschitz) or high ( C1,1C^{1,1}) regularity, respectively. The construction of barriers is highly adaptable, and with high probability, we can prove that the geometric estimates hold in the finite data setting assuming the number of sampled points nn satisfies n≳ε−Cdn \gtrsim \varepsilon^{-Cd}, for a constant C∈(3/2,3)C \in (3/2, 3) independent of dimension. In the case C=2C = 2, this is roughly the number of samples needed to land within any ball of size ε2\varepsilon^2 in the domain. A fundamental challenge with finite data is quantifying geometric errors due to differences between the empirical distribution and the infinite data distribution. Using the results of García Trillos and Slepčev [15] to control the ∞\infty-Wasserstein distance between these two distributions, we introduce energetic competitors for the finite data classifiers in Lemma 6.1. Due to the probabilistic setting, the competitor must be carefully ‘initialized’ by an averaging argument that controls the interaction between distributional uncertainty and irregular geometry.

Organization. In Section 2, we precisely formulate the adversarial training problem and state the main results. The heuristic proof for convergence based on the first variation is given in Section 3. A brief review on adversarial training in metric spaces is contained in Section 4. In Sections 5 and 6, we prove our main results in the continuum (infinite data) and empirical (finite data) settings, respectively.

Notation. We use C>0C > 0 and c>0c > 0 to denote constants that may change from line to line but are always independent of ε\varepsilon. We indicate dependence via C=C(σ)C = C(\sigma), which says that CC depends on σ\sigma. For x∈Rdx \in \mathbb{R}^d, we often write x=(x′,xd)∈Rd−1×Rx = (x', x_d) \in \mathbb{R}^{d-1} \times \mathbb{R}. Let σ:Rd→[0,∞)\sigma : \mathbb{R}^d \to [0, \infty) be a norm on Euclidean space and d(x,y):=σ(x−y)d(x, y) := \sigma(x - y) be the metric defined by σ\sigma. Any object implicitly or explicitly depending on a norm is taken to be with respect to σ\sigma unless stated otherwise, e.g., the ball B(0,1)={x∈Rd:d(x,0)=σ(x)<1}B(0,1) = \{x \in \mathbb{R}^d : d(x,0) = \sigma(x) < 1\}. For a set A⊂RdA \subset \mathbb{R}^d, we define the (anisotropic) distance to the set as d(x,A):=inf⁡y∈Ad(x,y)d(x, A) := \inf_{y \in A} d(x, y). For two sets AA and BB, we write d(A,B):=inf⁡x∈Ad(x,B)d(A, B) := \inf_{x \in A} d(x, B). Similarly, the signed distance to AA is defined as sdist(x,A)=d(x,A)−d(x,Ac)\text{sdist}(x, A) = d(x, A) - d(x, A^c). We use ∣⋅∣2|\cdot|_2 to denote the standard Euclidean norm.