potentialpaper

Regret–Oracle Complexity Tradeoffs in Agnostic Online Learning

Idan Attias, Steve Hanneke, Arvind Ramaswami

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We design an adaptive reduction that achieves exponential, and sometimes doubly-exponential, savings in oracle complexity using a weaker oracle, while preserving near-optimal regret and quantifying the regret–oracle tradeoff.

Abstract. 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)\Omega(T/Q).

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (spotlight)
Read decision
Meta-review

This paper is based on a key observation that a weaker learning oracle can dynamically prune the search space thus lowering the query complexity of agnostic online learning from doubly exponential to single exponential. This is a big improvement, even if the main proof strategy is simple (in hindsight!). I thank the authors for engaging with reviewers, clarifying some points, and generally improving the results.

Final justification

See above.

Area Chair gi5f · Meta-reviewOpenReview ↗
Final justification
See above.
Read meta-review
Meta-review

This paper is based on a key observation that a weaker learning oracle can dynamically prune the search space thus lowering the query complexity of agnostic online learning from doubly exponential to single exponential. This is a big improvement, even if the main proof strategy is simple (in hindsight!). I thank the authors for engaging with reviewers, clarifying some points, and generally improving the results.

1 comment
Authors · CommentOpenReview ↗

Rebuttal Summary

Thank you for identifying the key points that required clarification.

In our response to reviewer BtWw ("The oracle complexity model"), we explain the motivation behind the oracle model for online learning, provide an example illustrating how it can yield a significant computational improvement, and discuss practical examples from sequential decision-making where oracle-based algorithms have been highly successful.

Moreover, reviewer Vbrm ("Ideas of Filmus et al."), suggested an interesting direction: proving a bound that interpolates between the realizable and agnostic settings. We followed this suggestion and will include the resulting theorem in the next version of the paper.

Reviewer VbrmOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper is about doing online learning while using oracles which are more computationally tractable when interacting with the concept class. This is motivated by the SOA algorithm requiring computation of the Littlestone dimension of subsets of the class in each round. In this work, they propose a new online learning algorithm for the agnostic setting inspired by the agnostic-to-realizable reduction by [BDPSS09]. By using a weak consistency oracle, they prune the active tree width in a Hedge-style algorithm to be O(tdVC)O(t^{d_{VC}}) (which should be compared to the O(TM)O(T^M) experts used in the original agnostic-to-realizable reduction). Using this new reduction with known oracle-efficient realizable learner, they bring the number of oracle calls down to O(TdVC+1)O(T^{d_{VC}+1}) while still achieving regret of O~(T⋅2O(dLD))\widetilde{O}(\sqrt{T\cdot 2^{O(d_{LD})}}). They also show that it is possible to further reduce the query complexity, however at the cost of higher regret bounds.

Finally, they also give a new lower bound for query algorithms with an ERM oracle which improve previous known lower bounds when using less than O(T)O(\sqrt{T}) queries.

Strengths and weaknesses

Overall, I think this is a well written paper which (to the best of my knowledge) introduces a new way to use the now somewhat old idea of doing exponential weights to reduce the agnostic online learning problem to a realizable one. Here is my assessment of each of the evaluation points:

Quality: All of the claims are supported with full proofs in the appendix. However, I did not carefully verify these, but the proof sketches provided enough information for me to conclude that at least the high level ideas make sense.
Clarity: I think the paper does a great job explaining the scope of the contribution as well as providing intuition for the ideas behind the proofs sketched in the main part. Very little explanation was provided for how to achieve the tradeoff in the upper bound, but I assume this is due to space constraints which I think is justified.
Significance: I am not too familiar with the related work on using other oracles in online learning, but from reading the paper it seems like this is something people indeed care about.
Originality: I have not seen anyone use this approach of pruning the experts before, so I assume this to be an original contribution. I can unfortunately not comment on the originality of the lower bound or its ideas, as I am not familiar with existing work.

One thing I was missing in the beginning of page 2 was a brief discussion on how the optimal regret changes depending on "how agnostic" the problem is. As far as I know O(TdLD)O(\sqrt{T d_{LD}}) is only optimal, when c∗c^* makes at least Ω(T)\Omega(T) mistakes, and a tighter bound can be found by Filmus et. al (2025) titled "Optimal Prediction Using Expert Advice and Randomized Littlestone Dimension".

I also found the following typos:

  • Inconsistent use of " in line 132, 133, 136.
  • You wrote "a" twice in line 137.
