Lecture 6 Detailed Explanation

Derek Wang4 min read

Finite-class concentration, zero-covers, Littlestone dimension, online regression, and sequential fat dimension, with step-by-step proofs, worked examples, assumptions, pitfalls, self-tests, and a reading route.

This lecture asks which classes can learn from adaptive data. We develop finite-class concentration, zero-covers, sequential Sauer, Littlestone upper and lower bounds, threshold and monotone counterexamples, regression covers, and surrogate losses. Source: lecture6.pdf (local source, not published online); companion: full handout; previous: Lecture 5; next: Lecture 7. The deep Dudley and sequential-fat covering proofs omitted by the handout remain explicitly external; their applications are worked through.

1 Roadmap and Conditions

Lecture 5 reduced regret to sequential Rademacher complexity. For classification, the chain is finite-expert bounds, pathwise zero-covers, then Littlestone dimension. Regression replaces exact matching with approximation at a scale, leading to sequential fat dimension.

Source pagesContentProof status
1–2Lemma 1, Theorem 1: finite classesDeveloped below
2–4Zero-cover, Theorem 2, Corollary 1Developed with induction boundaries
4–5Theorem 3, Proposition 1Developed with a finite-dimension lower-bound discussion
6Theorems 4, 5, 64 proved; 5–6 invoked
7–8Linear, monotone, surrogates, summaryCalculations and limitations expanded

Use Lecture 5’s measurability and game conditions. Classification functions take values ±1 with zero-one loss; regression functions lie in . The horizon is . In classification means Littlestone dimension, while in the linear example it means ambient dimension; do not conflate them.

2 The Maximal Inequality Does Not Require Independent Experts

Suppose every satisfies . They may be highly dependent. The maximum exponential is bounded by their sum, and logarithm is concave, so

Optimize with to obtain . For , the variables used here have mean zero, giving zero. If “sub-Gaussian” means centered around each variable’s own mean, an additional maximum-mean term is required; the handout uses the zero-centered MGF convention.

3 Theorem 1: Concentration of Tree-Indexed Sums

Fix a tree and function. Write and . Given the past, is known and only the current fair sign is new, hence

One cannot multiply unconditional moment-generating functions: future may depend on the current sign. The handout takes successive maxima of future square sums. A shorter supplementary proof uses a nonnegative exponential supermartingale:

Iterating from gives . Let , a deterministic uniform bound. Then

Apply the preceding section and divide by to obtain Theorem 1. If absolute function values are at most , then :

Example. For , the bound is approximately 0.03035. Expert count costs only a logarithm; more rounds improve the bound by a square root. This worst-tree upper bound is not the exact realized regret of a particular sample.

4 Why Full-Tree Projection Overcounts

A depth- tree has nodes. Full-tree projection records each function’s predictions on every branch. For singleton indicators with distinct node inputs, this gives the all-negative tree plus one positive-node tree per node, totaling . Yet a run visits only nodes, and its singleton labeling contains at most one +1.

We need not preserve one function’s complete responses on all unvisited branches simultaneously. Swapping two quantifiers yields an exponential saving:

The representative may depend on the function and full path but must match every round along that path. It cannot be changed each round, and each representative tree remains predictable. The collection is fixed before drawing the path. Pathwise,

Take expectations and use the finite-tree-family bound. Cover trees need not be members of the original class, so equality need not hold.

5 Singleton Covers with Repeated Inputs

The handout first gives trees for paths without repeats. Here is an explicit construction allowing repeats. Expert 0 always outputs −1. Expert k, for , outputs −1 before round k, remembers the input at round k, and thereafter outputs +1 exactly when the input equals a.

For a target and path, expert 0 matches if never appears. Otherwise choose k as the first occurrence of ; expert k matches every round, including later repeats. It uses only past/current inputs and defines a valid tree. The worst-case is attained on a tree with a distinct constant input at each level: one fixed path has possible label sequences and each cover tree matches only one.

For inputs a,b,a and target , expert 1 outputs +1,−1,+1. The simpler “positive at one level only” construction fails here.

6 Littlestone Dimension: Realizing Every Path Labeling

