Reliable Abstention under Adversarial Injections: Lower Bounds and New Upper Bounds

Ezra Edelman, Surbhi GoelNeurIPS 2026

TL;DR

Imagine building an automated code reviewer that can say "I don't know" and pass sketchy requests to a human—but an attacker is secretly slipping adversarial requests into the normal daily stream to trick it. This paper proves a fundamental penalty for not knowing what "normal" traffic looks like ahead of time, showing error rates must jump from logarithmic to $\Omega(\sqrt{T})$. Even better, the authors build a new algorithmic toolkit that lets models safely learn tricky geometric concepts (like halfspaces and simple neural networks) in these poisoned streams simply by knowing when to abstain.

What Problem Does This Paper Address?

Online learning theory usually lives at two extremes: either nature hands you data nicely drawn from a fixed probability distribution $\mathcal{D}$ (i.i.d.), or an all-powerful adversary hand-picks every single data point to ruin your day. Reality is usually somewhere in between.

Consider an LLM screening tool calls. Most requests are normal, everyday traffic drawn from $\mathcal{D}$, but occasionally an attacker injects a crafted prompt. Crucially, the true labels are always "clean" (consistent with some ground-truth rule), and the learner never finds out whether a given round was normal or adversarial. To survive, the learner is allowed to abstain ($\perp$, i.e., ask a human). You get penalized in two ways: making a wrong prediction on any round, or abstaining on a normal i.i.d. round (abstaining on an attack is free, since bothering a human for an actual attack is the whole point!).

The combined error objective penalizes all misclassifications, plus abstentions that happen on normal i.i.d. rounds.

Prior work noticed a bizarre gap over $T$ rounds. If you have oracle access to the normal distribution $\mathcal{D}$, your combined error is tiny: $O(d^2 \log T)$ for concept classes of VC dimension $d$ (a standard measure of model complexity). Without knowing $\mathcal{D}$—the realistic distribution-agnostic setting—algorithms could only manage $\tilde{O}(\sqrt{T})$ error on very simple classes. Was that $\sqrt{T}$ wall just a failure of imagination, or is flying blind genuinely harder? And can we learn richer geometric classes like halfspaces without knowing $\mathcal{D}$?

Methods

To prove the lower bound, the authors construct a clever trap using an infinite tree where valid concepts are paths from the root (a simple class with VC dimension 1). By breaking time into blocks and hiding the true i.i.d. distribution among uniform draws over a node's children, the adversary ensures that every mistake teaches the learner nothing about future blocks.

Figure 1: Hard VC-1 class. The edges are labeled to indicate the order of the children of the nodes. The path θ is highlighted in blue.

For upper bounds, the authors unify and expand prior algorithms using a leave-$k$-out potential framework:

  • Score Functions & Potentials: They define a score function measuring how much uncertainty remains about a tiny subset of $k$ examples, summed across all $k$-subsets of the history.
  • Certified Predictions: When a new point arrives, the learner checks what happens to the total potential if the point is labeled $+1$ vs. $-1$. It only predicts if a mistake is guaranteed to cause a large drop in potential; otherwise, it abstains. Because potential can't drop forever, mistakes are strictly bounded.
  • Certificate Dimension: To bound abstentions, they borrow inference dimension from active learning and relax it into a brand-new combinatorial measure called certificate dimension. Instead of requiring a full query transcript to deduce a point's label, a small subset of points just needs a finite-valued "certificate" that pins down another point's label inside a slightly larger window of data.

Datasets

Not discussed in the paper. (This is a purely theoretical work proving mathematical bounds across formal concept classes.)

Key Insights and Ideas

  • Knowing the distribution really is a superpower: Even for the simplest possible setting (VC dimension 1), not knowing $\mathcal{D}$ provably degrades your best possible error from $O(\log T)$ to $\Omega(\sqrt{T})$. The gap is real and unavoidable.
  • Abstention defeats clean-label poisoning: Famous prior results showed that halfspaces in $\mathbb{R}^2$ cannot be robustly learned under clean-label poisoning without margin assumptions. Giving the learner the humble power to say "I don't know" completely flips the script—an adversary can no longer flood the zone with injected points to break a single prediction.
  • Exchangeability tames adaptive adversaries: Even when an adversary adapts on the fly, normal i.i.d. points still look statistically interchangeable with one another. The authors use this symmetry (combined with "robust witnesses") to prove that once enough normal data arrives, very few normal points remain vulnerable to abstention-inducing attacks.
  • ** Lego-like composition:** Certificate dimension survives Boolean combinations—meaning if you can learn simple building blocks (like halfspaces), you can automatically learn intersections of them, even though you never see the intermediate labels of the individual blocks!

