Manuscript Offprint
arXiv:2610.29898A Sharp Dynamic Haussler Lemma
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Haussler’s covering lemma (JCTA 1995) established the sharp metric-entropy bound for binary classes of VC dimension under normalized distance. We establish a sharp global dynamic counterpart for bounded real-valued classes in every normalized metric, . For every such , every integer , and every , we prove the matching bounds
where are universal constants, independent also of . The upper bound holds for each class and each horizon, and extends to all . The cover is a single finite family of deterministic causal experts, fixed independently of the instance sequence, that approximates every target on every sequence to normalized error at most . The lower bound already holds for binary classes on a single fixed sequence, even with real-valued covering experts.
For , our theorem resolves the horizon-independent sequential covering problem of Rakhlin, Sridharan, and Tewari (PTRF 2015) in a stronger global form. For , it yields the sharp global dynamic covering bound for binary classes. This resolves the global approximate covering problem posed by Alon, Ben-Eliezer, Dagan, Moran, Naor, and Yogev (STOC 2021), as well as the dynamic Haussler problem posed by Malliaris and Moran (Trans. AMS 2024). Our proof uses SOA-style predictions with scheduled rank-decreasing version-space updates to control large pointwise errors. Rather than keeping every resulting prediction stream as a standalone expert, we use accurate prefixes that can be extended by exact predictions after identifying a target. Each activated target has many eligible prefixes but needs only one continuation. Shared-parent routing distributes these continuation requests across eligible prefixes, avoiding the worst-case concentration of demand on individual prefixes and eliminating the logarithmic loss.
Contents
1 Introduction 1
1.1 Our Contributions 2
1.2 Historical Context and Related Work 3
2 Technical Overview 5
2.1 Outlier Reduction and Correction Schedules 5
2.2 From One Pool to Many Short Pools 6
2.3 Shared-Parent Routing and Sharp Counting 7
2.4 Simultaneous Accuracy and Global Determinization 9
2.5 The Matching Lower Bound 10
3 Definitions and Main Results 11
3.1 Sequential Fat-Shattering Dimension 11
3.2 Global Dynamic Covering Numbers 12
3.3 Sharp Upper and Lower Bounds 12
3.4 Binary Classes and Sequential Covering 13
4 Correction Schedules and Adaptive Sampling 15
4.1 Separation and Rank-Decreasing Centers 15
4.2 Correction Schedules and Pointwise Covers 17
4.3 Partial Binary Completion and Adaptive Sampling 19
5 Master Histories and Multi-Pool Accuracy 23
5.1 The Analytical Master and Uniform Accuracy 24
5.2 Tolerant Replay and Buffered Corrections 26
5.3 Simultaneous Accuracy Across Pools 28
6 Robust Identification and Eligible Parents 31
6.1 Robust Identification and Local Counting 31
6.2 Parent and Child Experts 33
6.3 Eligibility and Many Compatible Parents 34
7 Shared-Parent Routing and Load Balancing 36
7.1 The Causal Routing Protocol 36
7.2 Routing Probabilities and Load Bounds 37
8 Expert Counting and Global Determinization 39
8.1 Expert Counting and Simultaneous Coverage 39
8.2 Game Determinization and Main Upper Bound 40
9 Matching Lower Bounds 43
9.1 Finite-Field Hyperplanes and Their Dimensions 43
9.2 Fixed-Sequence Packing and Lower Bound 44
The classical cover may be chosen after the entire instance sequence is known. Such hindsight dependence is unsuitable for online prediction, where future instances are unavailable. To eliminate this dependence, one may instead maintain a bounded number of candidate prediction streams, updating their predictions as instances arrive. This leads to the notion of a causal expert, whose prediction at time t may depend on the observed prefix . We ask whether a single finite family of such experts, specified in advance, can approximate every target on every possible input sequence. This global guarantee requires consistency across different sequences: whenever two sequences share a prefix, each expert must make identical predictions along that prefix.
We study this question for bounded real-valued classes, measuring approximation in normalized distance for any . Let be nonempty, and fix a horizon . A deterministic causal expert is a tuple with . A finite family is a global dynamic cover at accuracy if
We write for the smallest cardinality of such a family. The family may depend on , and , but is fixed before the instances are revealed. Its experts receive no target values, and the expert witnessing the approximation may depend on both the target and the entire sequence. Thus global refers to a single family that works on all instance sequences; integral refers to an actual finite family of experts.
Sequential covering has a substantial history. The Littlestone dimension characterizes the optimal deterministic mistake bound in realizable online learning [Lit88]. Extending this characterization to agnostic online learning, Ben-David, Pál, and Shalev-Shwartz [BPS09] constructed a global exact cover for every binary class of Littlestone dimension , consisting of at most deterministic causal experts. Allowing a positive error rate suggests that the dependence on might disappear. In the real-valued setting, Rakhlin, Sridharan, and Tewari [RST10; RST15a; RST15b] developed sequential covering numbers and asked for an bound independent of the horizon. Related sequential complexity methods also apply to objectives beyond external regret, including calibration and approachability [RST11]. Sequential covering numbers also have direct applications to online prediction. Rakhlin and Sridharan [RS14] established optimal regret rates for online nonparametric regression in terms of sequential entropy. Gaillard and Gerchinovitz [GG15] subsequently developed chaining-based forecasters with entropy-dependent regret guarantees. The global approximate covering question for binary classes was posed in [Alo+21], and Malliaris and Moran [MM24] explicitly asked for a dynamic analogue of Haussler's lemma. Horizon-independent fractional covering bounds were established for global binary covering by Alon, Ben-Eliezer, Dagan,
Moran, Naor, and Yogev [Alo+21] and for tree-dependent real-valued sequential covering by Block, Dagan, and Rakhlin [BDR21]. The former provides one distribution over causal experts, whereas the latter allows the distribution to depend on the prescribed instance tree. Haussler's lemma, however, guarantees an actual finite family of representatives. A sharp, horizon-independent integral dynamic analogue, together with its extension to real-valued classes, has remained open.
1.1 Our Contributions
We establish a sharp global dynamic covering theorem for bounded real-valued classes, uniformly over all finite . The controlling parameter is the sequential fat-shattering dimension , the scale-sensitive sequential analogue of VC dimension. Informally, it is the maximum depth of a complete binary instance tree on which every path can be realized by a function in , with the two alternatives at each node separated by a gap around a node-dependent threshold. For binary classes, this dimension equals Littlestone dimension at every scale . The precise definition is given in the preliminaries.
Theorem 1 (Sharp global dynamic covering). There are universal constants and such that, for every , every integer , and every ,
More precisely, for every , every , and every , each nonempty class with satisfies
The constants are independent of p, d, T, and . The lower bound is witnessed by binary classes on a single fixed instance sequence, even when the covering experts are allowed real-valued predictions. If the displayed dimension is zero, one expert suffices.
The theorem identifies the exact worst-case accuracy exponent , with universal constants in the base. The more precise upper bound (3) retains as the outer exponent and has a base constant independent also of . Thus the bounds for and are and , respectively. In every case, the dimension is measured at scale , corresponding to pointwise accuracy, while the mean th-power error budget is .
The lower bound is given by indicators of affine hyperplanes over a finite field. On one fixed instance sequence, their prediction vectors form a normalized packing with separation greater than . Since the th power of the normalized distance between binary vectors equals their normalized Hamming distance, the same construction explains the exponent for every finite . The triangle inequality shows that even a real-valued expert can cover at most one vector in this packing.
Sequential covering and the problem. Restricting every global expert to a fixed instance tree gives a sequential cover on that tree, with the same cardinality. Theorem 1 therefore yields horizon-independent integral sequential covers for every . In particular, its case resolves the sequential covering question of Rakhlin, Sridharan, and Tewari [RST15b] in a stronger global form: a single family of causal experts, fixed independently of the instance sequence, suffices to approximate every target on every possible sequence. It supplies an integral covering theorem alongside the fractional result of Block, Dagan, and Rakhlin [BDR21].
Binary classes and the case. For a binary class of Littlestone dimension , the case yields a family of at most binary causal experts such that
for every . Indeed, apply (3) with and , then round each prediction at 1/2. Each binary mistake contributes at least 1/2 to the original absolute error, so the number of mistakes is at most . The finite-field construction gives a matching worst-case lower bound . This settles the global dynamic covering question posed in [Alo+21] and the dynamic Haussler problem of Malliaris and Moran [MM24]. A global cover also supplies a finite reference family for prediction-with-expert-advice methods [CL06], although our theorem does not address efficient construction of the experts.
Proof ideas. Our proof first establishes an outlier cover of size for a uniformly separated class, with pointwise error at least on fewer than rounds. Setting , passing to a maximal uniformly -separated subclass of , and choosing then yields mean th-power error at most for the original class. This gives the bound for every finite .
To obtain the outlier guarantee, SOA-style predictions and correction schedules implement rank-decreasing version-space updates without target labels. A common master and tolerant replays across short sampling pools give each target many accurate histories. A pool identifies a function when a robust certificate isolates it in a singleton version space; the function activates once identified by at least half the pools. Bounds on the number of functions each pool can certify within a low-rank version space, combined with this activation threshold, limit how many activated targets can be eligible for any given parent.
Rather than retaining every full schedule as an expert, we use parent schedules to cover unactivated targets or provide accurate prefixes for activated ones. Each activated target has many eligible parents but needs only one exact continuation. Shared-parent routing spreads these requests, avoiding worst-case concentration on individual parents and reducing their leading continuation capacity by a factor proportional to the number of pools. This eliminates the logarithmic overhead. A finite-horizon game argument then yields a deterministic global cover.
1.2 Historical Context and Related Work
Two distinctions clarify the relation between our theorem and earlier covering results: whether the cover may depend on a prescribed instance sequence or tree, and whether covering is witnessed by finitely many representatives or by a probability measure assigning uniformly positive mass to successful approximations.
Static, sequential, and global covers. In Haussler's classical theorem [Hau95], the representatives may be chosen after the sample is specified. The sequential covers of Rakhlin, Sridharan, and Tewari [RST15b] are instead defined on a fixed binary instance tree x. A cover is a finite family of real-valued prediction trees such that, for every target f and every root-to-leaf path , some approximates the target trace along that path. The family may depend on the entire instance tree, including nodes outside the realized path. The distinction is captured by the following quantifier orders
tree-dependent:
global:
(5)
In the first line, accuracy is measured on the path of ; the second line has the accuracy requirement in (1). In both cases the witnessing member may depend on the target and the complete path or sequence. The global formulation additionally specifies consistent predictions on every shared instance prefix, across all input sequences. Restricting a global family to a tree gives a sequential cover of the same size. Taking a supremum of sequential covering numbers over trees does not, by itself, interchange the first two quantifiers.
Globality is already present in the exact binary expert construction of Ben-David, Pál, and Shalev-Shwartz [BPS09], whose size grows with T, and in the fractional dynamic covers of [Alo+21]. The global approximate covering questions in [Alo+21; MM24] ask for a horizon-independent finite family. Our theorem supplies such a family with the sharp dimension and accuracy dependence, and extends the guarantee to bounded real-valued classes.
These questions also connect online learning to model-theoretic stability. Malliaris and Shelah [MS14] established regularity lemmas for stable graphs, while Malliaris and Moran [MM24] subsequently studied excellent sets through agnostic online learning.
Real-valued metric entropy. Scale-sensitive dimensions have long been used to control static covering numbers for real-valued function classes, both on finite samples and under distribution-dependent metrics [Alo+97; BKP97; MV03]. Empirical entropy also yields oracle inequalities and risk bounds for nonparametric regression [RST17]. Recently, Aiyer, Mansour, Moran, Shao, and Waknine [Aiy+26] obtained sharp results for empirical covering numbers at optimal scales. In these settings, covering families may depend on the sample or probability measure defining the metric. Our theorem instead provides a single finite family of causal experts, with sharp global dynamic bounds in every finite metric.
Geometric refinements. Haussler's static packing bound has also been refined for shallow geometric set systems [DEG16]. These refinements exploit additional structure of static set systems, whereas our focus is global causal covering.
Fractional and integral covering. For a target-sequence pair , let be the set of causal experts satisfying the error bound in (1) for that pair. A global fractional cover of size is a probability measure , fixed independently of the input sequence, such that
This is the probability-mass formulation used for binary dynamic covers in [Alo+21]. A tree-dependent fractional cover instead chooses a measure on prediction trees for each fixed , and imposes the same mass condition for every target and path on that tree, as in Block, Dagan, and Rakhlin [BDR21].
An integral cover requires an actual finite family intersecting every set . The uniform distribution on a family of size satisfies (6) with . The converse is not immediate: controls the reciprocal of the mass of each successful set, rather than the cardinality of the support of . In particular, even a finitely supported fractional cover need not have support of size at most . Here integral concerns the selection of representatives; the representatives themselves may make real-valued predictions.
Horizon-independent fractional covering bounds are already known. For binary classes, [Alo+21] establishes a global fractional bound of at normalized Hamming accuracy , while Block, Dagan, and Rakhlin [BDR21] obtain real-valued sequential fractional bounds controlled by sequential fat-shattering dimension. These results, however, do not directly yield finite global integral covers. The difficulty is simultaneous coverage. Sampling independent experts from misses a fixed target–sequence pair with probability at most . For prescribed pairs, a union bound gives simultaneous coverage with probability at least using samples, where . Thus, for any prescribed finite collection of target–sequence pairs, there exists a family of experts covering all of them. However, this argument introduces a logarithmic factor and does not directly handle the possibly infinite collection of all target–sequence pairs. On a fixed static sample, the classical packing argument converts fractional mass into a finite cover after doubling the radius. In the sequential setting, however, maximal packings on individual paths need not yield a common covering family, while packing uniformly across paths imposes a stronger requirement that is not controlled by the fractional covering bound. Block, Dagan, and Rakhlin [BDR21] discuss this failure of the classical packing–covering argument.
Our proof instead uses shared-parent routing to share continuation capacity across compatible sampled histories. This yields a sharp bound on the global integral covering number in terms of sequential fat-shattering dimension, without relying on a general fractional-to-integral conversion principle.
2 Technical Overview
We follow the standard optimal algorithm (SOA) principle: predict a center of the current version space, the functions surviving earlier restrictions. A fixed correction schedule prescribes when and in which direction to restrict this space; the candidate streams need no observed target labels. We restrict updates to short randomly sampled lists of rounds, called pools. Multiple pools give each target many accurate histories, but an activated target needs only one accurate past followed by exact predictions. Our shared-parent routing distributes these one-per-target continuations among eligible histories, reducing the leading capacity required per history by a factor of the number of pools. This cancels the multiplicative cost of maintaining multiple pools, removing the remaining logarithmic loss. A final game argument makes the family deterministic and global.
2.1 Outlier Reduction and Correction Schedules
We first control the number of rounds with large pointwise error. Call such a round an outlier, and write .
Proposition 2 (Global outlier cover). There is a universal constant with the following property. Let be an integer, , , , and let satisfy and for distinct . There is a family of at most deterministic causal experts such that, for every instance sequence and every , some satisfies
The family is fixed independently of the instance sequence.
To obtain the theorem, set and . Choose a maximal uniformly greater-than- separated subclass : distinct members have uniform distance greater than , and maximality makes every lie within uniform distance of some . Its dimension is at most . Applying Proposition 2 with gives
Here the error is below outside the outliers and at most one everywhere. The family has size at most . Thus the upper bound reduces to Proposition 2, with entering only through the outlier budget.
Corrections that decrease dimension. For a version space consisting of functions remaining after restrictions, define its rank as (rank -1 if empty). Distinct functions in the separated class would shatter a depth-one tree; thus rank zero means is a singleton, which predicts exactly. Assume and henceforth.
For a nonempty of rank and current instance , choose a center such that both sign-update classes
have rank at most . Such a center exists because two rank-r subclasses separated by a gap at would form a shattered tree of depth ; Lemma 12 gives the precise choice. For a target , a reference procedure starts from . On each pool-selected round, while , it restricts to the sign class containing and recomputes the center. Each update keeps and decreases rank, so at most updates occur; after them, selected-round error is at most . Unselected rounds cause no update.
Encoding updates without target values. Experts receive no target values, so we enumerate all correction lists. On a pool of at most m selected rounds, a schedule is
The depth i counts corrections; an ordinal is a position on the selected list, not in [T]. Repeated ordinals allow successive corrections at one instance. The empty schedule is allowed; an invalid update produces zero thereafter. A schedule updates before predicting. For each target and realized input-and-selection history, recording the correction times and signs of the target-dependent reference procedure yields a witnessing schedule in this fixed family. Only ordinals and signs are encoded: no expert reads target values or discretizes them.
There are depth-i schedules for , and . Their total through depth satisfies
For a fixed sampling outcome, these streams use only the observed instance-and-selection history. Selecting every round yields a deterministic pointwise cover of size , sufficient for .
2.2 From One Pool to Many Short Pools
Put ; we permit fewer than outliers. A Bernoulli- pool selects each round independently with probability , after is chosen. Inputs may depend on past random choices, but not on the current sampling bits.
The cost of a direct single-pool analysis. A pool with and cap admits only schedules. But accuracy on selected rounds does not control errors on unselected rounds. We need a single sampling outcome on which, simultaneously for every target, some schedule has few outliers over the entire horizon.
Lemma 17 bounds the probability that many errors occur but few are selected, uniformly over targets. Applying it to each fixed schedule and taking a union bound gives, for and a sufficiently large multiple of , a principal term of the form
plus exponentially small terms accounting for excessive sample lengths. With , the displayed bound exceeds 1 as grows and thus fails to establish simultaneous accuracy. Taking for a sufficiently large constant makes it useful, but increases the schedule count to . Selecting every round handles the range where the required rate exceeds 1/2. This direct analysis thus leaves an extra factor of .
Several short pools and a common reference. Fix a sufficiently large universal . The all-round cover handles ; otherwise set
Use independent Bernoulli- bits across rounds and pools . Each pool retains only its first selections. We call the uncapped lists raw pools; their independent bits are used in the probability estimates. Let Cap be the event that no raw list exceeds ; on this event, raw and capped simulations agree.
To exploit all pools without lengthening their codes, for each run a target-dependent reference procedure, its master, on the union of raw selections if , and on every round otherwise. This larger sample lets us control the master's errors uniformly over targets. Every pool selection is also a master selection, so the master's final value is within of on those rounds. For each target , the analytical master provides a common reference prediction history for controlling the errors of its pool replays.
A replay in pool maintains its own version space. On that pool's selected rounds it repeatedly corrects toward until its center is within , using the same sign updates. For example, implies , whereas the retained constraint is only . Thus lies more than beyond each retained inequality's boundary; this distance is the constraint's slack. There are at most corrections, and selected-round error is at most . Replays are analytical witnesses, not additional experts. On Cap, each is reproduced by a formal schedule on its capped pool.
Proposition 21 shows that, with probability above 15/16, Cap holds and every target has at least 3k/4 replays with fewer than b/8 outliers of size at least over the whole horizon; see Section 2.4. Retaining every pool's full schedules would cost experts. To eliminate this remaining factor of k, we exploit the redundancy of accurate histories across pools.
2.3 Shared-Parent Routing and Sharp Counting
Identifying a function permits exact continuation. Once a schedule’s version space is , the function is known and future predictions can equal exactly; this is a continuation. It cannot retroactively repair earlier predictions, so it must extend a stream with an accurate past.
A schedule is born once all its prescribed updates have occurred; its version space is fixed thereafter. A robust certificate for is a valid born schedule whose version space is and whose update constraints hold for with slack at least , as in the replay inequality above. This margin will make different functions certified in one pool differ by more than on some selected instance, allowing us to bound how many functions the pool can identify. A pool identifies when it has such a certificate; activates once at least pools identify it. Identification concerns a candidate function, not the unknown true target: its past values can be checked without labels.
Parents preserve the past; children supply continuations. For every pool and every schedule of depth at most , retain its prediction stream as a parent. There are parents. After a depth- parent is born valid, its version space is fixed and has rank at most . Preallocate additional streams, called children, to every depth- parent. Each child copies its parent's outputs until assigned to an activated function , then predicts exactly from the assignment round onward. All children exist from the start, so assignment never changes their past outputs.
At the activation of h on round t, a parent is eligible if it is valid and born by t - 1, and
where is its actual output. Retain one eligible parent per pool in a fixed order, and call the resulting set . Eligibility is testable at activation using only known past outputs and the now-identified function, not future accuracy.
On the simultaneous-accuracy event, at least replays for are accurate, while fewer than pools identified it by . Thus more than accurate replay prefixes still have nonsingleton version spaces: a singleton replay prefix would already be a robust certificate. Such a space has rank at least one, so its prefix uses at most corrections and coincides with a preallocated parent. Hence ; any of these parents has an accurate past that a child can extend by predicting exactly. If never activates, an accurate unidentified pool supplies a full replay of depth at most , already among the parents. Depth- schedules serve identification but are not retained.
Robust certificates bound the demand at each parent. Two distinct functions identified in one pool must differ by more than on a selected instance: one violates a constraint of the other's singleton certificate, whereas the certified function satisfies that constraint with slack at least . For any rank-r subclass V, the pointwise radius- schedule cover on that selected list has size . No covering vector can approximate two such identified functions, so the pool identifies at most members of V.
Let A be the set of activated functions. Each is identified in at least k/2 pools, and hence
A depth-i parent can therefore be eligible for at most activations. This bound holds on every outcome, even for version spaces produced during the run, and ensures finitely many activations when H is infinite.
Routing balances the continuation requests. Without routing, a depth-i parent might need children: all eligible activations could choose it. Instead, each activation with at least k/4 eligible parents chooses one uniformly using fresh randomness; an activation with fewer is left unassigned. Any given parent is then chosen with conditional probability at most 4/k per request, and its expected load is at most . Full parents remain eligible to preserve the 4/k selection bound, while a separate no-overload event controls capacity violations. An exponential tail bound, followed by a union bound over all P parents, justifies capacities
The logarithm covers simultaneous load fluctuations, and the probability of any overload is at most 1/4 even with adaptive inputs, without conditioning on the accuracy event.
There are depth-i parents. Counting all parents and children, including invalid schedules and unused streams, gives
(15)
Thus the parents-per-schedule factor cancels with the capacity per parent. The final inequality follows by distributing at most signed corrections between two lists of length (Lemma 14). No child is assigned to two targets; the saving comes from choosing among many eligible parents. Since , the first term is at most . Parents have depth at most , so their overhead is at most . The saved power of absorbs the logarithmic factors, since ; the factor is absorbed into the universal base constant. Thus the overhead is at most . Overall, the counts improve as
2.4 Simultaneous Accuracy and Global Determinization
We control four events: Cap bounds pool lengths; Master bounds each target's large master errors; Joint excludes too many replays with frequent master-replay disagreements but few sampled disagreements; and NoOverload prevents routing beyond child capacities. All four hold together with positive probability.
Cap: bounded sampling. A Chernoff bound makes Cap highly probable. On this event, every target's master code lies in a fixed family of codes. We use the independent raw bits without conditioning on Cap.
Master: uniform master accuracy. For fixed master code , let denote its provisional prediction, computed before the current pool bits are revealed. Lemma 17 bounds, uniformly over targets, the probability of many master errors of size at least but few sampled errors exceeding , in either direction. In the union regime, and make this bound small enough for a union bound over fixed codes and both directions. Outside these union-bound failures, the -correction bound implies Master on Cap: every target has fewer than b/32 such provisional errors. In the all-round regime, each such error forces a correction, so Master holds directly.
Joint: simultaneous replay accuracy. Let denote pool 's provisional replay prediction. Set and , counting all and sampled disagreements. Their indicators are fixed before current independent pool bits. For a fixed and any pools, a joint exponential supermartingale bounds the probability that all have and by . A union bound over code-subset pairs yields Joint with high probability; the replay histories need not be independent.
For a target’s realized code on Cap, every sampled disagreement forces a master or replay correction, so . Hence Joint gives at least pools with . Together with Master, each has fewer than provisional errors of size at least : each is a large master error or disagreement. Final predictions obey the same bound, since selected-round errors are at most and unselected predictions are unchanged.
NoOverload: successful routing. The load bound gives . For sufficiently large , the first three events hold with probability above 15/16, providing eligible parents for activated targets and covering parents for unactivated ones. On the intersection of these three events with NoOverload, each activation receives an unused child. A union bound then gives simultaneous coverage with probability greater than , even against adaptive input rules observing earlier sampling and routing choices.
A global strategy, not a seed for each sequence. Positive success probability against each adaptive input rule does not give one seed for all sequences. Instead, consider a finite-horizon perfect-information game: the adversary chooses , then the constructor chooses sampling and routing actions, both observing past moves. The constructor wins when its K streams cover all targets. If no deterministic constructor strategy always won, backward induction would give an adversary forcing failure against every constructor strategy, contradicting the probability bound. Fixing a winning strategy makes each stream's predictions depend only on , yielding K deterministic causal experts. This proves Proposition 2; (8) gives the general-p upper bound.
2.5 The Matching Lower Bound
For a prime power , let be a field with elements. Take the hyperplane indicators on , where and . The resulting class contains distinct functions and has Littlestone dimension exactly . For the upper bound on dimension, predict one precisely on the affine span of previously observed positive instances. This span stays inside the target hyperplane. Each mistake adds a positive point outside the span and increases its affine dimension by one, from for the initially empty span to at most . Thus at most mistakes occur. For the reverse bound, the standard basis vectors are shattered.
List all domain points once. The normalized Hamming distance between distinct hyperplane indicators is at least . For binary vectors, this Hamming distance is the th power of the normalized distance. For , choose as the largest power of two not exceeding . The traces are then pairwise more than apart, and
The triangle inequality lets even an arbitrary real-valued covering vector approximate at most one trace. Since binary sequential fat-shattering dimension equals Littlestone dimension at every scale in , this proves the matching exponent on a single fixed sequence, without using causality or adaptive inputs.
3 Definitions and Main Results
We now formalize the notions used in the preceding overview and state the precise covering theorems and their consequences.
Throughout, is a nonempty instance domain, and function classes are nonempty unless stated otherwise. For an integer , write and . For a sign sequence , write ; the prefix at is empty. The exponent always lies in . All prediction rules are arbitrary set-theoretic maps; no computability or measurability assumption is imposed.
3.1 Sequential Fat-Shattering Dimension
Fat-shattering extends VC dimension to real-valued function classes [KS94; BLW96]. Its sequential analogue is a central complexity measure in online learning [RST10; RST15a]. An -valued binary tree of depth is a collection of maps . A real-valued tree is defined in the same way, with range . Thus the instance and threshold at level may depend on the preceding signs, but not on the sign selected at that level.
Definition 3 (Sequential fat-shattering dimension). Let and . The class sequentially fat-shatters an instance tree of depth at scale if there is a real-valued threshold tree such that
The sequential fat-shattering dimension is the largest such depth, and is if these depths are unbounded. A nonempty class has dimension at least zero; we set .
Our convention uses a margin on each side of a threshold, so the two branches are separated by a gap . Instances may repeat, including along a single path. The dimension is monotone under inclusion of classes and nonincreasing in the scale: if and , then
For a binary class , the Littlestone dimension is the largest depth of an instance tree on which every sign path has a witness satisfying at every level. We use the same conventions for infinite dimension and the empty class. For binary classes, sequential fat-shattering dimension coincides with Littlestone dimension:
Indeed, a Littlestone-shattered tree is -fat-shattered with thresholds 1/2, while fat-shattering of a binary class at any positive scale forces the two branches at each node to have labels 0 and 1, respectively.
3.2 Global Dynamic Covering Numbers
For , define the normalized distance by
A deterministic causal expert at horizon T is a tuple with . The prediction may use the current instance and all preceding instances. The expert receives no target values. For a fixed sequence, write
Definition 4 (Global dynamic cover). Let , , and . A finite family of deterministic causal experts is a global dynamic cover of at accuracy and horizon if
The global dynamic covering number is the least cardinality of such a finite family, or if none exists.
The entire family, including its predictions on every possible prefix, is fixed before the sequence is chosen. The witnessing expert may depend on both the target and the complete sequence, but it is a single member of the family used throughout that sequence. There is no requirement that this member be identifiable online. Experts need not arise from functions in F. In particular, integral covering means selecting finitely many experts; it imposes no integrality constraint on their predictions.
The family may depend on , and T. A bound independent of the horizon therefore asserts a uniform bound on its size for all T, while allowing a different family at each horizon.
3.3 Sharp Upper and Lower Bounds
Theorem 5 (Global dynamic upper bound). There is a universal constant such that, for every , every integer , every , and every nonempty with ,
The constant C is independent of p, d, T, , and the class. If d = 0, the covering number is exactly one.
The zero-dimensional case follows directly from the definition. If , no two values at any one instance can differ by at least , since they would shatter a depth-one tree. Hence
The expert that predicts the midpoint of this interval at the current instance has pointwise error at most against every target. Taking proves the assertion.
Theorem 6 (Matching lower bound). For every , every integer , and every , there are a finite domain , a binary class with , and a horizon such that
The lower bound holds even when covering is required only on one fixed instance sequence and the covering predictions are arbitrary vectors in .
The construction uses indicators of affine hyperplanes in and lists the points of this domain once. For a suitable power of two , the class has Littlestone dimension exactly and at least members, whose traces are pairwise more than apart in . Each covering vector can therefore approximate at most one trace. The class and the sequence may depend on , and ; the lower bound is a worst-case assertion, not a lower bound for every class of dimension .
For a nonnegative integer , define the worst-case quantity
Theorems 5 and 6 give, for and ,
In particular, since and , for every , , and ,
For , on the same range. Thus (23), with a non-strict lower inequality, also includes and yields Theorem 1 with .
3.4 Binary Classes and Sequential Covering
We record two consequences with their proofs. The first gives binary-valued experts for binary classes; the second restricts the global family to a prescribed instance tree.
Binary Hamming covers. For , let
be normalized Hamming distance. For , define as in Definition 4, with binary-valued experts and with in place of the requirement. Requiring binary outputs distinguishes this number from , which permits real outputs.
Corollary 7 (Sharp binary dynamic covering). There is a universal constant such that, for every binary class with , every , and every ,
Conversely, for every integer and , some binary class of Littlestone dimension and some horizon satisfy
Proof. Apply Theorem 5 with and . The sequential fat-shattering dimension at scale equals , so the resulting real-valued family has size at most . Round each prediction to . For a binary target,
The rounded family is causal and has normalized Hamming error at most , proving (24) with . For the lower bound, apply Theorem 6 with and , and use .
In particular, Corollary 7 resolves the global approximate covering question posed by Alon, Ben-Eliezer, Dagan, Moran, Naor, and Yogev [Alo+21] and the dynamic Haussler problem of Malliaris and Moran [MM24]. For binary vectors, . For , taking in (24) therefore also gives a global cover by binary experts with normalized accuracy and size at most .
Covers on a fixed instance tree. For a tree and a sign path , write . If is an instance tree, denotes the vector obtained by applying to each coordinate. The normalized sequential covering number is the least cardinality of a finite family of -valued prediction trees of depth such that
As before, the covering number is if no finite family exists. Here V may depend on the full tree x, as in the sequential covering definition of Rakhlin, Sridharan, and Tewari [RST15b]. Set
where the supremum ranges over all instance trees of depth T.
Corollary 8 (Sequential covering). For every , , and ,
Consequently, if and , then
The worst-case accuracy exponent pd is sharp for these sequential covering numbers as well.
Proof. Fix an instance tree and a global family . For each , define a prediction tree by restriction:
For every target and path , the global covering property applied to the instance sequence supplies a member of this family satisfying (26). Its cardinality is at most . Taking the minimum over global covers and then the supremum over instance trees proves (27); if no finite global cover exists, the inequality is immediate. Theorem 5 gives (28).
For sharpness, take the fixed sequence from Theorem 6 and set at every node of level . Fixing any one sign path turns each prediction tree into one covering vector for that sequence. The fixed-sequence lower bound therefore gives
for the class in that theorem and its stated parameter range.
In particular, the case resolves the horizon-independent sequential covering question posed by Rakhlin, Sridharan, and Tewari [RST15b].
4 Correction Schedules and Adaptive Sampling
We establish the deterministic and probabilistic ingredients used to prove Proposition 2. We first justify the reduction to a separated class and construct finite families of rank-decreasing correction schedules. We then encode prediction errors by partial binary functions and prove a sampling estimate that is uniform over such functions, even when the inputs depend on past sampling choices. The choice of sampling parameters and the construction of the master and replay histories are deferred to Section 5.
4.1 Separation and Rank-Decreasing Centers
The reduction in Section 2.1 uses a uniformly separated subclass, chosen independently of the instance sequence. We first give the existence argument, including the case of an infinite function class.
Lemma 9 (Uniformly separated reduction). For every nonempty and every , there is a nonempty subclass such that
Moreover, .
Proof. Order the uniformly greater-than- separated subclasses of by inclusion. The union of a chain is still separated: any two members of the union belong together to one class in the chain. Zorn's lemma therefore supplies a maximal separated subclass . It is nonempty, since a singleton could otherwise be added. If some had distance greater than from every member of , adjoining would contradict maximality. This proves the approximation property. The dimension inequality follows from monotonicity under inclusion.
Together with the calculation in (8), Lemma 9 reduces the main upper bound to Proposition 2. For the proof of that proposition, fix a nonempty separated class H and parameters satisfying its hypotheses. The rank of a class V means . Separation is needed for the following consequence of rank zero, rather than for the schedule construction itself.
Lemma 10 (Rank-zero classes). If has rank zero, then
If, in addition, V is a subclass of a uniformly greater-than- separated class, then V is a singleton.
Proof. Two functions whose values at an instance differ by at least would shatter a depth-one tree, using the midpoint of their values as the threshold. Thus every pairwise difference at a fixed instance is less than . Taking the supremum of these differences gives (30); the supremum need not be attained. If distinct had , some instance would satisfy , contradicting the same argument.
In particular, a separated class of rank zero is covered exactly by its unique member. This proves the case of Proposition 2. The remaining local lemmas apply to arbitrary finite-rank classes, so they may also be used for version spaces arising later in the construction.
Rank-decreasing centers and sign updates. We need a prediction rule determined by the current version space and instance, with the property that a sufficiently separated correction strictly lowers rank. The elementary operation behind this rule is to attach two shattered trees below a common root.
Lemma 11 (Gluing shattered trees). Let , , and . If both classes
have rank at least an integer , then .
Proof. Attach depth-r shattered trees of the two subclasses below a new root at with threshold ; the assumption guarantees the required margin at the root.
For a nonempty class V of finite rank , define the two critical thresholds and their center by
(31)
Both defining sets are nonempty: the lower fiber equals V at z = 1, and the upper fiber equals V at z = 0. Hence the thresholds and the center belong to [0, 1]. We do not assume that the infimum or supremum is attained.
Lemma 12 (Rank-decreasing center). For every such V and x, the two sign-update classes
have rank at most , with the convention .
Proof. Abbreviate the thresholds by , and the center by . Suppose first that . Choose with . By the definition of , some admissible lower threshold is smaller than ; monotonicity therefore makes the lower fiber at have rank . The corresponding argument for makes the upper fiber at have rank . Lemma 11 would give rank at least for , a contradiction. Consequently , and
If , the lower sign-update class is empty. Otherwise, its threshold is strictly below , so its rank cannot be . Similarly, the upper class is either empty because , or has rank smaller than because its threshold exceeds . Ranks are integers, which proves both bounds.
A sign update replaces the current nonempty version space V by or . A nonempty update is called valid. Starting from a class of rank at most r, any sequence of i valid updates leaves a version space of rank at most ; in particular, there can be at most r valid updates. The update is specified by its sign and uses the fixed center rule in (31), not a target value or a discretized approximation to that value.
4.2 Correction Schedules and Pointwise Covers
We next turn prescribed sign updates into label-free causal simulations. Fix an initial nonempty version space of rank at most and a positive integer . A selection history specifies which rounds are selected. A selected round has an ordinal , meaning that it is the sth selected round, regardless of its position in the original instance sequence.
A correction schedule of depth i is a list
The empty list is the depth-zero schedule. Repeated ordinals are allowed because more than one rank-decreasing correction may be needed at a single instance. The classical Sauer–Shelah–Perles bound [Sau72; She72] has dynamic analogues [BPS09; MM24]. Our encoding similarly uses dimension-decreasing updates, but accommodates signed corrections and repeated ordinals for real-valued prediction.
Simulation and prediction timing. Every simulation starts at . On round , after observing but before the current selection is revealed, its provisional prediction is , using the version space left by the preceding round. If this round has selected ordinal , the simulation executes all entries of with , in their listed order. Each entry applies the indicated sign update, and the center is recomputed from the new version space before the next entry is executed. The simulation emits its final prediction only after all these updates. On an unselected round it makes no update, and its final prediction equals its provisional prediction. We denote the provisional and final predictions by and , respectively.
An update to an empty fiber makes the simulation invalid. From that update onward, it remains in an absorbing invalid state and emits zero, including on the current round. If the selection history ends before a prescribed ordinal is reached, the corresponding update is not executed. The same rule is also defined on selection histories longer than m: there are simply no prescribed updates at ordinals larger than m. These conventions ensure that every formal schedule has an output on every outcome, not only on outcomes where the intended sampling cap is respected.
The simulation uses only the instance history, the selection history, and its fixed schedule. If the selection policy is a deterministic causal function of the instances, the simulation defines a deterministic causal expert. Under random selection, its outputs additionally depend on the selection history, while remaining causal. We will first analyze these simulations and later obtain deterministic experts by the argument in Section 8.
A valid schedule is born once all its prescribed corrections have occurred. The empty schedule is born at time zero. After birth, its version space remains fixed, although its predictions may still vary with the current instance. A born depth-i schedule has residual rank at most . Moreover, let be the number of selected rounds up to round . Removing from a schedule all entries with selection ordinals greater than leaves its version spaces and predictions unchanged on rounds . The resulting prefix schedule has completed all its prescribed corrections by round , provided they are valid.
The formal schedule family. The number of weakly increasing ordinal lists of length in is , and every list admits sign assignments. Thus, writing , the exact counts are
These counts include invalid schedules, schedules that never become born, and schedules whose outputs coincide. Consequently is an upper bound on the number of distinct prediction rules, with no need to recognize or remove such duplications.
Lemma 13 (Pointwise schedule cover). Let satisfy . With every round selected, the schedules of depth at most form one family of at most deterministic causal experts such that, on every instance sequence of length at most , each target in is approximated by one expert with pointwise error at most . More generally, on any selection history with at most selected rounds, a schedule in the same formal family attains error at most on every selected round.
Proof. Fix a target and an instance-and-selection history. Consider the following reference procedure, which is used only to find a witnessing schedule. It starts from and does not update on unselected rounds. At a selected instance , while , it updates toward : it uses the plus fiber if and the minus fiber otherwise. It recomputes the center and repeats at the same instance until the error is at most .
Every update retains f, and Lemma 12 decreases the rank by at least one. Since the version space stays nonempty, at most r updates occur over the entire history. Thus, the correction loop at each selected round terminates with prediction error at most . Record the selected ordinal and sign of each update, retaining their order when an ordinal occurs repeatedly. The resulting list is a schedule of depth at most r in (33). Its ordinary simulation has exactly the reference procedure's states and final predictions, by induction on rounds and on updates within a round. It therefore has error at most at every selected round.
When all rounds are selected, this is the asserted pointwise cover. The formal family is fixed independently of both the target and the instance sequence. Only the choice of its witnessing member used the target values; no expert in the family receives those values.
We record both the size estimate and a convolution identity for these counts. The latter will be used when counting the continuation capacity in Section 8.
Lemma 14 (Schedule-count estimates). For integers ,
For every integer ,
Consequently, for every integer ,
Proof. The hockey-stick identity gives
Using proves (35). For the convolution, each of the selection ordinals can carry any number of corrections, with possible sign assignments. Thus each ordinal contributes the generating function
and multiplying over all m ordinals gives
Squaring this identity and comparing the coefficient of gives (36). Summing it over yields
The sum in (37) contains all of these nonnegative terms except the one indexed by .
In particular, the all-round cover has size when . This will handle the short-horizon regime directly. For larger horizons, the same schedule family will be used on shorter sampled lists. In either case, the count depends on selected ordinals and signs, without an additional factor for discretizing the target values at scale .
4.3 Partial Binary Completion and Adaptive Sampling
The sampling argument encodes one-sided prediction errors using partial binary labels: discrepancies at most receive label 0, those at least receive label 1, and intermediate values receive the undefined symbol *. This gap lets us control the resulting partial binary classes by sequential fat-shattering dimension at scale . We first define these classes, then construct the finite families of binary rules needed to analyze their sampled values.
Let be a domain. A partial binary class is a subset . Such a class shatters a binary instance tree , if
Thus * realizes neither edge of the tree. Define to be the largest shattered depth, or infinity when these depths are unbounded. As before, a nonempty class has dimension at least zero, and the empty class has dimension -1. On total binary classes this is ordinary Littlestone dimension.
Partial error classes. For and , define
Write . A definite one records a one-sided error of size at least ; a nonzero value, including , records an error strictly greater than in that direction.
Lemma 15 (Dimension of the partial error classes). Both partial classes satisfy
Proof. Suppose a depth-s tree of pairs is shattered by . Replacing each node with instance and threshold yields an -fat-shattered tree, since labels 0 and 1 imply and , respectively. The argument for is identical, using threshold and interchanging the two branches at each node.
Completion by finitely many causal rules. For a partial class and , write . For nonempty of finite Littlestone dimension, the standard optimal algorithm (SOA) [Lit88] prediction soa( ) is the label maximizing , with ties broken in favor of zero. As in Lemma 11, the two defined-label fibers cannot both have the rank of . Since SOA chooses a maximum-rank fiber,
Undefined values belong to neither fiber.
Lemma 16 (Partial SOA completion). Let have Littlestone dimension at most , and let be an integer. There is a family of at most
deterministic causal prediction rules , with , such that, on every sequence of length at most , each is matched at all its defined positions by one rule.
Proof. If is empty, a constant rule suffices. Otherwise, for each with , define a rule starting from . Outside , it outputs soa() and makes no update. At a round in , it outputs the opposite label and restricts to that opposite-label fiber. An empty restriction makes the rule invalid, with output zero from that round onward. Thus every specifies a total binary causal rule without access to partial target values. There are such sets .
To find a rule for a particular target and sequence, use a reference procedure that restricts its version space only when is defined and differs from the current SOA prediction. It records each such round and restricts to . It leaves W unchanged when the prediction is correct or when . Every restriction retains and, by (40), strictly decreases rank. The recorded set therefore has size at most . Induction on rounds shows that the rule indexed by this has exactly the reference procedure's states and matches every defined target value.
The lemma constructs causal completions along input histories; it does not choose one total static completion of each partial target. Its codes record at most one binary reversal per round and require no sign, which explains the count rather than . We will also use the elementary estimate
Indeed, with ,
For the count is one, and for it is .
Adaptive low-hit sampling. Sampling against inputs that react to earlier sample selections has been studied in [BY20; Alo+21]. We now bound the probability that a partial target has many definite ones but few sampled nonzero values. A completion rule must match all defined labels but may output either label at an undefined position. Consequently, the number of sampled ones predicted by the completion is at most the number of sampled nonzero values of the partial target.
Order of information. Let be independent Bernoulli- bits. The input is chosen before is revealed and may depend on and an independent finite-support auxiliary seed . Equivalently, is a deterministic function of . We call this a predictable input stream for the Bernoulli sample. Fixing leaves the product law of the sampling bits unchanged.
Lemma 17 (Adaptive low-hit sampling). Let have Littlestone dimension at most an integer . Let be a predictable input stream for independent Bernoulli- bits , where . For each , define
Let and satisfy . With and , one has
Proof. Fix a value of the auxiliary seed in its support. The sampling bits remain independent Bernoulli- variables, and each is now a deterministic function of . All probabilities below are conditional on this fixed seed until the final averaging step. Call a round red when , and let denote the event on the left of (43).
A second sample for comparison. We introduce a second sample to detect definite ones outside the red sample. After the red bits have been generated, independently color each nonred round blue with probability . This choice makes the marginal probability of blue equal to , the same as that of red.
For each red-bit outcome in E, choose a witnessing . There are only finitely many red-bit outcomes, so this choice raises no measurability issue even when A is infinite. Conditional on that red outcome, both the input sequence and this witness are fixed. The witness has at least
nonred definite-one positions, since its red definite ones are included among its at most red nonzero values. Its number of blue definite ones is therefore binomial with mean
Since , a standard Chernoff bound gives, conditional on the red outcome,
Let be the event that some partial target has at most red nonzero values and at least blue definite ones. Thus on , and hence
Conditioning on the sampled union. The three possible colors—red, blue, and neither—have probabilities , independently across rounds. Equivalently, we may first generate independent union bits and then give each included round an independent fair red-or-blue color. Setting exactly on red rounds and reconstructing from gives the original joint distribution of the red bits and inputs.
Write . Since and , another standard Chernoff bound gives
Fix a union pattern with , and enumerate its included rounds as . Conditional on this pattern, the colors at these rounds remain independent and fair. Since depends only on the preceding sampling bits , fixing the union pattern makes a function of the colors at . Indeed, exactly when round is included and colored red. Thus the compressed stream is predictable with respect to the independent fair colors. Conditioning on the union has not fixed this input stream; it may still depend on the preceding colors.
Use the fixed family of at most deterministic binary causal rules supplied by Lemma 16 at horizon . On , some rule in matches all defined labels of a witnessing target on the compressed stream. It has at least blue ones, because it matches every blue definite one. It has at most red ones, because it must output zero at every red position where the target is zero; all other red positions, including undefined ones, are included in the target's red nonzero count.
Bounding the red–blue discrepancy. Still conditioning on the union pattern, fix a rule . Let and count its red and blue ones, respectively, among the first included rounds. The rule's prediction at the next included round is determined before that round's color is revealed. Therefore
is a nonnegative martingale with . When the prediction is zero, its multiplier is one; when the prediction is one, the conditional expected multiplier is
On , one has . Markov's inequality gives
Take a union bound over V, average over union patterns with , and add (45). We obtain
Combining this with (44) proves the asserted bound conditional on each value of . Averaging over completes the proof.
For the application to prediction errors, fix a formal schedule and set , where is its provisional prediction. Under the stated information order, this stream is predictable. For either partial error class in (38), a sampled nonzero value records a one-sided provisional error exceeding . When is the schedule produced for a target by the reference procedure in Lemma 13, each such round requires at least one correction, so .
Section 5 will apply Lemma 17 to each fixed schedule and take a union bound over all schedules, so the resulting guarantee also holds for the witnessing schedule of every target.
5 Master Histories and Multi-Pool Accuracy
The preceding section gives sign schedules that are accurate on selected rounds. We now introduce multiple sampling pools to obtain a simultaneous guarantee: for every target, a fixed positive fraction of the pools provide schedules with few large prediction errors over the entire horizon, including unselected rounds. We will also ensure that the target satisfies every constraint recorded by these schedules with a positive margin.
Parameters and capped sampling pools. Fix as in Proposition 2. Recall that the rank of a version space is its sequential fat-shattering dimension at scale . The case was settled in Section 4.1, so assume and put . Fix a universal constant ; we will specify sufficient conditions on its size at the end of this section.
If , select every round. Lemmas 13 and 14 give a global pointwise radius- cover of size
Its witnessing experts have no errors of size at least . This proves Proposition 2 in this regime, after increasing its universal constant if necessary.
For the rest of the section assume and set
In particular, and is divisible by four. All logarithms below are natural unless a base is indicated.
For each and , let , independently over all rounds and pools. The raw selection list of pool contains the rounds with . Its capped list retains only the first such rounds, with indicators
The capped list therefore has length at most m on every outcome. The retained indicators are not themselves independent Bernoulli variables; all independence arguments below use the raw bits.
Define
Each raw list has expected length . Since , a Chernoff bound and a union bound give
On Cap, the raw and capped selection indicators agree at every round. Thus, running the same schedule with raw or capped selections on the same realized input history produces identical states and predictions. We prove the sampling bounds under the original product law of the raw bits, without conditioning on Cap, and use this agreement to transfer the guarantees to the capped simulations on Cap.
Adaptive inputs. As in Lemma 17, we allow adaptive input sequences. Write and . More precisely, we allow
where are arbitrary deterministic maps and is an independent finite-support auxiliary random seed.
Conditional on and , the instance and the provisional predictions of all fixed schedule simulations are determined, while the coordinates of remain independent Bernoulli- variables.
All probability bounds in this section hold uniformly over input rules of the form (50).
5.1 The Analytical Master and Uniform Accuracy
We first specify a common selection process for the reference histories, containing every round selected by any pool. The choice depends on . When , we use the union of the pool selections, whose sampling rate is comparable to . When , we have , so selecting every round is affordable. Accordingly, define
We call these cases the union regime and the all-round regime, respectively. In either case, implies .
In the union regime, the are independent Bernoulli variables with rate
The upper bound follows from a union bound, while the lower bound follows from and for .
The analytical master. For each target , define its analytical master by the following target-dependent procedure. Initialize . At round , before revealing , form the provisional prediction . If , leave unchanged and set . If , while , apply the sign update toward as in Lemma 13, recomputing the center after each update. Set after the correction loop.
Every update retains h and decreases the sequential fat rank. Hence the procedure makes at most d corrections over the entire horizon, and
The procedure uses target values only to find a witnessing schedule; it is not a label-free prediction rule. Record the selected ordinal and sign of each correction, and denote the resulting code by . This code is defined on every raw outcome and always has depth at most d, although its ordinals need not satisfy a fixed cap.
A fixed family of master codes. Set
and let be the family of all formal sign schedules of depth at most on ordinals . It is fixed before the experiment, and . In the union regime, Cap bounds the number of master selections by . In the all-round regime,
Thus, on Cap, for every target. There is no truncation of the master: is a bound used to specify the finite code family.
For every fixed , simulate its prescribed updates on the master selection list, starting from , and denote its provisional and final predictions by and . Use the conventions of Section 4.2: an empty-fiber update makes the simulation invalid with subsequent predictions zero, and no updates are prescribed at ordinals greater than . Every fixed-code simulation is therefore defined on every raw outcome, including outcomes outside Cap. All simulations use the same realized inputs and selection lists; varying does not change the input rule. On an outcome with , the simulation of has exactly the target-driven master's states and predictions, by induction on rounds and on corrections within each round.
Accuracy before the current selection. The selected-round guarantee (53) concerns final predictions. We also need control of the provisional predictions on all rounds. Define
Lemma 18 (Uniform master accuracy). In the all-round regime, Master holds on every outcome. In the union regime, put and let be the constant in Lemma 17. Then
Proof. In the all-round regime, every provisional error of size at least forces a correction. There are at most such rounds, and because . This proves the first claim.
Now consider the union regime and fix . We will apply Lemma 17 to the stream and the Bernoulli-u master selections. The lemma requires the stream to be determined by the past sampling bits and an auxiliary seed independent of those bits. Although are independent Bernoulli-u variables, the inputs may depend on the full preceding pool vectors , which are not determined by and alone.
An equivalent way to generate the raw vectors is to draw independent Bernoulli-u bits and independent nonzero vectors , where each has the Bernoulli- product law conditioned on being nonzero, and to set
The entire sequence is independent of the union bits and of . This generates exactly the original joint law of the raw pool vectors. Fixing the finite-support auxiliary seed leaves the union bits independent Bernoulli-u variables. Once this auxiliary seed is fixed, each preceding pool vector is determined by the corresponding union bit through , for . Consequently, the stream is determined by and , as required by Lemma 17. For each fixed , Lemma 17 applies and gives the same probability bound, independently of . Averaging this conditional bound over yields the corresponding unconditional bound. Since the reconstructed pool vectors have the original joint distribution, the bound holds for the original sampling process.
For either partial error class or from (38), apply Lemma 17 with
The dimension hypothesis follows from Lemma 15. The numerical hypotheses follow from and
using and . For this fixed code and either sign, the probability that some partial target has at least definite ones but at most sampled nonzero values is at most
Take a union bound over the two signs and all fixed codes.
Outside this union of bad events, consider an outcome in Cap and any target . Its actual code belongs to . A sampled nonzero value of either or means that the corresponding one-sided provisional error exceeds . It therefore forces a correction in the target-driven master. For each sign, there are at most such sampled rounds, so the one-sided definite-error count is less than . The sum of these two counts is exactly , which is consequently less than . This proves (56). The estimates were applied to fixed codes before selecting any ; no conditioning on a target's realized code was used.
5.2 Tolerant Replay and Buffered Corrections
We next use the master’s final predictions as reference values for version space updates in each individual raw pool. Each pool maintains its own version space and applies the same center rule and sign-update rule as the master, but to its own version space. Unlike the master, which corrects when its center differs from by more than , a pool replay corrects when its center differs from the master’s final prediction by more than .
The replay rule. For each fixed master code and each pool , start a separate version space at . Its provisional prediction at round is the center of the version space left by round at . After revealing , first compute the master's final value . If , leave the replay version space unchanged. If , repeatedly update its current center toward while : use the plus fiber in (32) when , and the minus fiber otherwise.
Recompute the center after each update and emit the final prediction when the loop stops. We call this procedure the tolerant replay of J in pool j, and denote its provisional and final predictions by and .
For an arbitrary fixed formal code , the replay need not retain any particular target, since the master's final predictions need not approximate any target on that outcome. An update may therefore lead to an empty fiber, in which case the replay enters an absorbing invalid state and outputs zero from that round onward. Every nonempty update strictly decreases rank, so at most such updates can occur. Hence each correction loop terminates either when the current center is within of the reference value or when an update produces an empty fiber. In either case, the replay has a well-defined final prediction on every round of every raw outcome.
For a target , apply exactly the same replay rule to its target-driven master values , and write and for the resulting predictions. These target-driven replays are defined directly from the master for , not by conditioning on any formal code. On an outcome with , they coincide with the replays of .
Lemma 19 (Buffered replay). For every target and pool , the target-driven replay always retains and makes at most corrections. More precisely, whenever a correction is performed at center , we have
Moreover, on every round selected by pool j,
Proof. Every pool-selected round is also selected by the master, so on such rounds. If the replay performs a plus update at center , then , and hence
The minus case is symmetric. Since the corresponding sign-update fibers are defined by the thresholds and , respectively, each correction retains h. Every correction strictly decreases rank, so at most d corrections occur.
On a selected round, the replay therefore terminates with . The triangle inequality gives the claimed error bound.
On Cap, the target-driven replay in pool j makes at most d corrections, all at selected ordinals in [m]. Recording their ordinals and signs gives a formal schedule of depth at most d. Simulating on the same instance sequence and pool j's capped selection history reproduces exactly the replay's version spaces and predictions.
From disagreements to prediction errors. For each target and pool, define
(59)
Thus counts disagreements between the provisional predictions, and counts those disagreements selected by pool . On a round selected by pool with , if the master makes at least one correction, charge the round to the master. Otherwise, , so , and the replay must make at least one correction; charge the round to the replay. Since each procedure makes at most corrections in total, at most distinct rounds can be charged. Hence
If and , then by the triangle inequality. Consequently, on Master,
By (58), a final replay error of size at least can occur only on an unselected round. There the provisional and final predictions agree, so final outliers are a subset of provisional outliers. In particular, on Master, the condition makes both outlier counts less than .
5.3 Simultaneous Accuracy Across Pools
Although the replay histories need not be independent, the current disagreement indicators are determined by the past, while the fresh pool selection bits remain independent Bernoulli- variables even after conditioning on the past. We use this fact to establish a joint bound.
A joint bound for fixed master codes. For a fixed and its replays defined above, set
Every current indicator is determined before is revealed. We do not assert for arbitrary formal codes; that bound is needed only for target-driven histories, as in (60).
Lemma 20 (Joint disagreement bound). For every fixed and ,
Proof. Work under the original joint law of the raw pool bits. Let and denote the corresponding counts through round t, and define
Conditional on and , all current disagreement indicators are fixed and the current pool bits are independent Bernoulli- variables. Hence
where the last inequality uses . Thus is a nonnegative supermartingale for the filtration generated by , and . On the event in (63),
since . Markov's inequality gives the upper bound . Finally, implies .
Define Joint to be the event that there are no and with such that and for every . A union bound in Lemma 20 gives
This estimate does not condition on Cap or Master, and it assumes no independence between replays.
Proposition 21 (Simultaneous replay accuracy). For a sufficiently large universal choice of , in the regime , the event
has probability greater than 15/16 for every input rule (50). On this event, for every , at least 3k/4 pools j satisfy
Proof. We first prove the accuracy assertion on Good. Fix an outcome in this event and a target . Since Cap holds, the master's correction code belongs to . On this realized history, the simulations associated with reproduce exactly the target-driven master and its pool replays. Hence
By (60), for every pool . Since Joint holds, fewer than pools can satisfy . Consequently, the set
has cardinality at least 3k/4.
For every , the error transfer (61) and Master give
Every final replay outlier is also a provisional outlier, as established above. Thus (65) holds for every . Since the outcome and were arbitrary, this conclusion holds for all targets on every outcome in Good.
It remains to show that . We verify that a sufficiently large universal makes each of the three failure probabilities small enough.
Recall that , , and . The parameter definitions give
In the union regime, the bounds further imply
Lemma 14 and (41) therefore yield
where the second bound is needed only in the union regime.
Set . Since and , we have
Together with (67), , and , this gives
Choose sufficiently large that
where . Such a universal choice exists because .
In the union regime, (56) and the preceding estimates imply
Indeed, the first term in (56) is at most because
while the second is at most because
In the all-round regime, Master holds on every outcome, so the same probability bound holds in both regimes.
Similarly, (64) and (68) give
Finally, by (49), , and ,
Combining these bounds,
where the last inequality uses and . The choice of and all probability bounds are independent of the input rule and the law of its independent auxiliary seed.
By Lemma 19, on Cap each target-driven replay can be reproduced by a sign schedule of depth at most d on the corresponding pool's capped selection history. Thus Proposition 21 provides at least 3k/4 accurate schedules for every target on the same event Good.
6 Robust Identification and Eligible Parents
We use the parameters fixed in Section 5, in the regime . A singleton class is covered exactly by its unique member, so assume . All simulations in this section use the capped pools. Each selected list therefore has length at most , including on outcomes outside Cap.
The preceding section provides accurate replay histories for every target. We now consider sign schedules whose version spaces reduce to singletons. To obtain useful counting bounds, we additionally require the surviving function to satisfy every correction inequality with a prescribed margin.
6.1 Robust Identification and Local Counting
For each integer , let denote the formal sign schedules of depth at most with selected ordinals in . Thus . In each capped pool , simulate every from the initial version space , using the rules of Section 4.2. Write for the version space after round and for the final prediction on that round. An invalid simulation has and from the invalidating update onward. These are simulations of prescribed sign schedules: they do not use master reference values or target values.
The inequalities imposed by a schedule. Consider a schedule that is valid and born by round . Recall that this means that all its prescribed updates have occurred without producing an empty version space. For each update , let be its actual round and let be the center immediately before that update. Several may coincide; their centers are recomputed after each update. By the definition of the sign-update fibers,
Here f ranges over candidate functions in H. We call these inequalities the update constraints. Their thresholds are computed from the instance history, the pool selections, and L; they are not additional entries in the code.
Definition 22 (Robust certificate). The simulation of in pool is a robust certificate for by round if it is valid and born by , its version space is , and every update satisfies
Thus, for a plus update, exceeds the retained boundary by at least ; for a minus update it lies at least below . The test first examines the simulation's version space. If this space is a singleton, its unique member specifies the function whose values are used in (70). No externally supplied target labels are needed. These conditions are defined set-theoretically; we do not require them to be efficiently computable.
Identification and activation. Say that pool j identifies h by round t if one of its simulations is a robust certificate for h by that round. Let
Identification is tested after the schedule updates on round . Once a schedule is born, its version space and update constraints no longer change. Its certificate therefore persists. In particular, , and each schedule can certify at most one function over the entire run. Hence . At time zero only the empty schedule is born, and , so .
A function activates on the first round when at least pools have identified it. Formally, define
with if the set is empty. Write and . These sets are finite, since .
Singleton replay states. Write for the version space of the target-driven replay for h in raw pool j after round t. On Cap, record only its corrections through round t, obtaining a prefix schedule in . In capped pool j, this prefix schedule is valid and born by t and reproduces the replay through that round. Lemma 19 gives the strict versions of (70) for all its updates. Consequently,
This implication uses the buffered update inequalities, not the accuracy of the replay on unselected rounds.
Local identification bounds. The separation in (70) limits how many functions a pool can identify within a subclass of small . The bound holds for every realized capped history and does not require Good.
Lemma 23 (Local identification bound). On every outcome, for every , pool , and nonempty subclass with , where ,
Proof. Fix the outcome, , , and . We first show that any two distinct functions differ by more than at some round selected by capped pool by time . Choose a certificate for . Since it is born by round and its version space is , the function must violate an update constraint imposed at some round selected by capped pool .
If this is a plus update at center a, then
so . The minus case is symmetric.
Let be the instances in that list through round , in order, so . If , no pool schedule other than the empty schedule is born, and . Otherwise, apply Lemma 13 to the initial class and the sequence , selecting every position. It gives at most prediction vectors such that every is within of one vector at every position. Two distinct functions in cannot use the same vector: the triangle inequality would make their values differ by at most at every selected position, contrary to the separation just proved. This proves (74).
Corollary 24 (Local activation bound). Under the same hypotheses on V and r, on every outcome and for every ,
In particular, .
Proof. Every has been identified by at least pools by time , since identification persists after activation. Counting the pairs with and gives
The first assertion follows by division, and the second by taking , , and .
In particular, V may be a version space produced during the run; it need not be fixed before the experiment.
6.2 Parent and Child Experts
We preallocate two types of prediction streams: parents, which follow fixed sign schedules, and children, which may later be assigned to activated functions. For every pool and every schedule of depth at most , retain its prediction stream as a parent. Thus the set of parent indices is
For each , let denote the prediction of schedule in capped pool at round , and call the depth of the depth of . The parent always follows this schedule. It outputs zero if the schedule becomes invalid.
If a depth-i parent becomes valid and born, let be its version space after birth. This space is fixed for the rest of the run, and the rank-drop property gives
Identification considers all schedules in , whereas parent indices are allocated only to schedules in .
Children and their outputs. For each , fix a nonnegative integer before the experiment. Attach additional prediction indices to every depth-i parent , and call them its children, indexed by for . Each child initially copies its parent's outputs. On a round when a function activates, at most one unused child may be assigned to . From that round onward it predicts on every subsequent instance , and it is never reassigned.
Assignments on round t are made after the capped schedule updates and identification tests, but before emitting the child predictions on that round. Thus
In particular, assignment does not change any past prediction.
The capacities and the rule choosing the assignments will be specified in the next section. Here we define which choices are permitted and prove their deterministic properties. For any such capacities, the number of parent and child indices is
This counts invalid schedules and unused children as well. All these indices are present from the start. The other schedule simulations are internal calculations, not additional members of the covering family.
6.3 Eligibility and Many Compatible Parents
An unused child can cover a newly activated function if its parent has already made few errors against : after assignment, the child predicts exactly. We therefore test the parent's actual predictions before the activation round. For , , and , write
The sum is zero at t = 1.
Definition 25 (Eligible parent). Suppose h activates on round t. A parent v is eligible for this activation if its schedule is valid and born by round t - 1, and
Let be the set of eligible parents in pool . Fix an arbitrary ordering of the sign schedules in . For each pool with , choose the eligible parent whose schedule comes first in this ordering. Let be the set of these chosen parents.
We permit an activation of h on round t to use only a parent from , and only an unused child of that parent.
The sets in this definition can be determined on round t. The function h is known from its certificates at activation; its values on earlier instances can therefore be evaluated. The parent states and all predictions used in (80) are already available. Neither the test nor the choice of a representative from each pool uses future instances or future accuracy. In particular, Good is not part of the eligibility test. Eligibility also does not depend on whether a parent's children have already been used; a parent with no unused child still belongs to the same eligible sets.
If an unused child of is assigned to on round , then (78) gives
Indeed, before t the child copied its parent, and from t onward it predicts h exactly. Requiring assignments to use only the information just described makes these prediction rules causal in the instances and the revealed random choices.
There is also a uniform bound on how many distinct activations can have a given parent among their choices. Fix a valid, born parent of depth . Every function that activates and has belongs to , since eligibility requires . By the local activation bound, the number of such functions is at most . Hence (77) and Corollary 24 give
A parent that never becomes valid and born is never eligible. This bound holds on every outcome, not only on Good, and allows the later input instances to depend on earlier assignment decisions.
Many eligible parents at activation. We now use the simultaneous replay accuracy from Proposition 21 to show that the eligible sets are large on Good.
Lemma 26 (Many eligible parents). On Good, every function that activates on a round satisfies
Proof. Fix an outcome in Good and a function activating on round . Let be the pools whose replays satisfy (65). By Proposition 21, . Before round , fewer than pools had identified ; otherwise it would already have activated. Therefore
Fix a pool in this set, and let consist of all corrections made by its target-driven replay through round . On Cap these have ordinals in , and the capped-pool simulation of is valid, born by , and has version space . This space contains . It cannot equal , since (73) would imply .
Since is uniformly greater-than- separated, every nonsingleton subclass of has rank at least one. If has depth , the rank-drop property consequently gives
Thus is one of the preallocated parents. Its fixed version space is , which contains and is not a singleton. By the prefix property in Section 4.2,
Since , it follows that
All eligibility conditions hold, so is nonempty. This applies to more than distinct pools. Since contains one eligible parent from each such pool, we obtain (84).
The parent used in this proof is the separate schedule containing only the replay’s corrections before round t. Its version space remains fixed, even if the full replay makes further corrections or identifies h on round t. Only their predictions before t must agree: a child assigned on round t switches to h before emitting its prediction on that round.
Corollary 27 (Targets that do not activate). On Good, every has a parent with
Proof. Fewer than pools identify by time , while at least replays satisfy (65). Choose a pool with an accurate replay that has not identified . Its final replay version space is not a singleton, by (73). The same rank argument as above shows that its entire replay code has depth at most . On Cap this code has ordinals in , so is a parent and reproduces the replay on all rounds. Its final-prediction accuracy gives (85).
Thus a target that never activates is covered by a permanent parent. A target that activates has at least eligible parents on Good, and assigning an unused child of any one of them gives (82). It remains to choose the capacities and distribute the activations among these parents so that, with positive probability jointly with Good, every activation receives an unused child and the count in (79) is at most .
7 Shared-Parent Routing and Load Balancing
We now specify how an activating function receives a child of one of its eligible parents. The rule chooses one parent uniformly from the retained set when this set has at least members. We bound how often a parent is chosen and use this bound to set the child capacities .
7.1 The Causal Routing Protocol
For now, let the capacities be any fixed nonnegative integers, as in Section 6.2. By Corollary 24, the total number of functions that activate during a run is at most
We allow routing slots on each round, where one slot processes one newly activated function; slots with no function do nothing. Fix an arbitrary total order on H. In each round, process the newly activated functions in this order.
For and , let be a uniformly random permutation of the finite parent set . All these permutations are mutually independent and independent of the raw pool bits. A permutation specifies an ordering of all parents. For an activation with , conditional on the preceding history, each member of is selected with probability . The permutation is revealed only in slot of round , including when that slot has no function to process.
Write and . We allow inputs of the form
where the maps are deterministic and is a finite-support input seed independent of all pool bits and routing permutations. Thus may depend on all earlier selections, assignments, and predictions, but is chosen before the current pool vector and current routing permutations are revealed.
Initialize a counter for each parent . A parent remains eligible after all its children have been assigned. If routing selects such a parent, its load counter increases and an overload is declared, but no child is assigned. At round , reveal , perform the capped schedule updates, and determine the newly activated functions . List them in the fixed order as , where . The eligible set does not depend on the current routing permutation .
In each slot , reveal and proceed as follows. If , make no change. Otherwise put . If , leave unassigned. If , choose the first parent in according to and increase by one. Write for its updated value and for the depth of . When , assign child to . When , make no child assignment; this is an overload at .
The first choices of a depth-i parent use its children in order, so every assigned child is unused at assignment. Each function is processed only on its activation round and only once. After all slots of round t, emit the parent predictions and the child predictions specified in (78).
We continue the selections and counters after an overload, and also after an activation is left unassigned. Thus counts routing choices, not just successful child assignments. On Good, the case cannot occur, by Lemma 26.
The sampling guarantee from the preceding sections applies to (87). Indeed, the auxiliary seed
has finite support and is independent of all raw pool bits. Given this seed, every earlier assignment is determined by the past raw vectors. Hence the input rule has the form (50), and Proposition 21 gives for the routing protocol just defined.
7.2 Routing Probabilities and Load Bounds
Fix a parent v. Consider a routing step that processes a newly activated function . Define
and let be the indicator that the routing rule chooses v in this slot, whether or not a child is assigned. For an empty slot, set both indicators to zero. Thus
count, respectively, the activations at which v could be chosen and the activations at which it is chosen.
If v has depth i, then on every outcome
The first inequality holds because each function activates only once; the size test in (88) can only remove activations from the count. The second inequality is (83). A parent that never becomes valid and born has .
To describe the information available at a routing choice, let
Also put . These sigma-fields reveal the raw vector first on each round and then the routing permutations one at a time. The functions and their eligible sets are already determined by . In particular, is known given , while remains an independent uniform permutation. Consequently,
For the first case, each member of the eligible set is equally likely to appear first in the fresh permutation. This remains true when v has no unused children, since routing still chooses from the same set and increments .
Load supermartingale and child capacities. We combine the bound on how often v can be considered with the conditional probability that it is chosen. The routing indicators need not be independent across rounds, since later inputs and eligible sets may depend on earlier routing choices.
Lemma 28 (Exponential moment of a parent load). For every fixed parent v of depth i, every fixed choice of capacities, and every input rule (87),
Proof. Let and be the two counts through slot of round , including all earlier rounds. Both counts are initially zero. Here denotes the start of round , before any routing steps, and denotes the end of that round, after all routing steps. Thus, for ,
Initially, . Set and define
Its initial value is one. At a raw-vector reveal it is unchanged. At a routing slot, the increments of and are and , respectively, so
Since and is -measurable, (90) gives
It follows that
Thus Z is a nonnegative supermartingale along the finite sequence of raw-vector reveals and routing slots, with respect to the sigma-fields just defined. In particular, .
By (89), on every outcome. Therefore
We can now choose the number of children for each parent. The exponential moment bound turns an additive in the capacity into a failure probability of at most for each parent. Since , set
These values depend only on the parameters fixed before the experiment.
Proposition 29 (No overload). With capacities (93), define
For every input rule (87),
Proof. Fix a parent v of depth i. Markov's inequality and Lemma 28 imply
Taking a union bound over the P parent indices proves (95).
The overload bound is under the full joint law of sampling and routing, without conditioning on Cap or Good. On Good ∩ NoOverload, every activating function receives an unused child on its activation round: its eligible set has at least k/4 members, and the selected parent's counter never exceeds its capacity.
8 Expert Counting and Global Determinization
For the counting and probability arguments, retain the separated class and the regime , , and from the preceding section. The child capacities are now fixed by (93).
8.1 Expert Counting and Simultaneous Coverage
Lemma 30 (Expert count). There is a universal constant such that the number K of preallocated parent and child indices satisfies
Proof. There are parents of depth , each with children. Using (79), (93), and , we obtain
(97)
The factor from the depth- parents cancels with the in the leading term of . The term accounts for the permanent parents, the logarithmic capacity overhead, and the rounding overhead. The last inequality is (37).
Put . Since , (35) gives
For , the inequality similarly gives
For , the same final bound holds because . Thus, in all cases,
We next bound the second term in (97). The definition and imply , and (66) gives . Consequently,
where we may take the universal constant , using and . It follows that
(99)
for a universal . The second inequality uses for ; the last follows from , for example with . Combining these bounds in (97), we may take . All these constants are universal because was fixed universally in (68).
Simultaneous coverage. Number the preallocated parent and child indices by , and let denote the prediction of index at round under the randomized sampling and routing protocol.
Lemma 31 (Simultaneous coverage). For every input rule (87), with probability greater than 1/2, the outputs satisfy
Proof. The application of Proposition 21 in Section 7.1 and Proposition 29 give
Fix an outcome in this intersection and . If activates, the routing protocol assigns it an unused child of a parent in , as proved at the end of Section 7. By (82), this child's index supplies the required witness for . If does not activate, Corollary 27 supplies a parent with the same error bound. In either case, the witnessing index belongs to the preallocated family. Since was arbitrary, the one event in (101) gives the stated coverage for every target.
8.2 Game Determinization and Main Upper Bound
Lemma 31 gives successful random choices for each fixed input rule. Choosing one successful realization separately for each instance sequence, however, need not give the same predictions on shared prefixes. To obtain a global family, we need one deterministic rule for choosing the pool selections and routing permutations after each observed input prefix. The guarantee against adaptive input rules allows us to obtain such a rule by the following game argument.
Lemma 32 (Finite-horizon determination). Consider a game of T rounds between an adversary and a constructor. In each round the adversary first chooses an input from a nonempty set, and the constructor then chooses an action from a nonempty set. The legal choices may depend on the preceding moves. Both players observe all earlier moves, and the constructor also observes the current input. Each terminal history is designated winning or losing for the constructor.
If one randomized constructor strategy wins with positive probability against every deterministic adversary strategy, then there is a deterministic constructor strategy that wins against every adversary strategy.
Proof. Label each terminal history according to the prescribed winning condition. Working backwards through nonterminal histories, label a constructor decision node as winning if some legal action leads to a winning successor. Label a history at which the adversary is to move as winning if every legal input leads to a winning history. All other histories are losing. The recursion is well-defined because the game has finite depth, even if its branching is infinite.
Suppose that the initial history were losing. At each losing history where the adversary moves, there is an input leading to a losing history. Choose one such input at each of these histories, and choose arbitrary legal inputs at the adversary's other histories. At a losing history where the constructor moves, every legal action leads to a losing history. The chosen adversary strategy therefore forces a losing terminal history for every realization of the constructor's random choices. Its winning probability against this deterministic adversary would be zero, a contradiction.
The initial history is consequently winning. At each winning history where the constructor moves, fix an action leading to a winning history; specify arbitrary legal actions at its other histories. At every winning history where the adversary moves, all legal inputs preserve the winning status. These choices define a deterministic constructor strategy that wins against all adversary moves. The choices over arbitrary collections of histories may use the axiom of choice.
Remark 33 (Role of the information structure). The determination argument relies on perfect information: before choosing the next input, the adversary observes the constructor's realized actions, not merely their distributions. This differs from distribution-observing protocols in randomized online learning with set-valued or partial feedback [RST24; Sha+26]. Without access to the realized actions, the conclusion of Lemma 32 can fail, even in a two-round game. For example, suppose the constructor secretly chooses a fair bit and wins if it equals the adversary's second-round input. The constructor then wins with probability 1/2 against every deterministic adversary, but no deterministic constructor strategy can guarantee a win.
Proof of Proposition 2. The case was proved in Section 4.1; a singleton is covered exactly by its unique member. For and , the deterministic family in (46) already proves the proposition. We therefore consider the remaining regime and use the randomized construction counted in Lemma 30.
Let be the finite set of permutations of . Define a game in which the adversary chooses on round , and the constructor then chooses
Apply the capped schedule updates and routing protocol to these choices, processing the routing slots in their prescribed order, and emit the K predictions before the next adversary move. All these operations are determined by the inputs and chosen actions. Designate a terminal history as winning precisely when (100) holds.
Every deterministic adversary strategy in this game has the form (87) with a constant input seed: its earlier inputs, and hence its current choice, can be recovered recursively from the preceding pool vectors and routing permutations. The randomized protocol therefore wins with probability greater than 1/2 against every such strategy, by Lemma 31. Lemma 32 supplies a deterministic winning constructor strategy. Fix this strategy.
For any input prefix , run the fixed strategy through round . By induction on rounds, all pool vectors, routing permutations, assignments, and predictions through that round are determined by . For each , define
Thus is a well-defined deterministic causal map. The family
is fixed independently of the instance sequence. Since the strategy wins against every sequence of adversary inputs,
Finally, . Choosing one universal also includes the short-horizon bound (46), and proves the proposition in all regimes.
Proof of Theorem 5. Fix , , and , and put and . If , the midpoint rule
has pointwise error at most against every , by Lemma 10. Its normalized error is therefore at most , and one expert suffices.
Suppose . Lemma 9 gives a separated subclass of rank at most such that
Apply Proposition 2 with
The resulting global family has size at most .
Fix an instance sequence and a target . Choose with and a witnessing expert for from Proposition 2. Writing
we have . For ,
For , the error is at most one because both values lie in . Consequently,
(104)
Here because . Taking the th root gives the required normalized error bound. The separated subclass and the expert family were fixed independently of and , so the same family satisfies Definition 4. Taking proves (19), with independent of , , , and .
The upper-bound assertions of Corollaries 7 and 8 now follow from the rounding and tree-restriction arguments in Section 3.4. Moreover, and give
which also proves the upper-bound part of Theorem 1.
9 Matching Lower Bounds
We prove Theorem 6 using indicators of affine hyperplanes over a finite field. The instance sequence lists every point of the domain once. Related finite-field hyperplane classes have been studied through their static VC dimension [Asc+25]; here we require the Littlestone dimension of the full affine-hyperplane class and a fixed-sequence packing.
9.1 Finite-Field Hyperplanes and Their Dimensions
Fix an integer and a prime power , and let be a field with elements. On the domain , define
where , , and is computed in . Let
Each is an affine subspace of dimension and has points: if , choosing the other coordinates freely determines uniquely.
Two parameter pairs and define the same hyperplane exactly when for some . Indeed, equal hyperplanes have the same direction subspace, so the nonzero linear forms and have the same kernel and are proportional. Evaluating them at any point of the hyperplane then gives . The converse follows by multiplying the defining equation by . Thus each distinct hyperplane has exactly parameter representations, and
Lemma 34 (Dimension of the hyperplane class). For every prime power and integer ,
Proof. For the upper bound on Littlestone dimension, consider a binary predictor that observes the true label after each prediction. It maintains the affine span S of all previously observed instances with label one, initially , and predicts one exactly when the current instance belongs to S. After a positive label it replaces S by the affine span of S and the current instance; after a negative label it leaves S unchanged.
On any sequence labeled by the indicator of a fixed hyperplane , we always have . The predictor therefore never predicts one at a point labeled zero. Every mistake is a positive point outside , whose addition increases the affine dimension by one. Assigning dimension to the initially empty span, and using , we obtain at most mistakes.
If shattered a Littlestone tree of depth , we could follow, at each node, the edge opposite the predictor's current prediction and provide that edge's label before proceeding to the next node. Some member of realizes the resulting path. The predictor would then make mistakes on a sequence labeled by that member, contradicting the bound just proved. Hence .
For the lower bound, let be the standard basis vectors in . Every labeling of these points is realized by a hyperplane indicator. To see this, let be the indices to receive label one. If , take and
Then and exactly for . If , take and ; every belongs to this hyperplane. The complete binary instance tree that queries at every node of level is therefore shattered. This gives .
Finally, is binary, so the equality of sequential fat-shattering and Littlestone dimensions at scales , proved in Section 3.1, gives (107).
9.2 Fixed-Sequence Packing and Lower Bound
List all points of once, in any fixed order, as , where . For distinct hyperplanes and their indicators , the normalized metric from (17) satisfies
where is the set of points belonging to exactly one of the two hyperplanes. This identity holds because the absolute difference of two binary values, raised to the power p, is one precisely when they differ.
If the normal vectors of and are proportional, the two distinct hyperplanes are parallel and disjoint. Each has points, so the right-hand side of (108) is . Otherwise the two normal vectors are linearly independent, which can occur only when . Their two defining equations have common solutions, and hence
For , hyperplanes are singleton sets, so the value applies to every distinct pair. Thus, for all ,
Choice of the field size. To obtain pairwise -distance greater than , fix and , and choose
Since , this is a power of two with . It is the largest power of two not exceeding , so . Equivalently,
The separation is strict in both possible cases:
The first line uses (111), and the second uses . By (109), we conclude that
Proof of Theorem 6. Take as in (110), the class , and the fixed sequence of all domain points. Lemma 34 gives .
An arbitrary real-valued prediction vector cannot approximate two distinct members to normalized error at most . Otherwise, the triangle inequality would give
contrary to (112). Thus any family of vectors covering all target vectors on this fixed sequence has at least members.
Every deterministic causal expert g produces one such vector on the fixed sequence. Consequently, (106) and (111) yield
The argument already allowed arbitrary vectors in ; hence it also proves the theorem's fixed-sequence assertion.
Taking the supremum in (21) gives the lower bound in (22). The comparisons in Sections 3.3 and 3.4 then complete Theorem 1 and the lower-bound assertions of Corollaries 7 and 8.
AI Disclosure
Several technical ideas underlying this work, particularly the detailed design of the routing mechanism and the tuning of its parameters, were developed through extensive discussions and iterative refinement involving the authors and ChatGPT 6 Pro. The authors also used ChatGPT 6 Pro to discuss the organization of the manuscript and to improve its clarity and presentation. The authors take full responsibility for all content of the paper, including the correctness of its mathematical results and proofs.
References
[Aiy+26] Shashaank Aiyer, Yishay Mansour, Shay Moran, Han Shao, and Tom Waknine. Scale-Sensitive Shattering: Learnability and Evaluability at Optimal Scale. 2026. URL: https://arxiv.org/abs/2605.13684.
[Alo+21] Noga Alon, Omri Ben-Eliezer, Yuval Dagan, Shay Moran, Moni Naor, and Eylon Yogev. "Adversarial laws of large numbers and optimal regret in online classification". In: Proceedings of the 53rd annual ACM SIGACT symposium on theory of computing. 2021, pp. 447–455.
[Alo+97] Noga Alon, Shai Ben-David, Nicolo Cesa-Bianchi, and David Haussler. “Scale-sensitive dimensions, uniform convergence, and learnability”. In: Journal of the ACM 44.4 (1997), pp. 615–631.
[Asc+25] Ruben Ascoli, Livia Betti, Justin Cheigh, Alex Iosevich, Ryan Jeong, Xuyan Liu, Brian McDonald, Wyatt Milgrim, Steven J. Miller, Francisco Romero Acosta, and Santiago Velazquez Iannuzzelli. "VC-Dimension of Hyperplanes Over Finite Fields". In: Graphs and Combinatorics 41.2 (2025).
[BDR21] Adam Block, Yuval Dagan, and Alexander Rakhlin. “Majorizing Measures, Sequential Complexities, and Online Learning”. In: Proceedings of the 34th Annual Conference on Learning Theory. 2021, pp. 587–590.
[BKP97] Peter L Bartlett, Sanjeev R Kulkarni, and S Eli Posner. “Covering numbers for real-valued function classes”. In: IEEE transactions on information theory 43.5 (1997), pp. 1721–1724.
[Blu+89] Anselm Blumer, A. Ehrenfeucht, David Haussler, and Manfred K. Warmuth. "Learnability and the Vapnik-Chervonenkis dimension". In: Journal of the ACM 36.4 (1989), pp. 929–965.
[BLW96] Peter L. Bartlett, Philip M. Long, and Robert C. Williamson. "Fat-Shattering and the Learnability of Real-Valued Functions". In: Journal of Computer and System Sciences 52.3 (1996), pp. 434–452.
[BM02] Peter L Bartlett and Shahar Mendelson. “Rademacher and gaussian complexities: Risk bounds and structural results”. In: Journal of machine learning research 3 (2002), pp. 463–482.
[BPS09] Shai Ben-David, Dávid Pál, and Shai Shalev-Shwartz. “Agnostic Online Learning”. In: Proceedings of the 22nd Annual Conference on Learning Theory. 2009.
[BY20] Omri Ben-Eliezer and Eylon Yogev. “The Adversarial Robustness of Sampling”. In: Proceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems. 2020, pp. 49–62.
[CL06] Nicolo Cesa-Bianchi and Gabor Lugosi. Prediction, Learning, and Games. Cambridge University Press, 2006.
[DEG16] Kunal Dutta, Esther Ezra, and Arijit Ghosh. “Two Proofs for Shallow Packings”. In: Discrete & Computational Geometry 56.4 (2016), pp. 910–939. ISSN: 0179-5376.
[Dud67] Richard M Dudley. “The sizes of compact subsets of Hilbert space and continuity of Gaussian processes”. In: Journal of Functional Analysis 1.3 (1967), pp. 290–330.
[GG15] Pierre Gaillard and Sébastien Gerchinovitz. "A Chaining Algorithm for Online Non-parametric Regression". In: Proceedings of The 28th Conference on Learning Theory. Ed. by Peter Grünwald, Elad Hazan, and Satyen Kale. 2015, pp. 764–796.
[Hau95] David Haussler. “Sphere packing numbers for subsets of the Boolean n-cube with bounded Vapnik-Chervonenkis dimension”. In: Journal of Combinatorial Theory, Series A 69.2 (1995), pp. 217–232.
[KS94] Michael J. Kearns and Robert E. Schapire. “Efficient distribution-free learning of probabilistic concepts”. In: Journal of Computer and System Sciences 48.3 (1994), pp. 464–497. ISSN: 0022-0000.
[Lit88] Nick Littlestone. “Learning Quickly When Irrelevant Attributes Abound: A New Linear-Threshold Algorithm”. In: Machine Learning 2.4 (1988), pp. 285–318.
[MM24] Maryanthe Malliaris and Shay Moran. “Model theory and agnostic online learning via excellent sets”. In: Transactions of the American Mathematical Society 377.11 (2024), pp. 7753–7776.
[MS14] Maryanthe Malliaris and Saharon Shelah. “Regularity lemmas for stable graphs”. In: Transactions of the American Mathematical Society 366.3 (2014), pp. 1551–1585.
[MV03] Shahar Mendelson and Roman Vershynin. “Entropy and the combinatorial dimension”. In: Inventions mathematicae 152.1 (2003), pp. 37–55.
[RS14] Alexander Rakhlin and Karthik Sridharan. “Online Non-Parametric Regression”. In: The 27th Conference on Learning Theory. 2014, pp. 1232–1264.
[RST10] Alexander Rakhlin, Karthik Sridharan, and Ambuj Tewari. “Online Learning: Random Averages, Combinatorial Parameters, and Learnability”. In: Advances in Neural Information Processing Systems. 2010, pp. 1984–1992.
[RST11] Alexander Rakhlin, Karthik Sridharan, and Ambuj Tewari. “Online Learning: Beyond Regret”. In: Proceedings of the 24th Annual Conference on Learning Theory. Vol. 19. 2011, pp. 559–594.
[RST15a] Alexander Rakhlin, Karthik Sridharan, and Ambuj Tewari. “Online Learning via Sequential Complexities”. In: Journal of Machine Learning Research 16.6 (2015), pp. 155–186.
[RST15b] Alexander Rakhlin, Karthik Sridharan, and Ambuj Tewari. “Sequential complexities and uniform martingale laws of large numbers”. In: Probability theory and related fields 161.1 (2015), pp. 111–153.
[RST17] Alexander Rakhlin, Karthik Sridharan, and Alexandre B. Tsybakov. “Empirical entropy, minimax regret and minimax risk”. In: Bernoulli 23.2 (2017), pp. 789–824.
[RST24] Vinod Raman, Unique Subedi, and Ambuj Tewari. “Online Learning with Set-valued Feedback”. In: Proceedings of 37th Conference on Learning Theory. Ed. by Shipra Agrawal and Aaron Roth. 2024, pp. 4381–4412.
[Sau72] Norbert Sauer. “On the density of families of sets”. In: Journal of Combinatorial Theory, Series A 13.1 (1972), pp. 145–147.
[Sha+26] Shihao Shao, Cong Fang, Zhouchen Lin, and Dacheng Tao. Partial Feedback Online Learning. 2026. URL: https://arxiv.org/abs/2601.21462.
[She72] Saharon Shelah. “A combinatorial problem; stability and order for models and theories in infinitary languages”. In: Pacific Journal of Mathematics 41.1 (1972), pp. 247–261.
[Tal05] Michel Talagrand. The generic chaining: upper and lower bounds of stochastic processes. Springer, 2005.
[VC71] V. N. Vapnik and A. Ya. Chervonenkis. “On the Uniform Convergence of Relative Frequencies of Events to Their Probabilities”. In: Theory of Probability & Its Applications 16.2 (1971), pp. 264–280.
[VW96] A. van der Vaart and J.A. Wellner. Weak Convergence and Empirical Processes: With Applications to Statistics. Springer, 1996.