In safety-critical AI deployments—such as medical diagnosis, autonomous driving, or legal analysis—we do not just need a model to be right; we need it to know when it might be wrong. Uncertainty Quantification (UQ) serves as this vital safety layer, providing a "trust score" that signals when a human should intervene.
However, a growing body of research reveals that UQ is not an inherent safeguard, but a vulnerable output itself. Attackers can manipulate a model’s sense of doubt, decoupling its reported confidence from its actual accuracy.
The Differentiable Nature of Doubt
Traditional adversarial attacks focus on "label-flipping"—changing an input just enough to make a model misclassify a "stop sign" as a "speed limit sign." Uncertainty attacks are more subtle. As Emanuele Ledda, Battista Biggio, and colleagues demonstrate in Adversarial Attacks Against Uncertainty Quantification, UQ metrics like entropy or variance are often differentiable functions. This means an attacker can use gradient-based optimization to find perturbations that specifically target the model's confidence levels without necessarily changing the final prediction.
By treating the uncertainty score as an objective function to be minimized or maximized, an adversary can "blind" the system. For example, in semantic segmentation, an attack can eliminate the high-uncertainty regions usually found at object boundaries, making a completely erroneous map appear mathematically certain to downstream safety controllers.
Over-confidence: Bypassing the Safety Filter
The most dangerous form of UQ manipulation is the over-confidence attack. Many systems use an "abstention" or "rejection" mechanism: if the model’s confidence falls below a certain threshold, the system halts and asks for help.
Ido Galil and Ran El-Yaniv introduced the ACE (Attack on Confidence Estimation) in Disrupting Deep Uncertainty Estimation Without Harming Accuracy. ACE nudges a model to be more confident in its mistakes than in its correct answers. Because the attack doesn't change the model's top-line accuracy, it remains "stealthy"—standard monitoring tools see no drop in performance, even though the safety-critical rejection mechanism has been rendered useless. Similarly, Yangyi Li and colleagues have shown that data poisoning can be used to manipulate Conformal Prediction, forcing models to produce dangerously narrow prediction sets that exclude the true label (Data Poisoning Attacks against Conformal Prediction).
Under-confidence: Denial of Decision
Conversely, an attacker can induce under-confidence, a form of adversarial "playing the fool." By maximizing a model's entropy, an attacker can trigger a Denial of Decision (DDoD).
As explored by Benjamin Tag and Dali Kaafar in DDoD: Dual Denial of Decision Attacks on Human-AI Teams, these attacks force a model to constantly signal doubt on perfectly valid inputs. In a human-AI collaborative setting, this floods the human operator with unnecessary requests for intervention, exhausting their cognitive resources and effectively paralyzing the team. In the context of Large Language Models (LLMs), Myeongseob Ko found that inducing high uncertainty can even cause models to "regurgitate" verbatim training data, creating a privacy risk (Retracing the Past: LLMs Emit Training Data When They Get Lost).
The Fragility of Verbalized Confidence
In modern LLMs, uncertainty is often measured not just through internal probabilities, but through "verbalized confidence"—simply asking the model how sure it is. While Eric Mitchell showed that this can sometimes improve calibration (Just Ask for Calibration), it is also highly fragile.
Stephen Obadinma and Xiaodan Zhu demonstrate that simple, meaning-preserving tweaks to a prompt—like adding a typo or a synonym—can tank a model's reported confidence (On the Robustness of Verbal Confidence of LLMs in Adversarial Attacks). Furthermore, Yavuz Faruk Bakman found that "confidence-boosting" prompts (e.g., "Answer as a highly confident expert") can artificially inflate internal token probabilities, effectively masking hallucinations from uncertainty detection methods (Reconsidering LLM Uncertainty Estimation Methods in the Wild).
Building Robust Uncertainty
If uncertainty is a target, how do we defend it?
- Adversarial Training (AT): Emanuele Ledda and Battista Biggio argue that standard AT, which protects labels, provides a "two-for-one" benefit by also stabilizing the logit distributions that UQ relies on (On the Robustness of Adversarial Training Against Uncertainty Attacks).
- Certified Calibration: Researchers like Cornelius Emde and Thomas Lukasiewicz are moving toward mathematical guarantees. Their work on certified calibration aims to provide "worst-case" bounds on how much an attacker can distort a model's confidence, ensuring that the "trust score" remains honest even under pressure (Towards Certification of Uncertainty Calibration under Adversarial Attacks).
- Distributional Alignment: For multimodal models, frameworks like UCAT attempt to align the model's "sense of doubt" between clean and adversarial images, preventing attacks from pushing features into regions of unnatural certainty (Calibrating Uncertainty for Zero-Shot Adversarial CLIP).
As Ola Shorinwa and colleagues conclude in their survey, the future of trustworthy AI depends on making uncertainty quantification as robust as the predictions themselves. Without this, the very metrics we use to ensure safety may become the primary vectors for system failure.