Online Conformal Abstention Under Adversarial Bandit Feedback

Minjae Lee, Yoonjae Jung, Sangdon ParkNeurIPS 2026

TL;DR

Large language models hallucinate, and while teaching them to say "I don't know" helps, existing mathematical guarantees break down when real-world data shifts or when users only give simple thumbs-up/down feedback. This paper introduces ExAUL, an online learning framework that treats abstention like an adversarial bandit game. By cleverly squeezing extra information out of partial user feedback, it guarantees that an LLM's error rate stays below a chosen threshold—even when the environment is actively trying to trick it.

What Problem Does This Paper Address?

When we deploy LLMs in high-stakes scenarios, we want them to abstain ("I don't know") rather than hallucinate. Using simple confidence cutoffs lacks formal safety guarantees. Conformal abstention (or selective prediction) fixes this by mathematically guaranteeing that the Selective Risk (SR)—essentially the false discovery rate among answered questions—stays below a user-defined target $\alpha$.

However, traditional conformal methods live in a neat, idealized world. They assume two things that rarely hold in production:

  1. Static distributions: Incoming questions are drawn independently from a fixed distribution (no sudden topic shifts or adversarial users).
  2. Full feedback: The system receives the ground-truth answer after every query to calibrate itself.

In reality, user queries shift dynamically, and users usually only provide bandit (partial) feedback—like a thumbs-up or thumbs-down on the specific answer shown. How do you maintain a certified cap on hallucinations on the fly with such limited, potentially adversarial supervision?

Figure 1: Qualitative examples from an interactive dialog simulation. This demonstrates that our proposed method ExAUL effectively controls the rate of hallucination in the SR by abstaining from answering under a practical online setup with partial feedback. See Section 4.3 for details.

Methods

The authors reframe online conformal abstention as an adversarial multi-armed bandit problem, where each "arm" is a candidate confidence threshold $\tau$ from a discrete grid $\mathcal{H}$. At each round, the system picks a threshold, checks if the LLM's internal confidence score $f_t$ beats it, and either answers or says "I don't know" (IDK).

To make this work, they introduce three core components:

  • Bandit Reduction: They design a custom loss function balancing two competing goals: keeping selective risk below $\alpha$ and minimizing "inefficiency" (how often the model abstains).
  • Regret-to-SR Conversion Lemma: Standard bandit algorithms, such as Exp3-IX, minimize regret (how well you did compared to the best fixed threshold in hindsight). The authors prove a general lemma showing that any algorithm achieving sublinear regret on their loss function automatically bounds Selective Risk violations over time.
  • Partial Feedback Unlocking (ExAUL): Standard bandit learners are sample-inefficient because pulling one arm normally tells you nothing about the others. The authors exploit the monotonic structure of thresholds to "unlock" hidden feedback. If the model answers at threshold $\tau_t$ (meaning confidence $f_t \ge \tau_t$) and gets a thumbs-up/down, we instantly know what every threshold $\tau \le f_t$ would have received—because they all would have output the exact same answer! Conversely, if it abstains ($f_t < \tau_t$), we know every threshold $\tau > f_t$ would also have abstained. Integrating this into Exp3-IX yields their proposed algorithm, ExAUL.
Figure 2: An example of our proposed framework for online conformal abstention. At each round t, (1) the user provides an input xt, (2) the learner selects an arm τt ∼pt, (3-4) generates ˆSt(xt; τt), (5-6) the user provides partial feedback et, (7) the loss ℓt(τt) is computed from et, and (8) the learner update pt by the loss estimator ˜ℓt. Note that the user can be modeled as an adversary.

Datasets

The authors evaluate their framework using existing QA and reading comprehension benchmarks, repurposed into dynamic online streams:

  • TriviaQA (93K examples) and Natural Questions (NQ) (79K examples) for stationary QA, sudden/gradual distribution shifts (mixing the two datasets), and adaptive adversarial simulations.
  • MedQA-USMLE to test domain shifts from general open-domain QA into specialized medical questions.
  • SQuAD, where context passages are used by multi-agent LLM setups to simulate realistic, multi-turn interactive user dialogs.

