On the Robustness of Adversarial Training Against Uncertainty Attacks

Emanuele Ledda, Giovanni Scodeller, Daniele Angioni, Giorgio Piras, Antonio Emanuele Cinà, Giorgio Fumera, Battista Biggio, Fabio Roli · DOI

Abstract

Adversarial Training (AT) is the gold standard for defending against misclassification attacks. This research demonstrates that AT provides a secondary, "two-for-one" benefit by also securing a model's uncertainty estimates. We show, both theoretically and empirically, that models trained to resist label-flipping are naturally more resilient to "uncertainty attacks"—adversarial perturbations designed to trick a system into being dangerously over-confident or needlessly hesitant. By shifting the model's equilibrium toward higher baseline entropy, AT creates a robust buffer against these manipulations.

Introduction

In safety-critical fields like autonomous driving or medical diagnostics, the reliability of a model's confidence is as important as the prediction itself. Uncertainty Quantification (UQ) allows a system to signal when it is unsure, enabling a safe hand-off to human operators. However, these mechanisms are vulnerable to targeted attacks. An under-confidence attack increases uncertainty to cause a denial-of-service for human operators, while an over-confidence attack decreases uncertainty to make the system accept a wrong prediction without scrutiny. This paper investigates whether existing adversarial defenses already protect these uncertainty measures "for free."

Methodology and Theoretical Framework

To evaluate these vulnerabilities, we introduce the concept of Uncertainty Span (US)—the range of uncertainty values an attacker can induce within a specific perturbation budget ($\epsilon$). We utilize Projected Gradient Descent (PGD) to find perturbations that either maximize entropy (under-confidence) or minimize it (over-confidence).

Standard vs Adversarial Training on the probability simplex, illustrating how AT shifts the equilibrium and narrows the Uncertainty Span.

Our theoretical analysis reveals that while standard training converges to a perfectly calibrated state, Adversarial Training shifts the equilibrium toward higher entropy. This "under-confident" nature of AT models acts as a protective shield. Because the model starts with a higher baseline of uncertainty, it becomes significantly harder for an attacker to successfully execute an over-confidence attack.

Empirical Evaluation

We evaluated 23 state-of-the-art models from the RobustBench leaderboard, spanning architectures like ResNets, WideResNets, and Vision Transformers (ViTs) across CIFAR-10 and ImageNet datasets. To measure performance, we proposed s-ECE (signed Expected Calibration Error), which identifies if a model leans toward under-confidence (positive) or over-confidence (negative) under attack.

Entropy distributions for 15 CIFAR-10 models (C1-C15) under clean, over-confidence, and under-confidence attacks.

The results across CIFAR-10 models show that robust accuracy generally correlates with uncertainty stability. Models like Kang2021Stable (C10) and Addepalli2022Efficient (C2) emerged as top performers, maintaining stable entropy distributions even under heavy attack. In ImageNet experiments, Vision Transformers and ConvNeXt architectures generally showed superior uncertainty robustness compared to traditional ResNets.

Conclusion

This study confirms that Adversarial Training is a robust defense not just for classification, but for uncertainty quantification. The inherent "caution" forced by AT naturally mitigates the impact of over-confidence attacks. Future work will look to extend these findings to epistemic uncertainty in Bayesian Neural Networks and broaden the theoretical proofs to multi-class scenarios.

Summary updated

BibTeX
@article{ledda2026robustness,
  author = {Emanuele Ledda and Giovanni Scodeller and Daniele Angioni and Giorgio Piras and Antonio Emanuele Cinà and Giorgio Fumera and Battista Biggio and Fabio Roli},
  title = {{On the Robustness of Adversarial Training Against Uncertainty Attacks}},
  journal = {Pattern Recognition},
  year = {2026},
  doi = {10.1016/j.patcog.2025.112519},
}
Figure