Questions
  1. I would be very curious if the authors believe the ideas of Filmus et. al could be used by the authors to get a similar regret bound, but for these more efficient oracles or if they are for some reason incompatible. And maybe this would be worth mentioning in the paper?
  2. Can you maybe elaborate on what you mean when you use the term "computationally intractable" (e.g. when you say SOA is intractable for a single round)? I usually associate it with "not poly-time", but you still have exponential query complexity in terms of the VC-dimension in your solution.
Limitations

yes

Final justification

I thank the authors for clarifying both of my questions, and I think the described incorporation of the kk-realizable viewpoint is great. I don't have any further questions for the authors, and I still believe that this is a solid paper which deserves to be accepted.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the thoughtful review and helpful comments.

Ideas of Filmus et al. (first bullet in questions)

Thank you for pointing us to the kk-dependent bounds of Filmus et al. [FHMM25]. Their kk-realizable viewpoint can be combined with the oracle-efficient realizable learner used in our work. Let Lk=Lk(H)L_k=L_k(\mathcal{H}) denote the kk-Littlestone dimension, i.e., the largest depth of a complete binary tree whose every root-to-leaf path is kk-realizable by H\mathcal{H}. We obtain a mistake bound of 2O(Lk)2^{O(L_k)}, and hence 2O(dLD+k)2^{O(d_{\mathrm{LD}}+k)}. The weak-consistency implementation incurs a TkT^k query overhead, but this factor can be avoided using the weak ERM oracle of [DG24] or the agnostic ERM oracle of [AHR25].

Time-indexed reduction: Let H⊆0,1X\mathcal{H}\subseteq\\{0,1\\}^{\mathcal{X}} and X~=X×N\widetilde{\mathcal{X}}=\mathcal{X}\times\mathbb{N}. For every h∈Hh\in\mathcal{H}, S⊆NS\subseteq\mathbb{N} with ∣S∣≤k|S|\leq k, and Z=(zi)i∈SZ=(z_i)_{i\in S}, define

