Non-Vacuous Generalization Bounds for Adversarial Risk in Stochastic Neural Networks

Abstract

Adversarial examples are manipulated samples used to deceive machine learning models, posing a serious threat in safety-critical applications. Existing safety certificates for machine learning models are limited to individual input examples, failing to capture generalization to unseen data. To address this limitation, we propose novel generalization bounds based on the PAC-Bayesian and randomized smoothing frameworks, providing certificates that predict the model’s performance and robustness on unseen test samples based solely on the training data. We present an effective procedure to train and compute the first non-vacuous generalization bounds for neural networks in adversarial settings. Experimental results on the widely recognized MNIST and CIFAR-10 datasets demonstrate the efficacy of our approach, yielding the first robust risk certificates for stochastic convolutional neural networks under the $L_2$ threat model. Our method offers valuable tools for evaluating model susceptibility to real-world adversarial risks.

Cite

Text

Mustafa et al. "Non-Vacuous Generalization Bounds for Adversarial Risk in Stochastic Neural Networks." Artificial Intelligence and Statistics, 2024.

Markdown

[Mustafa et al. "Non-Vacuous Generalization Bounds for Adversarial Risk in Stochastic Neural Networks." Artificial Intelligence and Statistics, 2024.](https://mlanthology.org/aistats/2024/mustafa2024aistats-nonvacuous/)

BibTeX

@inproceedings{mustafa2024aistats-nonvacuous,
  title     = {{Non-Vacuous Generalization Bounds for Adversarial Risk in Stochastic Neural Networks}},
  author    = {Mustafa, Waleed and Liznerski, Philipp and Ledent, Antoine and Wagner, Dennis and Wang, Puyu and Kloft, Marius},
  booktitle = {Artificial Intelligence and Statistics},
  year      = {2024},
  pages     = {4528-4536},
  volume    = {238},
  url       = {https://mlanthology.org/aistats/2024/mustafa2024aistats-nonvacuous/}
}