On Proper Learnability between Average- and Worst-case Robustness

Vinod Raman, Unique Subedi, Ambuj Tewari

In standard machine learning theory, the PAC (Probably Approximately Correct) framework guarantees that if a hypothesis class has a finite VC dimension, it can be efficiently learned. However, when we introduce the requirement of adversarial robustness—ensuring models do not flip predictions under slight input perturbations—this classical guarantee breaks down.

A landmark 2019 paper by Montasser et al. demonstrated that for worst-case adversarial robustness, a finite VC dimension is insufficient for "proper" learning. In proper learning, an algorithm is constrained to output a hypothesis from its original, predefined class. To achieve worst-case robustness, learners are often forced to select from much more complex, improper classes. This paper investigates whether a middle ground exists: if we relax the strict "worst-case" robustness requirement to an average-case or probabilistic one, can simple, proper learning rules like Empirical Risk Minimization (ERM) succeed?

Theoretical Framework and Relaxations

To find this middle ground, the authors explore several theoretical relaxations of the adversarial robust loss:

  1. Probabilistically Robust Loss ($\ell_\rho$): Under this relaxation, a model is deemed robust if it only fails on a small fraction ($\rho$) of possible perturbations, rather than demanding perfection against every conceivable attack.
  2. Lipschitz-Continuous Relaxations: Instead of a hard, binary threshold (where a model is either robust or it isn't), the authors apply smooth loss functions (such as hinge or squared loss) to the classifier's margin under perturbation.
  3. Sandwich Uniform Convergence (SUC): To analyze these relaxations, the authors introduce a novel theoretical framework called SUC. This framework proves that if a "target" loss is sandwiched between two other losses, and the intermediate loss generalizes well, the learner can achieve robustness against the stricter loss even without directly optimizing it.

The proofs rely heavily on advanced tools from statistical learning theory, including Rademacher complexity and the Ledoux-Talagrand contraction principle.

Key Insights and Results

As a purely theoretical work, the paper relies on mathematical constructions rather than empirical datasets to establish its bounds. The findings reveal a fascinating dichotomy in robust learning:

The Hardness of Thresholds

Even when relaxing requirements to probabilistic robustness, maintaining a hard threshold (e.g., "the model must be robust to 90% of perturbations") means proper learning can still fail. The authors prove (Theorem 3.1) that there exists a perturbation setting where a hypothesis class with a VC dimension of 1 is not properly learnable under the $\ell_\rho$-probabilistically robust loss. An arbitrary gap can exist between the complexity of the hypothesis class and the complexity of the robust loss class.

The Power of Smoothness

The critical bottleneck in proper robust learning is the discontinuity of the standard robust loss, which acts as a step function. By replacing this with a Lipschitz-continuous function, finite VC dimension once again becomes sufficient for learning via ERM. Theorem 4.2 demonstrates that for any $L$-Lipschitz robust loss, the sample complexity for proper learning scales linearly with the VC dimension:

$$\mathcal{O}\left(\frac{VC(H)L^2 \log(L/\epsilon) + \log(1/\delta)}{\epsilon^2}\right)$$

Relaxed Competition and ERM Generalization

Proper learning becomes significantly easier if the learner is allowed to compete against a slightly stronger benchmark. For example, if the goal is to be $\rho$-robust, but performance is compared to the best possible $\rho^*$-robust model (where $\rho^* < \rho$), ERM suddenly becomes a viable strategy. Using the SUC lemma, the authors provide new bounds showing that standard ERM on the worst-case robust loss yields strong generalization guarantees when evaluated against a slightly relaxed probabilistic robustness metric. Furthermore, some of these bounds are "measure-independent," meaning they hold regardless of how the adversary samples perturbations—a strong guarantee for real-world security.

Limitations and Future Directions

While the paper successfully maps the theoretical boundaries of sample complexity for robust learning, practical challenges remain. The findings focus strictly on sample complexity (data requirements). However, finding the actual ERM solution for robust losses is often computationally NP-hard, meaning computational complexity remains a hurdle.

Additionally, the paper does not resolve the well-known robustness-accuracy trade-off, where increasing adversarial robustness often degrades standard (nominal) accuracy. Looking forward, the authors suggest searching for a "combinatorial characterization" of probabilistic robustness—essentially seeking a new analogue to VC dimension tailored specifically for these relaxed robust settings.

Summary updated

BibTeX
@inproceedings{raman2023proper,
  author = {Vinod Raman and UNIQUE SUBEDI and Ambuj Tewari},
  title = {{On Proper Learnability between Average- and Worst-case Robustness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=4yXnnCK3r9},
}
Figure