acceptodds
Published as a conference paper at NeurIPS 2026

A Theory of Adversary-Directed Online Learning

Steve Hanneke, Amirreza Shaeiri

Abstract

We introduce the problem of *adversary-directed* online learning, in which the learner is aware of the set of instances in advance, and an adversary adaptively determines their ordering during the learning process. Surprisingly, this formulation has not been previously studied, perhaps due to its conceptual resemblance to the traditional adversarial online learning problem, despite related models, including the transductive, self-directed, and best-order, having been extensively explored. However, by utilizing novel techniques, we demonstrate that the landscape of adversary-directed online learning significantly diverges from that of traditional adversarial online learning. In the realizable setting, we establish a trichotomy of possible rates of the minimax number of mistakes. Specifically, for a learning horizon , the minimax number of mistakes can only be of the orders , , or . To prove this, we introduce a new combinatorial complexity parameter, termed the perfect Littlestone dimension, whose finiteness distinguishes the rate from the rate. On the other hand, in the agnostic setting, we essentially show a dichotomy of possible rates of the minimax expected regret. In particular, if the learner plays for rounds, its minimax expected regret can only be of the orders , or , which is also characterized by the finiteness of the perfect Littlestone dimension. Technically, a key ingredient in the proof of our and upper bounds is a novel online learning algorithm that leverages a new notion of shattering based on the perfect Littlestone dimension, which exploits the adaptive adversarial nature of the problem.

Keywords:
Atlanta

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_GbfVOpenReview ↗
Rating
5
Clarity
4
Confidence
5
Originality
3
Quality
4
Significance
2
Read review
Summary

Overview and Main Results

The paper studies a new setting of online learning in which the set of examples is pre-determined (and known to the learner in advance) but the adversary adaptively determines the order of instances during the learning process.

The authors provide a motivating example where this setting is natural: a known set of people needs to get treatment, which can be A or B. Only one of these will be effective. And the order in which they arrive can be adversarially chosen.

Main results

  • Theorem 1.1 establishes mistake bounds for the realizable case. The number of mistakes is upper bounded by a constant, if the Littlestone Dimension (LD) is finite, by order log⁡(T)\log(T) if a new notion of complexity called PLD is finite, and by order TT if the PLD is infinite.
    • The construction uses a variant of the Halving algorithm in which the potential is replaced with the number of shattered subsets
  • Theorem 1.2 shows that in the agnostic case, the regret is order T\sqrt{T} if the PLD is finite and TT otherwise.
  • Proposition 1.3: The PLD coincides with the VC dimension for the binary case. However, for multiclass, the PLD can be infinite while the DS dimension is 1. Therefore, there's a gap between learnability in this online model vs. the PAC model.
  • Theorem 1.4 relates PLD to the Level-constrained Littlestone Dimension (LLD).
Strengths and weaknesses

Pros

  • The paper is packed with strong theoretical results, with interesting techniques

My main reason for viewing the results as strong is that the paper gives a near-complete characterization of the proposed model, not just an algorithmic upper bound. In the realizable case, Theorem 1.1 gives a trichotomy of possible mistake rates, characterized by LD and PLD. In the agnostic case, Theorem 1.2 gives the analogous dichotomy characterized by PLD. I also found the introduction of PLD and the Max-Shatter argument technically interesting, since the proof replaces the usual Halving potential by the number of perfectly shattered subsets; this seems to be the key new idea enabling the multiclass/infinite-label result.

Cons

  • The setting is a bit artificial, and the motivating example is not very convincing.

My concern about the motivating example is more about modeling than technical validity. The treatment example explains the setting, but I do not find it fully convincing because patient arrival order is not naturally adaptively adversarial. It may be unknown or stochastic, but it is less clear who or what is adaptively choosing the next patient after observing previous outcomes. A stronger motivation would be a domain where adaptive adversarial ordering is intrinsic, or a clearer explanation of why this is the right conservative abstraction.

Questions

none.

Limitations

I didn't see a limitation section in the main text (maybe in the appendix, I didn't check).

Paper formatting concerns

none

Reviewer_tKGbOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

The paper studies a variant of online learning where the learner knows in advance what the instances it will be required to classify are. However, the adversary can still adaptively choose their order during the game. The authors show a trichotomy on mistake bounds in the realizable setting and a dichotomy in the agnostic setting. The main contribution of the paper is the notion of a Perfect Littlestone dimension (PLD), which is defined as maximum dd such that there exists a shattered Littlestone tree of dd defined only on dd instances. Importantly, finiteness of this dimension implies that the minimax number of mistakes is at most log⁡(T)\log(T).

Strengths and weaknesses

Strength:

  • The paper is generally well-written. The problem statement and contributions are clear and well-positioned within the related work.

  • The problem has not been studied before to the best of my knowledge.

Weaknesses:

  • The technical contributions are incremental. In my opinion, most of the results are simple modifications of previous works on online learning and transductive learning.

  • The results are only asymptotic and it is not clear whether the dimensions are providing a tight quantitative characterization. Indeed, the constant regime is using the Littlestone dimension, however, this can be loose. See for example Multiclass Transductive Online Learning, Hanneke et al. 2024, who provide a tighter characterization of the constant regime for transductive online learning.

  • While the authors compare their log⁡(T)\log(T) proof with the Halving algorithm of binary setting, they do not compare it with the proof Hanneke et al. 2024, which uses the LLD. Conceptually, the ideas are similar in my opinion and only slightly differ. Theorem 1.4 shows that qualitatively LLD and PLD have the same behaviour. However, it is clear whether they quantitatively differ; That is, does the adversary gain anything by being able to choose the order of points adaptively?

  • The proof of Lemma 4.1 is not clear to me. See questions.

