cs.LGNov 21, 2026

The Complexity of Oracle-Efficient Realizable Transductive Learning

Authors: Changlong Wu

Organizations: University of Arizona

Abstract

In realizable transductive online learning, the learner knows the entire sequence of TT instances in advance, and the labels are consistent with one of NN hypotheses. With explicit access to the hypothesis class, the halving algorithm makes at most log⁡2N\log_2 N mistakes. Can a comparable guarantee be achieved using only polynomially many empirical risk minimization (ERM) queries? We answer this question negatively, even for a weighted-ERM oracle that optimizes arbitrary real-valued linear objectives and returns a complete maximizing hypothesis. For every fixed β∈(0,1)β\in(0,1) and every randomized learner making polynomially many oracle queries, there exists a fixed realizable instance with exactly N=2⌊Tβ⌋N=2^{\lfloor T^β\rfloor} hypotheses on which the learner makes Ωβ(Tlog⁡N)Ω_β(\sqrt{T\log N}) mistakes in expectation. This matches the agnostic-rate upper bound achieved by random playout using O(T)O(T) oracle calls. The separation persists for much smaller classes as well: along a sequence with log⁡N=Θ((log⁡T)2)\log N=Θ((\log T)^2), we establish a mistake lower bound of exp⁡(Ω(log⁡T/log⁡log⁡T))\exp(Ω(\log T/\log\log T)). Our main technical contribution is a composition lemma that combines two realizable prediction problems such that their mistake lower bounds add, up to a small loss, while keeping the growth of the combined hypothesis class under control. Iterating this lemma yields a family of hard instances spanning the desired parameter regimes, establishing a sharp separation between information-theoretic and oracle-efficient mistake guarantees.

Figures & tables

Explore similar work

Sep 9, 2026

An Exponential Deterministic--Randomized Gap in ERM-Oracle Complexity for Thresholds on an Unknown Order

Attias, Hanneke and Ramaswami (NeurIPS 2025) asked whether randomization provably reduces the oracle calls needed for online learning when the class is accessible only through an oracle. We study the instance they singled out: transductive online learning of thresholds on an unknown total order of T instances, with a consistency-type ERM oracle that returns a full concept consistent with a queried labeled set (or reports non-realizability). Our main result is a separation for a fixed natural oracle. When the oracle is the minimal-prefix rule (or the maximal-prefix rule), every deterministic learner makes M mistakes and Q calls with M+Q≥T−εM+Q\ge T-\varepsilon on some instance (ε∈{0,1}\varepsilon\in\{0,1\}, according to whether the empty prefix is a concept), and the constant is exact; hence O(log⁡T)O(\log T) mistakes cost T−ε−O(log⁡T)T-\varepsilon-O(\log T) calls, whereas that paper's randomized learner achieves O(log⁡T)O(\log T) expected calls and mistakes under the same rule. The randomized order is optimal: on an explicit hard distribution under the minimal-prefix rule, every learner has expected mistakes at least ((T+1−ε) 128−E[Q]−1)/2((T+1-\varepsilon)\,128^{-\mathbb{E}[Q]}-1)/2, so Ω(log⁡T)Ω(\log T) expected calls are necessary for polylogarithmic mistakes. The separation is governed by the oracle's selection rule, not by the class alone: for a legal feasible-median ERM rule a deterministic learner achieves O(log⁡T)O(\log T) calls and mistakes, while a global-median rule again forces linear total cost. The same linear bound holds when the oracle's answers are chosen adversarially and then frozen into a memoryless oracle. We add partial tradeoff results for fixed query budgets (the middle regime is open) and an interface contrast: with only a weak consistency oracle, returning a realizability bit, both deterministic and randomized learners need Θ(T)Θ(T) calls.
May 8, 2026

Regret-Oracle Complexity Tradeoffs in Agnostic Online Learning

Agnostic online learning is classically solved via a reduction to the realizable setting, utilizing Littlestone's Standard Optimal Algorithm (SOA) as a base learner. However, the SOA can be computationally intractable to implement even for a single round. To overcome this barrier, recent work in oracle-efficient online learning replaces the SOA with a realizable base learner that accesses the concept class exclusively through an offline empirical risk minimization (ERM) oracle. While such agnostic learners achieve expected regret O~(T⋅2O(dLD))\tilde{\mathcal{O}}\big(\sqrt{T\cdot 2^{\mathcal{O}(d_{\mathrm{LD}})}}\big), which is near-optimal in the horizon TT for fixed Littlestone dimension dLDd_{\mathrm{LD}}, they require O(T2O(dLD))\mathcal{O}\big(T^{2^{\mathcal{O}(d_{\mathrm{LD}})}}\big) oracle calls. In this work, we significantly improve this oracle complexity while relying on an even weaker primitive: a weak-consistency oracle, which merely decides whether a given labeled dataset is realizable. At the core of our approach is an adaptive and dynamic agnostic-to-realizable reduction that actively prunes non-realizable label sequences on the fly. By using the VC dimension (dVCd_{\mathrm{VC}}) to bound the number of dynamically maintained active paths, our algorithm reduces the total query complexity down to O(TdVC+1)\mathcal{O}(T^{d_{\mathrm{VC}}+1}) while perfectly preserving near-optimal expected regret. Crucially, this dynamic pruning also yields a memory reduction over the standard reduction. Furthermore, we formally quantify the regret--oracle complexity tradeoff, providing upper bounds that smoothly interpolate between restricted query budgets and attainable expected regret. We complement these with lower bounds proving that any learner restricted to Q=o(T)Q = o(\sqrt{T}) queries must suffer an expected regret of Ω(T/Q)Ω(T/Q).
May 28, 2026

Universal Multiclass Transductive Online Learning

We consider the problem of universal transductive online classification with a possibly unbounded label space. This setting considers online learning, with the sequence of instances (without labels) known to the learner in advance. We say a concept class H\mathcal{H} is learnable if there is a learning algorithm A\mathcal{A}, such that for every realizable sequence, the number of mistakes made by A\mathcal{A} grows at most sublinearly with the number of predictions. We characterize the learnability of this setting and show that there are only two possible optimal rates for the learnable classes: either bounded or increasing logarithmically. We introduce a new combinatorial structure, called ``Level-Constrained-Littlestone-Littlestone (LCLL) tree'', which, along with the indifference property, characterizes the learnability. We also extend the learnability result to the agnostic case and the case where only the stochastic process that generates the instance sequence is known.