Skip to main content
QUICK REVIEW

[Paper Review] Robust Models are less Over-Confident

Julia Grabinski, Paul Gavrikov|arXiv (Cornell University)|Oct 12, 2022
Adversarial Robustness in Machine LearningComputer Science6 citations
TL;DR

This paper demonstrates that adversarially trained (robust) models exhibit significantly lower prediction confidence and improved calibration compared to non-robust models, even on clean data. The key finding is that robustness training inherently reduces overconfidence, and improved network components like advanced activation functions and downsampling layers further enhance calibration, making robust models more reliable for real-world deployment.

ABSTRACT

Despite the success of convolutional neural networks (CNNs) in many academic benchmarks for computer vision tasks, their application in the real-world is still facing fundamental challenges. One of these open problems is the inherent lack of robustness, unveiled by the striking effectiveness of adversarial attacks. Current attack methods are able to manipulate the network's prediction by adding specific but small amounts of noise to the input. In turn, adversarial training (AT) aims to achieve robustness against such attacks and ideally a better model generalization ability by including adversarial samples in the trainingset. However, an in-depth analysis of the resulting robust models beyond adversarial robustness is still pending. In this paper, we empirically analyze a variety of adversarially trained models that achieve high robust accuracies when facing state-of-the-art attacks and we show that AT has an interesting side-effect: it leads to models that are significantly less overconfident with their decisions, even on clean data than non-robust models. Further, our analysis of robust models shows that not only AT but also the model's building blocks (like activation functions and pooling) have a strong influence on the models' prediction confidences. Data & Project website: https://github.com/GeJulia/robustness_confidences_evaluation

Motivation & Objective

  • To investigate the relationship between adversarial robustness and model calibration, particularly prediction confidence.
  • To analyze whether robust models are less overconfident in their predictions, especially on clean and adversarial inputs.
  • To evaluate the influence of architectural components—such as activation functions and downsampling layers—on model confidence and calibration.
  • To explore whether prediction confidence in robust models can serve as an indicator for erroneous predictions.
  • To provide a unified analysis of robustness and calibration, advocating for joint consideration of both in future research.

Proposed method

  • Trained 71 robust and non-robust model pairs on CIFAR-10, CIFAR-100, and ImageNet using standard and adversarial training.
  • Measured output confidence distributions using Softmax probabilities on both clean and adversarial examples for correct and incorrect predictions.
  • Evaluated the impact of architectural components—specifically improved activation functions (e.g., SiLU) and downsampling layers—on confidence calibration.
  • Used confidence thresholds to detect incorrect predictions, assessing the reliability of confidence as a proxy for model uncertainty.
  • Compared generalization performance on known vs. unseen adversarial attacks to assess overfitting to specific perturbations.
  • Released a comprehensive model zoo and evaluation code to support reproducibility and further research.

Experimental results

Research questions

  • RQ1Do adversarially trained models exhibit lower overconfidence in their predictions compared to non-robust models on clean data?
  • RQ2How do architectural components such as activation functions and downsampling layers affect the confidence calibration of robust models?
  • RQ3Can prediction confidence in robust models reliably indicate incorrect predictions?
  • RQ4Do robust models generalize well to unseen adversarial attacks, or do they overfit to the specific perturbations seen during training?
  • RQ5To what extent does adversarial training inherently improve model calibration beyond just robustness?

Key findings

  • Non-robust models are significantly overconfident in their incorrect predictions, with mean confidence values exceeding 95% on adversarial examples.
  • Robust models show substantially lower confidence on both clean and adversarial inputs, with mean confidence on wrong predictions dropping to around 50–60%, indicating better calibration.
  • Models incorporating improved architectural components—such as SiLU activations and specialized downsampling layers—demonstrate even better confidence calibration, reducing overconfidence on incorrect predictions.
  • Prediction confidence in robust models can effectively detect erroneous predictions, with high-confidence outputs strongly correlating with correct classifications.
  • Despite improved calibration, robust models still overfit to the specific adversarial attacks used during training, showing similar performance degradation on unseen attacks as non-robust models.
  • The analysis confirms that adversarial training leads to models that are not only robust but also more reliable in their uncertainty estimates, suggesting a beneficial side effect of robustness training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.