Overall, I think the paper does not have enough conceptual or technical contributions, and thus, I recommend rejection.

Questions

In the proof of Lemma 4.1, you claim S’∈At∩BtS’ \in A_t \cap B_t implies S’∪{xt}S’ \cup \{x_t\} is shattered, which I agree with. However, I’m not sure how it readily implies ∣Bt∣≤½∣Sh(St−1,Vt−1)∣|B_t|\leq ½ |Sh(S_{t-1},V_{t-1})|. Are you claiming that the former implies AtA_t and BtB_t are disjoint? Because it could be that ∣S’∣<∣PLD(Vt−1)∣|S’|< |PLD(V_{t-1})| in which case it would not lead to a contradiction? Maybe I am not understanding this, but I think this part of the proof is rushed or wrong. My score of 2 (reject) is due to this and I will increase it to 3 (borderline reject) if you could address this issue.

Limitations

yes

Paper formatting concerns

I did not notice any.

Final justification

The problem studied in the paper completes the picture regarding the possible levels of power of the adversary and the learner in selecting instances when their set is predetermined. However, I maintain my original view that the technical contributions of the paper are limited. Overall, the paper remains borderline for me, although I believe its strengths outweigh its weaknesses.

Reviewer_Z8EMOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies a new model of online learning, where the analogue of the Littlestone dimension is replaced by 'perfect' Littlestone dimension, which asks whether an H-shattered tree of height d can be made using d labels for the internal nodes, obviously with repetition; alternately, allowing the adversary to adaptively determine the ordering (along each branch) as the game is being played.

The main result proves a trichotomy for the minimax number of mistakes in the realizable case, showing it can be linear, log or constant. For this they give a new notion of shattering, asking whether a finite set of instances can witness a perfect Littlestone tree of its own size, and tailor the algorithm to this notion of shattering.

Strengths and weaknesses

This is indeed a nice definition, which makes a kind of bridge between Littlestone and VC dimension. Its exploration amounts to a well conceived theoretical contribution.
I found the 'real world example' motivating the definition slightly less compelling. Since there are many interesting definitions, the question is always what they illuminate. Either some broader array of use cases, or an application to solve an open problem in the literature, would contribute to the case for a top AI conference.

Questions
  1. Have you considered the case where the number of labels allowed in the tree of height d is somewhere between d and 2^d, do you expect that other interesting functions will give meaningful definitions?

  2. If so, is there a way to put Littlestone dimension and perfect Ldim in a single theoretical framework?

  3. Are there other use cases you imagine for this dimension, or open problems you hope to solve with it?

Limitations

See questions in previous items

Paper formatting concerns

n/a

Final justification

The authors' responses strengthened the case for the paper by better explaining the relation to prior work and clarifying the adversary's advantage in this setting.

Comments on the paper

1 comment
Meta-review

The authors introduce an online learning model which can be viewed as a variation of the transductive online learning model (in which, prior to the game beginning, the adversary selects and reveals the sequence of instances); in the authors’ variation, the sequence of instances can be selected by an adaptive adversary (which, in particular, means that the learning algorithm will not know the entire sequence at the start of the game). Also, in my understanding, even if the adversary decides to be oblivious, the learning algorithm still will not get to know the sequence of instances ahead of time (although it sees the (unordered) set of instances of ahead of time). Thus, it is my understanding that even if we restrict to deterministic learning algorithms (so that an adaptive adversary is not more powerful than oblivious adversary), the adversary still wields more power in the newly introduced setting as compared to transductive online learning. For this new setting, the authors establish a trichotomy in the realizable setting which (asymptotically) characterizes the rates in terms of the number of rounds T, and they also identify a dimension (Perfect Littlestone dimension) that characterizes learnability in the agnostic setting. In addition, they relate (in Theorem 1.4) the Perfect Littlestone dimension and the recently introduced Level-constrained Littlestone dimension.

The main strengths of the paper are introducing the new online learning model, providing a near-complete characterization of the rates obtainable in this model, and (along the way) introducing the concept of Perfect Littlestone dimension.

Initially, one reviewer gave strong support, another reviewer was weakly positive, and another reviewer was negative (with the latter reviewer's rating likely being low because of questions about a proof). The reviewer with strong support continues to strongly support the paper. The review who was weakly positive now provides strong support because the authors successfully argued of how their work fills a void in prior online learning settings while also potentially offering ideas toward solving certain open problems in online learning. The last reviewer, who was negative, is now weakly positive. Specifically, this last reviewer initially had concerns about a proof; those concerns are now resolved. In addition, that reviewer continues to believe that the technical contribution (in terms of ideas) is incremental.

I think the authors' point about the importance of introducing the right dimension, namely, the Perfect Littlestone dimension, is a good one. I think their finding/defining this dimension alleviates concerns about technical novelty. Also, while I'm not 100% happy with the motivating examples, from a theoretical standpoint I find the setting to be interesting, and I don't have a strong argument against the motivating examples.

Also, I think the authors for answering my question below from the initial meta-review (restated for completeness):

Finally, here is my question: In the realizable setting, you restrict to deterministic algorithms. Consequently, an adaptive adversary is not more powerful than oblivious adversary. So, let us compare your results for the realizable setting to the results of Hanneke et al. (2024), i.e, the paper "Multiclass transductive online learning"; specifically, how does Corollary 1 of that paper (which seems to use different dimensions, and yet also established a trichotomy), compare to Theorem 1.1 of your paper? Also, any differences are due to fact that, in your setting, the algorithm won't know the ordering of the instances at the start of the game (even for an oblivious adversary)?

In light of how complete a picture the authors have provided, I think this paper makes for a strong contribution to NeurIPS. Ultimately, I do find it to be more on the technically interesting side while also offering clean and satisfying results. I recommend acceptance.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.