AI systems increasingly decide for themselves when to answer and when to abstain, using a confidence score as the gate. Recent work shows that an attacker can rewrite that score while leaving the answer untouched. For vision-language models, white-box attacks that keep the answer string byte-identical drive the gate's ability to separate right from wrong answers below what one could get from the answer text alone. In one deployment simulation, 84.8% of previously rejected wrong answers were accepted. Defenses that only harden the model have not fixed this. This proposal takes a different route. It treats the gate as a decision under strict uncertainty about which confidence scores have been tampered with. It then spends a small budget of ground-truth checks ("audits", such as a human or a trusted verifier labeling an output) on the items where tampering would do the most damage.
The core idea in two sentences. The gate compares itself against a hindsight oracle that knows which items were attacked, and it minimizes the worst-case gap to that oracle rather than the worst-case loss. It audits the items where trusting the confidence score and distrusting it lead to opposite accept/reject decisions, because those are the only items where an attack can cause damage, and also the items whose audit results most quickly reveal whether an attack is happening.
Core Claim
We claim three things. First, if the attack preserves the answer, a gate built this way never does worse than a gate that ignores confidence and uses only the answer string, up to audit noise. Second, when no attack is present, it stays close to the clean confidence gate. Third, at equal audit budget, it reaches both properties with fewer audits than random auditing or auditing the lowest-confidence items.
The first property is the answer-string floor from Model Confidence Under Answer-Preserving Attacks, which reports a pooled AUROC of 0.617, against clean gates at 0.72–0.78 and attacked gates at 0.13–0.26. The new element is an interactive, regret-driven audit policy layered on a fixed model. It requires no retraining and no new uncertainty estimator.
How the Three Directions Fit
Minimax regret is the decision criterion. The key property, analyzed in Safe Policy Improvement by Minimizing Robust Baseline Regret and exploited by PAIRED in Emergent Complexity and Zero-shot Transfer via Unsupervised Environment Design, is coupling: the candidate policy and the hindsight oracle are evaluated in the same world. Some questions are intrinsically hard, so even an untampered confidence score would misjudge them. Coupling means the adversary gains nothing by pointing at such questions, and the gate is not pushed into rejecting everything. A plain worst-case gate, by contrast, would assume every score is forged and collapse to the floor permanently.
Adversarial query selection supplies the audit rule. The rule adapts the adversarial-witness idea of Regret-based Incremental Partial Revelation Mechanisms, Robust Approximation and Incremental Elicitation in Voting Protocols and Optimal Set Recommendations Based on Regret. Those works pair the current best choice with the alternative an adversary would use to maximize regret, then query the user on exactly that pair.
Adversarial overconfidence is the threat model. That literature shows confidence can be decoupled from accuracy in several ways: ACE in Disrupting Deep Uncertainty Estimation Without Harming Accuracy, variance collapse in Adversarial Attacks Against Uncertainty Quantification, and calibration poisoning in Data Poisoning Attacks against Conformal Prediction. None of these papers proposes an interactive defense.
The witness-elicitation papers also impose a constraint we must respect. They assume noiseless answers that cut a polyhedral set of hypotheses cleanly. An audit is noisy evidence about whether an item was attacked, because even clean items are sometimes wrong. Hard cuts are therefore not usable, and we replace them with statistical confidence sets.
Research Program
Setting. Consider a batch of $N$ model outputs. Each item $i$ has two scores. The first is a confidence score $c_i$ that the attacker may have manipulated. The second is an answer-only score $p_i$: the probability that the answer is correct given only the question and answer text, which the attacker cannot change under the answer-preserving constraint. Let $g(c)$ be the correctness probability given confidence, calibrated on clean held-out data.
Hidden state. The unknown world $\theta$ specifies which items were attacked. On an attacked item, $c_i$ carries no trustworthy information, so the best available estimate of correctness is $p_i$. Let $\pi^*_\theta$ be the oracle gate that knows $\theta$. It thresholds $g(c_i)$ on clean items and $p_i$ on attacked ones. Our gate $\pi$ makes an accept or reject decision for every item and chooses audits. Its objective is
$$\min_{\pi} \max_{\theta \in \Theta_t} \; \big[ L(\pi;\theta) - L(\pi^*_\theta;\theta) \big],$$
where $L$ is the expected cost of accepted wrong answers plus $\lambda$ times the cost of rejected correct answers, and $\Theta_t$ is the set of attack configurations still statistically consistent with the audits seen up to step $t$. The set $\Theta_t$ is built from a likelihood-ratio test on audited outcomes: under $\theta_i=$ clean the outcome is distributed as $g(c_i)$, under $\theta_i=$ attacked as $p_i$. It also respects an attack budget of at most $\rho N$ items, and $\rho$ itself is bracketed by the audit results.
Disagreement items. Regret can only be positive on items where thresholding $g(c_i)$ and thresholding $p_i$ give different decisions. If both scores agree, a forged score changes nothing. These disagreement items are the analogue of the witness pair $(x, x')$, and they are also where the likelihood ratio between "clean" and "attacked" is largest. A single audit there therefore both protects a high-stakes decision and shrinks $\Theta_t$ the most.
Audit policy. The policy mixes witness audits on maximal-regret disagreement items with a fixed fraction of uniformly random audits. The random component is not cosmetic. Safe Policy Improvement by Minimizing Robust Baseline Regret proves that optimal hedging requires randomized policies. Here the random audits also protect against an attacker who knows the policy and against errors in $p_i$.
Fallback. Following the state-by-state fallback of that paper's RBC algorithm, the gate trusts $c_i$ only where audits have not contradicted it. Everywhere else it reverts to the answer-only baseline.
Analysis. The main analysis is a damage-versus-detection trade-off. An attacker who inverts many disagreement items causes a large gap in observed error rates on audited high-confidence items, and is detected after roughly $O(1/\Delta^2)$ audits, where $\Delta$ is that gap; this rate is standard concentration for comparing two Bernoulli rates. An attacker who stays below the detection threshold is limited to correspondingly small regret. We will state and prove this bound for the batch setting. We will then test whether it predicts the empirical curves.
Baselines
Naive reference points. The first is no gate: accept everything. The second is the attacked confidence gate itself. For this gate, Model Confidence Under Answer-Preserving Attacks reports clean AUROC of 0.72–0.78 collapsing to 0.13–0.26 under attack across 60 model–benchmark combinations, with 84.8% of rejected wrong answers accepted under transfer attack on InternVL/POPE. We rerun it on our splits with their attack.
Answer-string floor gate. This gate uses only $p_i$, and the same paper reports a pooled AUROC of 0.617. It is the strongest fixed defense against an answer-preserving attacker, because the attacker cannot touch it. Beating it means matching it under every attack rate $\rho$ while exceeding it substantially when $\rho = 0$.
Random-audit safe switch (strongest competitor). This is the baseline we expect to be hardest to beat. It spends the same audit budget uniformly at random, runs a sequential test of whether the observed error rate on accepted items exceeds its clean prediction, and switches to the floor gate when the test fires. It is strong because its audits are unbiased and the attacker cannot steer them. Both methods get the same verifier, the same budget $B$, and the same false-alarm level. No reported result found on Lacuna for this baseline. Beating it means a lower worst-case regret over $\rho$ at equal $B$, or equal regret at roughly half the budget.
Lowest-confidence auditing. This is classical uncertainty sampling, and it tests whether audits selected from manipulable scores are actively harmful.
Worst-case (maximin) gate. This gate assumes the maximal $\rho$ consistent with the audits and uses $p_i$ wherever an attack is possible. It isolates the value of coupling.
Hardened models. Adversarially trained or ensembled models are included even though Disrupting Deep Uncertainty Estimation Without Harming Accuracy finds standard adversarial training gives no significant protection against ACE.
Ablations. Three ablations each isolate one ingredient. Witness-only auditing removes the random component, and we expect it to be exploitable by an adaptive attacker. Random-only auditing removes witness selection. Uncoupled regret removes the oracle comparison and reduces to maximin.
Why not just…?
Why not just use the answer-only gate and ignore confidence? It is provably robust to answer-preserving attacks, but it gives up the gap between 0.617 and 0.72–0.78 AUROC reported in Model Confidence Under Answer-Preserving Attacks on every clean batch. Our clean-condition experiment measures how much of that gap the regret gate recovers at each audit budget. If it recovers little at realistic budgets, the honest conclusion is that the floor gate is the right deployment default.
Why not just audit at random and switch to the floor when errors spike? This is a real threat, and we treat it as the main comparison rather than a straw man. The argument for witness audits is that attack damage is concentrated on disagreement items. Random audits waste most of their budget on items where an attack would change no decision. If disagreement items are a large fraction of the batch, that advantage shrinks toward nothing. We will therefore report results stratified by the disagreement fraction, so the regime where random auditing suffices is identified explicitly.
Why not just harden the uncertainty estimator with adversarial training or ensembles? The evidence says this does not close the hole. Ensemble variance collapses to $10^{-6}$ under targeted attack in Adversarial Attacks Against Uncertainty Quantification. Adversarial training gives no significant protection against ACE in Disrupting Deep Uncertainty Estimation Without Harming Accuracy. Where adversarial training does help, as in On the robustness of adversarial training against uncertainty attacks, it works by making the model uniformly under-confident, which costs clean utility. These methods are also complementary to our approach: the audit layer can sit on top of a hardened model, and we test that combination.
Why not just use a worst-case gate? Planning and curriculum results show worst-case criteria become paralyzed: Minimax Regret Optimisation for Robust Planning in Uncertain Markov Decision Processes finds that robust policies have higher normalized regret, and PAIRED reports 40% versus 10% transfer success on Labyrinth. In our setting, a worst-case gate would sit at the floor whenever audits cannot rule out an attack. The uncoupled-regret ablation measures this cost directly.
Proposed Experiments
Primary testbed. We reproduce the white-box answer-preserving setting of Model Confidence Under Answer-Preserving Attacks: InternVL3.5-2B, Gemma-3-12B, Molmo2-4B and LLaVA-OneVision-7B on POPE, GQA, VQAv2 and MMLU, with token-probability and probe-based confidence channels. The answer-only scorer $p_i$ is a small text model trained on held-out question–answer pairs. Ground-truth labels simulate the verifier.
Attackers. We sweep the attack rate $\rho$ from 0 to 1 and the audit budget from 1% to 10%. We test three attackers. The first attacks uniformly at random. The second attacks only items it predicts we will not audit. The third knows our full policy and optimizes which items to corrupt to maximize our regret without triggering detection.
Metrics. We report gate AUROC, the fraction of wrong answers accepted, selective risk at fixed coverage, and worst-case regret relative to the oracle gate across $\rho$.
Second domain. To check that the method is not specific to vision-language models, we use CIFAR-10 with SelectiveNet under ACE. There Disrupting Deep Uncertainty Estimation Without Harming Accuracy reports selective risk rising from 0.67% to over 8%. The answer-only score is replaced by a class-prior baseline, which is weaker, so this domain tests the fallback when the floor is poor.
Decisive checks. There are four.
- Under the policy-aware attacker, the regret gate must never fall below 0.617 pooled AUROC, while the attacked confidence gate falls to 0.13–0.26. Matching the floor is the minimum requirement.
- At $\rho = 0$, the regret gate must stay within a small margin of the clean 0.72–0.78.
- It must beat the random-audit safe switch on worst-case regret at equal budget, at least in the low-disagreement regime.
- The measured detection delay must scale with the inverse square of the error-rate gap, as the analysis predicts.
Failing check 3 across all disagreement fractions would mean witness selection adds nothing over random auditing, and we would report that result rather than the method.
References
- Model Confidence Under Answer-Preserving Attacks: An Informativeness-Manipulability Frontier
- Safe Policy Improvement by Minimizing Robust Baseline Regret
- Emergent Complexity and Zero-shot Transfer via Unsupervised Environment Design
- Regret-based Incremental Partial Revelation Mechanisms
- Robust Approximation and Incremental Elicitation in Voting Protocols
- Optimal Set Recommendations Based on Regret
- Disrupting Deep Uncertainty Estimation Without Harming Accuracy
- Adversarial Attacks Against Uncertainty Quantification
- Data Poisoning Attacks against Conformal Prediction
- On the robustness of adversarial training against uncertainty attacks
- Minimax Regret Optimisation for Robust Planning in Uncertain Markov Decision Processes