Here both determines branches and prescribes labels. In zero-covering it only determines the path. Different paths may use different functions, but one path must use a single function. Littlestone dimension is the largest shattered depth. A fixed input sample is a tree constant at each level, so VC dimension is no larger.

For singleton indicators, any root can be labeled positive by its own singleton or negative by another. After a positive root, exactly one function survives; whatever the next input is, it cannot realize both labels there. Hence the dimension is 1. A nonempty zero-dimensional class agrees at every input and contains one distinct function. Assigning −1 to the empty class is useful for algorithms.

7 Sequential Sauer: Why Maximum Rather Than Product

Split a dimension- class at the root into . Both cannot retain dimension : attach their shattered depth- trees below this root and obtain a shattered depth- tree. Thus one side has dimension at most , the other at most .

For the positive-label subclass, suppose the original input tree’s left subtree needs a representatives and its right subtree b. Every representative on each side only needs to appear in some pair. Repeat the shorter list and use pairs. Once a path goes left, the right representative is irrelevant, and conversely. Simultaneously matching every branch would instead call for a Cartesian product of size .

The choice satisfies the boundaries and Pascal recursion. When , the sum is , closing a boundary omitted in the source induction. This proves the first part of Theorem 2.

The exponential bound follows directly. Set . For , , so

Dividing by gives . For , the binomial sum is 56 and the exponential bound is approximately 184.7. The latter sacrifices constants for simplicity. Substitution yields Corollary 1’s .

8 Necessity: Fresh Labels Defeat Every Learner

If arbitrary depths can be shattered, choose a depth- tree and let the environment provide . Even after seeing the current input, the learner faces a fresh fair label, so conditional binary error probability is exactly . Expected total loss is . Shattering provides one perfect function on each realized path, giving zero comparator loss. Average regret is at least . Together with the upper bound, finite Littlestone dimension characterizes binary online learnability.

A finite-dimension lower bound also has a clear construction. As a supplementary derivation, first take . Use a shattered depth- tree, repeat each visited node m times, and draw fresh fair labels. At the end of a block, use its majority label to select the next branch, with a fixed tie rule. Shattering provides a function predicting every block majority. If the block sum is , then

Expected regret is . A Rademacher sum satisfies , obtainable from its central-binomial-coefficient formula or Khintchine’s inequality. Hence

The handout leaves the precise constant for all to HW2; the divisible case above is not presented as that full proof. Unequal blocks of lengths differing by at most one already give the same order, for example . This explains that the gap is logarithmic, not a different power of dimension or horizon.

9 Thresholds: VC Dimension One Is Not Enough Online

Take exactly when . Two fixed points cannot realize arbitrary labels, so VC dimension is 1. An online adversary can instead keep bisecting the remaining threshold interval:

Text
                       1/2
            label −1 /     \ label +1
                   1/4     3/4
                 /    \   /    \
               1/8   3/8 5/8   7/8

A positive label requires the threshold to be at least the current input, so probe the right half next; a negative label sends the probe left. Each step leaves a nonempty interval, so no finite number of rounds exhausts real thresholds.

For a rigorous ordering argument, after going right at round , the first increase is . The total possible subsequent leftward movement is strictly smaller, being a finite geometric sum. Thus every later node remains larger than the round- node; the left case is symmetric. Every positive node lies below every negative node. Choose

with defaults 0 and 1 for empty sides. For labels +1,−1,+1 the visited points are , and any threshold in works. This proves shattering for every finite depth, without asserting that every infinite path has a positive-width interval.

10 Regression Covers and Normalization

Division by means normalized radius in the two-norm corresponds to ordinary Euclidean error . The quantifiers remain “a representative for each function and path.” Normalized power means satisfy , giving the same ordering of covering numbers. Increasing the radius weakens the requirement and cannot increase the cover size.

Theorem 4 follows by adding and subtracting a representative. For a fixed function and path,

The remaining representative term is bounded by the maximum over the finite cover, then Theorem 1 applies. Representatives may depend on the full path because the maximum already ranges over every representative.

This compresses at only one scale. Dudley uses progressively finer covers so small details incur small-amplitude costs. Theorem 5 states

