Skip to main content

Towards Certification of Uncertainty Calibration under Adversarial Attacks

Cornelius Emde‚ Francesco Pinto‚ Thomas Lukasiewicz‚ Philip Torr and Adel Bibi

Abstract

Since neural classifiers are known to be sensitive to adversarial perturbations that alter their accuracy, certification methods have been developed to provide provable guarantees on the insensitivity of their predictions to such perturbations. On the other hand, in safety-critical applications, the frequentist interpretation of the confidence of a classifier (also known as model calibration) can be of utmost importance. This property can be measured via the Brier score or the expected calibration error. We show that attacks can significantly harm calibration, and thus propose certified calibration providing worst-case bounds on calibration under adversarial perturbations. Specifically, we produce analytic bounds for the Brier score and approximate bounds via the solution of a mixed-integer program on the expected calibration error. Finally, we propose novel calibration attacks and demonstrate how they can improve model calibration through adversarial calibration training. The code will be publicly released upon acceptance.

Book Title
Proceedings of the 13th International Conference on Learning Representations‚ ICLR 2025‚ Singapore‚ 24–28 April 2025
Year
2025