Bagging Robustly Learns VC Classes with Linear Sample Complexity

Omar Montasser
8/13/2026
stat.MLcs.DScs.LG

No confident code implementation found for this paper.

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 $d$, providing an exponential improvement over the previous upper bound of Montasser, Hanneke, and Srebro (2019).

Show full abstract

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 $O(d^\star)$ independent bootstrap samples and outputs their majority vote, where $d^\star$ 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 $Ω(d^\star)$ calls to an RERM oracle, even when given arbitrarily many training examples.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{montasser2026bagging,
  title  = {Bagging Robustly Learns VC Classes with Linear Sample Complexity},
  author = {Omar Montasser},
  year   = {2026},
  eprint = {2608.13514},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.13514v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.13514.svg)](https://codeofpaper.com/paper/2608.13514)

Discussion