Adversarial Attacks on Uncertainty Quantification

608 concepts290 papers2 proposals

The standard mental model of an adversarial attack involves pushing an input across a decision boundary. A clean image of a panda sits safely on one side; an attacker adds an imperceptible layer of noise, nudging the vector across the threshold until the model misclassifies it as a gibbon.

To protect systems from these boundary-crossing exploits, researchers built Uncertainty Quantification (UQ). The intuition was simple: if an input is corrupted or sits dangerously close to a decision boundary, the model should exhibit high entropy or wide prediction intervals, signaling to a human operator or an automated fallback system that the prediction cannot be trusted.

However, a growing body of research reveals a critical flaw in this defense: uncertainty metrics are themselves differentiable, predictable outputs that can be directly manipulated by an adversary. Instead of trying to flip a model's classification label, attackers can optimize perturbations specifically to distort a model's self-reported confidence. This shifts the threat model from simple misclassification to a more insidious form of deception: making a model highly confident in its mistakes, or completely blind to its own ignorance.

Decoupling Accuracy from Confidence

To understand why this works, we must look at the geometry of a model's decision space. A standard adversarial attack moves an input orthogonally across a decision boundary. A confidence-targeted attack, by contrast, can move an input parallel to the boundary, or deeper into an incorrect region, altering the underlying logit distributions without necessarily changing the top-1 prediction.

In Disrupting Deep Uncertainty Estimation Without Harming Accuracy, Galil et al. demonstrated this decoupling through an attack called ACE (Attack on Confidence Estimation). By adjusting inputs to shift instances within decision boundaries rather than across them, the attack artificially inflates the confidence of incorrect predictions and suppresses the confidence of correct ones.

Standard Attack:
[ Benign Sample ] ---> (Crosses Boundary) ---> [ Misclassified Sample ]

Confidence Attack (ACE):
[ Incorrect Sample ] ---> (Shifted away from Boundary) ---> [ High-Confidence Error ]

Because the top-1 accuracy remains completely unchanged, standard accuracy-based monitoring systems fail to detect that anything is wrong. Yet, the safety-critical "abstention" mechanisms—which rely on the assumption that a model will be less confident in its errors than in its correct predictions—are rendered entirely useless.

The Differentiability of Trust

Why are these uncertainty metrics so vulnerable? The answer lies in how they are calculated. Whether a system uses basic softmax probabilities, deep ensembles, or Dirichlet-based architectures, the final uncertainty score is ultimately a mathematical function of the model's logits.

Because these functions are continuous and smooth, an attacker can compute gradients through them just as easily as they do through a standard cross-entropy loss. As Ledda et al. showed in Adversarial Attacks Against Uncertainty Quantification, trust scores can be directly optimized to suppress the high-uncertainty regions that naturally occur at object boundaries or out-of-distribution (OOD) edges.

By optimizing perturbations against metrics like differential entropy, an attacker can force anomalous or foreign inputs to register as high-confidence, in-distribution data. In her evaluation of Dirichlet-based uncertainty models, Kopetzki demonstrated that even architectures explicitly designed to "know what they don't know" fail under this type of adversarial pressure. The optimization minimizes the model's epistemic uncertainty, tricking the network into treating a structural vulnerability as a mathematical certainty.

Poisoning Statistical Guarantees

This vulnerability is not confined to deep neural networks; it extends to rigorous statistical frameworks like Conformal Prediction (CP). Conformal prediction is widely favored because it provides distribution-free coverage guarantees, generating a set of labels that is guaranteed to contain the true label with a user-defined probability (e.g., 95%). CP achieves this by evaluating "nonconformity scores" on a clean calibration dataset.

However, this framework assumes the integrity of the calibration distribution. In Data Poisoning Attacks against Conformal Prediction, Li et al. proved that an adversary can execute a stealthy data-poisoning attack targeting these nonconformity scores.

By subtly altering the distribution of residuals during calibration, the attacker can force the conformal system to calculate an incorrect quantile threshold. This allows the adversary to manipulate the size of the prediction sets at test time:

  • Adversarial Overconfidence: Forcing the model to produce excessively narrow, uninformative prediction sets that fail to cover the true label.
  • Adversarial Underconfidence: Forcing the model to produce overly broad, bloated prediction sets, effectively triggering a denial-of-service by making the system too hesitant to act.

Because the primary classification labels remain accurate, traditional data-poisoning defenses designed to catch label-flipping fail to notice the shift in the underlying residuals.

Verbalized Confidence and Persona Manipulation in LLMs

As the AI landscape shifts toward Large Language Models (LLMs), the surface area for confidence manipulation has expanded from continuous logit spaces to natural language. Modern LLMs are frequently tasked with "verbalizing" their confidence (e.g., responding with "I am 90% sure of this answer").

This transition introduces a unique paradox. In Confidence Elicitation: A New Attack Vector for Large Language Models, Formento et al. identified an inherent tension between utility and robustness: well-calibrated models that accurately verbalize their internal certainty provide a high-fidelity signal that black-box attackers can exploit to map out the model's internal knowledge and bypass API restrictions.

Conversely, this verbalized confidence is incredibly fragile. Bakman et al. demonstrated in Reconsidering LLM Uncertainty Estimation Methods in the Wild that probability-based uncertainty measures can be completely masked by "confidence-boosting" prompts. If an adversarial prompt instructs an LLM to adopt a highly confident persona, the model's internal token log-probabilities artificially inflate to match the requested persona rather than its actual underlying knowledge base, effectively hiding hallucinations from detection systems.

Remarkably, the relationship between an agent's decision-making and its self-assessment is a two-way street. In On the Robustness of Verbal Confidence of LLMs in Adversarial Attacks, Obadinma et al. showed that using the reduction of verbal confidence as an adversarial objective does not just make the model sound insecure—it actually pressures the model into changing its final answer from correct to incorrect.

This tightly coupled vulnerability means that as long as uncertainty quantification remains a downstream product of a model's internal representations, it cannot serve as an independent safeguard. To build truly dependable systems, defenses must move beyond protecting what a model decides, and begin defending how surely it decides it.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 306 papers
  2. Version 1 · 2026-10-04 · 275 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_adversarial_overconfidence_7b24bbe8,
  title = {adversarial overconfidence},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adversarial-overconfidence/rdr_7b24bbe80f9b4528bf13bce438533595},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 2, frozen text):

@misc{lacuna_adversarial_overconfidence_7b24bbe8_v2,
  title = {adversarial overconfidence},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adversarial-overconfidence/rdr_7b24bbe80f9b4528bf13bce438533595/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake