From guessing games, Shannon entropy, and KL divergence to online learning and multi-armed bandit lower bounds
Chihao Zhang · Fall 2026
At the end of Chapter 4 we arrived at a striking contrast on the n-dimensional probability simplex Δn. Replacing the Euclidean regularizer 21∥x∥22 in Online Mirror Descent by negative Shannon entropy ψ(p)=∑i=1npilnpi compressed the regret of full-information expert prediction from O(nT) all the way down to O(Tlnn). Yet when we applied the exact same negative-entropy mirror map under bandit feedback—where the learner observes only the single scalar loss ℓt(At) of the pulled arm At∈[n]—the resulting EXP3 bound remained O(nTlnn). Switching from Euclidean to entropic geometry improved the horizon dependence from T2/3 to T, but left a polynomial dimension factor n intact.
Is that n factor merely an artifact of importance weighting, waiting to be removed by a cleverer algorithm? Or is Ω(nT) an unbreakable barrier imposed by the laws of information whenever a learner can observe only one coordinate per round?
To prove that no algorithm can beat a given bound, we can no longer analyze one specific update rule at a time. Instead, we must quantify how much statistical evidence an observation can carry and when two candidate worlds are statistically indistinguishable. Because most computer science curricula use these tools without first building them from the ground up, the first two-thirds of this lecture (§§1.1–1.4) develops a self-contained, problem-driven introduction to information theory—showing how Shannon entropy, conditional entropy, Kullback–Leibler divergence, mutual information, data processing, and Pinsker’s inequality emerge step by step from concrete guessing, coding, and distribution-testing puzzles. In the final third (§§1.5–1.6), we bring this toolkit back to online learning to formalize adaptive multi-armed bandit interactions and prove the Ω(nT) minimax regret lower bound.
Reading guide. Course Content is designed for a single 120-minute session (Session 8):
A problem-driven introduction to information theory (§§1.1–1.4, ~78 minutes): Starts from a binary yes/no guessing game on skewed distributions to motivate surprisal −logμ(x) and Shannon entropy H(X) (§1.1); asks how observing a second variable Y alters uncertainty, illustrates with a rare-fault alarm paradox why a single observation Y=y can increase entropy while averaging over y∼μY yields conditional entropy H(X∣Y) and the entropy chain rule (§1.2); motivates Kullback–Leibler divergence KL(μ∥ν) as the excess coding cost of a mismatched belief (reconnecting it to Chapter 4’s entropic Bregman divergence) and uses it to unlock mutual information I(X;Y), nonnegativity H(Y∣X)≤H(Y), and the chain rules (§1.3); and proves the Data Processing Inequality, motivates total variation distance dTV(μ,ν) via bounded test functions Z:D→[0,B], and establishes Pinsker’s inequality by projecting onto the single binary indicator S=1{X∈A∗} (§1.4).
Information lower bounds for multi-armed bandits (§§1.5–1.6, ~42 minutes): Formalizes the canonical T-round adaptive bandit transcript space PνA and shows how the pull-count conservation law ∑i=1nNi(T)=T creates a T/n sample-starvation trap on at least one hidden arm i∗∈[n] (§1.5); proves the Bandit Divergence Decomposition Identity KL(PνA∥Pν′A)=∑i=1nEν[Ni(T)]KL(νi∥νi′) directly from the sequential KL chain rule and Data Processing cancellation, and combines it with test-function Pinsker indistinguishability to prove the Ω(nT) minimax regret lower bound (§1.6).
Reading Contents (§§2.1–2.5) proves the contrasting Ω(Tlnn) full-information expert lower bound via Gaussian/Rademacher extreme values (§2.1), explains why bounding total variation directly via a TV chain inequality loses the T factor whereas KL divergence and Pinsker preserve it (§2.2), establishes the Bretagnolle–Huber inequality and the asymptotic Lai–Robbins Ω(∑i:Δi>0ΔilnT) instance-dependent bandit lower bound (§2.3), and showcases how the same information-budget toolkit proves Ω(n) one-way communication and streaming lower bounds for INDEXn and DISJn via both Pinsker’s inequality (§2.4) and Fano’s inequality (§2.5). Further Topics (§§3.1–3.4) surveys Le Cam’s and Assouad’s methods, interactive information complexity, Gap-Hamming streaming lower bounds for F0, and online learning under memory and sliding-window constraints.
I. Course Content
1.1 How do we measure “information” and “uncertainty”? From guessing games to Shannon entropy
Before writing down any formal definitions, let us ask a basic question: What does it mean to say that a random variable X contains a certain amount of “uncertainty”—or equivalently, that learning the outcome of X reveals a certain amount of “information”?
A four-outcome binary guessing game
Suppose a discrete random variable X takes values in a four-element set D={A,B,C,D} (say, four possible weather states tomorrow, or four symbols emitted by a data source), and you want to determine the realized value of X by asking the minimum expected number of binary yes/no questions. Equivalently, every sequence of yes/no questions corresponds to a binary decision tree whose leaves are labeled by A,B,C,D: tracing the path from the root (0 for “yes”, 1 for “no”) assigns each symbol x∈D a prefix-free binary codewordc(x)∈{0,1}∗ of length ℓ(x) equal to the number of questions asked when X=x.
Example 1 (Designing an optimal yes/no question tree for uniform versus skewed distributions) Compare the expected number of yes/no questions E[ℓ(X)]=∑x∈DμX(x)ℓ(x) under two different probability distributions μX on D={A,B,C,D}:
Uniform distribution μunif=(41,41,41,41): Since all four outcomes are equally likely, we split the possibilities in half at each step:
Question 1: “Is X∈{A,B}?”
Question 2: Within that pair, “Is X the first element?” This balanced tree assigns codewords 00, 01, 10, 11 of length ℓ(x)=2 to all four outcomes, using Eμunif[ℓ(X)]=41⋅2+41⋅2+41⋅2+41⋅2=2 questions (bits).
Skewed dyadic distribution μskew=(21,41,81,81): Suppose outcome A occurs half the time, B a quarter of the time, and C,D an eighth of the time each.
If we lazily reuse the balanced tree (00, 01, 10, 11), every outcome still takes 2 questions, so E[ℓ(X)]=2.
Instead, let us ask about the most likely outcome first:
Question 1: “Is X=A?” If yes (probability 1/2), we stop immediately after 1 question (0)!
Question 2 (given X=A): “Is X=B?” If yes (probability 1/4), we stop after 2 questions (10).
Question 3 (given X∈{C,D}): “Is X=C?” This resolves C (110) and D (111) in 3 questions.
Look at the new expected number of questions under μskew: Eμskew[ℓ(X)]=21⋅1+41⋅2+81⋅3+81⋅3=47=1.75 questions (bits)<2 bits!
In Example 1, assigning shorter paths to more probable outcomes gives depth ℓ(x)=−log2μX(x)∈{1,2,3,3} and reduces the average number of questions from 2 to 1.75 bits.
From surprisal −logμX(x) to Shannon entropy H(X)
Look closely at the codeword lengths ℓ(A)=1, ℓ(B)=2, ℓ(C)=3, ℓ(D)=3 that emerged in Example 1 for μskew=(21,41,81,81): for every outcome x∈D, the optimal number of questions is exactly the logarithm of its inverse probability: ℓ(x)=log2μX(x)1=−log2μX(x). Why does the function ϕ(p):=−logp appear so inevitably when we measure the information content of an event of probability p∈(0,1]? Even without drawing binary trees, suppose we want a continuous function ϕ:(0,1]→[0,∞) that measures the surprisal (or self-information) of observing an outcome of probability p:
Certainty carries zero surprise: An event of probability p=1 tells us nothing new, so ϕ(1)=0.
Rarer events are more surprising: If p<q, observing the rarer event is more informative, so ϕ is strictly decreasing.
Additivity over independent observations: If we observe two independent events E1 and E2 of probabilities p and q, the joint event E1∩E2 has probability pq, and the total information gained from learning both should equal the sum of the two individual informations: ϕ(pq)=ϕ(p)+ϕ(q)for all p,q∈(0,1].
Up to the choice of logarithmic base (which merely fixes the unit of measurement), the only continuous decreasing solutions to Cauchy’s functional equation ϕ(pq)=ϕ(p)+ϕ(q) are ϕ(p)=−logbp=logb(1/p)!
Taking the expectation of the random surprisal −logμX(X) over all outcomes of X gives Claude Shannon’s fundamental measure of uncertainty.
Nats (ln) versus bits (log2). Choosing base b=2 measures information in bits (1 bit=ln2≈0.6931 nats), which counts binary yes/no questions directly. To keep all calculus derivatives and Chapter 4’s Bregman divergence formulas free of extra ln2 factors, we write ln (base e, measuring information in nats) as our default in formal definitions, and write H2(X):=H(X)/ln2 whenever we quote concrete numbers in bits.
Definition 1 (Shannon entropy of a discrete random variable) Let (Ω,F,P) be a probability space, and let X:Ω→D be a discrete random variable taking values in a finite state space D with marginal distribution μX(x):=P[X=x]. Adopting the convention 0ln0:=0 (since limp↓0plnp=0), the Shannon entropy of X is the expected surprisal of X: H(X):=−x∈D∑μX(x)lnμX(x)=Ex∼μX[−lnμX(x)](in nats), or H2(X):=−∑x∈DμX(x)log2μX(x)=H(X)/ln2 in bits. Since H(X) depends only on the distribution μX, we also write H(μX) interchangeably with H(X). For a Bernoulli random variable X∼Ber(p) with p∈[0,1], we write he(p)h2(p):=−plnp−(1−p)ln(1−p)(nats),:=−plog2p−(1−p)log2(1−p)(bits) for the binary entropy function.
Shannon (1948) and the operational meaning of H(X). In A Mathematical Theory of Communication (Bell System Technical Journal, 1948), Claude E. Shannon proved the Source Coding Theorem: for any prefix-free binary code ℓ:D→N, Kraft’s inequality ∑x∈D2−ℓ(x)≤1 forces E[ℓ(X)]≥H2(X), while assigning codeword lengths ℓ(x)=⌈−log2μX(x)⌉ achieves H2(X)≤E[ℓ(X)]<H2(X)+1. Thus H2(X) is not merely an axiomatic formula—it is the exact operational limit of lossless data compression!
Notice the basic qualitative behavior of H(X):
Since 0≤μX(x)≤1 implies −lnμX(x)≥0, we always have H(X)≥0, with H(X)=0 if and only if X is deterministic (μX(x∗)=1 for some single outcome x∗∈D).
For a binary coin flip X∼Ber(p), h2(p) vanishes at the deterministic endpoints p=0 and p=1, is strictly concave on [0,1] (since he′′(p)=−p(1−p)1<0), and attains its unique maximum h2(1/2)=1 bit (he(1/2)=ln2 nats) at a fair coin p=1/2.
1.2 How does an observation change uncertainty? Conditional entropy and the chain rule
Rarely do we observe a random variable X in isolation. In an algorithm or sequential experiment, we observe a random variable Y (such as a noisy sensor reading, a message, or an arm’s reward) and want to know: How much uncertainty remains in X after we learn Y?
Conditioning on a single outcome Y=y versus averaging over Y
Suppose X and Y have joint distribution μX,Y(x,y)=P[X=x,Y=y]. Whenever Y takes a specific value y∈D with μY(y)>0, the distribution of X updates by Bayes’ rule to the conditional distribution slice μXY←y(x):=P[X=x∣Y=y]=μY(y)μX,Y(x,y). Once we see the specific realization Y=y, the remaining uncertainty in X is simply the ordinary Shannon entropy of the distribution μXY←y: H(X∣Y=y):=H(μXY←y)=−x∈D∑μXY←y(x)lnμXY←y(x).
Before we go any further, let us test our intuition on a simple question: Does observing Y=y always reduce our uncertainty about X—that is, does H(X∣Y=y)≤H(X) hold for every outcome y?
Example 2 (The rare-fault alarm paradox: a single observation Y=y can increase uncertainty!) Suppose a machine component fails (X=1) with prior probability 1% and works normally (X=0) with probability 99%, so X∼Ber(0.01). Before looking at any sensor, we are almost certain that the component is fine: the prior entropy is tiny, H2(X)=h2(0.01)=−0.01log2(0.01)−0.99log2(0.99)≈0.0808 bits. Now suppose an automated alarm Y∈{0,1} monitors the component:
If the component actually fails (X=1), the alarm always rings: P[Y=1∣X=1]=1.
If the component is fine (X=0), the alarm has a small false-positive rate of 991≈1.01%: P[Y=1∣X=0]=991.
What happens to our uncertainty about X on the two possible sensor readings Y∈{0,1}?
When the alarm is silent (Y=0, which happens with probability μY(0)=0.99×9998=0.98): Since a faulty component never leaves the alarm silent, we know with 100% certainty that X=0, so H2(X∣Y=0)=h2(0)=0 bits.
When the alarm rings (Y=1, which happens with probability μY(1)=0.01⋅1+0.99⋅991=0.02): By Bayes’ rule, a true fault (0.01) and a false alarm (0.01) are equally likely: μXY←1(1)=P[X=1∣Y=1]=0.01+0.010.01=21! Hearing the alarm ring destroys our 99% prior confidence and leaves us tossing a fair coin between X=0 and X=1, inflating the entropy more than twelvefold: H2(X∣Y=1)=h2(1/2)=1 bit≫0.0808 bits=H2(X)!
Yet look at what happens when we average the post-observation entropy across both sensor readings according to their probabilities μY(0)=0.98 and μY(1)=0.02: Ey∼μY[H2(X∣Y=y)]=0.98×0+0.02×1=0.0200 bits<0.0808 bits=H2(X). Even though the specific surprise reading Y=1 increased our uncertainty, on average observing Y reduced the entropy of X from 0.0808 bits down to 0.0200 bits!
Example 2 shows why we must average H(X∣Y=y) over y∼μY to obtain a well-behaved measure of remaining uncertainty.
Definition 2 (Conditional entropy) Let X and Y be discrete random variables on (Ω,F,P) with joint distribution μX,Y. The conditional entropy of X given Y is the expected entropy of the conditional slice μXY←y averaged over y∼μY: H(X∣Y):=Ey∼μY[H(X∣Y=y)]=−y∈D∑μY(y)x∈D∑μXY←y(x)lnμXY←y(x)=−x,y∈D∑μX,Y(x,y)lnμXY←y(x)=E(x,y)∼μX,Y[−lnP[X=x∣Y=y]].
A clash of conventions: why is H(X∣Y) a number rather than a random variable? In probability theory, conditioning on a random variable Y—as in the conditional expectation E[X∣Y]—produces a σ(Y)-measurable random variable whose value depends on the realization of Y. In information theory, by contrast, the notation H(X∣Y)already takes the outer expectation over y∼μY: for a specific outcome y, H(X∣Y=y) is the entropy of the slice μXY←y, whereas H(X∣Y)=Ey∼μY[H(X∣Y=y)] is a single deterministic scalar!
Why is this outer-expectation definition so natural? Because when we observe a pair (X,Y) in two stages—first learning X, and then learning Y given X—the joint probability factorizes as μX,Y(x,y)=μX(x)⋅μYX←x(y), and the logarithm turns that product into an exact sum of entropies!
Proposition 1 (The chain rule for Shannon entropy) For any discrete random variables X,Y and any sequence X1,…,Xn, H(X,Y)=H(X)+H(Y∣X)=H(Y)+H(X∣Y), and by induction across n coordinates (where X<i:=(X1,…,Xi−1)), H(X1,…,Xn)=i=1∑nH(Xi∣X<i). In particular, if X1,…,Xn are mutually independent, then μXiX<i←x<i=μXi for every i, so H(X1,…,Xn)=∑i=1nH(Xi).
Proof. Substituting the conditional probability factorization μX,Y(x,y)=μX(x)⋅μYX←x(y) into the definition of joint entropy H(X,Y) gives H(X,Y)=−x,y∈D∑μX,Y(x,y)ln(μX(x)⋅μYX←x(y))=−x∈D∑y∈D∑μX,Y(x,y)lnμX(x)−x,y∈D∑μX,Y(x,y)lnμYX←x(y)=−x∈D∑μX(x)lnμX(x)+H(Y∣X)=H(X)+H(Y∣X), and iterating on (X1,…,Xn) yields ∑i=1nH(Xi∣X<i).
Now look at the question left open by Example 2: in that example we found numerically that H2(X∣Y)=0.0200<0.0808≈H2(X). Why is H(X∣Y)≤H(X)—that is, H(X)−H(X∣Y)≥0—always true for every joint distribution μX,Y, and what does the nonnegative gap H(X)−H(X∣Y) actually measure? To answer both questions in a single stroke, we need to ask how information theory measures the discrepancy between two probability distributions μ and ν.
1.3 The price of a wrong belief: KL divergence, mutual information, and chain rules
Return to the binary guessing game of §1.1 (Example 1). When the true distribution of X∈D is μ, tuning our question tree to μ assigns ideal codeword lengths ℓμ(x)=−log2μ(x) and achieves the minimum possible average length Ex∼μ[ℓμ(x)]=H2(μ).
What happens if we design our question tree under a false belief—assuming that X follows a distribution ν on D when in reality X is drawn from μ?
Example 3 (The penalty for coding with a mismatched distribution ν when reality is μ) Suppose the true distribution on D={A,B,C,D} is μ=(21,41,81,81), which has true entropy H2(μ)=1.75 bits using the lengths ℓμ=(1,2,3,3).
Now suppose Bob mistakenly believes the distribution is ν=(81,81,41,21)—assigning the shortest 1-bit codeword (0) to the rare outcome D and 3-bit codewords (110, 111) to the frequent outcomes A and B, so ℓν(x)=−log2ν(x)=(3,3,2,1). When nature actually draws X∼μ, Bob’s expected number of questions per symbol is Ex∼μ[ℓν(x)]=21⋅3+41⋅3+81⋅2+81⋅1=821=2.625 bits. How many extra bits per symbol did Bob waste because he coded for ν instead of the truth μ? Subtracting the true entropy H2(μ)=1.75=814 bits gives the excess cost Ex∼μ[ℓν(x)−ℓμ(x)]=x∈D∑μ(x)((−log2ν(x))−(−log2μ(x)))=x∈D∑μ(x)log2ν(x)μ(x)=87=0.875 bits.
KL divergence and its reunion with Chapter 4’s Bregman divergence
Look at the formula that just appeared in Example 3 for the expected excess surprisal of believing ν when reality is μ: x∈D∑μ(x)lnν(x)μ(x)=Ex∼μ[lnν(x)μ(x)]. We have met this exact functional before! In Chapter 4 (§1.7), when we chose negative Shannon entropy ψ(μ)=∑x∈Dμ(x)lnμ(x) as our mirror-descent regularizer on the probability simplex ΔD, its Bregman divergence was Bψ(μ,ν)=ψ(μ)−ψ(ν)−⟨∇ψ(ν),μ−ν⟩=x∈D∑μ(x)lnν(x)μ(x). And once we have this divergence between any two distributions, look at what happens when we expand the entropy reduction H(Y)−H(Y∣X) that we left open at the end of §1.2! Using μX,Y(x,y)=μX(x)μYX←x(y), we find H(Y)−H(Y∣X)=−y∈D∑μY(y)lnμY(y)+x,y∈D∑μX,Y(x,y)lnμYX←x(y)=x∈D∑μX(x)y∈D∑μYX←x(y)lnμY(y)μYX←x(y). For each fixed observation X=x, the inner sum over y is precisely the divergence from the prior distribution μY to the posterior distribution μYX←x! Thus H(Y)−H(Y∣X) measures how far, on average over x∼μX, observing X moves our belief about Y away from the prior μY.
Definition 3 (Kullback–Leibler (KL) divergence and mutual information) Let μ,ν be probability distributions on a finite set D, and let X,Y,Z be discrete random variables.
Kullback–Leibler (KL) divergence: The KL divergence (or relative entropy) from ν to μ is KL(μ∥ν):=x∈D∑μ(x)lnν(x)μ(x)=Ex∼μ[lnν(x)μ(x)], with the convention 0ln0:=0, 0ln(0/0):=0, and KL(μ∥ν):=+∞ if there exists x∈D with μ(x)>0 and ν(x)=0.
Mutual information: The mutual information between X and Y, and the conditional mutual information between X and Y given Z, are the average reductions in uncertainty: I(X;Y):=H(Y)−H(Y∣X),I(X;Y∣Z):=H(Y∣Z)−H(Y∣X,Z).
Kullback and Leibler (1951). Solomon Kullback and Richard A. Leibler introduced KL(μ∥ν) in On Information and Sufficiency (Annals of Mathematical Statistics, 1951) as the mean information for discrimination in favor of hypothesis μ against hypothesis ν per observation x∼μ: every outcome x multiplies the likelihood ratio μ(x)/ν(x), so its log-likelihood contribution lnν(x)μ(x) has expectation KL(μ∥ν) under μ.
Expressing entropy and mutual information in terms of KL(⋅∥⋅) immediately unlocks all of their foundational properties—and gives us the chain rules for KL and I as well.
Proposition 2 (Fundamental properties and chain rules for KL divergence and mutual information) Let X,Y,Z,X1,…,Xn be discrete random variables taking values in finite ranges. Then:
Gibbs’ inequality and the uniform capacity bound: For any distributions μ,ν on D, KL(μ∥ν)≥0 with equality if and only if μ=ν. Consequently, comparing μX against the uniform distribution uD(x)=1/∣D∣ gives H(X)=ln∣D∣−KL(μX∥uD)≤ln∣D∣, with equality if and only if X is uniformly distributed on D.
Mutual information as KL divergence (symmetry and conditioning reduces entropy): Mutual information is nonnegative, symmetric in X and Y, and satisfies I(X;Y)=Ex∼μX[KL(μYX←xμY)]=KL(μX,YμX⊗μY)=I(Y;X)≥0, with I(X;Y)=0 if and only if X and Y are independent (μX,Y=μX⊗μY). In particular, conditioning never increases entropy on average: H(Y∣X)=H(Y)−I(X;Y)≤H(Y), and similarly I(X;Y∣Z)=Ez∼μZEx∼μXZ←z[KL(μYX←x,Z←z∥μYZ←z)]≥0.
Chain rule for KL divergence: For any two joint distributions μX,Y and νX,Y, KL(μX,Y∥νX,Y)=KL(μX∥νX)+Ex∼μX[KL(μYX←xνYX←x)].
Chain rule for mutual information:I(X,Y;Z)=I(X;Z)+I(Y;Z∣X), and by induction, I(X1,X2,…,Xn;Z)=i=1∑nI(Xi;Z∣X<i).
Proof. For (1), since −lnt is strictly convex on (0,∞) (or using lnt≤t−1 with equality iff t=1), Jensen’s inequality gives KL(μ∥ν)=x:μ(x)>0∑μ(x)(−lnμ(x)ν(x))≥−lnx:μ(x)>0∑μ(x)μ(x)ν(x)=−lnν(supp(μ))≥0, with equality if and only if ν(x)/μ(x)=1 for all x∈supp(μ), i.e., μ=ν. Evaluating KL(μX∥uD)=∑x∈DμX(x)ln(∣D∣μX(x))=ln∣D∣−H(X)≥0 gives H(X)≤ln∣D∣.
For (2), we already expanded I(X;Y)=H(Y)−H(Y∣X)=Ex∼μX[KL(μYX←x∥μY)] above. Multiplying numerator and denominator inside lnμY(y)μYX←x(y) by μX(x) turns the ratio into μX(x)μY(y)μX,Y(x,y), so I(X;Y)=x,y∈D∑μX,Y(x,y)lnμX(x)μY(y)μX,Y(x,y)=KL(μX,YμX⊗μY). This expression is symmetric in X and Y, and by (1) it is nonnegative and equals 0 if and only if μX,Y=μX⊗μY. Applying the same identity to each conditional slice Z=z and averaging over z∼μZ yields the formula for I(X;Y∣Z)≥0.
For (3), substituting μX,Y(x,y)=μX(x)μYX←x(y) and νX,Y(x,y)=νX(x)νYX←x(y) into KL(μX,Y∥νX,Y) gives KL(μX,Y∥νX,Y)=x,y∈D∑μX(x)μYX←x(y)(lnνX(x)μX(x)+lnνYX←x(y)μYX←x(y))=KL(μX∥νX)+x∈D∑μX(x)y∈D∑μYX←x(y)lnνYX←x(y)μYX←x(y), which is KL(μX∥νX)+Ex∼μX[KL(μYX←x∥νYX←x)].
For (4), applying the entropy chain rule (Proposition 1) both unconditioned and conditioned on Z gives I(X1,…,Xn;Z)=H(X1,…,Xn)−H(X1,…,Xn∣Z)=i=1∑n(H(Xi∣X<i)−H(Xi∣Z,X<i))=i=1∑nI(Xi;Z∣X<i).
Superadditivity versus subadditivity of mutual information
When we expand I(X1,…,Xn;Z)=∑i=1nI(Xi;Z∣X<i), how does each conditioned term I(Xi;Z∣X<i) compare to the unconditioned marginal mutual information I(Xi;Z)? The direction of the inequality depends on where the independence lies.
Lemma 1 (Superadditivity and subadditivity of mutual information) Let X1,…,Xn and Z be discrete random variables.
Independent coordinates imply superadditivity: If X1,…,Xn are mutually independent, then I(X1,…,Xn;Z)=i=1∑nI(Xi;Z∣X<i)≥i=1∑nI(Xi;Z).
Conditionally independent coordinates given Z imply subadditivity: If X1,…,Xn are mutually independent conditioned on Z, then I(X1,…,Xn;Z)=i=1∑nI(Xi;Z∣X<i)≤i=1∑nI(Xi;Z).
Proof: comparing H(Xi∣X<i) and H(Xi∣Z,X<i) in each regime
For each coordinate i∈[n], write the i-th chain-rule summand as I(Xi;Z∣X<i)=H(Xi∣X<i)−H(Xi∣Z,X<i).
If X1,…,Xn are mutually independent, then Xi is independent of X<i, so H(Xi∣X<i)=H(Xi). Meanwhile, conditioning on extra variables can only reduce entropy (Proposition 2 (2)), so H(Xi∣Z,X<i)≤H(Xi∣Z). Subtracting the two gives I(Xi;Z∣X<i)=H(Xi)−H(Xi∣Z,X<i)≥H(Xi)−H(Xi∣Z)=I(Xi;Z), and summing over i=1,…,n yields I(X1,…,Xn;Z)≥∑i=1nI(Xi;Z).
Conversely, if X1,…,Xn are mutually independent conditioned on Z, then H(Xi∣Z,X<i)=H(Xi∣Z), whereas H(Xi∣X<i)≤H(Xi). Thus I(Xi;Z∣X<i)=H(Xi∣X<i)−H(Xi∣Z)≤H(Xi)−H(Xi∣Z)=I(Xi;Z), and summing over i=1,…,n yields I(X1,…,Xn;Z)≤∑i=1nI(Xi;Z).
Caution (The parity puzzle: why independent inputs can become dependent after conditioning on Z).
It is tempting to assume that when X1,…,Xn are mutually independent, I(X1,…,Xn;Z) should equal ∑i=1nI(Xi;Z). This fails because X1 and X2 need not remain independent after we condition on Z!
For a minimal counterexample, let X1,X2∼Ber(1/2) be two independent fair coins, and let Z:=X1⊕X2∈{0,1} be their parity (XOR). Marginally, Z is a fair coin that is completely independent of X1 alone and completely independent of X2 alone, so learning Z tells you nothing about either individual coin: I(X1;Z)=0andI(X2;Z)=0. Yet once we condition on X1, knowing the parity Z=X1⊕X2 determines X2=X1⊕Z completely! Thus I(X2;Z∣X1)=H(X2∣X1)−0=ln2 (1 bit) and I(X1,X2;Z)=ln2>0+0. As we will see in Reading §2.4, the superadditivity direction ∑i=1nI(Xi;Z)≤I(X1,…,Xn;Z)≤H(Z) is the exact engine behind one-way communication and streaming lower bounds.
1.4 Data processing, test functions, and Pinsker’s inequality: why small KL divergence implies statistical indistinguishability
We now reach the climax of our information-theoretic toolkit. Suppose an algorithm observes a random variable X (such as an interaction transcript or a sample from an unknown environment) drawn from one of two candidate distributions μX or νX on D, and applies an arbitrary—possibly randomized—computation X↦S∈S to produce a decision, action, or summary statistic S.
Can clever post-processing X↦S ever amplify the KL divergence between the two worlds? And if KL(μX∥νX) is small, how much can the expected behavior of any observable differ between μX and νX?
Let us break this down into three clean ideas:
Post-processing cannot create KL divergence: Because the algorithm’s post-processing rule Q(s∣x)=P[S=s∣X=x] depends only on the observed input x and not on which hidden world (μ or ν) generated x, the conditional distribution of S given X=x is identical in both worlds: μSX←x=νSX←x. Expanding KL(μX,S∥νX,S) via the KL chain rule in the order (X,S) therefore kills the second term, while expanding in the reverse order (S,X) drops a nonnegative conditional KL term—proving the Data Processing InequalityKL(μS∥νS)≤KL(μX∥νX)!
Probing two distributions with bounded test functions: Why do lower-bound proofs care about bounding expectation differences ∣Eμ[Z]−Eν[Z]∣? Think of any bounded function Z:D→[0,B] as a test function (or quantitative probe) whose integral under each distribution tests whether an algorithm behaves differently in world μ versus world ν—for instance, the indicator Z=1A∈{0,1} of a decision event (B=1), or the total pull count Z=Ni∗(T)∈[0,T] of an arm over T rounds (B=T). By (ℓ1,ℓ∞) duality, the supremum of ∣Eμ[Z]−Eν[Z]∣ over all test functions Z:D→[0,B] is governed directly by the total variation distancedTV(μ,ν):=21∑x∈D∣μ(x)−ν(x)∣, and is attained by the binary indicator of A∗:={x∈D:μ(x)≥ν(x)}.
Projecting onto a single coin flip to prove Pinsker’s inequality: Specializing the post-processing map in Data Processing to that extremal binary test indicator S:=1{X∈A∗}∈{0,1} collapses the arbitrary state space D onto a single Bernoulli coin flip, reducing Pinsker’s inequality on any space D to a two-line scalar derivative check! (Why not skip KL divergence altogether and bound dTV across rounds directly via a triangle-inequality chain rule? Reading §2.2 shows why that direct L1 route loses a T factor.)
)ᶜ (μ < ν) S = 1_{A} S = 1S = 0
Applying the KL chain rule to S=1{X∈A∗} projects any state space D onto a single Bernoulli coin flip with μS(1)−νS(1)=dTV(μ,ν).
Theorem 1 (Data Processing Inequality, test-function duality, and Pinsker’s inequality) Let μX and νX be two probability distributions on a finite space D.
Data Processing Inequality for KL divergence: Let Q(s∣x) be any transition kernel (randomized post-processing channel, or deterministic map S=f(X)) from D to a state space S, and let μS(s)=∑x∈DμX(x)Q(s∣x) and νS(s)=∑x∈DνX(x)Q(s∣x) be the induced output distributions. Then KL(μS∥νS)≤KL(μX∥νX).
Test-function variational characterization of total variation: Let dTV(μ,ν):=21∑x∈D∣μ(x)−ν(x)∣. For every B>0, Z:D→[0,B]supEμ[Z]−Eν[Z]=BdTV(μ,ν)=BA⊆Dmax(μ(A)−ν(A)).
Pinsker’s inequality and bounded test-function indistinguishability: We have dTV(μ,ν)2≤21KL(μ∥ν)(or dTV(μ,ν)2≤2ln2KL2(μ∥ν) when KL2 uses log2), and consequently, for every bounded test function Z:D→[0,B] and every event A⊆D, μ(A)−ν(A)Eμ[Z]−Eν[Z]≤dTV(μ,ν)≤21KL(μ∥ν),≤BdTV(μ,ν)≤B21KL(μ∥ν).
Proof. Part 1 (Data Processing via the KL chain rule): Let μX,S(x,s)=μX(x)Q(s∣x) and νX,S(x,s)=νX(x)Q(s∣x) be the joint distributions on D×S. Because both joint laws share the exact same conditional transition kernel μSX←x(s)=νSX←x(s)=Q(s∣x), expanding KL(μX,S∥νX,S) via the KL chain rule (Proposition 2 (3)) first in the order (X,S) gives KL(μX,S∥νX,S)=KL(μX∥νX)+Ex∼μX[=0KL(μSX←xνSX←x)]=KL(μX∥νX). Expanding the same joint divergence in the reverse order (S,X) and using nonnegativity of the conditional KL term (Proposition 2 (1)) gives KL(μX,S∥νX,S)=KL(μS∥νS)+Es∼μS[KL(μXS←sνXS←s)]≥KL(μS∥νS). Combining the two displays proves KL(μS∥νS)≤KL(μX∥νX).
Part 2 (Test-function variational duality): Since ∑x∈D(μ(x)−ν(x))=1−1=0, subtracting the midpoint constant 2B from any test function Z:D→[0,B] gives ∣Z(x)−2B∣≤2B for all x∈D, so (ℓ1,ℓ∞) Hölder duality yields Eμ[Z]−Eν[Z]=x∈D∑(μ(x)−ν(x))(Z(x)−2B)≤2Bx∈D∑μ(x)−ν(x)=BdTV(μ,ν). Conversely, let A∗:={x∈D:μ(x)≥ν(x)}. Because ∑x∈A∗(μ(x)−ν(x))−∑x∈(A∗)c(ν(x)−μ(x))=0, both sums equal 21∑x∈D∣μ(x)−ν(x)∣=dTV(μ,ν), so the indicator test function Z∗(x):=B1{x∈A∗}∈{0,B} attains Eμ[Z∗]−Eν[Z∗]=B(μ(A∗)−ν(A∗))=BdTV(μ,ν).
Part 3 (Pinsker’s inequality via coarse-graining and scalar calculus): Define the deterministic post-processing map S:=1{X∈A∗}∈{0,1} where A∗={x∈D:μX(x)≥νX(x)}. Its output distributions μS=Ber(p) and νS=Ber(q) satisfy p:=μX(A∗)≥q:=νX(A∗) and p−q=dTV(μX,νX). By Part 1, KL(μX∥νX)≥KL(μS∥νS), so it suffices to check the scalar inequality plnqp+(1−p)ln1−q1−p≥2(p−q)2 for 0≤q≤p≤1. (If q=0<p, the left-hand side is +∞; if p=q, both sides are 0.) For fixed p∈(0,1) and q∈(0,p], differentiate g(q):=plnqp+(1−p)ln1−q1−p−2(p−q)2 with respect to q: g′(q)=−qp+1−q1−p+4(p−q)=q(1−q)−p(1−q)+(1−p)q+4(p−q)=(p−q)(4−q(1−q)1)≤0, because q(1−q)≤41 implies 4−q(1−q)1≤0 while p−q≥0. Hence g(q)≥g(p)=0 for all q∈(0,p], giving KL(μX∥νX)≥KL(μS∥νS)=plnqp+(1−p)ln1−q1−p≥2(p−q)2=2dTV(μX,νX)2, and combining with Part 2 yields ∣Eμ[Z]−Eν[Z]∣≤BdTV(μ,ν)≤B21KL(μ∥ν).
1.5 The adaptive multi-armed bandit model and the T/n exploration trap
With the KL chain rule, Data Processing, and test-function Pinsker indistinguishability in hand, let us return to the online learning puzzle that opened this chapter: Why did negative-entropy regularization compress full-information expert prediction to O(Tlnn) (shown to be tight in Reading §2.1), yet leave a polynomial dimension factor n in the O(nTlnn) bound of EXP3 under bandit feedback?
In full information, every round reveals all n components of the loss vector ℓt, so after T rounds the learner has observed T samples from every single experti∈[n]. Under bandit feedback, by contrast, the learner observes only the single reward Rt of the arm At∈[n] it actually pulled at round t. To prove a lower bound that holds against every conceivable bandit policy—whether it uses UCB (Chapter 1), EXP3 (Chapter 4), or arbitrary history-dependent randomization—let us specify the probability space of T-round interaction transcripts.
Definition 4 (Canonical bandit model, interaction transcript, and expected regret) Fix n≥2 arms and a time horizon T≥1.
Environment (instance): A Bernoulli bandit environmentν=(ν1,…,νn) is a tuple of n reward distributions on {0,1}, where arm i∈[n] generates reward 1 with probability μi∈[0,1] and 0 with probability 1−μi, i.e., νi=Ber(μi).
Adaptive bandit policy: A bandit algorithm (policy)A=(π1,…,πT) is a sequence of conditional probability kernels on [n]: at round t∈[T], given the observed history Ht−1:=(A1,R1,…,At−1,Rt−1)∈Ωt−1:=([n]×{0,1})t−1 (with H0:=∅), the learner draws an action At∈[n] from the distribution πt(⋅∣Ht−1)∈Δn, and the environment draws a binary reward Rt∼νAt conditionally independently of the past given (Ht−1,At): PνA[At=at∣Ht−1=ht−1]PνA[Rt=rt∣Ht−1=ht−1,At=at]=πt(at∣ht−1),=νat(rt).
Transcript measure and pull counts: Together, the policy A and environment ν define a probability distribution PνA (with expectation EνA, abbreviated Eν when A is fixed) over the full T-round transcriptHT=(A1,R1,…,AT,RT)∈ΩT=([n]×{0,1})T. For each arm i∈[n], let Ni(T):=t=1∑T1{At=i} denote the total number of times arm i is pulled during the T rounds, so ∑i=1nNi(T)=T on every transcript.
Expected regret: Let μ∗(ν):=maxi∈[n]μi be the highest mean reward in ν, and let Δi(ν):=μ∗(ν)−μi≥0 be the suboptimality gap of arm i. By conditioning each round’s reward Rt on (Ht−1,At) (the tower property), the expected regret of A on environment ν is RegT(A,ν):=Tμ∗(ν)−Eν[t=1∑TRt]=i=1∑nΔi(ν)Eν[Ni(T)].
Why a stochastic lower bound also lower-bounds adversarial bandits. In Chapter 4 we defined adversarial bandits using losses ℓt∈[0,1]n chosen by an oblivious adversary. Setting ℓt(i):=1−Rt,i where Rt,i∼νi is drawn i.i.d. across t=1,…,T embeds any stochastic Bernoulli environment ν as a randomized oblivious adversary! By linearity of expectation, E[∑t=1Tℓt(At)−mini∈[n]∑t=1Tℓt(i)]≥maxi∈[n]E[∑t=1T(Rt,i−Rt,At)]=RegT(A,ν), so supνRegT(A,ν)=Ω(nT) immediately implies an Ω(nT) worst-case lower bound for adversarial bandits.
Now let us see how the conservation law ∑i=1nNi(T)=T traps every bandit algorithm:
Caution (The 1-versus-n feedback bottleneck and the hidden optimal arm).
Consider a completely flat base environmentν(0) in which every arm i∈[n] is a fair coin Ber(1/2). Taking expectations under P0:=Pν(0)A gives i=1∑nE0[Ni(T)]=T. By the pigeonhole principle, for any fixed algorithm A, there exists at least one arm i∗∈[n] that A pulls at most an average of T/n times under ν(0): E0[Ni∗(T)]≤nT. Now construct a perturbed environmentν(i∗) by secretly boosting the mean of only that least-explored arm i∗ from 21 to 21+Δ, while leaving all other n−1 arms at Ber(1/2).
Look at the learner’s predicament: whenever A pulls any of the other n−1 arms j=i∗, the reward distribution is Ber(1/2) under bothν(0) and ν(i∗)—so those pulls reveal zero information about whether the true environment is ν(0) or ν(i∗)! Statistical evidence distinguishing ν(i∗) from ν(0) arrives only on the rounds where A pulls arm i∗ itself, which happens at most T/n times in expectation under ν(0).
1.6 The Bandit Divergence Decomposition and the Ω(nT) minimax regret lower bound
To turn the trap in §1.5 into a theorem via Pinsker’s inequality (Theorem 1), we need to compute the exact KL divergence KL(PνA∥Pν′A) between two T-round transcript distributions PνA and Pν′A when the policy A chooses arms adaptively.
Look at how directly this follows from the KL chain rule (§1.3, Proposition 2 (3)) and the Data Processing cancellation (§1.4, Theorem 1 (1))! In each round t=1,…,T, the transcript extends from Ht−1 to Ht=(Ht−1,At,Rt) in two half-steps:
Action selection Ht−1↦(Ht−1,At): Given the past history Ht−1=ht−1, the learner draws At∼πt(⋅∣ht−1). Because the learner does not know whether the environment is ν or ν′, its conditional kernel πt(at∣ht−1) is identical under PνA and Pν′A. Just as in the proof of the Data Processing Inequality, the conditional KL divergence of choosing At given Ht−1=ht−1 is zero: KL(πt(⋅∣ht−1)πt(⋅∣ht−1))=0!
Reward observation (Ht−1,At)↦(Ht−1,At,Rt): Conditional on (Ht−1=ht−1,At=at), the environment draws Rt∼νat in world ν and Rt∼νat′ in world ν′. By the KL chain rule, this step adds exactly KL(νat∥νat′) to the divergence!
Equivalently, writing out the full transcript likelihood PνA(hT)=∏t=1Tπt(at∣ht−1)νat(rt), the algorithm’s policy factors πt(at∣ht−1) cancel completely between numerator and denominator: lnPν′A(hT)PνA(hT)=t=1∑T=0 (policy cancels!)lnπt(at∣ht−1)πt(at∣ht−1)+t=1∑Tlnνat′(rt)νat(rt)=t=1∑Tlnνat′(rt)νat(rt).
At round t, choosing At given Ht−1 contributes zero KL divergence because πt is identical under both worlds; observing Rt∼νAt contributes KL(νAt∥νAt′).
Taking the expectation of this sum under PνA yields the fundamental identity of bandit lower-bound theory.
Lemma 2 (Bandit Divergence Decomposition Identity) For any n-armed bandit policy A, any horizon T≥1, and any two bandit environments ν=(ν1,…,νn) and ν′=(ν1′,…,νn′) such that KL(νi∥νi′)<∞ for all i∈[n], the KL divergence between the induced T-round transcript distributions PνA and Pν′A satisfies KL(PνAPν′A)=i=1∑nEν[Ni(T)]⋅KL(νi∥νi′).
Proof. By induction on T using the KL chain rule (Proposition 2 (3))—or equivalently by taking the expectation of the log-likelihood cancellation display above under HT=(A1,R1,…,AT,RT)∼PνA—we have KL(PνAPν′A)=Eν[lnPν′A(HT)PνA(HT)]=t=1∑TEν[lnνAt′(Rt)νAt(Rt)]. For each round t∈[T], condition first on (Ht−1,At). Conditional on (Ht−1,At), if At=i, the reward Rt is drawn fresh from νi, so Eν[lnνAt′(Rt)νAt(Rt)Ht−1,At]=i=1∑n1{At=i}ER∼νi[lnνi′(R)νi(R)]=i=1∑n1{At=i}KL(νi∥νi′). Taking the outer expectation over (Ht−1,At) and summing from t=1 to T gives KL(PνAPν′A)=t=1∑TEν[i=1∑n1{At=i}KL(νi∥νi′)]=i=1∑nEν[t=1∑T1{At=i}]KL(νi∥νi′)=i=1∑nEν[Ni(T)]⋅KL(νi∥νi′), where we substituted Ni(T)=∑t=1T1{At=i}.
Historical origins of divergence decomposition. The idea of decomposing the log-likelihood ratio of an adaptive sequential experiment into expected pull counts times single-arm KL divergences originates in Tze Leung Lai and Herbert Robbins’s landmark paper Asymptotically Efficient Adaptive Allocation Rules (Advances in Applied Mathematics, 1985) and was cast into the clean non-asymptotic KL identity of Lemma 2 by Peter Auer, Nicolò Cesa-Bianchi, Yoav Freund, and Robert E. Schapire (1995/2002) and Sébastien Bubeck and Nicolò Cesa-Bianchi (2012).
To see the policy cancellation in Lemma 2 with our own eyes, let us check it by hand on a two-round adaptive policy.
Example 4 (Verifying the Divergence Decomposition Identity on a 2-round adaptive policy) Consider n=2 Bernoulli arms with νi=Ber(pi) and νi′=Ber(qi) (i=1,2) over T=2 rounds, and consider the deterministic adaptive “Win-Stay, Lose-Shift” policy A:
At round t=1, always pull arm A1=1.
At round t=2, if R1=1, stay on arm A2=1; if R1=0, switch to arm A2=2.
Only four transcripts h2=(a1,r1,a2,r2) have nonzero probability under A:
Transcript h2=(a1,r1,a2,r2)
Probability PνA(h2)
Log-likelihood ratio lnPν′A(h2)PνA(h2)
Pull counts (N1,N2)
(1,1,1,1)
p1⋅p1
lnq1p1+lnq1p1
(2,0)
(1,1,1,0)
p1⋅(1−p1)
lnq1p1+ln1−q11−p1
(2,0)
(1,0,2,1)
(1−p1)⋅p2
ln1−q11−p1+lnq2p2
(1,1)
(1,0,2,0)
(1−p1)⋅(1−p2)
ln1−q11−p1+ln1−q21−p2
(1,1)
Summing PνA(h2)lnPν′A(h2)PνA(h2) across the four rows:
The first-round terms sum to p1lnq1p1+(1−p1)ln1−q11−p1=KL(ν1∥ν1′);
The second-round terms on rows 1–2 (where R1=1, probability p1) sum to p1KL(ν1∥ν1′);
The second-round terms on rows 3–4 (where R1=0, probability 1−p1) sum to (1−p1)KL(ν2∥ν2′).
Adding these gives (1+p1)KL(ν1∥ν1′)+(1−p1)KL(ν2∥ν2′)=Eν[N1(2)]KL(ν1∥ν1′)+Eν[N2(2)]KL(ν2∥ν2′), matching Lemma 2!
Closing the trap: the Ω(nT) minimax lower bound
Before stating the main theorem, let us record the elementary quadratic upper bound on the KL divergence between Ber(1/2) and Ber(21+Δ).
Lemma 3 (Quadratic upper bound on fair-to-biased Bernoulli KL divergence) For every Δ∈[0,1/4], KL(Ber(21)Ber(21+Δ))=−21ln(1−4Δ2)≤4Δ2.
Proof. By definition of KL divergence between Ber(1/2) and Ber(21+Δ), KL(Ber(21)Ber(21+Δ))=21ln1/2+Δ1/2+21ln1/2−Δ1/2=21ln1/4−Δ21/4=−21ln(1−4Δ2). For u=4Δ2∈[0,1/4], the elementary inequality −ln(1−u)=∫0u1−tdt≤1−1/4u=34u≤2u gives −21ln(1−4Δ2)≤u=4Δ2.
Why put Ber(1/2) in the first argument of KL(⋅∥⋅)? Placing the fair coin Ber(1/2) on the left makes the two log-ratios ln1/2+Δ1/2 and ln1/2−Δ1/2 combine with equal weights 1/2 into −21ln(1−4Δ2)! Even more importantly, in Theorem 2 it puts the base measure P0 on the left of KL(P0∥Pi∗), so the Divergence Decomposition weights the KL by E0[Ni∗(T)]≤T/n under the single base environment ν(0).
Combining the pigeonhole choice of i∗, the Bandit Divergence Decomposition Identity (Lemma 2), the Bernoulli KL bound (Lemma 3), and Pinsker indistinguishability (Theorem 1 (3)) yields the minimax lower bound for multi-armed bandits in four short steps.
Theorem 2 (The Ω(nT) minimax regret lower bound for multi-armed bandits) Let n≥2 and T≥n/2. For every bandit algorithm A, there exists an n-armed Bernoulli environment ν such that RegT(A,ν)≥1621nT≈0.0442nT=Ω(nT).
Proof. Fix any bandit algorithm A, and let ν(0):=(Ber(1/2),…,Ber(1/2)) be the flat base environment in which all n arms are fair coins, with induced transcript distribution P0:=Pν(0)A and expectation E0.
Step 1 (Identifying the least-explored arm under ν(0)): Because ∑i=1nNi(T)=T on every transcript, linearity of expectation gives ∑i=1nE0[Ni(T)]=T. By the pigeonhole principle, there exists at least one arm i∗∈[n] such that E0[Ni∗(T)]≤nT≤2T(since n≥2).
Step 2 (Bounding the transcript KL divergence to ν(i∗)): Fix a gap parameter Δ∈(0,1/4] to be chosen in Step 3, and define the perturbed environment ν(i∗) by setting νi∗(i∗):=Ber(21+Δ)andνj(i∗):=Ber(21)for all j∈[n]∖{i∗}. Write Pi∗:=Pν(i∗)A and Ei∗ for the transcript law and expectation under ν(i∗). Because νj(0)=νj(i∗) has KL(νj(0)∥νj(i∗))=0 for every arm j=i∗, the Bandit Divergence Decomposition Identity (Lemma 2) and Lemma 3 give KL(P0Pi∗)=j=1∑nE0[Nj(T)]⋅KL(νj(0)νj(i∗))=E0[Ni∗(T)]⋅KL(Ber(21)Ber(21+Δ))≤nT⋅4Δ2.
Step 3 (Pinsker indistinguishability on the pull-count test function Ni∗(T)): View the pull count Z:=Ni∗(T)∈[0,T] as a bounded test function on the transcript space ΩT with range B=T. By Theorem 1 (3) and the symmetry dTV(Pi∗,P0)=dTV(P0,Pi∗), Ei∗[Ni∗(T)]−E0[Ni∗(T)]≤TdTV(Pi∗,P0)≤T21KL(P0Pi∗)≤T21⋅nT⋅4Δ2=TΔn2T. Now choose the perturbation size Δ:=421Tn∈(0,41](since T≥n/2). With this choice, TΔn2T=4T. Combining this with E0[Ni∗(T)]≤nT≤2T yields Ei∗[Ni∗(T)]≤2T+4T=43T.
Step 4 (Converting unpulled optimal rounds into regret): Under environment ν(i∗), arm i∗ is the unique optimal arm (with mean μ∗=21+Δ), and every pull of any suboptimal arm j=i∗ incurs suboptimality gap Δj=Δ. By Definition 4 (4), RegT(A,ν(i∗))=j=i∗∑ΔEi∗[Nj(T)]=ΔEi∗[T−Ni∗(T)]≥Δ(T−43T)=41TΔ=1621nT.
When 1≤T<n/2, placing deterministic reward 1 on a single least-pulled arm i∗ (with E0[Ni∗(T)]≤T/n<1/2 under all-0 rewards) similarly forces RegT≥T/2, so across all horizons (n,T) the minimax regret of n-armed bandits is Ω(min{T,nT})—matching Chapter 4’s O(nTlnn) EXP3 bound up to lnn (and matched to within a constant factor by Tsallis-INF). Under bandit feedback, the conservation law ∑i=1nE0[Ni(T)]=T starves at least one arm down to T/n expected samples, inflating the undetectable gap threshold from Θ(1/T) to Θ(n/T) and making the n factor an unbreakable law of information. (See Reading §2.1 for the contrasting Ω(Tlnn) full-information expert lower bound and a side-by-side synthesis table, and Reading §2.2 for why bounding dTV directly without KL divergence loses the T factor.)
II. Reading Contents
2.1 Full-information expert lower bounds: why complete feedback pays only Ω(Tlnn)
In Course Content (§§1.5–1.6), we proved that under bandit feedback, sample starvation (E0[Ni∗(T)]≤T/n) forces Ω(nT) regret. By contrast, under full information—where the learner observes the entire loss vector ℓt=(ℓt(1),…,ℓt(n))∈{0,1}n at the end of every round t—Multiplicative Weights Update achieves O(Tlnn) regret (Chapter 4, §1.9, Theorem 7). Let us verify that this Θ(Tlnn) rate is also unimprovable, and see why its mechanism is completely different from the bandit information bottleneck.
Suppose the adversary simply tosses an independent fair coin ℓt(i)∼Ber(1/2) for every expert i∈[n] and every round t∈[T]. How much mutual information does the past history Ft−1=σ(ℓ1,…,ℓt−1) carry about the round-t losses ℓt? Zero! Because ℓt is independent of Ft−1, every online algorithm—no matter how it chooses its weight vector pt∈Δn based on Ft−1—suffers expected loss 21 on every round, and hence 2T over T rounds. Yet in hindsight, the minimum cumulative loss among n independent symmetric random walks fluctuates below2T by Θ(Tlnn)!
Theorem 3 (The Ω(Tlnn) minimax regret lower bound for full-information experts) Consider the n-expert prediction game over T rounds with binary losses ℓt(i)∈{0,1}. Draw all nT losses ℓt(i)∼Ber(1/2) (i∈[n],t∈[T]) mutually independently. Then for every (possibly randomized and history-dependent) full-information algorithm A:
The algorithm’s expected cumulative loss is exactly E[∑t=1T⟨pt,ℓt⟩]=2T;
As T→∞ (followed by n→∞), the expected regret satisfies T→∞limTE[RegT(A)]=21E[i∈[n]maxZi]=(1−on(1))2lnn (where Z1,…,Zn∼i.i.d.N(0,1)), and non-asymptotically, for every n≥2 and T≥4lnn, E[RegT(A)]=Ω(Tlnn).
Proof. For (1), since pt∈Δn is Ft−1-measurable and ℓt∼Ber(1/2)⊗n is independent of Ft−1, the tower property gives E[⟨pt,ℓt⟩]=E[⟨pt,E[ℓt∣Ft−1]⟩]=E[i=1∑npt,i⋅21]=21, and summing over t=1,…,T yields E[∑t=1T⟨pt,ℓt⟩]=T/2.
For (2), let LT(i):=∑t=1Tℓt(i)∼Bin(T,1/2), and define the standardized gain Wi:=T/4T/2−LT(i)=T1∑t=1T(1−2ℓt(i)), which has mean 0 and variance 1. Then E[RegT(A)]=2T−E[i∈[n]minLT(i)]=2TE[i∈[n]maxWi]. By the Central Limit Theorem and uniform integrability of maxi∈[n]∣Wi∣, as T→∞ for fixed n, (W1,…,Wn)⇒(Z1,…,Zn)∼N(0,1)⊗n, where E[maxi∈[n]Zi]=(1−on(1))2lnn as n→∞.
Proof of the non-asymptotic finite-(n,T) lower bound for T≥4lnn
When T≥4lnn, Stirling’s formula applied to the central binomial probabilities of LT(1)∼Bin(T,1/2) (see, e.g., Cesa-Bianchi and Lugosi 2006, Lemma A.11) shows that for u=21lnn≤41T, there is an absolute constant c>0 such that q:=P[W1≥u]≥cexp(−u2)=cn−1/4. By mutual independence of W1,…,Wn, the maximum Wmax:=maxi∈[n]Wi satisfies P[Wmax<u]=(1−q)n≤exp(−nq)≤exp(−cn3/4). Since E[Wmax2]≤∑i=1nE[Wi2]=n, Cauchy–Schwarz on the tail event {Wmax<u} gives E[Wmax1{Wmax<u}]≥−(E[Wmax2]P[Wmax<u])1/2≥−nexp(−2cn3/4), and hence E[Wmax]≥u(1−exp(−cn3/4))−nexp(−2cn3/4)=Ω(lnn) for all sufficiently large n≥n0. Finally, for bounded 2≤n<n0, we have E[Wmax]≥E[max(W1,W2)]=21E∣W1−W2∣≥c0>0 uniformly in T≥1 by Khintchine’s inequality. Multiplying by T/2 yields E[RegT(A)]=Ω(Tlnn) for all n≥2 and T≥4lnn.
Putting Theorem 3 and Theorem 2 side by side with the upper bounds of Chapter 4 gives the complete picture across both feedback models:
Online Learning Feedback Model
Per-Round Observation
Effective Sample Size on the Least-Observed Coordinate
Source of Regret & Indistinguishability Scale
Minimax Regret Bounds
Full-Information Experts (Ch 4 & §2.1)
Entire loss vector ℓt∈{0,1}n (n observations per round)
Every expert i∈[n] is observed all T times (Ni(T)≡T; no 1/n dilution!)
No exploration bottleneck; regret comes from the extreme-value fluctuation maxi∈[n]Wi≍lnn of n random walks
Single scalar reward Rt∈{0,1} of pulled arm At (1 observation per round)
Conservation ∑i=1nE0[Ni(T)]=T forces ∃i∗∈[n] with E0[Ni∗(T)]≤nT
Arm i∗ accumulates KL ≤n4TΔ2; by Pinsker, gap Δ≍n/T is undetectable
Ω(nT) (Theorem 2); O(nTlnn) via EXP3 (Ch 4, §1.9) / Θ(nT) via Tsallis-INF
2.2 Why not bound total variation directly? The TV chain inequality versus KL divergence and Pinsker
Looking back at Step 3 of Theorem 2, our goal all along was to upper-bound the total variation distance dTV(P0,Pi∗) so that we could control the test-function gap Ei∗[Ni∗(T)]−E0[Ni∗(T)]≤TdTV(P0,Pi∗). A natural question arises: Does total variation distance satisfy its own chain rule—and if so, why did we take a detour through KL divergence and Pinsker’s inequality instead of bounding dTV(P0,Pi∗) directly across the T rounds?
Total variation distance does satisfy a clean chain subadditivity inequality (and its own data-processing contraction), proved by inserting a one-step hybrid distribution and applying the triangle inequality:
Proposition 3 (Chain subadditivity inequality for total variation distance)
Two-stage TV chain inequality: For any two joint distributions μX,Y and νX,Y on X×Y, dTV(μX,Y,νX,Y)≤dTV(μX,νX)+Ex∼μX[dTV(μYX←x,νYX←x)].
Sequential TV bound for adaptive bandits: For any n-armed bandit policy A, any horizon T≥1, and any two environments ν=(ν1,…,νn) and ν′=(ν1′,…,νn′), dTV(PνA,Pν′A)≤i=1∑nEν[Ni(T)]dTV(νi,νi′).
Proof. For (1), introduce the hybrid joint distribution ηX,Y(x,y):=μX(x)νYX←x(y) that draws X∼μX from the first law and Y∣X=x from the second law. By the ℓ1 triangle inequality, dTV(μX,Y,νX,Y)≤dTV(μX,Y,ηX,Y)+dTV(ηX,Y,νX,Y). Factoring out μX(x) in the first term and summing ∑y∈YνYX←x(y)=1 in the second term gives dTV(μX,Y,ηX,Y)dTV(ηX,Y,νX,Y)=21x∈X∑μX(x)y∈Y∑μYX←x(y)−νYX←x(y)=Ex∼μX[dTV(μYX←x,νYX←x)],=21x∈X∑μX(x)−νX(x)y∈Y∑νYX←x(y)=dTV(μX,νX). For (2), apply (1) inductively at each round t=1,…,T: in the action-selection step Ht−1↦(Ht−1,At), the shared policy kernel πt(⋅∣ht−1) contributes dTV(πt(⋅∣ht−1),πt(⋅∣ht−1))=0; in the reward step (Ht−1,At)↦Rt, conditioning on At=i adds dTV(νi,νi′), whose expectation under PνA sums over t=1,…,T to ∑i=1nEν[Ni(T)]dTV(νi,νi′).
At first glance, Proposition 3 (2) looks almost identical to the Bandit Divergence Decomposition Identity (Lemma 2)! Watch what happens, however, when we plug our flat base environment ν(0) and single-arm perturbation ν(i∗) into Proposition 3 (2):
For a single pull of arm i∗, the total variation distance between Ber(1/2) and Ber(21+Δ) is linear (first-order) in Δ: dTV(Ber(21),Ber(21+Δ))=(21+Δ)−21=Δ.
Substituting E0[Ni∗(T)]≤nT into Proposition 3 (2) therefore gives only dTV(P0,Pi∗)≤E0[Ni∗(T)]⋅Δ≤nTΔ.
To force this upper bound below 41 (so that Ei∗[Ni∗(T)]≤43T), we would have to shrink the gap all the way down to Δ≍Tn! Multiplying by 41T unpulled rounds would then yield only the trivial horizon-free lower bound RegT(A,ν(i∗))≥Ω(TΔ)=Ω(T⋅Tn)=Ω(n), losing the entire T factor!
Why did the TV chain inequality lose T, while KL divergence + Pinsker succeeded? Even for m i.i.d. coin flips P=Ber(1/2)⊗m versus Q=Ber(21+Δ)⊗m (where here m≍T/n is the effective pull count on arm i∗), distinguishing P from Q is governed by the empirical sum ∑s=1mXs, whose signal shifts by mΔ while its standard deviation grows like Θ(m)—so the true total variation distance is Θ(min{1,mΔ}).
Applying the triangle inequality step by step in L1 discards the stochastic cancellation of independent fluctuations across rounds, accumulating m errors linearly as mΔ. Passing to KL divergence works in an additive variance-like (L2-type) geometry: each pull adds only a quadratic cost Θ(Δ2) with exact equality across adaptive rounds, and applying Pinsker’s square root once at the very end recovers the true mΔ=T/nΔ central-limit scaling.
2.3 The Bretagnolle–Huber bound and Lai–Robbins instance-dependent bandit lower bounds
In Chapter 1 we proved that the Upper Confidence Bound (UCB) algorithm achieves two complementary regret guarantees on stochastic multi-armed bandits:
an instance-independent (minimax) bound of O(nTlnT), matched up to lnT by our Ω(nT) lower bound in §1.6 (Theorem 2); and
an instance-dependent bound of O(∑i:Δi>0ΔilnT) for any fixed environment ν as T→∞.
Can any consistent bandit algorithm beat the ∑i:Δi>0ΔilnT logarithmic growth on a fixed environment ν? Notice why Pinsker’s inequality dTV(P,Q)≤21KL(P∥Q) is no longer the right tool when KL(P∥Q)≍lnT≫2: the right-hand side of Pinsker’s inequality exceeds 1 as soon as KL(P∥Q)>2, whereas dTV(P,Q) is always bounded by 1!
To convert large KL divergences (KL≫1) into exponentially small error probabilities, we use the Bretagnolle–Huber inequality (Jean Bretagnolle and Catherine Huber, 1979).
Lemma 4 (The Bretagnolle–Huber high-confidence testing inequality) For any two probability distributions P and Q on a measurable space Ω and any event A⊆Ω, P(A)+Q(Ac)≥21exp(−KL(P∥Q)),and hencedTV(P,Q)≤1−21exp(−KL(P∥Q)).
Proof: Cauchy–Schwarz between min(P,Q) and Neyman–Pearson likelihood ratios
For any event A⊆Ω, replacing the indicators of A and Ac by the pointwise minimum min{P(ω),Q(ω)} gives P(A)+Q(Ac)=ω∈A∑P(ω)+ω∈Ac∑Q(ω)≥ω∈Ω∑min{P(ω),Q(ω)}=1−dTV(P,Q). Meanwhile, since min{u,v}+max{u,v}=u+v, we have ∑ω∈Ωmax{P(ω),Q(ω)}=1+dTV(P,Q). Applying the Cauchy–Schwarz inequality to min{P(ω),Q(ω)}⋅max{P(ω),Q(ω)}=P(ω)Q(ω) gives ω∈Ω∑P(ω)Q(ω)=ω∈Ω∑min{P(ω),Q(ω)}⋅max{P(ω),Q(ω)}≤ω∈Ω∑min{P(ω),Q(ω)}⋅ω∈Ω∑max{P(ω),Q(ω)}=1−dTV(P,Q)2. On the other hand, by Jensen’s inequality applied to the convex function t↦exp(−21t), ω∈Ω∑P(ω)Q(ω)=Eω∼P[exp(−21lnQ(ω)P(ω))]≥exp(−21Eω∼P[lnQ(ω)P(ω)])=exp(−21KL(P∥Q)). Combining the two displays and squaring gives 1−dTV(P,Q)2≥exp(−KL(P∥Q)). Finally, since 1−dTV2=(1−dTV)(1+dTV)≤2(1−dTV), we obtain P(A)+Q(Ac)≥1−dTV(P,Q)≥21−dTV(P,Q)2≥21exp(−KL(P∥Q)).
Combining Lemma 2 with Lemma 4 yields the celebrated Lai–Robbins theorem (1985): any bandit policy that is consistent across all Bernoulli environments—meaning its regret grows subpolynomially as RegT(A,ν)=o(Ta) for every a>0 on every environment ν—must pull every suboptimal arm i at least (KL(νi∥ν∗)1−o(1))lnT times!
Theorem 4 (Lai–Robbins instance-dependent lower bound for consistent bandit policies) Let A be a consistent bandit algorithm (so RegT(A,ν′)=o(Ta) as T→∞ for every Bernoulli environment ν′ and every a>0). Then for any Bernoulli environment ν=(Ber(μ1),…,Ber(μn)) with optimal mean μ∗=maxj∈[n]μj<1 and any suboptimal arm i∈[n] with Δi=μ∗−μi>0, T→∞liminflnTEν[Ni(T)]≥KL(Ber(μi)Ber(μ∗))1, and consequently T→∞liminflnTRegT(A,ν)≥i:Δi>0∑KL(Ber(μi)Ber(μ∗))Δi≥i:Δi>0∑2Δiμ∗(1−μ∗).
Proof. Fix a suboptimal arm i with μi<μ∗<1, and pick any μi′∈(μ∗,1). Construct a modified environment ν′ that agrees with ν on every arm j=i and replaces arm i’s distribution νi=Ber(μi) by νi′=Ber(μi′).
Under ν, arm i is suboptimal with gap Δi=μ∗−μi>0.
Under ν′, arm i is the unique optimal arm, and every other arm j=i is suboptimal by at least μi′−μ∗>0.
By the Bandit Divergence Decomposition Identity (Lemma 2), since νj=νj′ for all j=i, KL(PνAPν′A)=Eν[Ni(T)]⋅KL(νi∥νi′). Now consider the high-pull event A:={Ni(T)>T/2}. By Markov’s inequality on Ni(T) under ν and on T−Ni(T) under ν′, Pν(A)Pν′(Ac)≤T2Eν[Ni(T)],=Pν′[T−Ni(T)≥T/2]≤T2Eν′[T−Ni(T)]≤T(μi′−μ∗)2RegT(A,ν′). Applying the Bretagnolle–Huber inequality (Lemma 4) to A gives 21exp(−Eν[Ni(T)]KL(νi∥νi′))≤Pν(A)+Pν′(Ac)≤T2Eν[Ni(T)]+2RegT(A,ν′)/(μi′−μ∗). For any fixed a∈(0,1), consistency implies RegT(A,ν′)=o(Ta). If Eν[Ni(T)]≥Ta, the theorem holds trivially; otherwise the numerator on the right is o(Ta), so taking logarithms and dividing by lnT gives T→∞liminflnTEν[Ni(T)]≥KL(νi∥νi′)1−a. Sending a↓0 and then μi′↓μ∗ (by continuity of μi′↦KL(Ber(μi)∥Ber(μi′)) for μ∗<1) proves the first claim. Multiplying by Δi, summing over i, and using the elementary chi-square upper bound KL(Ber(μi)∥Ber(μ∗))≤μ∗(1−μ∗)(μ∗−μi)2≤μ∗(1−μ∗)2Δi2 yields the second display.
2.4 Spatial information bottlenecks: one-way communication, INDEX, and streaming lower bounds
In Course Content (§§1.5–1.6), our information bottleneck was temporal: a bandit learner could make only T sequential observations across n arms, so the least-explored arm received at most T/n samples. Remarkably, the exact same three-step template (Total Information Budget →1/n Coordinate Split → Pinsker Indistinguishability) also governs spatial bottlenecks in communication complexity and data stream algorithms!
The one-way communication model and Yao’s Minimax Principle
Suppose two parties, Alice and Bob, hold private inputs x∈X and y∈Y respectively, and wish to evaluate a joint Boolean function f:X×Y→{0,1}.
Definition 5 (One-way communication protocol and communication complexity) In the one-way communication model with public coins (shared randomness), Alice and Bob share access to a common random string R drawn from a known distribution before seeing the inputs. On input (x,y)∈X×Y:
Alice computes an m-bit message M=enc(x,R)∈{0,1}m from her input x and the shared random string R, and sends M to Bob;
Without replying to Alice, Bob computes an output bit z^=dec(M,y,R)∈{0,1} from the received message M, his own input y, and R.
The cost of the protocol is the message length m (in bits). The protocol computes f with worst-case error δ∈[0,1/2) if ∀(x,y)∈X×Y,PR[dec(enc(x,R),y,R)=f(x,y)]≤δ. A protocol is deterministic if enc and dec do not depend on R, and exact if δ=0.
Public coins versus private coins (Newman, 1991). Any protocol that uses private random coins (where Alice tosses RA privately and Bob tosses RB privately) is a special case of a public-coin protocol with R=(RA,RB), so a lower bound against public-coin protocols automatically holds against private-coin and deterministic protocols as well. Conversely, Ilan Newman (Information Processing Letters, 1991) proved via the probabilistic method and Hoeffding’s inequality that any public-coin protocol on n-bit inputs can be simulated using private coins with at most O(logn+log(1/ε)) extra bits of communication!
How much can shared randomness reduce the communication cost of a function f(x,y)? For testing whether two n-bit strings are identical, randomness achieves an exponential compression from n bits to O(logn) bits.
Example 5 (Equality (EQn): deterministic n bits versus randomized O(logn) bits) Consider the Equality functionEQn:{0,1}n×{0,1}n→{0,1} defined by EQn(x,y):=1{x=y}.
Deterministic lower bound (m≥n bits): Suppose a deterministic one-way protocol uses m<n bits, so Alice can send at most 2m≤2n−1<2n distinct messages. By the pigeonhole principle, there exist two distinct strings x=x′ in {0,1}n on which enc(x)=enc(x′). When Bob holds y=x, he receives the exact same message on (x,x) and (x′,x), so dec(enc(x),x)=dec(enc(x′),x) and the protocol must err on at least one of them.
Randomized prime-fingerprinting protocol (m=O(logn) bits): View x,y∈{0,1}n as integers in {0,1,…,2n−1}. Alice picks a uniformly random prime p∈[n2,2n2] and sends M=(p,xmodp) using O(logn) bits in total; Bob outputs 1 if xmodp=ymodp and 0 otherwise. Whenever x=y, Bob always outputs 1; whenever x=y, the non-zero integer ∣x−y∣<2n has at most n prime factors q≥2, while [n2,2n2] contains Θ(n2/logn) primes by the Prime Number Theorem, so the false-positive probability is at most Θ(n2/logn)n=O(nlogn)≪31.
When we want to prove a lower bound against all randomized public-coin protocols, how do we reduce the problem to analyzing a deterministic protocol under a single hard input distribution? This is Yao’s Minimax Principle (Andrew Chi-Chih Yao, 1977), which follows immediately from the zero-sum matrix game duality of Chapter 4 (§1.10):
Theorem 5 (Yao’s Minimax Principle for randomized complexity and error bounds) For any finite instance space I, finite deterministic algorithm class Ddet, cost matrix C∈RI×Ddet, every input distribution p∈Δ(I), and every randomized algorithm q∈Δ(Ddet), x∈ImaxED∼q[C(x,D)]≥d∈DdetminEX∼p[C(X,d)], and by von Neumann’s Minimax Theorem (Chapter 4, §1.10, Theorem 10), minq∈Δ(Ddet)maxx∈IED∼q[C(x,D)]=maxp∈Δ(I)mind∈DdetEX∼p[C(X,d)]. In particular, if a public-coin protocol errs with probability at most δ on every input x∈I, then for every input distribution p∈Δ(I) there exists a fixed random string r∗ whose induced deterministic protocol errs with probability at most δ when X∼p.
Proof. For any p∈Δ(I) and q∈Δ(Ddet), Fubini’s theorem on the bilinear form p⊤Cq gives x∈ImaxED∼q[C(x,D)]≥EX∼p,D∼q[C(X,D)]=d∈Ddet∑qdEX∼p[C(X,d)]≥d∈DdetminEX∼p[C(X,d)].
The INDEXn problem and the Ω(n) information lower bound
Does randomness always compress communication to O(logn) bits as it did for EQn? Consider the fundamental one-way retrieval problem:
Definition 6 (The INDEXn problem) In the Index problemINDEXn:{0,1}n×[n]→{0,1}, Alice holds an n-bit string x=(x1,…,xn)∈{0,1}n, Bob holds an index i∈[n], and Bob must output the i-th bit of Alice’s string: INDEXn(x,i):=xi.
Because Alice must send her m-bit message Mbefore knowing which coordinate i∈[n] Bob wants to inspect, a single m-bit message M must simultaneously carry enough mutual information about all n independent bitsX1,…,Xn! Combining mutual-information superadditivity (Lemma 1 (1)) with Pinsker’s inequality (Theorem 1 (3)) proves the Ω(n) lower bound in three short steps.
An m-bit message M carries at most mln2 nats of mutual information about X, so on average each independent bit Xi receives at most nmln2 nats.
Theorem 6 (Linear communication lower bound for one-way INDEXn) Every randomized one-way protocol for INDEXn with worst-case error probability δ∈[0,1/2) must communicate at least m≥ln22(21−δ)2n=Ω(n) bits. In particular, any protocol that succeeds with probability at least 2/3 (δ≤1/3) requires m≥18ln21n≈0.0801n bits.
Proof. Place the uniform distribution (X,I)∼Unif({0,1}n×[n]) on the inputs, so X1,…,Xn∼Ber(1/2) are mutually independent. By Theorem 5, fix a deterministic m-bit encoder M=f(X)∈{0,1}m and deterministic decoders X^i(M)∈{0,1} whose average error over i∈[n] satisfies n1∑i=1nδi≤δ, where δi:=PX[X^i(M)=Xi].
Step 1 (Single-coordinate distinguishability via Pinsker’s inequality): For each index i∈[n], consider the success event Ei:={(xi,M):X^i(M)=xi}⊆{0,1}×{0,1}m. Under the true joint law μXi,M, Bob succeeds with probability μXi,M(Ei)=1−δi; under the independent product law μXi⊗μM (where Xi∼Ber(1/2) is independent of M), any guess X^i(M) succeeds with probability (μXi⊗μM)(Ei)=21. Since KL(μXi,M∥μXi⊗μM)=I(Xi;M) by Proposition 2 (2), Pinsker’s inequality (Theorem 1 (3)) gives 21−δi=(1−δi)−21=μXi,M(Ei)−(μXi⊗μM)(Ei)≤dTV(μXi,M,μXi⊗μM)≤21I(Xi;M), which squares to I(Xi;M)≥2(21−δi)2.
Step 2 (Superadditivity across the n independent bits): Because X1,…,Xn∼Ber(1/2) are mutually independent, mutual-information superadditivity (Lemma 1 (1)) yields I(X;M)=i=1∑nI(Xi;M∣X<i)≥i=1∑nI(Xi;M)≥2i=1∑n(21−δi)2.
Step 3 (Information capacity bound and convexity): Because M∈{0,1}m takes at most 2m values, Proposition 2 (1)–(2) give I(X;M)≤H(M)≤mln2. By convexity of u↦(21−u)2 and n1∑i=1nδi≤δ<21, mln2≥I(X;M)≥2n⋅n1i=1∑n(21−δi)2≥2n(21−n1i=1∑nδi)2≥2n(21−δ)2, and dividing by ln2 proves m≥ln22(21−δ)2n.
Harvesting streaming lower bounds via Set Disjointness (DISJn)
Why do algorithm designers care so much about one-way communication complexity? Because the memory of a one-pass streaming algorithm is a one-way message from the past to the future! Whenever a streaming algorithm processes a concatenated stream σ=σ1∘σ2 in a single pass using s bits of working memory, its s-bit memory snapshot M∈{0,1}s after processing the prefix σ1 contains everything the algorithm remembers about σ1 when it processes σ2.
Consider Set DisjointnessDISJn:{0,1}n×{0,1}n→{0,1}, where Alice and Bob hold indicator vectors x,y∈{0,1}n of two subsets S(x),S(y)⊆[n] and wish to test whether S(x)∩S(y)=∅, i.e., DISJn(x,y):=1{⟨x,y⟩>0}. Notice that when Bob’s subset is a singleton y=ei, DISJn(x,ei)=xi=INDEXn(x,i)! Thus Theorem 6 immediately yields a linear space lower bound for approximating the maximum frequency F∞ in a data stream:
Corollary 1 (Linear space lower bound for one-pass streaming F∞ estimation) Let σ=(a1,a2,…,aL)∈[n]L be a data stream over [n] with item frequencies fj:=∑t=1L1{at=j} and maximum frequency F∞(σ):=maxj∈[n]fj. Any one-pass randomized streaming algorithm that approximates F∞(σ) within multiplicative error ε<1/3 with probability at least 1−δ>21 must use at least s≥ln22(21−δ)2n=Ω(n) bits of memory.
Proof. Given an instance (x,y)∈{0,1}n×{0,1}n of DISJn, Alice feeds the elements of S(x)={j:xj=1} into the s-bit streaming algorithm S as a stream σx and sends the resulting s-bit memory state M∈{0,1}s to Bob; Bob continues running S from state M on his stream σy of elements in S(y)={j:yj=1}. In σx∘σy, each item j appears xj+yj∈{0,1,2} times, so F∞(σx∘σy)≤1 when DISJn(x,y)=0 and F∞(σx∘σy)=2 when DISJn(x,y)=1. Since (1+ε)⋅1<4/3<(1−ε)⋅2 for ε<1/3, thresholding the streaming estimate at 4/3 solves DISJn (and hence INDEXn on y=ei) using m=s bits of one-way communication, forcing s≥ln22(21−δ)2n by Theorem 6.
2.5 Fano’s inequality and the sharp (1−h2(δ))n rate constant for INDEX
In §2.4 (Theorem 6), applying Pinsker’s inequality to each coordinate of INDEXn gave the lower bound m≥ln22(21−δ)2n bits. Notice what happens as the error probability δ→0: Pinsker’s bound approaches 2ln21n≈0.7213n bits rather than 1⋅n bits, because Pinsker’s inequality replaces the binary relative entropy by its quadratic tangent parabola at δ=1/2.
To recover the exact Shannon capacity constant m≥(1−h2(δ))n bits for all δ∈[0,1/2] (which reaches m≥n bits at δ=0), we replace Pinsker’s inequality in Step 1 of Theorem 6 by Fano’s inequality (Robert M. Fano, 1952), which bounds the conditional entropy H(X∣Y) directly in terms of the error probability of guessing X from Y.
Theorem 7 (Fano’s Inequality for discrete hypothesis testing) Let X be a random variable taking values in a finite set D with ∣D∣≥2, let Y be an observation, and let X^=g(Y)∈D be any estimator of X based on Y with error probability pe:=P[X^=X]. Then (in nats) H(X∣Y)≤H(X∣X^)≤he(pe)+peln(∣D∣−1). In particular, when X∈{0,1} is binary (∣D∣=2), the second term vanishes and H(X∣Y)≤he(pe)nats(or H2(X∣Y)≤h2(pe) bits).
Proof: expanding H(E,X∣X^) with the error indicator E=1{X^=X}
First, because X^=g(Y) is a function of Y, conditioning on Y determines X^, so H(X∣Y)=H(X∣Y,X^)≤H(X∣X^) by Proposition 2 (2).
Next, define the binary error indicator random variable E:=1{X^=X}∈{0,1}, which has P[E=1]=pe and entropy H(E)=he(pe). Let us expand the conditional joint entropy H(E,X∣X^) via the entropy chain rule (Proposition 1) in both orders. Conditioning on (X,X^) determines E=1{X^=X} completely, so H(E∣X,X^)=0 and H(E,X∣X^)=H(X∣X^)+=0H(E∣X,X^)=H(X∣X^). On the other hand, expanding in the order (E,X) given X^ gives H(E,X∣X^)=H(E∣X^)+H(X∣X^,E)≤H(E)+H(X∣X^,E)=he(pe)+H(X∣X^,E). Finally, let us bound H(X∣X^,E) by conditioning on the two possible values of E∈{0,1}:
When E=0, we know X=X^, so given X^ there is zero remaining uncertainty in X: H(X∣X^,E=0)=0.
When E=1, we know X∈D∖{X^}, a set of size ∣D∣−1, so Proposition 2 (1) gives H(X∣X^,E=1)≤ln(∣D∣−1).
Averaging over E yields H(X∣X^,E)=(1−pe)⋅0+peH(X∣X^,E=1)≤peln(∣D∣−1), completing the proof.
Plugging Theorem 7 into Step 1 of Theorem 6 immediately yields the exact information-theoretic rate constant for INDEXn.
Corollary 2 (Sharp (1−h2(δ))n lower bound for one-way INDEXn via Fano’s inequality) Every randomized one-way protocol for INDEXn with worst-case error probability δ∈[0,1/2) requires at least m≥(1−h2(δ))n bits. In particular, at δ=0 we recover the exact deterministic bound m≥n bits, and at δ=1/3 we obtain m≥(1−h2(1/3))n≈0.0817n bits.
Proof. As in Theorem 6, fix the deterministic encoder M∈{0,1}m and decoders X^i(M) obtained by Yao’s averaging under X=(X1,…,Xn)∼Unif({0,1}n), with coordinate error δi=P[X^i(M)=Xi] and average error δˉ:=n1∑i=1nδi≤δ<21.
For each coordinate i∈[n], Xi∼Ber(1/2) has H(Xi)=ln2, and binary Fano’s inequality (Theorem 7 with ∣D∣=2) gives H(Xi∣M)≤he(δi), so I(Xi;M)=H(Xi)−H(Xi∣M)≥ln2−he(δi). Summing over i=1,…,n via mutual-information superadditivity (Lemma 1 (1)) and using concavity of he(⋅) (Jensen’s inequality n1∑i=1nhe(δi)≤he(δˉ)≤he(δ) since he is increasing on [0,1/2]) gives mln2≥H(M)≥I(X;M)≥i=1∑nI(Xi;M)≥i=1∑n(ln2−he(δi))≥n(ln2−he(δ)). Dividing by ln2 yields m≥(1−h2(δ))n.
III. Further Topics
3.1 Le Cam’s two-point method, Assouad’s hypercube lemma, and minimax statistical estimation
The information-theoretic lower-bound strategy we developed in Part I belongs to a broader hierarchy of minimax lower-bound principles in mathematical statistics and statistical learning theory:
Le Cam’s two-point method (Lucien Le Cam, 1973): Whenever two parameter values θ0,θ1∈Θ are separated by d(θ0,θ1)≥2Δ under a metric d, no estimator θ^(X) can achieve loss less than Δ on both θ0 and θ1 simultaneously when X falls in the overlap of the two distributions Pθ0 and Pθ1. Formally, θ^infθ∈{θ0,θ1}supEθ[d(θ^(X),θ)]≥2Δ(1−dTV(Pθ0,Pθ1))≥2Δ(1−21KL(Pθ0∥Pθ1)). Le Cam’s method captures one-dimensional estimation rates (Θ(1/T)), and—when combined with our pigeonhole choice of the least-explored coordinate i∗∈[n]—underlies our bandit minimax proof in §1.6.
Assouad’s lemma (Patrice Assouad, 1983): When a high-dimensional estimation problem requires recovering all d coordinates simultaneously (for example, estimating a vector μ∈Rd in ℓ1 or squared ℓ2 norm, or learning a high-dimensional distribution in total variation), two-point comparisons lose the dimension factor d. For a family of distributions {Pτ}τ∈{−1,+1}d indexed by the 2d corners θτ=δτ∈{−δ,+δ}d (δ>0) of a scaled d-dimensional hypercube, Assouad’s lemma places a uniform prior over τ∈{−1,+1}d and decomposes the overall ℓ1 risk into d separate binary tests along the d coordinate edges (τ,τ⊕j) that differ only in coordinate j∈[d]: θ^infτ∈{−1,+1}dmaxEτ[∥θ^(X)−θτ∥1]≥2dδj∈[d],τmin(1−dTV(Pτ,Pτ⊕j)).
For a comprehensive modern treatment of Le Cam’s, Fano’s, and Assouad’s methods in nonparametric statistics and machine learning, see John Duchi’s survey lecture notes on information-theoretic lower bounds and Chapter 15 of Wainwright (2019).
3.2 Interactive information complexity and two-way Set Disjointness (DISJn)
In Reading §2.4 (Corollary 1), we proved that any one-way randomized protocol for Set Disjointness DISJn(x,y)=1{⟨x,y⟩>0} requires Ω(n) bits by observing that INDEXn is the special case of DISJn where Bob holds a singleton y=ei.
What if Alice and Bob are allowed to talk back and forth across arbitrarily many rounds in an interactive two-way protocol Π? Notice why the INDEXn reduction breaks down immediately in two rounds: if Bob holds a singleton y=ei, he can simply send the index i∈[n] to Alice in round 1 using ⌈log2n⌉ bits, and Alice can reply with the single bit xi∈{0,1} in round 2, solving INDEXn in log2n+1 bits!
Yet for general subsets x,y∈{0,1}n, even unrestricted two-way interaction cannot compress Set Disjointness below Ω(n) bits:
The Kalyanasundaram–Schnitger / Razborov Theorem (1992): Bala Kalyanasundaram and Georg Schnitger (1992), followed by a simplified corruption-bound proof by Alexander A. Razborov (1992), proved that the two-way randomized communication complexity of DISJn is Rδ(DISJn)=Θ(n).
Information complexity and direct-sum tensorization (Bar-Yossef, Jayram, Kumar, and Sivakumar, 2004): Why is proving two-way lower bounds for DISJn so much subtler than our proof for INDEXn? For DISJn, an interactive protocol must succeed on disjoint pairs (X,Y) where Xj∧Yj=0 for all j∈[n]. A standard hard NO-distribution draws independent coordinate selectors D=(D1,…,Dn)—each forcing either Alice’s bit Xj or Bob’s bit Yj to 0 while drawing the other party’s bit uniformly—so Xj and Yj are correlated marginally, yet conditional on D the coordinate pairs (Xj,Yj) are mutually independent across j∈[n]andXj⊥Yj∣Dj. Bar-Yossef, Jayram, Kumar, and Sivakumar introduced the conditional information costI(X,Y;Π∣D): conditional superadditivity (Lemma 1 (1) conditioned on D) splits the information budget across the n coordinates as ∑j=1nI(Xj,Yj;Π∣D)≤I(X,Y;Π∣D), while the rectangle structure of the interactive transcript Π and Hellinger-distance geometry force an Ω(1) single-coordinate information cost. Summing over j∈[n] yields Ω(n) total two-way communication, and since a k-pass, s-bit streaming algorithm can be simulated by a two-way protocol of O(ks) bits, this immediately proves s=Ω(n/k) space lower bounds for k-pass streaming algorithms!
3.3 Gap-Hamming distance and tight Ω(ε−2) streaming space lower bounds for distinct elements (F0)
In Reading §2.4 (Corollary 1), we showed that estimating the maximum frequency F∞ in a data stream requires Ω(n) bits of space. By contrast, classical sketching algorithms from randomized data-stream theory (such as Flajolet–Martin / HyperLogLog for the number of distinct elements F0, and AMS sketches for frequency moments F2) use only poly(ε−1,logn) bits of space to achieve (1±ε)-multiplicative approximation. Is the Ω(ε−2) dependence on the accuracy parameter ε necessary?
Remarkably, we can prove the Ω(ε−2) space lower bound for one-pass F0 estimation directly from the one-way INDEXN lower bound (Theorem 6) via the Gap-Hamming Distance problem (GHDN,ε):
From INDEXN to one-way Gap-Hamming via central binomial bias: Choose an odd integer N:=Θ(ε−2), let Alice hold x∈{−1,+1}N, and let Bob hold i∈[N]. Using public random coins, Alice and Bob draw N independent uniformly random strings r(1),…,r(N)∈{−1,+1}N. Because N is odd, ⟨x,r(k)⟩=0 for every k, so Alice can map x to u∈{−1,+1}N by setting uk:=sgn(⟨x,r(k)⟩), while Bob sets vk:=ri(k). For each k∈[N], condition on the even number N−1 of random signs {rj(k)}j=i: their signed sum S−i=∑j=ixjrj(k) equals 0 with probability ((N−1)/2N−1)2−(N−1)=Θ(1/N)=Θ(ε) by Stirling’s formula! Whenever S−i=0, the inner product ⟨x,r(k)⟩=xiri(k) is decided entirely by the i-th coordinate, whereas whenever S−i=0, symmetry gives P[uk=vk∣S−i=0]=1/2. Thus the expected Hamming distance E[Δ(u,v)] shifts from 2N−Θ(εN) when xi=+1 to 2N+Θ(εN) when xi=−1 (and concentrates tightly by Chernoff’s bound across the N independent trials).
From Gap-Hamming to F0 streaming: Since any (1±ε)-approximation to the number of distinct elements F0 on a stream of 2N items resolves the 2N±Θ(εN) Hamming-distance gap between Alice’s prefix stream and Bob’s suffix stream, Theorem 6 on N=Θ(ε−2) coordinates immediately implies that any one-pass streaming algorithm for F0 requires Ω(N)=Ω(ε−2) bits of space (Woodruff, 2004). Proving the analogous Ω(ε−2) lower bound for two-way interactive Gap-Hamming remained a central open problem until Chakrabarti and Regev (2012) resolved it using Gaussian geometric correlation inequalities.
3.4 Online learning under memory and sliding-window constraints
Throughout this chapter and its reading sections, we studied temporal observation bottlenecks (T sequential rounds of bandit feedback in §§1.5–1.6) and spatial memory/communication bottlenecks (an m-bit message or s-bit streaming state in §2.4) as two parallel incarnations of the same information budget. A vibrant modern research frontier asks what happens when an online learner faces both bottlenecks simultaneously:
Memory-bounded online learning and multi-armed bandits: Suppose an n-armed bandit or n-expert algorithm cannot afford to store a full n-dimensional weight vector wt∈Rn or pull-count vector N(t)∈Nn, and instead is restricted to s≪n bits of working memory between rounds. Using information-theoretic reductions that combine multi-pass streaming barriers with divergence decomposition, recent work establishes sharp trade-offs between the memory budget s, the number of arms/experts n, and the achievable regret RegT (see, e.g., Srinivas, Woodruff, Xu, and Zhou, STOC 2022; Peng and Zhang, 2023).
Online learning over sliding windows: In non-stationary environments where the learner’s regret is evaluated only over the most recent W rounds (the sliding-window model), the algorithm must continually forget expired information while maintaining near-optimal regret across every window of length W. Recent work by Vladimir Braverman, Sumegha Garg, Chen Wang, and David P. Woodruff (Online Learning with Limited Information in the Sliding Window Model, SODA 2026) shows how streaming data structures and information lower bounds govern the space-regret trade-off in sliding-window expert and bandit problems.
References and source acknowledgments. The conditional slice notation μXY←y, the outer-expectation remark on H(X∣Y), the mutual-information tensorization lemma, and the coarse-graining Data-Processing proof of Pinsker’s inequality (§§1.1–1.4) draw on Chihao Zhang’s notes on Information Theory [1], while the communication-complexity and streaming lower-bound reductions for EQn, INDEXn, DISJn, and GHDN (§2.4, §3.3) are adapted from Chihao Zhang’s Big Data Algorithms lectures [1] and Tim Roughgarden’s survey [7]. Foundational information-theoretic identities and Fano’s inequality follow Cover and Thomas [2]; the canonical bandit transcript formulation, Divergence Decomposition, Bretagnolle–Huber inequality, minimax regret lower bound, and Lai–Robbins theorem (§§1.5–1.6, §§2.2–2.3) follow Lattimore and Szepesvári [3], Lai and Robbins [4], and Auer et al. [5]; and the full-information expert lower bound (§2.1) follows Cesa-Bianchi and Lugosi [6].
Chihao Zhang, Notes on Information Theory (unpublished lecture notes), and Big Data Algorithms (BDA 2019 Fall), Lectures 8–9: Communication Complexity and Streaming Lower Bounds, Shanghai Jiao Tong University, 2019.
Thomas M. Cover and Joy A. Thomas, Elements of Information Theory, 2nd ed., Wiley-Interscience, 2006. (Standard reference for Shannon entropy, prefix codes, conditional entropy, KL divergence, mutual information, chain rules, Data Processing, and Fano’s inequality in §§1.1–1.4 and §2.5.)
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapters 13–16. (Reference for the canonical bandit model, the Divergence Decomposition Lemma, the Bretagnolle–Huber inequality, minimax lower bounds, and the Lai–Robbins theorem in §§1.5–1.6 and §§2.2–2.3.)
Tze Leung Lai and Herbert Robbins, “Asymptotically Efficient Adaptive Allocation Rules,” Advances in Applied Mathematics, vol. 6, no. 1, pp. 4–22, 1985.
Peter Auer, Nicolò Cesa-Bianchi, Yoav Freund, and Robert E. Schapire, “The Nonstochastic Multiarmed Bandit Problem,” SIAM Journal on Computing, vol. 32, no. 1, pp. 48–77, 2002.
Nicolò Cesa-Bianchi and Gábor Lugosi, Prediction, Learning, and Games, Cambridge University Press, 2006, Chapter 3. (Reference for the Ω(Tlnn) full-information expert lower bound in §2.1.)
Tim Roughgarden, Communication Complexity (for Algorithm Designers), Foundations and Trends in Theoretical Computer Science, vol. 11, nos. 3–4, pp. 217–404, 2016. (Accessible survey of one-way and interactive communication complexity and streaming space reductions in §2.4 and §§3.2–3.3.)
Ziv Bar-Yossef, T. S. Jayram, Ravi Kumar, and D. Sivakumar, “An Information Statistics Approach to Data Stream and Communication Complexity,” Journal of Computer and System Sciences, vol. 68, no. 4, pp. 702–732, 2004.
Amit Chakrabarti, Graham Cormode, and Andrew McGregor, “A Near-Optimal Separation Between Bounded-Error and Zero-Error Randomized Communication Complexity” / simple information-theoretic proofs of the Ω(n) one-way INDEXn lower bound, 2008/2010; see also David P. Woodruff, “Optimal Space Lower Bounds for All Frequency Moments,” SODA, 2004.