Key Insights and Ideas

  • Partial feedback can match full-information efficiency: Normally, moving from full feedback to bandit feedback incurs a mathematical penalty of $\sqrt{|\mathcal{H}|}$ in regret (meaning the more thresholds you test, the slower you learn). Because feedback unlocking updates a whole contiguous block of thresholds at once, ExAUL achieves an $\mathcal{O}(\sqrt{T \ln |\mathcal{H}|})$ regret bound—matching full-information exponential weighting!
  • Adversarial resilience comes for free: Because the Regret-to-SR lemma is agnostic to how data is generated, an adversary actively trying to bait the model into overconfident hallucinations still cannot break the theoretical $\mathcal{O}(1/\sqrt{T})$ convergence of Selective Risk violation.

Key Results

Tested with GPT-5.4 and LLaMA3.1-8B-Instruct as base generators, ExAUL consistently outperforms standard bandit abstention (Exp3-IX-CA) and closely tracks the full-feedback upper bound (EW-CA):

  • Stationary & Distribution-Shift Settings: On TriviaQA ($T=30\text{K}, \alpha=0.05$), ExAUL tightly clusters near the $0.05$ risk target while standard Exp3-IX-CA lags around $0.08$ due to slower learning. When abruptly shifting from TriviaQA to the harder NQ dataset ($\alpha=0.10$), Exp3-IX-CA spikes well above the risk limit, whereas ExAUL smoothly maintains SR below $0.10$.
Selective risk over time during a sudden distribution shift at t=15,000 from TriviaQA to NQ; ExAUL stays beneath the 0.1 target while standard bandit baseline Exp3-IX-CA spikes.
  • Interactive & Adversarial Agents: In a 15K-round interactive SQuAD dialog ($\alpha=0.10$), an uncalibrated LLM suffers an SR around $0.19$, whereas ExAUL drives it down to $\sim 0.11$. Against an adaptive LLM adversary actively alternating between hard overconfident traps and easy questions ($\alpha=0.20$), ExAUL dynamically adjusts its abstention rate to keep SR safely below $0.20$.

Limitations and Future Work

While the safety guarantee holds regardless of the underlying model, practical efficiency depends heavily on the quality of the generator and confidence score. If a confidence metric is poorly calibrated or noisy, ExAUL will still protect the risk target $\alpha$, but it will have to say "I don't know" much more frequently and take longer to converge. Furthermore, ExAUL currently looks at the input question only through the scalar confidence score $f$; extending this setup to contextual bandits—allowing the abstention threshold itself to adapt to the topic or query features—is highlighted as a promising next step.

Summary updated

Abstract

As interactive generative systems are increasingly deployed in real-world applications, their tendency to generate unreliable or false responses raises serious concerns. Conformal abstention mitigates this risk by ensuring that the system answers only when confident. However, real-world deployments typically provide only partial user feedback (e.g., thumbs up/down) on the selected response and often operate in non-stationary or adversarial environments, for which effective learning methods are largely missing. To bridge this gap, we propose ExAUL, a novel online learning framework for conformal abstention with adversarial and partial feedback. Technically, we introduce (i) a novel conversion lemma that translates the regret of any bandit algorithm into a selective risk (SR) bound, and (ii) feedback unlocking, a strategy that exploits the structure of conformal abstention to extract additional learning signals from partial feedback. We prove that ExAUL achieves a regret bound of $\mathcal{O}(\sqrt{T \ln |\mathcal{H}|})$, which translates into an $\mathcal{O}(\sqrt{T})$ bound on SR violation control, matching the controllability of full-information settings despite receiving only partial feedback. While applicable to general generative tasks, we demonstrate the efficacy of ExAUL for ensuring the reliability of Large Language Models (LLMs) through empirical validation on question-answering tasks across diverse non-stationary and adversarial settings. Our results demonstrate that ExAUL robustly controls the SR while maintaining competitive answering coverage.
BibTeX
@inproceedings{lee2026online,
  author = {Minjae Lee and Yoonjae Jung and Sangdon Park},
  title = {{Online Conformal Abstention Under Adversarial Bandit Feedback}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=M3UtnMEDaL},
}
Figure