Probabilistic Robustness Certificates against Adversarial Attacks

Sara Taheri, Majid Zamani
Proceedings of the 43rd International Conference on Machine Learning, PMLR 306:118037-118055, 2026.

Abstract

The growing use of machine learning in safety-critical settings heightens vulnerability to adversarial attacks. Existing defense mechanisms typically either lack formal guarantees or depend on restrictive assumptions about the model family, the threat model, or the perturbation budget, and many only offer point-wise certification. Importantly, they often overlook the inherent stochasticity of modern training pipelines, which undermines their practical reliability. We introduce a probabilistic framework that views gradient-based training as a discrete-time stochastic dynamical system and formulates adversarial robustness as a safety verification task. Leveraging barrier certificates (BCs), we derive sufficient conditions to probabilistically certify a robust radius against worst-case ${\ell}_p$-bounded perturbation, guaranteeing that the final model parameters remain within a safe set. For tractable computation, we represent BCs with neural networks and obtain probably approximately correct (PAC) guarantees through a scenario convex problem. Our method identifies the largest certified radius for which the trained model is probabilistically accurate with a specified confidence level. Experiments on MNIST, SVHN, and CIFAR-10 show that our framework offers formal robustness guarantees under stochastic training, while being model-agnostic and not requiring prior knowledge of the attack strategy.

Cite this Paper


BibTeX
@InProceedings{pmlr-v306-taheri26b, title = {Probabilistic Robustness Certificates against Adversarial Attacks}, author = {Taheri, Sara and Zamani, Majid}, booktitle = {Proceedings of the 43rd International Conference on Machine Learning}, pages = {118037--118055}, year = {2026}, editor = {Zhang, Tong and Dudik, Miroslav and Jaggi, Martin and Agarwal, Alekh and Li, Sharon and Schuurmans, Dale and Zhu, Jerry and Berkenkamp, Felix and Dong, Hanze and Bietti, Alberto}, volume = {306}, series = {Proceedings of Machine Learning Research}, month = {06--11 Jul}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v306/main/assets/taheri26b/taheri26b.pdf}, url = {https://proceedings.mlr.press/v306/taheri26b.html}, abstract = {The growing use of machine learning in safety-critical settings heightens vulnerability to adversarial attacks. Existing defense mechanisms typically either lack formal guarantees or depend on restrictive assumptions about the model family, the threat model, or the perturbation budget, and many only offer point-wise certification. Importantly, they often overlook the inherent stochasticity of modern training pipelines, which undermines their practical reliability. We introduce a probabilistic framework that views gradient-based training as a discrete-time stochastic dynamical system and formulates adversarial robustness as a safety verification task. Leveraging barrier certificates (BCs), we derive sufficient conditions to probabilistically certify a robust radius against worst-case ${\ell}_p$-bounded perturbation, guaranteeing that the final model parameters remain within a safe set. For tractable computation, we represent BCs with neural networks and obtain probably approximately correct (PAC) guarantees through a scenario convex problem. Our method identifies the largest certified radius for which the trained model is probabilistically accurate with a specified confidence level. Experiments on MNIST, SVHN, and CIFAR-10 show that our framework offers formal robustness guarantees under stochastic training, while being model-agnostic and not requiring prior knowledge of the attack strategy.} }
Endnote
%0 Conference Paper %T Probabilistic Robustness Certificates against Adversarial Attacks %A Sara Taheri %A Majid Zamani %B Proceedings of the 43rd International Conference on Machine Learning %C Proceedings of Machine Learning Research %D 2026 %E Tong Zhang %E Miroslav Dudik %E Martin Jaggi %E Alekh Agarwal %E Sharon Li %E Dale Schuurmans %E Jerry Zhu %E Felix Berkenkamp %E Hanze Dong %E Alberto Bietti %F pmlr-v306-taheri26b %I PMLR %P 118037--118055 %U https://proceedings.mlr.press/v306/taheri26b.html %V 306 %X The growing use of machine learning in safety-critical settings heightens vulnerability to adversarial attacks. Existing defense mechanisms typically either lack formal guarantees or depend on restrictive assumptions about the model family, the threat model, or the perturbation budget, and many only offer point-wise certification. Importantly, they often overlook the inherent stochasticity of modern training pipelines, which undermines their practical reliability. We introduce a probabilistic framework that views gradient-based training as a discrete-time stochastic dynamical system and formulates adversarial robustness as a safety verification task. Leveraging barrier certificates (BCs), we derive sufficient conditions to probabilistically certify a robust radius against worst-case ${\ell}_p$-bounded perturbation, guaranteeing that the final model parameters remain within a safe set. For tractable computation, we represent BCs with neural networks and obtain probably approximately correct (PAC) guarantees through a scenario convex problem. Our method identifies the largest certified radius for which the trained model is probabilistically accurate with a specified confidence level. Experiments on MNIST, SVHN, and CIFAR-10 show that our framework offers formal robustness guarantees under stochastic training, while being model-agnostic and not requiring prior knowledge of the attack strategy.
APA
Taheri, S. & Zamani, M.. (2026). Probabilistic Robustness Certificates against Adversarial Attacks. Proceedings of the 43rd International Conference on Machine Learning, in Proceedings of Machine Learning Research 306:118037-118055 Available from https://proceedings.mlr.press/v306/taheri26b.html.

Related Material