cs.LGAug 30, 2026

Adversarial Online Classification with a Preview

Authors: Roi Livni, Sahil Singla

Organizations: School of Electrical & Computer Engineering, Tel Aviv University. · School of Computer Science, Georgia Institute of Technology, Atlanta, GA, USA.

Abstract

Worst-case online classification is governed by sequential complexity, such as Littlestone dimension, and can be impossible even for statistically simple classes, such as thresholds of VC dimension one. We study a preview model in which an oblivious adversary fixes an entire labeled sequence of length TT, a uniformly random subset of size pTpT is revealed before prediction begins, and the remaining (1−p)T(1-p)T examples are then presented in their original adversarial order. Against the best full-sequence hypothesis evaluated on the unrevealed examples, we characterize the dependence on the preview rate pp: for binary classes of VC dimension dd, the optimal excess loss is Θ(d/p+dT)Θ(d/p+\sqrt{dT}), up to the trivial cap at TT; for multiclass classes we obtain the corresponding O~(dDS/p+dNatT)\widetilde O(d_{\rm DS}/p+\sqrt{d_{\rm Nat}T}) bound with no dependence on the number of labels. Thus a random preview can replace worst-case sequential complexity by classical statistical dimensions without randomizing the online order. To achieve the sharp binary bound, our ChainedPrediction algorithm uses an online analogue of chaining, implemented as a multiscale aggregation algorithm rather than only as an analytic argument.

Figures & tables

Explore similar work

Sep 27, 2026

Oracle-Efficient Online Classification with Stochastic Inputs and Adversarial Outputs

We consider binary prediction with i.i.d. contexts from an unknown distribution and adaptively chosen losses. We show that a simple Follow-the-Perturbed-Leader algorithm using a Gaussian perturbation for each observed context achieves O~(Tlog⁡N)\widetilde O(\sqrt{T\log N}) regret for a class of NN experts, while requiring one optimization-oracle call per round and no explicit enumeration of the class. For an infinite hypothesis class H\mathcal H, the same algorithm achieves O~(TVC⁡(H))\widetilde O(\sqrt{T\operatorname{VC}(\mathcal H)}) regret. This resolves an open problem posed by Lazaric and Munos (2012), showing that hybrid classification is computationally as easy as statistical learning. As an application, we reduce the problem of contextual bandits with KK actions to classification through uniform exploration, achieving O~(K2/3T2/3(log⁡N)1/3)\widetilde O(K^{2/3}T^{2/3}(\log N)^{1/3}) regret. This matches the best known dependence on the horizon while removing the context-distribution access required by prior oracle-efficient methods.
Oct 11, 2026

Instance-Adaptive Online Multiclass Multicalibration

We study online multiclass multicalibration over TT rounds, and give an algorithm with beyond-worst-case guarantees. With nn possible outcomes, forecasts lie in a simplex of dimension d=n−1d=n-1. In the worst case, cumulative ℓ1\ell_1 multicalibration error scales with Θ~(T(d+1)/(d+2))\widetildeΘ(T^{(d+1)/(d+2)}), which becomes untenable once dd exceeds a small constant. Our algorithm adapts to the geometry of the realized sequence: if the sequence of adversarially selected outcome means lies in an affine subspace of dimension ss, it obtains error O~(n1/(s+2)T(s+1)/(s+2))\widetilde O(n^{1/(s+2)}T^{(s+1)/(s+2)}) with high probability. The algorithm adapts to this structure without knowing the subspace or its dimension. For T≥n≥2T\ge n\ge2, this rate is minimax optimal up to polylogarithmic factors. For a stochastic instance with a fixed conditional mean, the bound specializes to O~(nT)\widetilde O(\sqrt{nT}), giving a square-root dependence on the horizon.
Aug 6, 2026

Optimal Rates for Learning with Monotone Adversaries

A monotone adversary observes an i.i.d. labeled sample and appends a finite number of further examples of its choice, every one of them labeled correctly by the target hypothesis. The learner sees a uniform shuffle of the combined sample and is scored on the original distribution. Every example is correctly labeled, but the insertions depend on the clean sample, so the combined sample is not exchangeable. Larsen, Pabbaraju, and Shetty, who introduced this model, showed that empirical risk minimization attains expected error O((d/n)log⁡(n/d))O((d/n)\log(n/d)) for classes of VC dimension dd, and that every known optimal learner can be pushed away from the Θ(d/n)Θ(d/n) rate, optimal for PAC learning. They asked whether the extra logarithm is an artifact of those particular algorithms or an inherent consequence of the lack of exchangeability. We show that this additional cost is inherent beyond VC dimension one. In the worst case over classes of VC dimension dd and over known finite insertion budgets, the minimax expected error is Θ(1/n)Θ(1/n) at d=1d=1 and Θ((d/n)log⁡(n/d))Θ((d/n)\log(n/d)) for d≥2d\geq 2. The same rates hold with Littlestone dimension dLd_{\mathrm L} in place of dd, so the clean online-to-batch rate O(dL/n)O(d_{\mathrm L}/n) is unattainable as well. Thus, somewhat counterintuitively, adding correctly labeled examples can make learning harder by a logarithmic factor, even for classes that admit finite mistake bounds in online learning. The dimension-one upper bound is achieved by a simple improper learner whose analysis adapts the leave-one-out argument underlying the one-inclusion graph. All of our lower bounds are elementary and come from a single construction: an explicit class and prior on which two target hypothesis, which differ a point of nonnegligible mass, produce the same sample.