medium · Optimal stopping with a finite horizon
A fair six-sided die is rolled. After each roll you may either stop and take the value showing as a payoff in dollars, or roll again and forfeit the value showing. You may roll at most three times in total, and if you reach the third roll you must take it.
Work backwards from the last roll, which is the only place where the answer is obvious.
With one roll available you must take it, so
With two available, you see a value and then choose between and a fresh , so you stop exactly when :
With three available you compare against , so you stop exactly when :
Answer. On the first roll keep only 5 or 6; on the second keep 4, 5 or 6; take whatever the third gives. The expected payoff is .
The thing to notice is that the threshold depends only on how many rolls remain, never on what you have already seen — the rolls are independent, so a forfeited value carries no information.
The map is nondecreasing and satisfies for every , so increases strictly, and it is bounded above by 6. Its limit is a fixed point with , and the only fixed point of in is : for the roll contributes with probability while every other term is at least , making the right side strictly larger. Hence
Concretely , : the approach is slow, because gaining more requires waiting for a 6, and the probability of not having seen one decays like .
hard · Rademacher complexity and dimension-free bounds
Fix and let
be the class of linear predictors on . For a sample the empirical Rademacher complexity is
with independent and uniform on .
Write . The supremum over a Euclidean ball is a dual norm and is attained, by Cauchy-Schwarz with equality at :
That step is an equality, which is worth noticing — no slack is introduced by the class geometry. Hence
Now the two inequalities. First Jensen, since is concave:
The second moment collapses because the signs are independent and mean zero, so :
That last step is the second inequality, and it is the only place the radius bound is used. Combining,
Composing with an -Lipschitz loss costs a factor by Talagrand's contraction lemma, and the standard symmetrization bound for losses in gives, with probability at least , simultaneously for all ,
The constants depend on which version of the bound you quote — some texts state it with the population rather than empirical complexity, and then the deviation term shrinks — but the shape, plus an confidence term, is common to all of them.
The product has. The class is not indexed by how many coordinates has but by a scale: how long the weight vector is allowed to be and how large the inputs can be. This is the technical content behind margin-based explanations of why heavily overparameterized linear models can still generalize — control the norm and never enters.
The argument breaks at the very first step under an constraint. There the dual norm is ,
and is not a second moment of a single vector, so the identity no longer applies — a maximum over coordinates is not controlled by its own variance. The right tool is a maximal inequality for sub-Gaussian variables (Massart's lemma), which yields a bound of order where bounds . The dimension returns, but only logarithmically, which is exactly the tradeoff that makes attractive in the high-dimensional regime.
Two new problems every morning at 8am · every day so far