The cutoff avoids resolving scales with enormous or infinite covering numbers and controls the residual by approximation error. The square-root logarithm comes from the finite maximum inequality at each scale. Full sequential chaining must handle predictability and localized errors after pathwise representative selection; path-dependent representatives cannot simply be treated as fixed processes. This intuition is not a full proof, and Theorem 5 remains an invoked result.

11 Sequential Fat Dimension: The Witness Is a Tree

Witness thresholds may depend on the past but not the current label; otherwise moving a threshold afterward would trivialize the definition. The dimension is the maximum depth permitting such fixed positive-margin branching and is nonincreasing in scale. Ordinary fat on fixed points is a special case with level-constant inputs and witnesses and can be smaller.

This is Theorem 6, stated without proof. It requires discretization and scale-sensitive sequential combinatorics, not an unproved direct substitution into binary Sauer. Combine it with the ordering of covers and Dudley to recover the final chain. Use the uniform fat bound over all trees and ; this is not equality from freely exchanging the two operators.

For learnability characterizations and the external results, see Rakhlin, Sridharan, and Tewari (2015). Conditions depend on the loss and decision protocol. A logarithmic upper bound alone does not establish the same rate for every class finite at each scale without checking scale growth.

12 Linear Example: Evaluating the Entropy Integral

Hölder bounds linear functions on dual unit balls in . Parameter distance at most in the -norm gives prediction error at most at every allowed input. A volume cover of size therefore works pointwise and on every tree. Thus

For , . Subadditivity of square root and substitution give

The integral is a constant, yielding . This bounds complexity; general-loss contraction may add logarithms. As a supplement, Euclidean unit balls admit a stronger dimension-free calculation:

Cross terms vanish by conditioning on for : both vectors and are known, while has mean zero. Squared norms sum to at most . This foreshadows Lecture 7’s dimension-free Perceptron bound.

13 Why the Monotone Counterexample Reverses the Path

The threshold tree with positive labels branching right places positive points left of negative points, corresponding to a nonincreasing classifier. For a nondecreasing regressor, negatives must lie left of positives. Traverse according to but label with . Then

Every algorithm incurs expected cumulative squared loss at least . On each path, a step function from −1 to +1 fits every point with zero loss, forcing linear regret. This step-function subclass also shatters arbitrary depths with witness zero for every , so sequential fat is infinite, unlike the ordinary fat dimension.

The transductive setting changes information by revealing the input set in advance; the handout states learnability there. That statement is not proved here, and knowing the set does not mean knowing its order or labels.

14 Surrogates Change the Comparator Loss

If , hinge is at least 1 and natural-log logistic at least ; otherwise the left side is zero. Thus the displayed inequalities hold pointwise. Unnormalized natural-log logistic does not upper-bound zero-one loss: gives .

Small regret approaches the best surrogate loss, not the best zero-one error count, so it does not contradict threshold impossibility. The bound is useful when a good-margin comparator has small hinge loss. Normalized natural-log logistic has Lipschitz constant , not 1. Counting zero margins as errors also differs from a fixed sign tie rule.

15 Self-Test and Reading Route

  1. Why does path-dependent representative selection not reveal the future? The cover is fixed; the maximum is taken afterward in analysis, not by an online decision.
  2. Which expert covers a,b,a with target a? The first-positive-at-round-one expert, predicting +,−,+.
  3. Why use a maximum when pairing same-label subcovers? A path visits only one subtree.
  4. What happens at ? A nonempty class has one function, cover size 1, and complexity 0. Do not evaluate literally.
  5. What threshold interval realizes +,−,+? .
  6. What factor is missing for natural-log logistic? .
  7. Why does linear regression learnability not imply linear zero-one classification learnability? The loss and comparator have changed.

First read Sections 4–9 to master trees and quantifiers. Next rederive Sections 2–3 and 7 for concentration and recursion. Then read Sections 10–14 and compute the integral and zero-score logistic value. Proceed to Lecture 7: dimensions become realizable mistake budgets, and Hedge aggregates experts in the agnostic case.

Search the site

Notes
Blog
Projects
Resources
About me