hS,Z(x,i)={1−h(x),if i∈S and x=zi,h(x),otherwise.\begin{aligned} h_{S,Z}(x,i) &= \begin{cases} 1-h(x), & \text{if } i\in S \text{ and } x=z_i,\\\\ h(x), & \text{otherwise}. \end{cases} \end{aligned}

and let

\begin{aligned} \widetilde{\mathcal{H}}_k &= \left\\{ h_{S,Z}: h\in\mathcal{H},\\; S\subseteq\mathbb{N},\\; |S|\leq k,\\; Z=(z_i)_{i\in S} \right\\}. \end{aligned}

Thus, SS records the at most kk exceptional rounds and ziz_i the corresponding instance.

We claim that Ldim⁡(H~k)≤Lk\operatorname{Ldim}(\widetilde{\mathcal{H}}_k)\leq L_k. Consider a depth-dd tree shattered by H~k\widetilde{\mathcal{H}}_k and a path realized by hS,Zh_{S,Z}. The same time-indexed point cannot occur twice on a shattered path, since at its second occurrence one outgoing edge would contradict the label fixed at its first occurrence. Hence hS,Zh_{S,Z} differs from its underlying h∈Hh\in\mathcal{H} on at most ∣S∣≤k|S|\leq k nodes. Projecting each (x,i)(x,i) to xx therefore gives a depth-dd tree whose every path is kk-realizable by H\mathcal{H}. Thus d≤Lkd\leq L_k.

Now suppose h∈Hh\in\mathcal{H} makes mistakes on S⊆[T]S\subseteq[T], with ∣S∣≤k|S|\leq k, and set zt=xtz_t=x_t for t∈St\in S. Then hS,Z(xt,t)=yth_{S,Z}(x_t,t)=y_t for every tt, so the time-indexed sequence is realizable by H~k\widetilde{\mathcal{H}}_k. Applying the oracle-efficient realizable learner gives

2O(Ldim⁡(H~k))≤2O(Lk)≤2O(dLD+k)\begin{aligned} 2^{O(\operatorname{Ldim}(\widetilde{\mathcal{H}}_k))} &\leq 2^{O(L_k)}\\\\ &\leq 2^{O(d_{\mathrm{LD}}+k)} \end{aligned}

mistakes.

Oracle complexity: For the queries arising here, the time coordinates are distinct. A labeled sample of mm time-indexed instances is realizable by H~k\widetilde{\mathcal{H}}_k iff reversing at most kk labels makes its projection realizable by H\mathcal{H}. Thus, one weak-consistency query to H~k\widetilde{\mathcal{H}}_k can be simulated using at most

(m≤k):=∑j=0k(mj)\binom{m}{\leq k}:=\sum_{j=0}^k\binom{m}{j}

queries to H\mathcal{H}. Since the realizable learner makes T2O(Lk)T2^{O(L_k)} such queries, the total is

T(T≤k)2O(Lk)=O!(Tk+12O(Lk)).\begin{aligned} T\binom{T}{\leq k}2^{O(L_k)} &=O\\!\left(T^{k+1}2^{O(L_k)}\right). \end{aligned}

This TkT^k overhead is specific to weak-consistency access. The weak ERM oracle of [DG24] returns the minimum empirical error, but not a minimizer, so one call determines whether the projected sample has error at most kk; this gives T2O(Lk)T2^{O(L_k)} calls. The agnostic ERM oracle of [AHR25] also returns a minimizer. Its error locations determine SS and ZZ, so each realizable-ERM query to H~k\widetilde{\mathcal{H}}_k is simulated by one call, giving 2O(Lk)2^{O(L_k)} calls in total. We will add this horizon-independent oracle-efficient guarantee to the paper.

A complementary guarantee from Corollary 4.4: For any realizable base learner with mistake bound MM, Corollary 4.4 gives

E[Reg⁡T]=O(L∗Mlog⁡T+Mlog⁡T),\begin{aligned} \mathbb{E}[\operatorname{Reg}_T] &= O\left(\sqrt{L^*M\log T}+M\log T\right), \end{aligned}

where L∗L^* is the loss of the best concept in hindsight. On a kk-realizable sequence, L∗≤kL^*\leq k. With SOA, M=dLDM=d_{\mathrm{LD}}, giving

O~(kdLD+dLD),\widetilde{O}\left(\sqrt{k d_{\mathrm{LD}}}+d_{\mathrm{LD}}\right),

which matches the dependence on kk and dLDd_{\mathrm{LD}} in [FHMM25] up to logarithmic factors. With the oracle-efficient learner, M=2O(dLD)M=2^{O(d_{\mathrm{LD}})}, giving

O(k,2O(dLD)log⁡T+2O(dLD)log⁡T)\begin{aligned} O\left( \sqrt{k\\,2^{O(d_{\mathrm{LD}})}\log T} {}+2^{O(d_{\mathrm{LD}})}\log T \right) \end{aligned}

expected regret while preserving the O(TdVC+1)O(T^{d_{\mathrm{VC}}+1}) total weak-consistency query bound. Thus, Corollary 4.4 has a milder dependence on kk, while the reduction above gives a horizon-independent 2O(Lk)2^{O(L_k)} mistake bound.

Change to the introduction: We will add after the Alon et al. sentence:

More finely, [FHMM25] show that in the kk-realizable setting, the optimal expected regret is Θ(kdLD+dLD)\Theta(\sqrt{k d_{\mathrm{LD}}}+d_{\mathrm{LD}}), which can be substantially smaller than the worst-case rate when k≪Tk\ll T. Corollary 4.4 gives a corresponding first-order guarantee in our oracle framework, and in the appendix we give a complementary oracle-efficient reduction for kk-realizable sequences based on the deterministic kk-Littlestone dimension.


Computational tractability in the oracle model (second bullet in questions)

That's a good point. The Standard Optimal Algorithm (SOA) is computationally unrealistic, in the sense that even a single iteration is generally intractable (see an example below). Our goal is therefore to understand how to replace SOA with the natural ERM oracle (or an even weaker oracle), which lies at the core of offline/batch learning. More specifically, we seek to understand how many such calls are sufficient and necessary, thereby isolating the computational cost of online learning relative to offline (PAC) learning. We hope that the following example provides more information.

Example of a finite class: There is an online learner that has access to a table of size n=∣H∣∣X∣n=|\mathcal{H}||\mathcal{X}| describing a binary concept class H\mathcal{H} over X\mathcal{X}. In the realizable setting, this learner achieves a finite mistake bound and runs in time O(n)O(n) per iteration [AAD+23].

For comparison, SOA does not admit a polynomial-time implementation in nn. In particular, SOA requires computing the Littlestone dimension, and under standard hardness assumptions, it is impossible to even approximate the Littlestone dimension in polynomial time whenever it is ω(1)\omega(1) [FL98, MR17, Man22]. In the agnostic setting, the reduction of Ben-David et al. [BDPSS09] performs TdLDT^{d_{\mathrm{LD}}} executions of SOA, making it computationally intractable.

In contrast, our algorithm requires at most TdVC+1T^{d_{\mathrm{VC}}+1} weak-consistency oracle calls, each of which can be implemented in time O(n)O(n). Thus, the overall running time is polynomial in both nn (the description size of the concept class) and TT, while remaining exponential only in the VC dimension. Since the VC dimension is often regarded as a constant (and can be arbitrarily smaller than the Littlestone dimension), this yields a significant computational improvement.

Examples from practice: Understanding the complexity of online learning through the lens of an offline optimization oracle is a natural computational model that has been widely studied in sequential decision-making, including contextual bandits and reinforcement learning (typically using stronger offline oracles). This perspective also closely matches how many modern learning systems are implemented in practice.

In practical contextual bandit systems, many successful algorithms rely on an offline optimization oracle over a rich concept class (e.g., a neural network). See, for example, the Vowpal Wabbit project, where such algorithms are implemented and evaluated, and the discussion on "Oracle-Efficient Online Learning" in Appendix A. More broadly, oracle-based approaches have also been highly successful in large-scale games and multi-agent learning; see, for example, "Developing, Evaluating and Scaling Learning Agents in Multi-Agent Environments." We therefore believe that the oracle-based model provides a more natural computational framework for online learning. In contrast, SOA is better viewed as a mathematical proof technique than as an algorithm intended for practical implementation.

Reviewer Vbrm · CommentOpenReview ↗

I thank the authors for clarifying both of my questions, and I think the described incorporation of the kk-realizable viewpoint is great. I don't have any further questions for the authors, and I still believe that this is a solid paper which deserves to be accepted.

Reviewer BtWwOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies the problem of oracle-efficient agnostic learning. The authors introduce an algorithm that achieves regret O(T2dLD)O(\sqrt{T 2^{d_{LD}}}) while making O(TdVC)O(T^{d_{VC}}) calls to a weak-consistency oracle, which improves over the previous bound of O(T2dLD)O(T^{2^{d_{LD}}}). The algorithm presented in this paper is a more careful version of the learner of BDPSS09 that runs over O(TdLD)O(T^{d_{LD}}) experts that cover the class. However, by Sauer’s lemma, on any tt points, the class can have at most O(tdVC)O(t^{d_{VC}}) realizable behaviors, which allows the algorithm to prune many of the experts. It can also prune experts that have made more than the mistake bound of the base realizable learner. This reduction in the number of experts considerably reduces the necessary oracle calls. The authors also provide a lower bound of Ω(T/Q)\Omega(T/Q) for any learner that uses at most Q=o(T)Q=o(\sqrt{T}) queries. Thus, the only question that remains is what happens for query budgets between O(T)O(\sqrt{T}) and O(TdVC)O(T^{d_{VC}}).

Strengths and weaknesses

Strengths:

  • The paper is technically sound and the results are accompanied by proofs.
  • The paper is well-written and the ideas behind the proofs are conveyed well.
  • The paper makes a clear improvement over the prior work in terms of the number of query calls..

Weaknesses (and questions):

  • The technical contributions are limited in my opinion. For the most part, the analysis is similar to Hedge and the previous reduction of BDPSS09. Nevertheless, the idea of pruning the experts in this reduction is novel to the best of my knowledge.
  • My main concern is Corollary 4.2. As far as I checked the authors do not mention in the paper what the query complexity of the realizable base learner is. From Table 1 in AHR25, it seems to be 2O(dLD)T2^{O(d_{LD})}T in total. Second, in the proof of Corollary 4.2, the query complexity of the base learner is not considered as far as I could tell. Shouldn’t there be a multiplicative factor of 2O(dLD)2^{O(d_{LD})} in the upper bound? In such a case, I think it should be explicit and not absorbed by OO notation as it shows the query complexity still depends exponentially on dLDd_{LD}.
  • The paper only considers the oracle complexity and not the time complexity. While an exponential oracle complexity implies exponential time complexity, it is not readily clear whether the poly oracle complexity of this algorithm yields a poly time algorithm assuming the oracle runs in poly time (in length of the input sequence).

My initial score is mainly influenced by the last two concerns above, and I would be inclined to increase it if the authors can address them.

Questions

See weaknesses above.

Limitations

yes

Final justification

The authors' rebuttal resolved the concerns I had raised in my review. Importantly, the new proof confirms that the query complexity upper bound O(TdVC)O(T^{d_{VC}}) indeed holds, which surprisingly does not depend on the Littlestone dimension. Thus, I increase my score to 5.

Formatting concerns

I did not notice any.

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the thoughtful review and helpful comments.

Corollary 4.2 (second bullet in weaknesses/questions)

We thank the reviewer for catching this point. The reviewer is correct that a black-box application of Theorem 4.1 would give the larger query bound $ \begin{aligned} \sum_{t=1}^T O\left( t^{d_{\mathrm{VC}}} \left(1+2^{O(d_{\mathrm{LD}})}\right) \right) &= O\left( T^{d_{\mathrm{VC}}+1} 2^{O(d_{\mathrm{LD}})} \right). \end{aligned} $

Indeed, after applying the weak-consistency simulation of [AHR25], the realizable base learner may make 2O(dLD)2^{O(d_{\mathrm{LD}})} queries per round for each copy of the base learner.

The proof of Corollary 4.2, however, does not use Theorem 4.1 as a black box. The additional observation is that the queries made by the learner of [AHR25] have a special form: each consists of a realizable labeling of the previous instances together with one additional labeled point. Since repeated queries need only be issued once, there are at most O(tdVC)O(t^{d_{\mathrm{VC}}}) relevant queries on round tt, and hence O(TdVC+1)O(T^{d_{\mathrm{VC}}+1}) queries overall. We will make this argument more explicit in the proof, add a remark contrasting it with the black-box bound, and restate Corollary 4.2 as a theorem, since it is not a direct consequence of Theorem 4.1.

Remark. Applying Theorem 4.1 as a black box with the realizable learner of [AHR25] would give O(TdVC+12O(dLD))O(T^{d_{\mathrm{VC}}+1}2^{O(d_{\mathrm{LD}})}) weak-consistency queries. However, since each query on round tt consists of a realizable labeling of the previous instances together with one additional labeled point, there are only O(tdVC)O(t^{d_{\mathrm{VC}}}) distinct queries on that round.

Proof of Corollary 4.2. The regret bound follows by substituting the realizable mistake bound M=2O(dLD)M=2^{O(d_{\mathrm{LD}})} into the regret guarantee of Theorem 4.1.

For the query bound, a direct application of the query guarantee of Theorem 4.1 is insufficient to obtain the claimed bound. Indeed, the weak-consistency implementation of the realizable base learner may make 2O(dLD)2^{O(d_{\mathrm{LD}})} queries per round. Therefore, directly summing the per-round guarantee from Theorem 4.1 would give $ \begin{aligned} \sum_{t=1}^T O\left( t^{d_{\mathrm{VC}}} \left(1+2^{O(d_{\mathrm{LD}})}\right) \right) &= O\left( T^{d_{\mathrm{VC}}+1} 2^{O(d_{\mathrm{LD}})} \right). \end{aligned} $

However, since there are several copies of the base learner, the same input to the weak-consistency oracle may arise multiple times. Repeated calls to the same oracle input can be replaced by the previously obtained answer. It therefore suffices to bound the number of distinct inputs to the oracle.

In the simulation from Theorem 3.3 of [AHR25], the weak-consistency oracle on round tt is queried only on sequences of the form $ (x_1,z_1),(x_2,z_2),\ldots,(x_{t-1},z_{t-1}),(x_t,0), $ where $ (x_1,z_1),(x_2,z_2),\ldots,(x_{t-1},z_{t-1}) $ is realizable.

Furthermore, the realizability-pruning step of Algorithm 2 only queries sequences of the form $ (x_1,v_1),(x_2,v_2),\ldots,(x_{t-1},v_{t-1}),(x_t,b), b\in \{0,1\}, $ where $ (x_1,v_1),(x_2,v_2),\ldots,(x_{t-1},v_{t-1}) $ is realizable.

Thus, every distinct oracle input on round tt is obtained by extending a realizable labeling of x1,…,xt−1x_1,\ldots,x_{t-1} with one of the two possible labels for xtx_t. By Sauer's lemma, the number of such inputs is at most $ \begin{aligned} 2\sum_{i=0}^{d_{\mathrm{VC}}}\binom{t-1}{i} &= O\left(t^{d_{\mathrm{VC}}}\right). \end{aligned} $

Therefore, the number of oracle calls on round tt is O(tdVC)O(t^{d_{\mathrm{VC}}}). Summing over all rounds gives $ \begin{aligned} \sum_{t=1}^T O\left(t^{d_{\mathrm{VC}}}\right) &= O\left(T^{d_{\mathrm{VC}}+1}\right). \end{aligned} $ as claimed.


The oracle complexity model (third bullet in weaknesses/questions)

The main goal of our model is to provide a reduction from online learning to offline (PAC) learning. Understanding the complexity of online learning as a function of an offline optimization oracle is a natural computational model that has been widely studied in sequential decision-making problems, such as contextual bandits and reinforcement learning (typically with stronger offline oracles). Moreover, this perspective closely matches the way modern learning systems are implemented in practice.

The Standard Optimal Algorithm (SOA), which is the canonical algorithm for online learning and serves as a key subroutine in many settings, is computationally unrealistic, in the sense that even a single iteration is generally intractable (see an example of a finite class below). Our goal is therefore to understand how to replace SOA with the natural ERM oracle (or an even weaker oracle), which lies at the core of offline/batch learning. Moreover, our reduction shows that the agnostic online learning problem can be solved using an oracle for the simpler realizable setting.

We agree that ERM (or even the weaker weak-consistency oracle) may itself be computationally hard in some cases. However, a rich body of work has been developed to address this issue, for example by using surrogate losses that can be optimized efficiently or by making structural assumptions under which the offline oracle becomes tractable.

Below, we provide several concrete examples that further illustrate these ideas.

Example of a finite class. There is an online learner that has access to a table of size n=∣H∣∣X∣n = |\mathcal{H}||\mathcal{X}| describing a binary concept class H\mathcal{H} over X\mathcal{X}. In the realizable setting, this learner achieves a finite mistake bound and runs in time O(n)O(n) per iteration [AAD+23].

For comparison, SOA does not admit a polynomial-time implementation in nn. In particular, SOA requires computing the Littlestone dimension, and under standard hardness assumptions, it is impossible to even approximate the Littlestone dimension in polynomial time whenever it is ω(1)\omega(1) [FL98, MR17, Man22]. In the agnostic setting, the reduction of Ben-David et al. [BDPSS09] performs TdLDT^{d_{\mathrm{LD}}} executions of SOA, making it computationally intractable.

In contrast, our algorithm requires at most TdVC+1T^{d_{\mathrm{VC}}+1} weak-consistency oracle calls, each of which can be implemented in time O(n)O(n). Thus, the overall running time is polynomial in both nn (the description size of the concept class) and TT, while remaining exponential only in the VC dimension. Since the VC dimension is often regarded as a constant (and can be arbitrarily smaller than the Littlestone dimension), this yields a significant computational improvement.

Examples from practice. In practical contextual bandit systems, many successful algorithms rely on an offline optimization oracle over a rich concept class (e.g., a neural network). See, for example, the Vowpal Wabbit project, where such algorithms are implemented and evaluated, and the discussion on "Oracle-Efficient Online Learning" in Appendix A. Oracle-based approaches have also been highly successful in solving large-scale games and multi-agent learning problems; see, for example, "Developing, Evaluating and Scaling Learning Agents in Multi-Agent Environments". We therefore believe that the oracle-based model provides a more natural computational framework for online learning. In contrast, the SOA is better viewed as a mathematical proof technique than as an algorithm intended for practical implementation.


The technical contributions are limited (first bullet in weaknesses)

We would like to clarify this point.

Indeed, we build on the reduction of Ben-David et al. [BDPSS09], as it is the only known algorithm for agnostic online learning over general concept classes (with the improvement of Alon et al. [ABED+21]). We believe that our dynamic pruning technique is both simple, which we view as a strength, and significantly reduces the oracle complexity. More importantly, it provides an interesting conceptual perspective on online learning: while the regret is controlled by the Littlestone dimension, the computational complexity, measured by the number of ERM calls (or even the simpler weak-consistency oracle calls), is governed by the complexity of the underlying offline PAC learning model (namely, the VC dimension).

Beyond this algorithmic contribution, we also derive the Pareto frontier between oracle complexity and regret, and prove a new lower bound that strengthens previous results. Reviewer Vbrm suggested an interesting direction: proving a bound that interpolates between the realizable and agnostic settings. We followed this suggestion and will include the result as an additional theorem in the next version of the paper. Please see our response to Reviewer Vbrm for details.

Reviewer BtWw · CommentOpenReview ↗

Thank you for your response. I suggest the authors also add a short description of the realizable learner (I assume Theorem 3.3 of [AHR25]) to the paper so that the proofs can be verified without the need to refer to prior work. For example, currently it seems unclear to me what the cost of Base Learner Step in Algorithm 2 is. From your response, "In the simulation from ....", it seems to be constant, if I understand correctly. Is that correct?

My concerns have otherwise been satisfactorily addressed.

Authors · CommentOpenReview ↗

Thank you for pointing this out. We agree that the cost of the Base Learner Step should be stated explicitly, together with a description of the realizable learner. While a single Base Learner Step may require up to 2O(dLD)2^{O(d_{\mathrm{LD}})} weak-consistency calls at round tt, our implementation ensures that all base learners combined make at most O(tdVC)O(t^{d_{\mathrm{VC}}}) oracle calls during that round.

The learner of [AAD+23] proceeds in phases and maintains a pool of at most 2O(dLD)2^{O(d_{\mathrm{LD}})} hypotheses, whose predictions it aggregates using lazy multiplicative weights. At the end of each phase, it adds a hypothesis consistent with all examples observed so far. The simulation of [AHR25] represents each such hypothesis by its labeling of the points seen so far. On a new point xtx_t, it uses one weak-consistency call to extend each labeling to xtx_t. Therefore, one Base Learner Step at timestep tt uses at most 2O(dLD)2^{O(d_{\mathrm{LD}})} weak-consistency calls. Across the different copies of the base learner in Algorithm 2, however, many of these calls have identical inputs. After accounting for repeated inputs, there are only O(tdVC)O(t^{d_{\mathrm{VC}}}) oracle calls on round tt.

We hope this clarifies the point, and we would be happy to answer any further questions. We will revise the query-complexity proof of Corollary 4.2 from the rebuttal to include this description and make the distinction explicit, as follows:

Corollary 4.2: Updated Proof of the Query Complexity Bound

We first briefly describe the realizable base learner of [AAD+23] and its weak-consistency implementation from [AHR25]. The learner of [AAD+23] proceeds in phases and maintains a pool of hypotheses, whose predictions it aggregates using lazy multiplicative weights. At the end of each phase, it adds a hypothesis consistent with all examples observed so far. [AAD+23] shows that the number of phases, and hence the number of hypotheses in the pool, is at most 2O(dLD)2^{O(d_{\mathrm{LD}})}.

Theorem 3.3 of [AHR25] implements this learner using a weak-consistency oracle. The simulation represents each hypothesis by its labeling of the points observed so far. To evaluate such a hypothesis on xtx_t, it queries the current labeling extended by (xt,0)(x_t,0); if this extension is unrealizable, it assigns label 11 to xtx_t. Thus, at most one weak-consistency call is needed per hypothesis, and a single Base Learner Step at timestep tt makes at most 2O(dLD)2^{O(d_{\mathrm{LD}})} weak-consistency calls.

We now prove the query bound. A direct application of the query guarantee of Theorem 4.1 is insufficient to obtain the claimed bound. Indeed, the weak-consistency implementation described above may make 2O(dLD)2^{O(d_{\mathrm{LD}})} queries per round for each copy of the base learner. Therefore, directly summing the per-round guarantee from Theorem 4.1 would give $ \begin{aligned} \sum_{t=1}^T O\left( t^{d_{\mathrm{VC}}} \left(1+2^{O(d_{\mathrm{LD}})}\right) \right) &= O\left( T^{d_{\mathrm{VC}}+1} 2^{O(d_{\mathrm{LD}})} \right). \end{aligned} $

However, the same input to the weak-consistency oracle may arise in many different copies of the base learner. Repeated calls to the same oracle input can be replaced by the previously obtained answer. It therefore suffices to bound the number of distinct inputs to the oracle. We now show that, across all copies of the base learner and the realizability-pruning step, there are only O(tdVC)O(t^{d_{\mathrm{VC}}}) distinct oracle inputs on round tt.

In the base learner described above, the weak-consistency oracle on round tt is queried only on sequences of the form $ (x_1,z_1),(x_2,z_2),\ldots,(x_{t-1},z_{t-1}),(x_t,0), $ where $ (x_1,z_1),(x_2,z_2),\ldots,(x_{t-1},z_{t-1}) $ is realizable.

Furthermore, the realizability-pruning step of Algorithm 2 only queries sequences of the form $ (x_1,v_1),(x_2,v_2),\ldots,(x_{t-1},v_{t-1}),(x_t,b), b\in {0,1}, $ where $ (x_1,v_1),(x_2,v_2),\ldots,(x_{t-1},v_{t-1}) $ is realizable.

Thus, every distinct oracle input on round tt is obtained by extending a realizable labeling of x1,…,xt−1x_1,\ldots,x_{t-1} with one of the two possible labels for xtx_t. By Sauer's lemma, the number of such inputs is at most $ \begin{aligned} 2\sum_{i=0}^{d_{\mathrm{VC}}}\binom{t-1}{i} &= O\left(t^{d_{\mathrm{VC}}}\right). \end{aligned} $

Therefore, the number of oracle calls on round tt is O(tdVC)O(t^{d_{\mathrm{VC}}}). Summing over all rounds gives $ \begin{aligned} \sum_{t=1}^T O\left(t^{d_{\mathrm{VC}}}\right) &= O\left(T^{d_{\mathrm{VC}}+1}\right) \end{aligned} $, as claimed.

Reviewer BtWw · CommentOpenReview ↗

I appreciate the authors' detailed response. My concerns have been resolved. Accordingly, I increase my score to 5.

Reviewer koXROpenReview ↗
Rating
6/6
Confidence
3/5
Quality
4/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper tackles a bottleneck in agnostic online learning: the computational cost of interacting with a concept class via offline oracles. Historically, to achieve near-optimal regret using an ERM oracle, one has to incur a doubly-exponential query complexity of O(T2O(dLD))\mathcal{O}(T^{2^{\mathcal{O}(d_{LD})}}). In thie paper, the authors swap the heavy ERM oracle for a simpler "weak-consistency oracle"—a basic primitive that just checks if a dataset is realizable. They introduce an adaptive reduction (ADEPT) that dynamically prunes unrealizable pseudo-label histories on the fly. Using Sauer's Lemma, they show that the active state space can be bounded by the VC dimension (dVCd_{VC}), dragging the total query complexity down to O(TdVC+1)\mathcal{O}(T^{d_{VC}+1}). They also map out the regret-query tradeoff frontier and establish a lower bound showing that linear regret is inescapable if restricted to o(T)o(\sqrt{T}) queries.

Strengths and weaknesses

Strengths

Reducing query complexity: The core insight of this paper is that while the Littlestone dimension (dLDd_{LD}) strictly dictates the statistical price of online classification, it does not have to dictate the computational cost. Proving that the computational cost can be bounded by the arbitrarily smaller VC dimension (dVCd_{VC}) is a nice improvement.

The ADEPT mechanism: Algorithm 2 is a smart fix to the combinatorial explosion problem found in the classic Ben-David et al. reduction. Instead of maintaining a massive tree of O(TdLD)\mathcal{O}(T^{d_{LD}}) experts, many of which are tracking impossible, unrealizable histories, ADEPT kills off impossible paths the moment they arise.

Low-query regime: By proving that any learner restricted to Q=o(T)Q = o(\sqrt{T}) queries must suffer Ω(T/Q)\Omega(T/Q) regret, the authors improve upon prior lower bounds in this regime.

Weaknesses

Open gap: As the authors transparently highlight in Figure 1, there is still a noticeable theoretical gap between the query-budget lower bound and the achievable tradeoff frontier.

Questions

1. The authors could add a figure to help visualize ADEPT, by showing the active tree over a few rounds. Showing exactly how the weak-consistency oracle prunes unrealizable paths versus how the mistake-budget exhausts and prunes paths would make Algorithm 2 easier to understand.

2. While this is a theoretical paper, the authors could include some code simulations on synthetic datasets. It could be interesting to visualize the size of the dynamically bounded active tree (bounded by O(tdVC)\mathcal{O}(t^{d_{VC}})) versus the full theoretical O(TdLD)\mathcal{O}(T^{d_{LD}}) tree.

Limitations

Yes

Final justification

My questions were answered by the authors and I continue to score this paper very highly.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the thoughtful review and helpful comments.

Gap in Figure 1: Indeed, there is still a gap between the TVC+1T^{\textrm{VC}+1} upper bound and the T1/2T^{1/2} lower bound on the number of oracle calls required to achieve the best possible regret in this model. To the best of our knowledge, the only known algorithms for agnostic online learning over general concept classes are based on the reductions of Ben-David et al. [BDPSS09] and Alon et al. [ABED+21]. We believe that these methods cannot yield a better upper bound. We genuinely do not know whether either the upper or lower bound can be improved, but we believe that resolving this gap will require fundamentally new ideas.

Question 1: A visualization of the ADEPT algorithm: This is a wonderful suggestion, and we agree that it would provide better intuition for the algorithm. We would be happy to include such a visualization in the next version of the paper. Unfortunately, the rebuttal process does not allow us to submit an updated manuscript.

Question 2: A simulation showing the improvement in the size of the active tree: This is a good suggestion. We are currently looking into it, in particular for the class of thresholds. If you have a specific visualization or experiment in mind, we would really appreciate hearing your thoughts.

Reviewer koXR · CommentOpenReview ↗

Thanks for the responses. I continue to rate this paper very highly.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…