On the robustness of adversarial training against uncertainty attacks
In learning problems, the noise inherent to the task at hand hinders the possibility to infer without a certain degree of uncertainty. Quantifying this uncertainty, regardless of its wide use, assumes high relevance for security-sensitive applications. Within these scenarios, it becomes fundamental to guarantee good (i.e., trustworthy) uncertainty measures, which downstream modules can securely employ to drive the final decision-making process. However, an attacker may be interested in forcing the system to produce either (i) highly uncertain outputs jeopardizing the system’s availability or (ii) low uncertainty estimates, making the system accept uncertain samples that would instead require a careful inspection (e.g., human intervention). Therefore, it becomes fundamental to understand how to obtain robust uncertainty estimates against these kinds of attacks. In this work, we reveal both empirically and theoretically that defending against adversarial examples, i.e., carefully perturbed samples that cause misclassification, additionally guarantees a more secure, trustworthy uncertainty estimate under common attack scenarios without the need for an ad-hoc defense strategy. To support our claims, we evaluate multiple adversarial-robust classification models from the publicly available benchmark RobustBench on the CIFAR-10 and ImageNet datasets, and on a robust semantic segmentation model evaluated on Pascal-VOC. The code for the reproducibility of the experiments is available at the following link: https://github.com/pralab/UncertaintyAdversarialRobustness .
Authors
- Battista Biggio (ORCID: https://orcid.org/0000-0001-7752-509X)
- Giorgio Fumera (ORCID: https://orcid.org/0000-0001-5300-226X)
- Emanuele Ledda (ORCID: https://orcid.org/0000-0003-2856-9381)
- Giorgio Piras (ORCID: https://orcid.org/0000-0001-8225-6138)
- Fabio Roli (ORCID: https://orcid.org/0000-0003-4103-9190)
- Daniele Angioni (ORCID: https://orcid.org/0000-0003-4008-2314)
- Giovanni Scodeller (ORCID: https://orcid.org/0009-0003-2984-2949)
- Antonio Emanuele Cin
Institutions
- University of Cagliari (IT)
- Consorzio Interuniversitario Nazionale per l'Informatica (IT)
- University of Genoa (IT)
Publication Details
- Journal
- Pattern Recognition
- Published
- 2025-10-03
- DOI
- https://doi.org/10.1016/j.patcog.2025.112519
- Citations
- 2
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 4.96
Funders
- Università degli Studi di Cagliari
- Fondazione di Sardegna
- European Commission
- Sapienza Università di Roma
- HORIZON EUROPE Framework Programme