Key Results

  • Tight VC-1 Separation: Proved a matching $\Omega(\sqrt{T})$ expected combined error lower bound for VC-1 classes when $\mathcal{D}$ is unknown, locking in $\tilde{\Theta}(\sqrt{T})$ as the optimal rate.
  • Inference Dimension Bound: Any class with inference dimension $k$ achieves $\tilde{O}(T^{1 - 1/k})$ expected combined error.
  • Halfspaces Learned Distribution-Agnostically: First-ever sublinear bounds for halfspaces without knowing $\mathcal{D}$: $\tilde{O}(T^{2/3})$ in $\mathbb{R}^2$ (via certificate dimension 3) and $\tilde{O}(\text{poly}(d) T^{1 - 1/(2d+1)})$ in $\mathbb{R}^d$ (via certificate dimension $2d+1$).
  • Rich Composite Classes: Established distribution-agnostic learnability for intersections of halfspaces, Voronoi cells, one-hidden-layer threshold neural networks, oblique decision trees, and points-based medical triage scoring systems.

Limitations and Future Work

  • Computational Efficiency: The paper focuses on statistical learnability, not speed. Naively checking all $k$-subsets in the potential learner takes $O(T^k)$ oracle calls per round—fine when $k=2$ or $3$, but painful when $k$ grows with dimension $d$.
  • Finding the "True" Dimension: Just as VC dimension characterizes standard PAC learning and Littlestone dimension characterizes adversarial online learning, what single combinatorial number exact characterizes learnability here? Certificate dimension is sufficient, not necessary.
  • Stronger Adversaries & Partial Trust: Their $\Omega(\sqrt{T})$ lower bound uses an oblivious adversary; could an adaptive adversary force even worse rates (say, matching the $T^{2/3}$ upper bound on 2D halfspaces)? Conversely, how much does having a small, trusted offline sample of clean data from $\mathcal{D}$ help bridge the gap?

Summary updated

Abstract

We study online learning in the adversarial injection model introduced by [Goel et al. 2024], where a stream of labeled examples is predominantly drawn i.i.d.\ from an unknown distribution $\mathcal{D}$, but may be interspersed with adversarially chosen instances without the learner knowing which rounds are adversarial. Crucially, labels are always consistent with a fixed target concept (the clean-label setting). The learner is additionally allowed to abstain from predicting, and the total error counts the mistakes whenever the learner decides to predict and incorrect abstentions when it abstains on i.i.d.\ rounds. Perhaps surprisingly, prior work shows that oracle access to the underlying distribution yields $O(d^2 \log T)$ combined error for VC dimension $d$, while distribution-agnostic algorithms achieve only $\tilde{O}(\sqrt{T})$ for restricted classes, leaving open whether this gap is fundamental. We resolve this question by proving a matching $\Omega(\sqrt{T})$ lower bound for VC dimension $1$, establishing a sharp separation between the two information regimes. On the algorithmic side, we introduce a potential-based framework driven by \emph{robust witnesses}, small subsets of labeled examples that certify predictions while remaining resilient to adversarial contamination. We instantiate this framework using two combinatorial dimensions: (1) \emph{inference dimension}, yielding combined error $\tilde{O}(T^{1-1/k})$ for classes of inference dimension $k$, and (2) \emph{certificate dimension}, a new relaxation we introduce. As an application, for halfspaces in $\mathbb{R}^2$ we obtain the first distribution-agnostic bound of $\tilde{O}(T^{2/3})$. We further show that halfspaces in $\mathbb{R}^d$ have finite certificate dimension, and that certificate dimension is preserved under Boolean combinations of a bounded number of classes, which yields learnability of intersections of halfspaces and one-hidden-layer threshold networks.
BibTeX
@inproceedings{edelman2026reliable,
  author = {Ezra Edelman and Surbhi Goel},
  title = {{Reliable Abstention under Adversarial Injections: Lower Bounds and New Upper Bounds}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=bQuKG6tVNk},
}
Figure