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:
- Static distributions: Incoming questions are drawn independently from a fixed distribution (no sudden topic shifts or adversarial users).
- 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?
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-IXyields their proposed algorithm, ExAUL.
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-CAlags around $0.08$ due to slower learning. When abruptly shifting from TriviaQA to the harder NQ dataset ($\alpha=0.10$),Exp3-IX-CAspikes well above the risk limit, whereas ExAUL smoothly maintains SR below $0.10$.
- 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