Manuscript Offprint
arXiv:2608.13514Bagging Robustly Learns VC Classes with Linear Sample Complexity
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We revisit the problem of learning predictors robust to adversarial examples at test-time. We prove that VC classes are adversarially robustly learnable with sample complexity linear in the VC dimension , providing an exponential improvement over the previous upper bound of Montasser, Hanneke, and Srebro (2019). Remarkably, this result is achieved with a simple improper algorithm that combines the classic heuristic bagging (bootstrap aggregation) of Breiman (1996) with robust empirical risk minimization (RERM). Our algorithm computes RERMs on indpendent bootstrap samples and outputs their majority-vote, where denotes the dual VC dimension. We complement this result with a lower bound showing that this is unavoidable: in general, any learner in this oracle model requires calls to an oracle, even when given arbitrarily many training examples.
1 Introduction
Learning predictors robust to adversarial examples is a major contemporary challenge in machine learning. Adversarial examples can be thought of as carefully crafted perturbations of test examples that cause predictors to misclassify. Over the past decade, there has been a significant interest in how deep learning predictors are not robust to adversarial examples (Szegedy et al., 2013; Biggio et al., 2013; Goodfellow et al., 2015), leading to an ongoing effort to devise methods for learning predictors that are adversarially robust (Madry et al., 2018; Cohen et al., 2019; Zhang et al., 2019, e.g.,).
Given an instance space and label space , we formalize an adversary (or perturbation map) we would like to be robust against as , where is the set of perturbations of that can be chosen by the adversary at test-time. For example, could be perturbations of bounded norm which represents “imperceptible” image perturbations in practice (Goodfellow et al., 2015). The only (implicit) restriction is that is non-empty for every . We observe i.i.d. samples from an (unknown) distribution over , and our goal is to learn a predictor having small population robust risk,
A central approach to adversarially robust learning in practice is adversarial training, where model parameters are trained to fit the training examples and their corresponding adversarial perturbations (Madry et al., 2018; Zhang et al., 2019, e.g.,). Theoretically, this can be viewed as minimizing the empirical robust risk over a function class (e.g., neural networks):
This approach is justified by classical uniform convergence arguments applied to the robust risk, i.e., arguing that with sufficiently many training examples, the robust generalization gap is small for all (Cullina, Bhagoji, and Mittal, 2018; Bubeck, Lee, Price, and Razenshteyn, 2019; Yin, Ramchandran, and Bartlett, 2019). However, empirical evidence shows severe overfitting: adversarial training yields models with low empirical robust risk but high population robust risk (Schmidt, Santurkar, Tsipras, Talwar, and Madry, 2018). This discrepancy suggests that adversarial training and uniform convergence alone may not guarantee provable robust learning.
This empirical observation is indeed mirrored by a fundamental theoretical limitation. Montasser, Hanneke, and Srebro (2019) showed that minimizing the empirical robust risk as in (2)–or any surrogate thereof–can provably fail, even in simple settings. Specifically, there are function classes with VC dimension that are not adversarially robustly learnable with any proper learning algorithm, namely, one constrained to output a predictor . To bypass the limitation of proper learning, Montasser, Hanneke, and Srebro (2019) designed an improper learning algorithm to adversarially robustly learn classes with finite VC dimension. This separation between proper and improper learning stands in sharp contrast to classical (non-robust) PAC learning (Valiant, 1984), where empirical risk minimization (), a proper learning rule, learns VC classes with near-optimal sample complexity (Vapnik and Chervonenkis, 1971; Valiant, 1984; Blumer, Ehrenfeucht, Haussler, and Warmuth, 1989; Ehrenfeucht, Haussler, Kearns, and Valiant, 1989).
Despite this progress in adversarially robust learning, two fundamental challenges remain concerning: sample-efficiency and oracle-efficiency. First, the best known upper bound on the sample complexity is exponential in the VC dimension (Montasser, Hanneke, and Srebro, 2019). Second, the improper learning algorithm attaining this bound is quite complex and inefficient; it makes oracle calls to (2) with a prohibitive additional computational overhead of . These challenges motivate the central question we study in this work:
Can we design sample-efficient and oracle-efficient adversarially robust learning algorithms? Or are there fundamental limitations prohibiting that?
In addition to our goal of improving the sample complexity of adversarially robust learning, we are especially interested in oracle-efficient algorithms. Just as efficient PAC learning reduces to efficient , this work seeks an analogous recipe for robustness: reducing efficient robust PAC learning of a class to efficient . In this context, we view (2) as a natural black-box oracle, since adversarial training methods in practice (Madry et al., 2018; Zhang et al., 2019, e.g.,) can be viewed as heuristics implementing . Theoretically, oracle-efficient robust learners would strengthen reductions for leveraging non-robust learners (Montasser, Hanneke, and Srebro, 2020b), handling unknown perturbations (Montasser, Hanneke, and Srebro, 2021), and achieving computational efficiency (Montasser, Goel, Diakonikolas, and Srebro, 2020a), thereby unifying algorithmic efficiency with provable robustness.
Algorithm 1: Bagging Robust ERMs Input: Training set , confidence , and an oracle (2). 1. Set , and . 2. For each : 3. Sample uniformly from . 4. Sample a bootstrap of samples uniformly with replacement from . 5. Run oracle on , denoting its output predictor by . Output: The majority-vote predictor .
Theorem 1 (Realizable).
For any function class with VC dimension and dual VC dimension , any perturbation set , any deterministic oracle , any distribution over where , for every and every , letting , with probability over the random draw of a training dataset and bootstrap samples ,
We remark that the oracle complexity (number of calls to ) of our algorithm above satisfies where denotes the dual VC dimension of , with a computational overhead of just . This is a significant improvement over the prior improper algorithm of Montasser, Hanneke, and Srebro (2019), which incurred oracle complexity of and additional computational overhead of . Another significant advantage of our bagging algorithm, which is of practical importance, is that it can be parallelized since the bootstrap samples are independent. The prior improper algorithm of Montasser, Hanneke, and Srebro (2019) relies on boosting which is inherently sequential and cannot be parallelized in general (Karbasi and Larsen, 2024).
By combining the agnostic-to-realizable reduction of Montasser, Hanneke, and Srebro (2019, Theorem 8) with the realizable guarantee of Theorem 1, we obtain the following immediate corollary improving the sample and oracle complexity of agnostic adversarially robust learning.
Corollary 1 (Agnostic).
There is an algorithm so that for any class with VC dimension and dual VC dimension , any perturbation set , any deterministic oracle , the following holds. For any distribution over , for every and every , with probability over and randomness of , makes at most calls to oracle and returns a predictor satisfying
The agnostic algorithm works as follows. Denote by an instantiation of Section 1.1 with fixed parameters , to be treated as a weak robust learner. Given a training sample , call once on to find a maximal subsequence that is robustly realizable. Then, run a classical boosting algorithm (e.g., -Boost, Schapire and Freund, 2012, Section 6.4.2) on with as the weak learner. The final output is majority-of-majority of predictors in .
Remark 1 (Computational Efficiency).
Our results provide a recipe for computationally efficient robust PAC learning. In particular, if a concept class and perturbation set admit an efficient algorithm implementing (2), then Theorem 1 implies that is efficiently adversarially robustly PAC learnable with respect to in the realizable setting. For the agnostic setting, the same implication follows from Corollary 1 under an additional requirement that the robust loss for can be evaluated efficiently.
In light of Theorem 1, a natural follow-up question is whether the oracle complexity can be further improved. Because the dual VC dimension satisfies with the inequality being tight for some classes (Assouad, 1983), we ask whether the oracle complexity can instead be bounded by a polynomial or even a linear function of the VC dimension . Recent advances in classical PAC learning suggest that such an improvement might be possible. Larsen (2023) showed that bagging with calls to an oracle yields an optimal PAC learner, and subsequent work reduced this number to just three independent calls that are combined by a majority-vote (Aden-Ali, Høandgsgaard, Larsen, and Zhivotovskiy, 2024; Rawal and Zhivotovskiy, 2026). Can an analogous guarantee be obtained for adversarially robust learning? Our second main result gives a negative answer: unlike in classical PAC learning, the oracle complexity of adversarially robust learning must inherently depend on the dual VC dimension . We state this result formally below.
Theorem 2.
For every integers , there is an instance space , a perturbation map , and a finite collection of classes where each class has VC dimension and dual VC dimension such that the following holds. For any (randomized) learning algorithm making at most calls to , there exists a class and a distribution over such that
- is robustly realizable, i.e., .
- With probability at least over and randomness of , .
We remark that this result proves that oracle queries to are necessary regardless of the number of samples provided to the algorithm. Figure 1 on page 1 illustrates the sample-oracle complexity tradeoff and the sharp transition implied by Theorem 1 and Theorem 2.
sample size RERM-oracle calls sharp transitionN\asymp d^{\star}$$n(\varepsilon,\delta) Impossible in general Some VC classes are not robustly learnable with oracle calls. All VC classes learnable Insufficient samples in general
Figure 1: A sharp sample–oracle complexity tradeoff: below oracle calls, robust learnability can fail regardless of sample size .
2 Discussion, Implications, and Related Work
We discuss connections between our work and related literature. We start by discussing several quantitative improvements on prior works that follow from our results. We then situate our work within broader theoretical models of robustness.
Characterization and Optimal Sample Complexity.
Montasser, Hanneke, and Srebro (2022) proposed a refined complexity measure denoted that characterizes which classes and perturbation sets are adversarially robustly learnable. This characterization is based on a generalization of the classical one-inclusion graph of Haussler, Littlestone, and Warmuth (1994). Our result in Theorem 1, and more directly Lemma 3, implies that this complexity measure is bounded by the VC dimension: , positively resolving Conjecture 3 of Montasser, Hanneke, and Srebro (2022).
Reductions in Adversarially Robust Learning.
Several works have explored access to different forms of oracles and studied what robust learning guarantees are possible. This includes access to non-robust learners such as (Montasser, Hanneke, and Srebro, 2020b; Ahmadi, Blum, Montasser, and Stangl, 2024), and access to “attack oracles” for (Montasser, Goel, Diakonikolas, and Srebro, 2020a; Montasser, Hanneke, and Srebro, 2021). A unifying theme across these works is that each specific form of access is leveraged to implement an oracle (2). Consequently, our algorithmic result in Theorem 1 leads to immediate quantitative improvements when combined with those earlier works in their respective settings. For example, Theorem 1 implies an improved polynomial attack-oracle complexity of in the perfect attack oracle framework of Montasser, Hanneke, and Srebro (2021, Theorem 2) over the previously exponential bound , where denotes the Littlestone dimension of (Littlestone, 1987).
Adversarially Robust Learning with Tolerance.
Several prior works have studied a relaxed model of adversarially robust learning where the learner competes with a “larger” perturbation set , while the adversary is restricted to perturbations in (Ashtiani, Pathak, and Urner, 2023; Bhattacharjee, Hopkins, Kumar, Yu, and Chaudhuri, 2023; Ashtiani, Pathak, and Urner, 2025). Concretely, consider metric balls in dimensions and . Previously, the best known upper bound on sample complexity was (Ashtiani, Pathak, and Urner, 2025). Theorem 1 improves the sample complexity to removing dependence on the ambient dimension and .
Bounded Cardinality Perturbation Sets.
In the special case of adversarially robust learning where for some fixed , Attias, Kontorovich, and Mansour (2022b) established a sample complexity upper bound of via a single call and uniform convergence analysis. Theorem 1 improves the sample complexity to removing the factor entirely, albeit with an improper learning algorithm making calls to .
Broader Models of Robust Learning.
Our work studies supervised classification under test-time perturbations. Adversarial robustness has also been studied in semi-supervised and regression settings (Carmon, Raghunathan, Schmidt, Duchi, and Liang, 2019; Alayrac, Uesato, Huang, Fawzi, Stanforth, and Kohli, 2019; Attias, Hanneke, and Mansour, 2022a; Attias and Hanneke, 2023). A complementary line considers adversarial corruptions at training-time, beginning with the malicious- and nasty-noise models of PAC learning (Kearns and Li, 1993; Bshouty, Eiron, and Kushilevitz, 2002), which were recently shown to be equivalent for efficient distribution-independent learning (Blanc, Huang, Malkin, and Servedio, 2026). Other theoretical works study clean-label and instance-targeted poisoning and robustly reliable prediction under poisoning attacks (Blum, Hanneke, Qian, and Shao, 2021; Hanneke, Karbasi, Mahmoody, Mehalel, and Moran, 2022; Balcan, Blum, Hanneke, and Sharma, 2022), as well as learning with monotone adversaries (Larsen, Pabbaraju, and Shetty, 2026; Mehrotra, 2026). Beyond modeling adversarial examples through prescribed perturbation sets, abstention can provide meaningful guarantees under arbitrary test inputs. In particular, PQ learning combines labeled samples from a training distribution with unlabeled samples from an arbitrary test distribution , seeking low error on while maintaining a low abstention rate on (Goldwasser, Kalai, Kalai, and Montasser, 2020; Kalai and Kanade, 2021). This model is closely connected to reliable learning (Kalai, Kanade, and Mansour, 2012), testable learning with distribution shifts (Klivans, Stavropoulos, and Vasilyan, 2024; Patel, Klivans, Stavropoulos, and Vasilyan, 2026), and has extensions to sequential adversarial injections (Goel, Hanneke, Moran, and Shetty, 2023; Edelman and Goel, 2026; Yu and Blanchard, 2026).
3 Technical Overview
3.1 Sample and Oracle Complexity Upper Bound
We highlight the main ideas behind the analysis of Section 1.1 and proof of Theorem 1. Our proof follows a substantially different route from Montasser, Hanneke, and Srebro (2019). Instead of relying on sample compression arguments which incur a multiplicative factor of dual VC dimension in sample complexity, we proceed with a more direct leave-one-out analysis of bagging RERMs.
Fix an arbitrary class with VC dimension , a perturbation map , an arbitrary oracle (2), and a distribution over that is robustly realizable (. The analysis is divided into three main parts we sketch below.
Distribution over RERMs.
The key idea is to the analyze the distribution over the RERMs that are produced from random samples . In key Lemma 1, we essentially show that in expectation over random test examples , for any perturbation , the fraction of RERMs that misclassify , , is small:
One way of thinking about (3) is that it swaps the order of and inner expectation relative to the expected robust risk of a single RERM, which does not vanish to zero in general as implied by (Montasser, Hanneke, and Srebro, 2019, Theorem 1,),
Bagging Leave-One-Out Analysis.
The next idea is to apply (3) on an empirical distribution and establish a leave-one-out bound on the robust risk. Specifically, in Lemma 3, on a fixed robustly realizable sequence , the aggregate vote over all RERMs can be expressed as
(4) can be thought of as performing bagging (bootstrap aggregation) over all ordered bootstraps. This idealized full-bagging predictor is analogous to a voting predictor that is analyzed by Larsen (2023) for classical PAC learning, though our analysis follows a fundamentally different route tailored to the robust risk relying on (3) and the leave-one-out analysis we sketch below.
Consider a uniform distribution over and a uniform distribution on (leaving out the tuple) for each . Note that the probability the tuple is left out when drawing samples from is equal to . Combining this with (3), it follows that
By applying Markov’s inequality, we establish the following leave-one-out robust error bound on the full bagging predictor (4)
We prove a more general version of this bound that provides an additional margin guarantee in Lemma 3, which will be useful for us later in a sparsification argument. Observe that (5), via an exchangeability argument, implies the following bound on the expected robust risk of (4),
High-Probability Bound and Sparsification.
We next apply a suffix averaging technique due to Aden-Ali, Cherapanamjeri, Shetty, and Zhivotovskiy (2023) to extend the bound in (5) to a high probability bound. With the help an additional technical lemma (Lemma 5), we establish in Lemma 6 a high-probability bound on the robust risk of the suffix-bagging predictor defined as
Observe that the suffix-bagging predictor (6) computes the aggregate vote over a distribution over RERMs where is sampled according to the process defined in (6).
Finally, note that the suffix-bagging predictor (6) is intractable to compute. To overcome this challenge, we observe that we can approximate (6) via a sparsification technique (Lemma 7) due to Moran and Yehudayoff (2016) by drawing enough bootstrap samples according to the process defined in (6). Lemma 7 appeals to uniform convergence over the dual class of to show that bootstrap samples suffice for approximation, where denotes the dual VC dimension. Observe the bagging algorithm performs exactly this sampling process of bootstraps to produce its majority-vote output. This is where the oracle complexity dependence on shows up.
3.2 Oracle Complexity Lower Bound
Proof Overview.
The proof constructs a finite hard family and places a prior on it by choosing the target index uniformly and independently permuting copies of a latent instance set (which defines the randomized function class ). The lower bound rests on two distinct forms of hidden information. First, even after observing an arbitrarily large training sample and making fewer than oracle calls, the learner is unlikely to have the zero-robust-risk target among the hypotheses returned by the oracle. Second, the returned hypotheses reveal too little information to determine the orientation of a carefully chosen opposite-label pair on a uniformly random unseen block. The second obstruction applies even to an improper learner that combines and evaluates all returned hypotheses arbitrarily.
The Function Class and the Role of .
For suitably chosen integer parameters , set , so , and consider the latent instance set
The (randomized) class will consist of hypotheses. Hypothesis labels by if , and by otherwise. The instance space will consist of disjoint blocks, where each block is merely a copy of : a bijection determines the behavior of on block . The permutations are chosen independently and uniformly, so the class behaves identically on every block, up to an unknown permutation of the rows. Thus all combinatorial properties are determined by the behavior on , while hides where the relevant rows occur. In Lemma 8, we show that the (randomized) function class has VC dimension and dual VC dimension .
Robust Realizability and the Hidden Target.
A distribution draws a block , a label uniformly, and a random set , and places in the perturbation set all types with . The resulting robust loss has the exact form
Since is always excluded from , has zero robust risk. In Lemma 10, we argue that after observing the training sample, every index absent from all sampled sets remains a possible target, and conditional on the training sample the true target is uniform over this version space. The class size is chosen so that the version space remains large even when the sample size is arbitrary. Since oracle calls can return at most distinct hypotheses, the probability that the returned set contains the target is less than a small constant .
The Dual-VC Obstruction.
Let be the set of indices of hypotheses returned by the oracle. Since , split into two parts and , each of size at most , and define
Both are valid instances . By construction of , one can verify that all returned hypotheses indexed by predict the same label on and (21), whereas every unreturned hypothesis with index in labels by and by (22). This is the decisive role of the dual VC dimension: fewer than returned hypotheses necessarily leaves an opposite-label pair that those hypotheses cannot distinguish. On each unseen block during training, the random permutation hides which of two instances in is assigned to and which is assigned to ; this unknown assignment is the orientation bit.
The Hidden Orientation is Nearly Uniform.
The preceding local symmetry is not sufficient by itself. The response of the oracle is adaptive and may depend on all hidden block permutations, including through arbitrary tie-breaking, so the identities of the returned hypotheses can leak information about the orientations. After conditioning on the target, the learner’s randomness, the training sample, and all sampled-block permutations, the unseen permutations remain independent. On each unseen block, reveal every returned hypothesis and the unordered pair of instance assigned to and . Swapping the two assignments preserves all revealed information and flips only their orientation, so the orientation is locally uniform. Lemma 11 then implies that the posterior orientation bias on a uniformly selected unseen test block satisfies
Thus, despite the entire adaptive interaction, the relevant orientation on a fresh block remains nearly uniform.
From Hidden Orientation to Robust Error.
For the analysis, we condition on the training sample (and the revealed sampled-block permutations), the learner’s internal randomness, the entire sequence of oracle responses and on the values of every returned hypothesis on the whole domain. This information fixes the, possibly improper, classifier outputted by the learner. The relevant orientation remains hidden because the two special points are indistinguishable to all returned hypotheses. On the good event that: the test block is unseen, the target was not returned, and (32), the point carrying is a valid perturbation when , while the point carrying is valid when . For any fixed values of at the two points, a uniform label and a uniform orientation produce an error in exactly two of the four possible cases, and hence with probability (34). The posterior bias can reduce this probability by at most (35). The good event has probability close to one (37), so averaging gives expected robust risk greater than . Finally, averaging over the prior fixes a single hard pair , and boundedness of the risk yields the stated constant-probability lower bound.
4 Proof of Theorem 1: Sample and Oracle Complexity Upper Bound
In this section, we provide a complete proof of Theorem 1 which we restate below.
See 1
4.1 Leave-One-Out Analysis of Bagging
We begin with proving the following key lemma which establishes an important property: the fraction of RERMs that misclassify a worst-case perturbation of a random example is small.
Lemma 1.
For any class with VC dimension , any , any deterministic oracle , any distribution over such that , and any ,
To prove Lemma 1, we make use of the following recent second-moment bound for consistent VC rules. We note that we could also rely on classical first-moment bounds (Blumer, Ehrenfeucht, Haussler, and Warmuth, 1989), at the expense of an additional factor in the resulting bound.
Lemma 2 (Aden-Ali, Høandgsgaard, Larsen, and Zhivotovskiy (2024); Rawal and Zhivotovskiy (2026)).
Let be a distribution on and let be a class of subsets of with VC dimension . Let be any deterministic selector satisfying for every and . Then,
Proof of Lemma 1.
By Markov’s inequality, observe that
Thus, it suffices to show that
We now proceed with analyzing the random variable . Fix an arbitrary map such that for all . Define the collection of error sets
Observe that , because we are using a fixed map . Consider the selector defined as follows
Because is an oracle for and distribution is robustly realizable: , it follows that on any sample , is robustly correct on , i.e., for each and each , . Since , this implies that for each . Therefore, . Also, since , it follows that .
We are now ready to invoke Lemma 2 to establish
Observe that (7) holds for any map satisfying for all . Fix an arbitrary such that . For any scalar , we will consider a special arbitrary map satisfying
In words, maps each to a perturbation that is an approximate maximizer of the probability of disagreement . Since with probability , it follows then by (7) that
Taking arbitrarily close to zero concludes the proof. ∎
Bagging.
We introduce notation for bagging. For a sequence , let be a bootstrap drawn uniformly at random (with replacement) from and let be the output classifier of (2) on . Equivalently, we can express this as drawing a sequence of integers and denote the bootstrap sample by .
Define the aggregate vote over all ordered bootstraps of as
We now proceed to bound the leave-one-out robust risk of the bagging predictor (8).
Lemma 3 (Leave-One-Out Error).
There is a universal constant such that, for any class with VC dimension , any , any deterministic oracle, any robustly realizable sequence with , and any ,
Remark 2 (Expected Robust Risk).
Note that by an exchangeability argument, the leave-one-out-error in Lemma 3 translates to an expected robust risk bound of
Proof of Lemma 3.
Let . Let be a uniform distribution over . Fix an arbitrary and an arbitrary . Denote by the event that appears in a random sample . By law of total probability,
Because is an oracle for and because distribution is robustly realizable, it follows that for any sample , is robustly correct on : for each and each , . Under event , , thus, . This implies that
Let be a uniform distribution on . Observe that sampling conditioned on event is equivalent to sampling ,
Combining the above, we establish that for each and each ,
where the last inequality follows from the fact that for , for all .
Fix an arbitrary and consider the averaging classifier over all bootstraps computed on . Observe that if
then, by definition, there exists such that
Combining this observation with (9), we can relate the performance of with that of the performance of as follows
By summing over and invoking Lemma 1 with , we obtain
Since and , it follows that . This concludes the proof. ∎
4.2 High-Probability Bound and Sparsification
Our goal here is to convert the leave-one-out-error bound of Lemma 3 to a high probability bound.
Suffix Averaging.
Our first step is to apply the suffix averaging technique due to Aden-Ali, Cherapanamjeri, Shetty, and Zhivotovskiy (2023) on top of bagging (8). Specifically, for a sequence where is an integer, let . For , let be a suffix of length , and let be the bagging predictor produced on .
The proof of the following lemma is a straightforward extension of the suffix averaging argument of Aden-Ali, Cherapanamjeri, Shetty, and Zhivotovskiy (2023, Theorem 2.1) applied to our margin-robust loss. We defer it to Appendix A.
Lemma 4 (High-probability suffix average).
Suppose that is an integer. Then, for every distribution over satisfying (i.e., robustly realizable), every , and , with probability at least ,
Suffix-Bagging Predictor.
Observe that Lemma 4 is not enough by itself as it only guarantees that the average of the margin-robust risk over the suffixes is small. We introduce next the suffix-bagging predictor which averages all the suffix predictors and then proceed to bound its margin-robust risk. Formally, define the suffix-bagging predictor as
The next lemma helps us bound the robust-margin loss of the suffix-bagging predictor (10) by the average robust-margin loss of the suffixes.
Lemma 5 (Averaging two margins).
Let and . For every and every ,
Proof.
Suppose , and choose such that . Let be the fraction of indices for which . Since every margin lies in ,
Since , by rearranging terms, it follows that . By definition of and since , it follows that
Rearranging terms concludes the proof. ∎
We now bound the margin-robust risk of the suffix-bagging predictor (10) with high-probability.
Lemma 6.
For any class with finite VC dimension , any , any (deterministic) oracle , any distribution over satisfying (i.e., robustly realizable), any and confidence parameter , with probability over , it holds that
Proof.
We start by invoking Lemma 4 to convert the in leave-one-out error bound of Lemma 3 to a high probability bound, with margin parameter set to a constant equal to . It follows that with probability at least over ,
To finish the proof, we invoke Lemma 5 with margin parameters and apply to the classifiers for . By definition (10), . The resulting constant . ∎
Note that the suffix-bagging predictor (10) is intractable to compute. To overcome this challenge, we observe that we can approximate (10) via a sparsification technique due to Moran and Yehudayoff (2016) which we state in the lemma below.
Lemma 7 (Sparsification, Moran and Yehudayoff (2016)).
Let be a function class with finite dual VC dimension . Let be an arbitrary distribution over . Then, for any , letting , with probability at least over ,
4.3 Putting the Pieces Together
Proof of Theorem 1.
We start by presenting the learning guarantee for the idealized suffix-bagging-aggregate predictor (10). By invoking Lemma 6, with probability at least over , it holds that
By definition (10), observe that the suffix-bagging-aggregate predictor can be viewed as a distribution over predictors in the class . We can sample from this distribution by sampling an index uniformly at random from and then sampling uniformly at random a bootstrap sample from . By invoking Lemma 7 with an approximation parameter , letting , we have with probability over the bootstrap samples ,
This implies the following guarantee
Combining (12) and (14), with probability at least over the random draw of a training dataset and bootstrap samples ,
This concludes the proof. ∎
5 Proof of Theorem 2: Oracle Complexity Lower Bound
In this section, we provide a complete proof of Theorem 2 which we restate below.
See 2
5.1 Construction
Parameters.
Let . We construct below a family of function classes, each of which has VC dimension and dual VC dimension . Parameter denotes the number of samples provided to the learning algorithm which can be arbitrarily large, and the number of queries the algorithm can make to an RERM oracle is capped to .
Set auxiliary parameters . Let , and . will be the cardinality of each of the function classes, plays a role in the cardinality of the instance space. Later in the proof we will make use of the following inequalities which can be verified given the choice of parameters:
Instance Space.
Define the finite set of latent instances
For every , let be an abstract set of cardinality , with the ’s being pairwise disjoint. We a priori fix an ordering of . For every , introduce a center instance . Define the instance space
Perturbations.
Define the perturbation map
Family of Function Classes.
We will now define the family of function classes based on the set of latent instances and a bijection tuple where each is a bijection map. For each , the function class is defined as follows. If , define for every ,
Note that the functions are distinct since the latent instance separates from every , . Note also that all functions in label the center instances with , the nontrivial action happens only in the blocks .
This defines the family of function classes we will use in the lower bound. In the proof, we will draw the block bijections independently and uniformly at random. It may be helpful to think of the (random) function class as a matrix with columns indexed by , and rows indexed by the blocks .
Lemma 8 (Primal and Dual VC dimension).
For every , and .
Proof.
We start by showing . Choose distinct indices
For , let
Then . In one block , choose the instances that map to . For every , . Hence are shattered.
We now show that . Suppose that instances were shattered. Choose one function for each of the label vectors on these points. At each selected instance, exactly half of these functions, namely , must be negative. But, by construction of the class, this is impossible. Specifically, on any functions in , a latent instance has at most negative values (if ) or at least negative values (if ), because and . Therefore .
We proceed to showing . For the lower bound, choose any with . Given , if , the latent instance is labeled negative by every and positive by every . If , then , and the latent instance is labeled negative by every and positive by every . Hence, the dual class shatters .
For the upper bound, we claim that the dual class cannot shatter functions. Indeed, on such a set, a subset of size can not be labeled negative since it is neither small nor the complement of a small set, so no latent instance in can realize this labeling. Thus . ∎
The Family of Distributions.
For every and , define a distribution over as follows. A sample is generated by:
(i) Draw and independently. (ii) Form by including each independently with probability ; (iii) Form the set of perturbations and set . (iv) Output .
In the lower bound proof, we will be using the collection . The family of distributions is robustly realizable by the class as given by the following lemma.
Lemma 9 (Robust Realizability).
Let with corresponding latent random variables . For every ,
Consequently, .
Proof.
Recall that . If , then every excludes , so for every . Hence the robust loss is zero. If , then there is a perturbation such that , on which , so the robust loss is one. Since the distribution always excludes from , the target has zero robust risk. ∎
Lower Bound Analysis.
The bijection maps are drawn independently and uniformly at random. This determines the random function class . In addition, the target function is drawn independently . This defines the random distribution . Then, a training sample is generated, with corresponding latent variables .
Upon receiving a training sample as input, the learner makes at most queries to an oracle for . We denote by the ordered sequence of indices of the returned functions by the oracle where unused queries are padded with . We denote by the set of distinct indices, . We denote by the returned functions by the oracle. After its interaction and oracle queries, the learner outputs an arbitrary predictor . Note that depends on and ’s internal randomness. Our goal is to bound from below the expected robust risk
5.2 The Target is Unlikely to be Returned
Lemma 10.
Let be the set of distinct indices of all functions returned to a learner making at most oracle calls. Then,
Proof.
Given a realization of latent variables generating the training sample , define the set of sample-consistent target indices
For any realization of and any ,
which does not depend on the particular index . Hence, conditioning on the random permutations , the training sample and its latent variables , is uniform on . Therefore,
Conditional on , every other index other than is absent from all sets with probability . Therefore where . Using ,
Taking expectations and using the fact that the choice parameters satisfies ,
This concludes the proof. ∎
5.3 An Indistinguishable Opposite-Label Pair
In this section, we describe a particular choice of a pair of perturbations of test examples that will have opposite labels but will be indistinguishable from the perspective of the learning algorithm conditioning on all available information during training.
Recall that there is a fixed ordering on each . For every possible response by the oracle, let be its set of nondummy indices. Choose
and define
Since , it follows that and . Thus both in (20) belong to the latent space .
Observe that are indistinguishable to all returned predictors indexed by . By construction of the class , if , then . If , then . Consequently,
In contrast, every unreturned predictor assigns opposite labels:
In particular, on the event , the target labels by and by .
For a bijection , let and be the instances in to which and are mapped to. Write
for the ordered tuple of these two instances (according to the a priori fixed ordering on ), without specifying which instance is mapped to and which is mapped to . Define the orientation bit by
so means that instead. Let be the ordered tuple, of the restrictions (or projections) of the predictors with indices in to , and set
Thus reveals every column (predictor indexed in ) on the block and also the two relevant instances defined above, but not their orientation (which is mapped to and which is mapped to ).
We now verify that the above setup satisfies the requirements (26) of Lemma 11. Let exchange and and be identity otherwise. For a block bijection , put . By (21), replacing by leaves every returned column unchanged, . It also leaves the unordered location pair unchanged, but it flips the orientation . Hence, on every set , the mapping pairs each orientation- bijection with a unique orientation- bijection. Since is uniform over all block bijections, for every side-information value of positive probability,
Thus the orientation is uniform even after the returned columns and the two relevant instances have been revealed.
5.4 Low Total Variation Distance from Uniform
The following lemma combines the information-usage method for controlling data-dependent selection bias (Russo and Zou, 2020) with the tensorization of relative entropy over independent coordinates (Madiman and Tetali, 2010); applying data processing and Pinsker’s inequality converts the resulting coordinatewise information budget into an average posterior-bias bound. Related individual-coordinate mutual-information bounds appear in Bu, Zou, and Veeravalli (2020). Its proof is deferred to Appendix B.
Lemma 11.
Let be independent random variables taking values in finite sets, and let be any finite-valued random variable jointly distributed with . For each possible value of and each , let , , and put . Suppose that, under the prior law of ,
Thus, for every fixed , the bit is fair even after the local side information is revealed. Define the posterior bias
Then
In our context, we will condition on the following information. Fix the random target , the learner’s randomness , the training sample and its latent variables , the permutations of all blocks appearing in the training sample . Define the set of unseen blocks in the domain by , where .
We will condition on . The random variables remain independent uniform bijections. Relabeling the (unseen) coordinates if necessary, we apply Lemma 11 with
The uniformity requirement of the orientation bit (26) is satisfied by (25). The oracle response takes values in , so for every realization of ,
Let and, for , define
Lemma 11, (28), and imply, for every realization of ,
Averaging over gives
Let be the block index of an independent test example, and put when . The test index is uniform on and independent of the hidden block bijections. Together with (30), this yields
5.5 Putting the Pieces Together
Proof of Theorem 2.
Draw an independent test example with latent variables and define the event
On event , both and are subsets of . Therefore
Define the witness instance
Then, on event , the robust loss is bounded from below as follows
Condition on and suppose event holds. Recall that (either and , or vice-versa). The classifier values are fixed under this conditioning. Under our convention for (23), the four possibilities are summarized in the following table
\begin{array}[]{c|cc}&Y=+1&Y=-1\\ \hline\cr\Omega_{I,R}=0&H(u)\overset{?}{=}+1&H(v)\overset{?}{=}-1\\ \Omega_{I,R}=1&H(v)\overset{?}{=}+1&H(u)\overset{?}{=}-1.\end{array}If the and are both uniform, the point is tested once against and once against , so exactly one of those two tests is an error. The same is true for . Hence, for every fixed pair , exactly two of the four equally likely cases produce an error. Therefore, it follows that
The actual posterior law of may not be uniform, but we can relate it to uniform by the variational characterization of total variation,
where is the total variation distance (29).
Combining (33) and (35), then averaging, and then (31), gives
Probability of the good event.
It remains to bound the probability of event (32), , from below. Conditioning on fixes , but remains random. If , then the event is impossible because (as specified in ). If , then every index in is included in with probability . Thus
Consequently,
By a union bound,
Conditioning on the training blocks , . Therefore,
. Lemma 10 shows that . Thus,
Note that the choice of parameters in the construction ensures that . By definition, recall that and . By Bernoulli’s inequality, . Combining the above, with the choice of , it follows that
By the probabilistic method, there must exist a fixed pair (which may depend on learner ) such that . Applying a variant of Markov’s inequality concludes the proof. ∎
AI Disclosure
The author used ChatGPT Pro (5.5 and 5.6) and Codex during the development of several ideas and proofs presented in this paper. The author also used these models to assist with some of the writing.
References
Ishaq Aden-Ali, Yeshwanth Cherapanamjeri, Abhishek Shetty, and Nikita Zhivotovskiy. Optimal PAC bounds without uniform convergence. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, pages 1203–1223. IEEE, 2023. doi: 10.1109/FOCS57990.2023.00071. URL https://doi.org/10.1109/FOCS57990.2023.00071.
Ishaq Aden-Ali, Mikael Møller Høandgsgaard, Kasper Green Larsen, and Nikita Zhivotovskiy. Majority-of-three: The simplest optimal learner? In The Thirty Seventh Annual Conference on Learning Theory, volume 247 of Proceedings of Machine Learning Research, pages 22–45. PMLR, 2024. URL https://proceedings.mlr.press/v247/aden-ali24a.html.
Saba Ahmadi, Avrim Blum, Omar Montasser, and Kevin M. Stangl. Agnostic multi-robust learning using ERM. In International Conference on Artificial Intelligence and Statistics, 2–4 May 2024, Palau de Congressos, Valencia, Spain, volume 238 of Proceedings of Machine Learning Research, pages 2242–2250. PMLR, 2024. URL https://proceedings.mlr.press/v238/ahmadi24a.html.
Jean-Baptiste Alayrac, Jonathan Uesato, Po-Sen Huang, Alhussein Fawzi, Robert Stanforth, and Pushmeet Kohli. Are labels required for improving adversarial robustness? In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, 8-14 December 2019, Vancouver, BC, Canada, pages 12192–12202, 2019. URL http://papers.nips.cc/paper/9388-are-labels-required-for-improving-adversarial-robustness.
Hassan Ashtiani, Vinayak Pathak, and Ruth Urner. Adversarially robust learning with tolerance. In Shipra Agrawal and Francesco Orabona, editors, International Conference on Algorithmic Learning Theory, February 20-23, 2023, Singapore, volume 201 of Proceedings of Machine Learning Research, pages 115–135. PMLR, 2023. URL https://proceedings.mlr.press/v201/ashtiani23a.html.
Hassan Ashtiani, Vinayak Pathak, and Ruth Urner. Simplifying adversarially robust PAC learning with tolerance. In Nika Haghtalab and Ankur Moitra, editors, The Thirty Eighth Annual Conference on Learning Theory, June 30 - July 4, 2025, Lyon, France, volume 291 of Proceedings of Machine Learning Research, pages 147–168. PMLR, 2025. URL https://proceedings.mlr.press/v291/ashtiani25a.html.
Patrick Assouad. Densité et dimension. Annales de l’Institut Fourier, 33(3):233–282, 1983. doi: 10.5802/aif.938. URL https://www.numdam.org/articles/10.5802/aif.938/.
Idan Attias and Steve Hanneke. Adversarially robust PAC learnability of real-valued functions. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett, editors, International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA, volume 202 of Proceedings of Machine Learning Research, pages 1172–1199. PMLR, 2023. URL https://proceedings.mlr.press/v202/attias23a.html.
Idan Attias, Steve Hanneke, and Yishay Mansour. A characterization of semi-supervised adversarially robust PAC learnability. In Sanmi Koyejo, S. Mohamed, A. Agarwal, Danielle Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 - December 9, 2022, 2022a. URL http://papers.nips.cc/paper_files/paper/2022/hash/95a704bd2fdf8ef8242b4adcc7ce3c93-Abstract-Conference.html.
Idan Attias, Aryeh Kontorovich, and Yishay Mansour. Improved generalization bounds for adversarially robust learning. J. Mach. Learn. Res., 23:175:1–175:31, 2022b. URL https://jmlr.org/papers/v23/20-1353.html.
Maria-Florina Balcan, Avrim Blum, Steve Hanneke, and Dravyansh Sharma. Robustly-reliable learners under poisoning attacks. In Conference on Learning Theory, Proceedings of Machine Learning Research, pages 4498–4534. PMLR, 2022. URL https://proceedings.mlr.press/v178/balcan22a.html.
Robi Bhattacharjee, Max Hopkins, Akash Kumar, Hantao Yu, and Kamalika Chaudhuri. Robust empirical risk minimization with tolerance. In Shipra Agrawal and Francesco Orabona, editors, International Conference on Algorithmic Learning Theory, February 20-23, 2023, Singapore, volume 201 of Proceedings of Machine Learning Research, pages 182–203. PMLR, 2023. URL https://proceedings.mlr.press/v201/bhattacharjee23a.html.
Battista Biggio, Igino Corona, Davide Maiorca, Blaine Nelson, Nedim Šrndić, Pavel Laskov, Giorgio Giacinto, and Fabio Roli. Evasion attacks against machine learning at test time. In Joint European conference on machine learning and knowledge discovery in databases, pages 387–402. Springer, 2013.
Guy Blanc, Yizhi Huang, Tal Malkin, and Rocco A. Servedio. Is nasty noise actually harder than malicious noise? In Kasper Green Larsen and Barna Saha, editors, Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2026, Vancouver, BC, Canada, January 11-14, 2026, pages 6767–6787. SIAM, 2026. doi: 10.1137/1.9781611978971.243. URL https://doi.org/10.1137/1.9781611978971.243.
Avrim Blum, Steve Hanneke, Jian Qian, and Han Shao. Robust learning under clean-label attack. In Conference on Learning Theory, COLT 2021, Proceedings of Machine Learning Research, pages 591–634. PMLR, 2021. URL http://proceedings.mlr.press/v134/blum21a.html.
Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K. Warmuth. Learnability and the Vapnik-Chervonenkis dimension. J. ACM, 36(4):929–965, 1989. doi: 10.1145/76359.76371. URL https://doi.org/10.1145/76359.76371.
Leo Breiman. Bagging predictors. Mach. Learn., 24(2):123–140, 1996. doi: 10.1007/BF00058655. URL https://doi.org/10.1007/BF00058655.
Nader H. Bshouty, Nadav Eiron, and Eyal Kushilevitz. PAC learning with nasty noise. Theor. Comput. Sci., 288(2):255–275, 2002. doi: 10.1016/S0304-3975(01)00403-0. URL https://doi.org/10.1016/S0304-3975(01)00403-0.
Yuheng Bu, Shaofeng Zou, and Venugopal V. Veeravalli. Tightening mutual information-based bounds on generalization error. IEEE Journal on Selected Areas in Information Theory, 1(1):121–130, 2020. doi: 10.1109/JSAIT.2020.2991139. URL https://doi.org/10.1109/JSAIT.2020.2991139.
Sebastien Bubeck, Yin Tat Lee, Eric Price, and Ilya Razenshteyn. Adversarial examples from computational constraints. In International Conference on Machine Learning, pages 831–840, 2019.
Yair Carmon, Aditi Raghunathan, Ludwig Schmidt, John C. Duchi, and Percy Liang. Unlabeled data improves adversarial robustness. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, 8-14 December 2019, Vancouver, BC, Canada, pages 11190–11201, 2019. URL http://papers.nips.cc/paper/9298-unlabeled-data-improves-adversarial-robustness.
Jeremy Cohen, Elan Rosenfeld, and J. Zico Kolter. Certified adversarial robustness via randomized smoothing. In Kamalika Chaudhuri and Ruslan Salakhutdinov, editors, Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 1310–1320. PMLR, 2019. URL http://proceedings.mlr.press/v97/cohen19c.html.
Daniel Cullina, Arjun Nitin Bhagoji, and Prateek Mittal. Pac-learning in the presence of adversaries. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, 3-8 December 2018, Montréal, Canada, pages 228–239, 2018. URL http://papers.nips.cc/paper/7307-pac-learning-in-the-presence-of-adversaries.
Ezra Edelman and Surbhi Goel. Reliable abstention under adversarial injections: Tight lower bounds and new upper bounds. CoRR, abs/2602.20111, 2026. doi: 10.48550/arXiv.2602.20111. URL https://arxiv.org/abs/2602.20111. FORC 2026 Highlights Track.
Andrzej Ehrenfeucht, David Haussler, Michael J. Kearns, and Leslie G. Valiant. A general lower bound on the number of examples needed for learning. Inf. Comput., 82(3):247–261, 1989. doi: 10.1016/0890-5401(89)90002-3. URL https://doi.org/10.1016/0890-5401(89)90002-3.
Surbhi Goel, Steve Hanneke, Shay Moran, and Abhishek Shetty. Adversarial resilience in sequential prediction via abstention. In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10–16, 2023, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/1967f962c7c2083618236d80eeb9d1ac-Abstract-Conference.html.
Shafi Goldwasser, Adam Tauman Kalai, Yael Kalai, and Omar Montasser. Beyond perturbations: Learning guarantees with arbitrary adversarial test examples. In Advances in Neural Information Processing Systems 33, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/b6c8cf4c587f2ead0c08955ee6e2502b-Abstract.html.
Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In Yoshua Bengio and Yann LeCun, editors, 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015. URL http://arxiv.org/abs/1412.6572.
Steve Hanneke, Amin Karbasi, Mohammad Mahmoody, Idan Mehalel, and Shay Moran. On optimal learning under targeted data poisoning. In Sanmi Koyejo, S. Mohamed, A. Agarwal, Danielle Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 - December 9, 2022, 2022. URL http://papers.nips.cc/paper_files/paper/2022/hash/c6afe9a5d1e1068796d32613ddca1ab7-Abstract-Conference.html.
David Haussler, Nick Littlestone, and Manfred K. Warmuth. Predicting 0,1-functions on randomly drawn points. Information and Computation, 115(2):248–292, 1994. doi: 10.1006/INCO.1994.1097. URL https://doi.org/10.1006/inco.1994.1097.
Adam Tauman Kalai and Varun Kanade. Efficient learning with arbitrary covariate shift. In Vitaly Feldman, Katrina Ligett, and Sivan Sabato, editors, Algorithmic Learning Theory, 16-19 March 2021, Virtual Conference, Worldwide, volume 132 of Proceedings of Machine Learning Research, pages 850–864. PMLR, 2021. URL http://proceedings.mlr.press/v132/kalai21a.html.
Adam Tauman Kalai, Varun Kanade, and Yishay Mansour. Reliable agnostic learning. J. Comput. Syst. Sci., 78(5):1481–1495, 2012. doi: 10.1016/J.JCSS.2011.12.026. URL https://doi.org/10.1016/j.jcss.2011.12.026.
Amin Karbasi and Kasper Green Larsen. The impossibility of parallelizing boosting. In Claire Vernade and Daniel Hsu, editors, International Conference on Algorithmic Learning Theory, 25-28 February 2024, La Jolla, California, USA, volume 237 of Proceedings of Machine Learning Research, pages 635–653. PMLR, 2024. URL https://proceedings.mlr.press/v237/karbasi24a.html.
Michael J. Kearns and Ming Li. Learning in the presence of malicious errors. SIAM J. Comput., 22(4):807–837, 1993. doi: 10.1137/0222052. URL https://doi.org/10.1137/0222052.
Adam R. Klivans, Konstantinos Stavropoulos, and Arsen Vasilyan. Testable learning with distribution shift. In The Thirty Seventh Annual Conference on Learning Theory, Proceedings of Machine Learning Research, pages 2887–2943. PMLR, 2024. URL https://proceedings.mlr.press/v247/klivans24a.html.
Kasper Green Larsen. Bagging is an optimal PAC learner. In The Thirty Sixth Annual Conference on Learning Theory, volume 195 of Proceedings of Machine Learning Research, pages 450–468. PMLR, 2023. URL https://proceedings.mlr.press/v195/larsen23a.html.
Kasper Green Larsen, Chirag Pabbaraju, and Abhishek Shetty. Learning with monotone adversarial corruptions. In Matus Telgarsky and Jonathan Ullman, editors, Proceedings of the 37th International Conference on Algorithmic Learning Theory, volume 313 of Proceedings of Machine Learning Research, pages 1–18. PMLR, 2026. URL https://proceedings.mlr.press/v313/larsen26a.html.
Nick Littlestone. Learning quickly when irrelevant attributes abound: A new linear-threshold algorithm. Mach. Learn., 2(4):285–318, 1987. doi: 10.1007/BF00116827. URL https://doi.org/10.1007/BF00116827.
Mokshay M. Madiman and Prasad Tetali. Information inequalities for joint distributions, with interpretations and applications. IEEE Transactions on Information Theory, 56(6):2699–2713, 2010. doi: 10.1109/TIT.2010.2046253. URL https://doi.org/10.1109/TIT.2010.2046253.
Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net, 2018. URL https://openreview.net/forum?id=rJzIBfZAb.
Anay Mehrotra. Optimal rates for learning with monotone adversaries. CoRR, abs/2608.06337, 2026. URL https://arxiv.org/abs/2608.06337.
Omar Montasser, Steve Hanneke, and Nathan Srebro. VC classes are adversarially robustly learnable, but only improperly. In Conference on Learning Theory, COLT 2019, Proceedings of Machine Learning Research, pages 2512–2530. PMLR, 2019. URL http://proceedings.mlr.press/v99/montasser19a.html.
Omar Montasser, Surbhi Goel, Ilias Diakonikolas, and Nathan Srebro. Efficiently learning adversarially robust halfspaces with noise. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 7010–7021. PMLR, 2020a. URL http://proceedings.mlr.press/v119/montasser20a.html.
Omar Montasser, Steve Hanneke, and Nati Srebro. Reducing adversarially robust learning to non-robust PAC learning. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020b. URL https://proceedings.neurips.cc/paper/2020/hash/a822554e5403b1d370db84cfbc530503-Abstract.html.
Omar Montasser, Steve Hanneke, and Nathan Srebro. Adversarially robust learning with unknown perturbation sets. In Mikhail Belkin and Samory Kpotufe, editors, Conference on Learning Theory, COLT 2021, 15-19 August 2021, Boulder, Colorado, USA, volume 134 of Proceedings of Machine Learning Research, pages 3452–3482. PMLR, 2021. URL http://proceedings.mlr.press/v134/montasser21a.html.
Omar Montasser, Steve Hanneke, and Nathan Srebro. Adversarially robust learning: A generic minimax optimal learner and characterization. In Advances in Neural Information Processing Systems 35, 2022. URL http://papers.nips.cc/paper_files/paper/2022/hash/f392c6bbb14548df50092f10c9db440f-Abstract-Conference.html.
Shay Moran and Amir Yehudayoff. Sample compression schemes for VC classes. J. ACM, 63(3):21:1–21:10, 2016. doi: 10.1145/2890490. URL https://doi.org/10.1145/2890490.
Shyamal Patel, Adam R. Klivans, Konstantinos Stavropoulos, and Arsen Vasilyan. Equivalence of coarse and fine-grained models for learning with distribution shift. In Steve Hanneke and Tor Lattimore, editors, The Thirty Ninth Annual Conference on Learning Theory, June 29 - July 3, 2026, San Diego, California, USA, volume 336 of Proceedings of Machine Learning Research, pages 4022–4049. PMLR, 2026. URL https://proceedings.mlr.press/v336/patel26a.html.
Divit Rawal and Nikita Zhivotovskiy. Majority-of-three is optimal. CoRR, abs/2606.13614, 2026. doi: 10.48550/ARXIV.2606.13614. URL https://doi.org/10.48550/arXiv.2606.13614.
Daniel Russo and James Zou. How much does your data exploration overfit? controlling bias via information usage. IEEE Transactions on Information Theory, 66(1):302–323, 2020. doi: 10.1109/TIT.2019.2945779. URL https://doi.org/10.1109/TIT.2019.2945779.
Robert E. Schapire and Yoav Freund. Boosting: Foundations and Algorithms. Adaptive Computation and Machine Learning. The MIT Press, Cambridge, Massachusetts, 2012. ISBN 978-0-262-01718-3. doi: 10.7551/mitpress/8291.001.0001. URL https://doi.org/10.7551/mitpress/8291.001.0001.
Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 5019–5031, 2018. URL https://proceedings.neurips.cc/paper/2018/hash/f708f064faaf32a43e4d3c784e6af9ea-Abstract.html.
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
Leslie G. Valiant. A theory of the learnable. Commun. ACM, 27(11):1134–1142, 1984. doi: 10.1145/1968.1972. URL https://doi.org/10.1145/1968.1972.
V. N. Vapnik and A. Ya. Chervonenkis. On the uniform convergence of relative frequencies of events to their probabilities. Theory of Probability & Its Applications, 16(2):264–280, 1971. doi: 10.1137/1116025. URL https://doi.org/10.1137/1116025.
Dong Yin, Kannan Ramchandran, and Peter L. Bartlett. Rademacher complexity for adversarially robust generalization. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 7085–7094. PMLR, 2019. URL http://proceedings.mlr.press/v97/yin19b.html.
Jialin Yu and Mo”ise Blanchard. Distribution-free sequential prediction with abstentions. In Steve Hanneke and Tor Lattimore, editors, The Thirty Ninth Annual Conference on Learning Theory, June 29 - July 3, 2026, San Diego, California, USA, volume 336 of Proceedings of Machine Learning Research, pages 6976–7011. PMLR, 2026. URL https://proceedings.mlr.press/v336/yu26a.html.
Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric P. Xing, Laurent El Ghaoui, and Michael I. Jordan. Theoretically principled trade-off between robustness and accuracy. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 7472–7482. PMLR, 2019. URL http://proceedings.mlr.press/v97/zhang19p.html.
A Auxiliary Lemmata for Upper Bound
The proof is a straightforward extension of the suffix averaging argument of Aden-Ali, Cherapanamjeri, Shetty, and Zhivotovskiy [2023, Theorem 2.1] applied to our margin-robust loss. Observe that the bagging predictor (8) is permutation invariant. That is, for any sequence and permutation , . Furthermore, by Lemma 3, its leave-one-out error with respect to the margin-robust loss is bounded from above by .
The following Lemmas are the margin-robust counterparts of the forward and reverse martingale bounds in Lemmas 4.2 and 4.3 [Aden-Ali, Cherapanamjeri, Shetty, and Zhivotovskiy, 2023]. Their proofs apply verbatim: the displayed margin-robust loss is measurable and takes values in , while the reverse martingale argument uses only bounded leave-one-out error (Lemma 3) and permutation invariance.
Lemma 12 (Forward martingale bound, Lemma 4.2 in Aden-Ali, Cherapanamjeri, Shetty, and Zhivotovskiy [2023]).
Let . For every , with probability at least ,
Lemma 13 (Reverse martingale bound, Lemma 4.3 in Aden-Ali, Cherapanamjeri, Shetty, and Zhivotovskiy [2023]).
Suppose that is a distribution over satisfying (i.e., robustly realizable). Let . Let . For every , with probability at least ,
Proof of Lemma 4.
Apply Lemma 12 and Lemma 13 with confidence parameter . By a union bound, with probability at least ,
Since is decreasing,
Consequently,
Taking and gives
It follows that
which proves the lemma. ∎
B Auxiliary Lemmata for Lower Bound
See 11
Proof.
The point of the lemma is that the transcript value may select a different bit and different side information . We therefore keep fixed until the last averaging step.
Fix and write . Since is a deterministic function of , the relative-entropy chain rule gives
The first term on the right is nonnegative. Multiplying by , summing over , and using the definition of mutual information therefore yields
The second law in each summand conditions on the fixed statistic but not on the event ; the KL divergence therefore measures the additional information supplied by that event.
We next decompose the left side of (39) across coordinates. For fixed and every in the support of , independence of the and the coordinatewise form of imply
Indeed, before normalization the conditional mass at factors as
For an arbitrary law on a product space, with marginals , and a product reference law , one has
Applying (41) conditionally, with the product reference law in (40), and then averaging gives
Again, the second law in each summand conditions only on the fixed local statistic , not on the event .
For each fixed , the map is deterministic. Applying the data processing inequality to every summand in (42), followed by (26), gives
Applying Pinsker’s inequality, with natural logarithms, gives , where and is the total variation distance. Finally, by Cauchy–Schwarz and Jensen’s inequality,
This proves (27). ∎