Topics in Advanced AlgorithmsFall 2026

Chapter 5

Information Budgets and Lower Bounds

From guessing games, Shannon entropy, and KL divergence to online learning and multi-armed bandit lower bounds

At the end of Chapter 4 we arrived at a striking contrast on the nn-dimensional probability simplex Δn\Delta_n. Replacing the Euclidean regularizer 12∥x∥22\frac12\|x\|_2^2 in Online Mirror Descent by negative Shannon entropy ψ(p)=∑i=1npiln⁡pi\psi(p)=\sum_{i=1}^n p_i\ln p_i compressed the regret of full-information expert prediction from O(nT)O(\sqrt{nT}) all the way down to O(Tln⁡n)O(\sqrt{T\ln n}). 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)\ell_t(A_t) of the pulled arm At∈[n]A_t\in[n]—the resulting EXP3 bound remained O(nTln⁡n)O(\sqrt{nT\ln n}). Switching from Euclidean to entropic geometry improved the horizon dependence from T2/3T^{2/3} to T\sqrt T, but left a polynomial dimension factor n\sqrt n intact.

Is that n\sqrt n factor merely an artifact of importance weighting, waiting to be removed by a cleverer algorithm? Or is Ω(nT)\Omega(\sqrt{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)\Omega(\sqrt{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)-\log\mu(x) and Shannon entropy H(X)H(X) (§1.1); asks how observing a second variable YY alters uncertainty, illustrates with a rare-fault alarm paradox why a single observation Y=yY=y can increase entropy while averaging over y∼μYy\sim\mu_Y yields conditional entropy H(X∣Y)H(X\mid Y) and the entropy chain rule (§1.2); motivates Kullback–Leibler divergence KL⁡(μ∥ν)\operatorname{KL}(\mu\|\nu) 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)I(X;Y), nonnegativity H(Y∣X)≤H(Y)H(Y\mid X)\le H(Y), and the chain rules (§1.3); and proves the Data Processing Inequality, motivates total variation distance dTV(μ,ν)d_{\mathrm{TV}}(\mu,\nu) via bounded test functions Z:D→[0,B]Z:\mathcal D\to[0,B], and establishes Pinsker’s inequality by projecting onto the single binary indicator S=1{X∈A∗}S=\mathbf 1_{\{X\in A^*\}} (§1.4).
  • Information lower bounds for multi-armed bandits (§§1.5–1.6, ~42 minutes): Formalizes the canonical TT-round adaptive bandit transcript space PνA\mathbb P_\nu^{\mathcal A} and shows how the pull-count conservation law ∑i=1nNi(T)=T\sum_{i=1}^n N_i(T)=T creates a T/nT/n sample-starvation trap on at least one hidden arm i∗∈[n]i^*\in[n] (§1.5); proves the Bandit Divergence Decomposition Identity KL⁡(PνA∥Pν′A)=∑i=1nEν[Ni(T)] KL⁡(νi∥νi′)\operatorname{KL}(\mathbb P_\nu^{\mathcal A}\|\mathbb P_{\nu'}^{\mathcal A})=\sum_{i=1}^n\mathbb E_\nu[N_i(T)]\,\operatorname{KL}(\nu_i\|\nu'_i) directly from the sequential KL chain rule and Data Processing cancellation, and combines it with test-function Pinsker indistinguishability to prove the Ω(nT)\Omega(\sqrt{nT}) minimax regret lower bound (§1.6).

Reading Contents (§§2.1–2.5) proves the contrasting Ω(Tln⁡n)\Omega(\sqrt{T\ln n}) 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\sqrt T factor whereas KL divergence and Pinsker preserve it (§2.2), establishes the Bretagnolle–Huber inequality and the asymptotic Lai–Robbins Ω(∑i:Δi>0ln⁡TΔi)\Omega\bigl(\sum_{i:\Delta_i>0}\frac{\ln T}{\Delta_i}\bigr) instance-dependent bandit lower bound (§2.3), and showcases how the same information-budget toolkit proves Ω(n)\Omega(n) one-way communication and streaming lower bounds for INDEX⁡n\operatorname{INDEX}_n and DISJ⁡n\operatorname{DISJ}_n 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 F0F_0, 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 XX contains a certain amount of “uncertainty”—or equivalently, that learning the outcome of XX reveals a certain amount of “information”?

A four-outcome binary guessing game

Suppose a discrete random variable XX takes values in a four-element set D={A,B,C,D}\mathcal 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 XX 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,DA,B,C,D: tracing the path from the root (0 for “yes”, 1 for “no”) assigns each symbol x∈Dx\in\mathcal D a prefix-free binary codeword c(x)∈{0,1}∗c(x)\in\{0,1\}^* of length ℓ(x)\ell(x) equal to the number of questions asked when X=xX=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)\mathbb E[\ell(X)]=\sum_{x\in\mathcal D}\mu_X(x)\ell(x) under two different probability distributions μX\mu_X on D={A,B,C,D}\mathcal D=\{A,B,C,D\}:

  1. Uniform distribution μunif=(14,14,14,14)\mu_{\mathrm{unif}}=\bigl(\frac14,\frac14,\frac14,\frac14\bigr): Since all four outcomes are equally likely, we split the possibilities in half at each step:
    • Question 1: “Is X∈{A,B}X\in\{A,B\}?”
    • Question 2: Within that pair, “Is XX the first element?” This balanced tree assigns codewords 00, 01, 10, 11 of length ℓ(x)=2\ell(x)=2 to all four outcomes, using Eμunif[ℓ(X)]=14⋅2+14⋅2+14⋅2+14⋅2=2 questions (bits). \mathbb E_{\mu_{\mathrm{unif}}}[\ell(X)]=\frac14\cdot 2+\frac14\cdot 2+\frac14\cdot 2+\frac14\cdot 2=2\text{ questions (bits)}.
  2. Skewed dyadic distribution μskew=(12,14,18,18)\mu_{\mathrm{skew}}=\bigl(\frac12,\frac14,\frac18,\frac18\bigr): Suppose outcome AA occurs half the time, BB a quarter of the time, and C,DC,D an eighth of the time each.
    • If we lazily reuse the balanced tree (00, 01, 10, 11), every outcome still takes 22 questions, so E[ℓ(X)]=2\mathbb E[\ell(X)]=2.
    • Instead, let us ask about the most likely outcome first:
      • Question 1: “Is X=AX=A?” If yes (probability 1/21/2), we stop immediately after 11 question (0)!
      • Question 2 (given X≠AX\ne A): “Is X=BX=B?” If yes (probability 1/41/4), we stop after 22 questions (10).
      • Question 3 (given X∈{C,D}X\in\{C,D\}): “Is X=CX=C?” This resolves CC (110) and DD (111) in 33 questions.
    Look at the new expected number of questions under μskew\mu_{\mathrm{skew}}: Eμskew[ℓ(X)]=12⋅1+14⋅2+18⋅3+18⋅3=74=1.75 questions (bits)<2 bits! \mathbb E_{\mu_{\mathrm{skew}}}[\ell(X)]=\frac12\cdot 1+\frac14\cdot 2+\frac18\cdot 3+\frac18\cdot 3=\frac74=1.75\text{ questions (bits)}<2\text{ bits!}
0 1 A (1/2): “0” 0 1 B (1/4): “10” C (1/8): “110” D (1/8): “111”

In Example 1, assigning shorter paths to more probable outcomes gives depth ℓ(x)=−log⁡2μX(x)∈{1,2,3,3}\ell(x)=-\log_2\mu_X(x)\in\{1,2,3,3\} and reduces the average number of questions from 22 to 1.751.75 bits.

From surprisal −log⁡μX(x)-\log\mu_X(x) to Shannon entropy H(X)H(X)

Look closely at the codeword lengths ℓ(A)=1\ell(A)=1, ℓ(B)=2\ell(B)=2, ℓ(C)=3\ell(C)=3, ℓ(D)=3\ell(D)=3 that emerged in Example 1 for μskew=(12,14,18,18)\mu_{\mathrm{skew}}=\bigl(\frac12,\frac14,\frac18,\frac18\bigr): for every outcome x∈Dx\in\mathcal D, the optimal number of questions is exactly the logarithm of its inverse probability: ℓ(x)=log⁡21μX(x)=−log⁡2μX(x). \ell(x)=\log_2\frac{1}{\mu_X(x)}=-\log_2\mu_X(x). Why does the function ϕ(p):=−log⁡p\phi(p):=-\log p appear so inevitably when we measure the information content of an event of probability p∈(0,1]p\in(0,1]? Even without drawing binary trees, suppose we want a continuous function ϕ:(0,1]→[0,∞)\phi:(0,1]\to[0,\infty) that measures the surprisal (or self-information) of observing an outcome of probability pp:

  1. Certainty carries zero surprise: An event of probability p=1p=1 tells us nothing new, so ϕ(1)=0\phi(1)=0.
  2. Rarer events are more surprising: If p<qp<q, observing the rarer event is more informative, so ϕ\phi is strictly decreasing.
  3. Additivity over independent observations: If we observe two independent events E1E_1 and E2E_2 of probabilities pp and qq, the joint event E1∩E2E_1\cap E_2 has probability pqpq, 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]. \phi(pq)=\phi(p)+\phi(q)\qquad\text{for all }p,q\in(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)\phi(pq)=\phi(p)+\phi(q) are ϕ(p)=−log⁡bp=log⁡b(1/p)\phi(p)=-\log_b p=\log_b(1/p)!

Taking the expectation of the random surprisal −log⁡μX(X)-\log\mu_X(X) over all outcomes of XX gives Claude Shannon’s fundamental measure of uncertainty.

Nats (ln⁡\ln) versus bits (log⁡2\log_2). Choosing base b=2b=2 measures information in bits (1 bit=ln⁡2≈0.6931 nats1\text{ bit}=\ln 2\approx 0.6931\text{ nats}), which counts binary yes/no questions directly. To keep all calculus derivatives and Chapter 4’s Bregman divergence formulas free of extra ln⁡2\ln 2 factors, we write ln⁡\ln (base ee, measuring information in nats) as our default in formal definitions, and write H2(X):=H(X)/ln⁡2H_2(X):=H(X)/\ln 2 whenever we quote concrete numbers in bits.

Definition 1 (Shannon entropy of a discrete random variable) Let (Ω,F,P)(\Omega,\mathcal F,\mathbb P) be a probability space, and let X:Ω→DX:\Omega\to\mathcal D be a discrete random variable taking values in a finite state space D\mathcal D with marginal distribution μX(x):=P[X=x]\mu_X(x):=\mathbb P[X=x]. Adopting the convention 0ln⁡0:=00\ln 0:=0 (since lim⁡p↓0pln⁡p=0\lim_{p\downarrow 0}p\ln p=0), the Shannon entropy of XX is the expected surprisal of XX: H(X):=−∑x∈DμX(x)ln⁡μX(x)=Ex∼μX[−ln⁡μX(x)](in nats), H(X):=-\sum_{x\in\mathcal D}\mu_X(x)\ln\mu_X(x)=\mathbb E_{x\sim\mu_X}\bigl[-\ln\mu_X(x)\bigr]\qquad(\text{in nats}), or H2(X):=−∑x∈DμX(x)log⁡2μX(x)=H(X)/ln⁡2H_2(X):=-\sum_{x\in\mathcal D}\mu_X(x)\log_2\mu_X(x)=H(X)/\ln 2 in bits. Since H(X)H(X) depends only on the distribution μX\mu_X, we also write H(μX)H(\mu_X) interchangeably with H(X)H(X). For a Bernoulli random variable X∼Ber⁡(p)X\sim\operatorname{Ber}(p) with p∈[0,1]p\in[0,1], we write he(p):=−pln⁡p−(1−p)ln⁡(1−p)(nats),h2(p):=−plog⁡2p−(1−p)log⁡2(1−p)(bits) \begin{aligned} h_e(p)&:=-p\ln p-(1-p)\ln(1-p)\quad(\text{nats}),\\ h_2(p)&:=-p\log_2 p-(1-p)\log_2(1-p)\quad(\text{bits}) \end{aligned} for the binary entropy function.

Shannon (1948) and the operational meaning of H(X)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\ell:\mathcal D\to\mathbb N, Kraft’s inequality ∑x∈D2−ℓ(x)≤1\sum_{x\in\mathcal D}2^{-\ell(x)}\le 1 forces E[ℓ(X)]≥H2(X)\mathbb E[\ell(X)]\ge H_2(X), while assigning codeword lengths ℓ(x)=⌈−log⁡2μX(x)⌉\ell(x)=\lceil-\log_2\mu_X(x)\rceil achieves H2(X)≤E[ℓ(X)]<H2(X)+1H_2(X)\le\mathbb E[\ell(X)]<H_2(X)+1. Thus H2(X)H_2(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)H(X):

1.2 How does an observation change uncertainty? Conditional entropy and the chain rule

Rarely do we observe a random variable XX in isolation. In an algorithm or sequential experiment, we observe a random variable YY (such as a noisy sensor reading, a message, or an arm’s reward) and want to know: How much uncertainty remains in XX after we learn YY?

Conditioning on a single outcome Y=yY=y versus averaging over YY

Suppose XX and YY have joint distribution μX,Y(x,y)=P[X=x,Y=y]\mu_{X,Y}(x,y)=\mathbb P[X=x,Y=y]. Whenever YY takes a specific value y∈Dy\in\mathcal D with μY(y)>0\mu_Y(y)>0, the distribution of XX updates by Bayes’ rule to the conditional distribution slice μXY←y(x):=P[X=x∣Y=y]=μX,Y(x,y)μY(y). \mu_X^{Y\gets y}(x):=\mathbb P\bigl[X=x\mid Y=y\bigr]=\frac{\mu_{X,Y}(x,y)}{\mu_Y(y)}. Once we see the specific realization Y=yY=y, the remaining uncertainty in XX is simply the ordinary Shannon entropy of the distribution μXY←y\mu_X^{Y\gets y}: H(X∣Y=y):=H(μXY←y)=−∑x∈DμXY←y(x)ln⁡μXY←y(x). H(X\mid Y=y):=H\bigl(\mu_X^{Y\gets y}\bigr)=-\sum_{x\in\mathcal D}\mu_X^{Y\gets y}(x)\ln\mu_X^{Y\gets y}(x).

Before we go any further, let us test our intuition on a simple question: Does observing Y=yY=y always reduce our uncertainty about XX—that is, does H(X∣Y=y)≤H(X)H(X\mid Y=y)\le H(X) hold for every outcome yy?

Example 2 (The rare-fault alarm paradox: a single observation Y=yY=y can increase uncertainty!) Suppose a machine component fails (X=1X=1) with prior probability 1%1\% and works normally (X=0X=0) with probability 99%99\%, so X∼Ber⁡(0.01)X\sim\operatorname{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.01log⁡2(0.01)−0.99log⁡2(0.99)≈0.0808 bits. H_2(X)=h_2(0.01)=-0.01\log_2(0.01)-0.99\log_2(0.99)\approx 0.0808\text{ bits}. Now suppose an automated alarm Y∈{0,1}Y\in\{0,1\} monitors the component:

  • If the component actually fails (X=1X=1), the alarm always rings: P[Y=1∣X=1]=1\mathbb P[Y=1\mid X=1]=1.
  • If the component is fine (X=0X=0), the alarm has a small false-positive rate of 199≈1.01%\frac{1}{99}\approx 1.01\%: P[Y=1∣X=0]=199\mathbb P[Y=1\mid X=0]=\frac{1}{99}.

What happens to our uncertainty about XX on the two possible sensor readings Y∈{0,1}Y\in\{0,1\}?

  • When the alarm is silent (Y=0Y=0, which happens with probability μY(0)=0.99×9899=0.98\mu_Y(0)=0.99\times\frac{98}{99}=0.98): Since a faulty component never leaves the alarm silent, we know with 100%100\% certainty that X=0X=0, so H2(X∣Y=0)=h2(0)=0 bits. H_2(X\mid Y=0)=h_2(0)=0\text{ bits}.
  • When the alarm rings (Y=1Y=1, which happens with probability μY(1)=0.01⋅1+0.99⋅199=0.02\mu_Y(1)=0.01\cdot 1+0.99\cdot\frac{1}{99}=0.02): By Bayes’ rule, a true fault (0.010.01) and a false alarm (0.010.01) are equally likely: μXY←1(1)=P[X=1∣Y=1]=0.010.01+0.01=12! \mu_X^{Y\gets 1}(1)=\mathbb P[X=1\mid Y=1]=\frac{0.01}{0.01+0.01}=\frac12! Hearing the alarm ring destroys our 99%99\% prior confidence and leaves us tossing a fair coin between X=0X=0 and X=1X=1, inflating the entropy more than twelvefold: H2(X∣Y=1)=h2(1/2)=1 bit≫0.0808 bits=H2(X)! H_2(X\mid Y=1)=h_2(1/2)=1\text{ bit}\gg 0.0808\text{ bits}=H_2(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\mu_Y(0)=0.98 and μY(1)=0.02\mu_Y(1)=0.02: Ey∼μY[H2(X∣Y=y)]=0.98×0+0.02×1=0.0200 bits<0.0808 bits=H2(X). \mathbb E_{y\sim\mu_Y}\bigl[H_2(X\mid Y=y)\bigr]=0.98\times 0+0.02\times 1=0.0200\text{ bits}<0.0808\text{ bits}=H_2(X). Even though the specific surprise reading Y=1Y=1 increased our uncertainty, on average observing YY reduced the entropy of XX from 0.08080.0808 bits down to 0.02000.0200 bits!

Example 2 shows why we must average H(X∣Y=y)H(X\mid Y=y) over y∼μYy\sim\mu_Y to obtain a well-behaved measure of remaining uncertainty.

Definition 2 (Conditional entropy) Let XX and YY be discrete random variables on (Ω,F,P)(\Omega,\mathcal F,\mathbb P) with joint distribution μX,Y\mu_{X,Y}. The conditional entropy of XX given YY is the expected entropy of the conditional slice μXY←y\mu_X^{Y\gets y} averaged over y∼μYy\sim\mu_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[−ln⁡P[X=x∣Y=y]]. \begin{aligned} H(X\mid Y) &:=\mathbb E_{y\sim\mu_Y}\bigl[H(X\mid Y=y)\bigr] =-\sum_{y\in\mathcal D}\mu_Y(y)\sum_{x\in\mathcal D}\mu_X^{Y\gets y}(x)\ln\mu_X^{Y\gets y}(x)\\ &=-\sum_{x,y\in\mathcal D}\mu_{X,Y}(x,y)\ln\mu_X^{Y\gets y}(x) =\mathbb E_{(x,y)\sim\mu_{X,Y}}\bigl[-\ln\mathbb P[X=x\mid Y=y]\bigr]. \end{aligned}

A clash of conventions: why is H(X∣Y)H(X\mid Y) a number rather than a random variable? In probability theory, conditioning on a random variable YY—as in the conditional expectation E[X∣Y]\mathbb E[X\mid Y]—produces a σ(Y)\sigma(Y)-measurable random variable whose value depends on the realization of YY. In information theory, by contrast, the notation H(X∣Y)H(X\mid Y) already takes the outer expectation over y∼μYy\sim\mu_Y: for a specific outcome yy, H(X∣Y=y)H(X\mid Y=y) is the entropy of the slice μXY←y\mu_X^{Y\gets y}, whereas H(X∣Y)=Ey∼μY[H(X∣Y=y)]H(X\mid Y)=\mathbb E_{y\sim\mu_Y}[H(X\mid Y=y)] is a single deterministic scalar!

Why is this outer-expectation definition so natural? Because when we observe a pair (X,Y)(X,Y) in two stages—first learning XX, and then learning YY given XX—the joint probability factorizes as μX,Y(x,y)=μX(x)⋅μYX←x(y)\mu_{X,Y}(x,y)=\mu_X(x)\cdot\mu_Y^{X\gets 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,YX,Y and any sequence X1,…,XnX_1,\ldots,X_n, H(X,Y)=H(X)+H(Y∣X)=H(Y)+H(X∣Y), H(X,Y)=H(X)+H(Y\mid X)=H(Y)+H(X\mid Y), and by induction across nn coordinates (where X<i:=(X1,…,Xi−1)X_{<i}:=(X_1,\ldots,X_{i-1})), H(X1,…,Xn)=∑i=1nH(Xi∣X<i). H(X_1,\ldots,X_n)=\sum_{i=1}^n H(X_i\mid X_{<i}). In particular, if X1,…,XnX_1,\ldots,X_n are mutually independent, then μXiX<i←x<i=μXi\mu_{X_i}^{X_{<i}\gets x_{<i}}=\mu_{X_i} for every ii, so H(X1,…,Xn)=∑i=1nH(Xi)H(X_1,\ldots,X_n)=\sum_{i=1}^n H(X_i).

Proof. Substituting the conditional probability factorization μX,Y(x,y)=μX(x)⋅μYX←x(y)\mu_{X,Y}(x,y)=\mu_X(x)\cdot\mu_Y^{X\gets x}(y) into the definition of joint entropy H(X,Y)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), \begin{aligned} H(X,Y) &=-\sum_{x,y\in\mathcal D}\mu_{X,Y}(x,y)\ln\bigl(\mu_X(x)\cdot\mu_Y^{X\gets x}(y)\bigr)\\ &=-\sum_{x\in\mathcal D}\!\left(\sum_{y\in\mathcal D}\mu_{X,Y}(x,y)\right)\ln\mu_X(x)-\sum_{x,y\in\mathcal D}\mu_{X,Y}(x,y)\ln\mu_Y^{X\gets x}(y)\\ &=-\sum_{x\in\mathcal D}\mu_X(x)\ln\mu_X(x)+H(Y\mid X)=H(X)+H(Y\mid X), \end{aligned} and iterating on (X1,…,Xn)(X_1,\ldots,X_n) yields ∑i=1nH(Xi∣X<i)\sum_{i=1}^n H(X_i\mid 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)H_2(X\mid Y)=0.0200<0.0808\approx H_2(X). Why is H(X∣Y)≤H(X)H(X\mid Y)\le H(X)—that is, H(X)−H(X∣Y)≥0H(X)-H(X\mid Y)\ge 0—always true for every joint distribution μX,Y\mu_{X,Y}, and what does the nonnegative gap H(X)−H(X∣Y)H(X)-H(X\mid 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 μ\mu and ν\nu.

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∈DX\in\mathcal D is μ\mu, tuning our question tree to μ\mu assigns ideal codeword lengths ℓμ(x)=−log⁡2μ(x)\ell_\mu(x)=-\log_2\mu(x) and achieves the minimum possible average length Ex∼μ[ℓμ(x)]=H2(μ)\mathbb E_{x\sim\mu}[\ell_\mu(x)]=H_2(\mu).

What happens if we design our question tree under a false belief—assuming that XX follows a distribution ν\nu on D\mathcal D when in reality XX is drawn from μ\mu?

Example 3 (The penalty for coding with a mismatched distribution ν\nu when reality is μ\mu) Suppose the true distribution on D={A,B,C,D}\mathcal D=\{A,B,C,D\} is μ=(12,14,18,18)\mu=\bigl(\frac12,\frac14,\frac18,\frac18\bigr), which has true entropy H2(μ)=1.75H_2(\mu)=1.75 bits using the lengths ℓμ=(1,2,3,3)\ell_\mu=(1,2,3,3).

Now suppose Bob mistakenly believes the distribution is ν=(18,18,14,12)\nu=\bigl(\frac18,\frac18,\frac14,\frac12\bigr)—assigning the shortest 11-bit codeword (0) to the rare outcome DD and 33-bit codewords (110, 111) to the frequent outcomes AA and BB, so ℓν(x)=−log⁡2ν(x)=(3,3,2,1)\ell_\nu(x)=-\log_2\nu(x)=(3,3,2,1). When nature actually draws X∼μX\sim\mu, Bob’s expected number of questions per symbol is Ex∼μ[ℓν(x)]=12⋅3+14⋅3+18⋅2+18⋅1=218=2.625 bits. \mathbb E_{x\sim\mu}\bigl[\ell_\nu(x)\bigr]=\frac12\cdot 3+\frac14\cdot 3+\frac18\cdot 2+\frac18\cdot 1=\frac{21}{8}=2.625\text{ bits}. How many extra bits per symbol did Bob waste because he coded for ν\nu instead of the truth μ\mu? Subtracting the true entropy H2(μ)=1.75=148H_2(\mu)=1.75=\frac{14}{8} bits gives the excess cost Ex∼μ[ℓν(x)−ℓμ(x)]=∑x∈Dμ(x)((−log⁡2ν(x))−(−log⁡2μ(x)))=∑x∈Dμ(x)log⁡2μ(x)ν(x)=78=0.875 bits. \begin{aligned} \mathbb E_{x\sim\mu}\bigl[\ell_\nu(x)-\ell_\mu(x)\bigr] &=\sum_{x\in\mathcal D}\mu(x)\bigl((-\log_2\nu(x))-(-\log_2\mu(x))\bigr)\\ &=\sum_{x\in\mathcal D}\mu(x)\log_2\frac{\mu(x)}{\nu(x)}=\frac78=0.875\text{ bits}. \end{aligned}

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 ν\nu when reality is μ\mu: ∑x∈Dμ(x)ln⁡μ(x)ν(x)=Ex∼μ ⁣[ln⁡μ(x)ν(x)]. \sum_{x\in\mathcal D}\mu(x)\ln\frac{\mu(x)}{\nu(x)}=\mathbb E_{x\sim\mu}\!\left[\ln\frac{\mu(x)}{\nu(x)}\right]. We have met this exact functional before! In Chapter 4 (§1.7), when we chose negative Shannon entropy ψ(μ)=∑x∈Dμ(x)ln⁡μ(x)\psi(\mu)=\sum_{x\in\mathcal D}\mu(x)\ln\mu(x) as our mirror-descent regularizer on the probability simplex ΔD\Delta_{\mathcal D}, its Bregman divergence was Bψ(μ,ν)=ψ(μ)−ψ(ν)−⟨∇ψ(ν),μ−ν⟩=∑x∈Dμ(x)ln⁡μ(x)ν(x). B_\psi(\mu,\nu)=\psi(\mu)-\psi(\nu)-\langle\nabla\psi(\nu),\mu-\nu\rangle=\sum_{x\in\mathcal D}\mu(x)\ln\frac{\mu(x)}{\nu(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)H(Y)-H(Y\mid X) that we left open at the end of §1.2! Using μX,Y(x,y)=μX(x)μYX←x(y)\mu_{X,Y}(x,y)=\mu_X(x)\mu_Y^{X\gets 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⁡μYX←x(y)μY(y). \begin{aligned} H(Y)-H(Y\mid X) &=-\sum_{y\in\mathcal D}\mu_Y(y)\ln\mu_Y(y)+\sum_{x,y\in\mathcal D}\mu_{X,Y}(x,y)\ln\mu_Y^{X\gets x}(y)\\ &=\sum_{x\in\mathcal D}\mu_X(x)\sum_{y\in\mathcal D}\mu_Y^{X\gets x}(y)\ln\frac{\mu_Y^{X\gets x}(y)}{\mu_Y(y)}. \end{aligned} For each fixed observation X=xX=x, the inner sum over yy is precisely the divergence from the prior distribution μY\mu_Y to the posterior distribution μYX←x\mu_Y^{X\gets x}! Thus H(Y)−H(Y∣X)H(Y)-H(Y\mid X) measures how far, on average over x∼μXx\sim\mu_X, observing XX moves our belief about YY away from the prior μY\mu_Y.

Definition 3 (Kullback–Leibler (KL) divergence and mutual information) Let μ,ν\mu,\nu be probability distributions on a finite set D\mathcal D, and let X,Y,ZX,Y,Z be discrete random variables.

  1. Kullback–Leibler (KL) divergence: The KL divergence (or relative entropy) from ν\nu to μ\mu is KL⁡(μ∥ν):=∑x∈Dμ(x)ln⁡μ(x)ν(x)=Ex∼μ ⁣[ln⁡μ(x)ν(x)], \operatorname{KL}(\mu\|\nu):=\sum_{x\in\mathcal D}\mu(x)\ln\frac{\mu(x)}{\nu(x)}=\mathbb E_{x\sim\mu}\!\left[\ln\frac{\mu(x)}{\nu(x)}\right], with the convention 0ln⁡0:=00\ln 0:=0, 0ln⁡(0/0):=00\ln(0/0):=0, and KL⁡(μ∥ν):=+∞\operatorname{KL}(\mu\|\nu):=+\infty if there exists x∈Dx\in\mathcal D with μ(x)>0\mu(x)>0 and ν(x)=0\nu(x)=0.
  2. Mutual information: The mutual information between XX and YY, and the conditional mutual information between XX and YY given ZZ, 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). I(X;Y):=H(Y)-H(Y\mid X), \qquad I(X;Y\mid Z):=H(Y\mid Z)-H(Y\mid X,Z).

Kullback and Leibler (1951). Solomon Kullback and Richard A. Leibler introduced KL⁡(μ∥ν)\operatorname{KL}(\mu\|\nu) in On Information and Sufficiency (Annals of Mathematical Statistics, 1951) as the mean information for discrimination in favor of hypothesis μ\mu against hypothesis ν\nu per observation x∼μx\sim\mu: every outcome xx multiplies the likelihood ratio μ(x)/ν(x)\mu(x)/\nu(x), so its log-likelihood contribution ln⁡μ(x)ν(x)\ln\frac{\mu(x)}{\nu(x)} has expectation KL⁡(μ∥ν)\operatorname{KL}(\mu\|\nu) under μ\mu.

Expressing entropy and mutual information in terms of KL⁡(⋅∥⋅)\operatorname{KL}(\cdot\|\cdot) immediately unlocks all of their foundational properties—and gives us the chain rules for KL⁡\operatorname{KL} and II as well.

Proposition 2 (Fundamental properties and chain rules for KL divergence and mutual information) Let X,Y,Z,X1,…,XnX,Y,Z,X_1,\ldots,X_n be discrete random variables taking values in finite ranges. Then:

  1. Gibbs’ inequality and the uniform capacity bound: For any distributions μ,ν\mu,\nu on D\mathcal D, KL⁡(μ∥ν)≥0\operatorname{KL}(\mu\|\nu)\ge 0 with equality if and only if μ=ν\mu=\nu. Consequently, comparing μX\mu_X against the uniform distribution uD(x)=1/∣D∣u_{\mathcal D}(x)=1/|\mathcal D| gives H(X)=ln⁡∣D∣−KL⁡(μX∥uD)≤ln⁡∣D∣, H(X)=\ln|\mathcal D|-\operatorname{KL}(\mu_X\|u_{\mathcal D})\le\ln|\mathcal D|, with equality if and only if XX is uniformly distributed on D\mathcal D.
  2. Mutual information as KL divergence (symmetry and conditioning reduces entropy): Mutual information is nonnegative, symmetric in XX and YY, and satisfies I(X;Y)=Ex∼μX ⁣[KL⁡(μYX←x ∥ μY)]=KL⁡(μX,Y ∥ μX⊗μY)=I(Y;X)≥0, \begin{aligned} I(X;Y) &=\mathbb E_{x\sim\mu_X}\!\Bigl[\operatorname{KL}\bigl(\mu_Y^{X\gets x}\,\big\|\,\mu_Y\bigr)\Bigr] =\operatorname{KL}\bigl(\mu_{X,Y}\,\big\|\,\mu_X\otimes\mu_Y\bigr) =I(Y;X)\ge 0, \end{aligned} with I(X;Y)=0I(X;Y)=0 if and only if XX and YY are independent (μX,Y=μX⊗μY\mu_{X,Y}=\mu_X\otimes\mu_Y). In particular, conditioning never increases entropy on average: H(Y∣X)=H(Y)−I(X;Y)≤H(Y)H(Y\mid X)=H(Y)-I(X;Y)\le H(Y), and similarly I(X;Y∣Z)=Ez∼μZEx∼μXZ←z[KL⁡(μYX←x,Z←z∥μYZ←z)]≥0I(X;Y\mid Z)=\mathbb E_{z\sim\mu_Z}\mathbb E_{x\sim\mu_X^{Z\gets z}}[\operatorname{KL}(\mu_Y^{X\gets x,Z\gets z}\|\mu_Y^{Z\gets z})]\ge 0.
  3. Chain rule for KL divergence: For any two joint distributions μX,Y\mu_{X,Y} and νX,Y\nu_{X,Y}, KL⁡(μX,Y∥νX,Y)=KL⁡(μX∥νX)+Ex∼μX ⁣[KL⁡(μYX←x ∥ νYX←x)]. \operatorname{KL}(\mu_{X,Y}\|\nu_{X,Y})=\operatorname{KL}(\mu_X\|\nu_X)+\mathbb E_{x\sim\mu_X}\!\Bigl[\operatorname{KL}\bigl(\mu_Y^{X\gets x}\,\big\|\,\nu_Y^{X\gets x}\bigr)\Bigr].
  4. Chain rule for mutual information: I(X,Y;Z)=I(X;Z)+I(Y;Z∣X)I(X,Y;Z)=I(X;Z)+I(Y;Z\mid X), and by induction, I(X1,X2,…,Xn;Z)=∑i=1nI(Xi;Z∣X<i). I(X_1,X_2,\ldots,X_n;Z)=\sum_{i=1}^n I(X_i;Z\mid X_{<i}).

Proof. For (1), since −ln⁡t-\ln t is strictly convex on (0,∞)(0,\infty) (or using ln⁡t≤t−1\ln t\le t-1 with equality iff t=1t=1), Jensen’s inequality gives KL⁡(μ∥ν)=∑x:μ(x)>0μ(x)(−ln⁡ν(x)μ(x))≥−ln⁡ ⁣(∑x:μ(x)>0μ(x)ν(x)μ(x))=−ln⁡ν(supp⁡(μ))≥0, \operatorname{KL}(\mu\|\nu)=\sum_{x:\mu(x)>0}\mu(x)\Bigl(-\ln\frac{\nu(x)}{\mu(x)}\Bigr)\ge -\ln\!\left(\sum_{x:\mu(x)>0}\mu(x)\frac{\nu(x)}{\mu(x)}\right)=-\ln\nu\bigl(\operatorname{supp}(\mu)\bigr)\ge 0, with equality if and only if ν(x)/μ(x)=1\nu(x)/\mu(x)=1 for all x∈supp⁡(μ)x\in\operatorname{supp}(\mu), i.e., μ=ν\mu=\nu. Evaluating KL⁡(μX∥uD)=∑x∈DμX(x)ln⁡(∣D∣μX(x))=ln⁡∣D∣−H(X)≥0\operatorname{KL}(\mu_X\|u_{\mathcal D})=\sum_{x\in\mathcal D}\mu_X(x)\ln(|\mathcal D|\mu_X(x))=\ln|\mathcal D|-H(X)\ge 0 gives H(X)≤ln⁡∣D∣H(X)\le\ln|\mathcal D|.

For (2), we already expanded I(X;Y)=H(Y)−H(Y∣X)=Ex∼μX[KL⁡(μYX←x∥μY)]I(X;Y)=H(Y)-H(Y\mid X)=\mathbb E_{x\sim\mu_X}[\operatorname{KL}(\mu_Y^{X\gets x}\|\mu_Y)] above. Multiplying numerator and denominator inside ln⁡μYX←x(y)μY(y)\ln\frac{\mu_Y^{X\gets x}(y)}{\mu_Y(y)} by μX(x)\mu_X(x) turns the ratio into μX,Y(x,y)μX(x)μY(y)\frac{\mu_{X,Y}(x,y)}{\mu_X(x)\mu_Y(y)}, so I(X;Y)=∑x,y∈DμX,Y(x,y)ln⁡μX,Y(x,y)μX(x)μY(y)=KL⁡(μX,Y ∥ μX⊗μY). I(X;Y)=\sum_{x,y\in\mathcal D}\mu_{X,Y}(x,y)\ln\frac{\mu_{X,Y}(x,y)}{\mu_X(x)\mu_Y(y)}=\operatorname{KL}\bigl(\mu_{X,Y}\,\big\|\,\mu_X\otimes\mu_Y\bigr). This expression is symmetric in XX and YY, and by (1) it is nonnegative and equals 00 if and only if μX,Y=μX⊗μY\mu_{X,Y}=\mu_X\otimes\mu_Y. Applying the same identity to each conditional slice Z=zZ=z and averaging over z∼μZz\sim\mu_Z yields the formula for I(X;Y∣Z)≥0I(X;Y\mid Z)\ge 0.

For (3), substituting μX,Y(x,y)=μX(x)μYX←x(y)\mu_{X,Y}(x,y)=\mu_X(x)\mu_Y^{X\gets x}(y) and νX,Y(x,y)=νX(x)νYX←x(y)\nu_{X,Y}(x,y)=\nu_X(x)\nu_Y^{X\gets x}(y) into KL⁡(μX,Y∥νX,Y)\operatorname{KL}(\mu_{X,Y}\|\nu_{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), \begin{aligned} \operatorname{KL}(\mu_{X,Y}\|\nu_{X,Y}) &=\sum_{x,y\in\mathcal D}\mu_X(x)\mu_Y^{X\gets x}(y)\!\left(\ln\frac{\mu_X(x)}{\nu_X(x)}+\ln\frac{\mu_Y^{X\gets x}(y)}{\nu_Y^{X\gets x}(y)}\right)\\ &=\operatorname{KL}(\mu_X\|\nu_X)+\sum_{x\in\mathcal D}\mu_X(x)\sum_{y\in\mathcal D}\mu_Y^{X\gets x}(y)\ln\frac{\mu_Y^{X\gets x}(y)}{\nu_Y^{X\gets x}(y)}, \end{aligned} which is KL⁡(μX∥νX)+Ex∼μX[KL⁡(μYX←x∥νYX←x)]\operatorname{KL}(\mu_X\|\nu_X)+\mathbb E_{x\sim\mu_X}[\operatorname{KL}(\mu_Y^{X\gets x}\|\nu_Y^{X\gets x})].

For (4), applying the entropy chain rule (Proposition 1) both unconditioned and conditioned on ZZ gives I(X1,…,Xn;Z)=H(X1,…,Xn)−H(X1,…,Xn∣Z)=∑i=1n(H(Xi∣X<i)−H(Xi∣Z,X<i))=∑i=1nI(Xi;Z∣X<i). \begin{aligned} I(X_1,\ldots,X_n;Z) &=H(X_1,\ldots,X_n)-H(X_1,\ldots,X_n\mid Z)\\ &=\sum_{i=1}^n\bigl(H(X_i\mid X_{<i})-H(X_i\mid Z,X_{<i})\bigr)=\sum_{i=1}^n I(X_i;Z\mid X_{<i}). \end{aligned}

Superadditivity versus subadditivity of mutual information

When we expand I(X1,…,Xn;Z)=∑i=1nI(Xi;Z∣X<i)I(X_1,\ldots,X_n;Z)=\sum_{i=1}^n I(X_i;Z\mid X_{<i}), how does each conditioned term I(Xi;Z∣X<i)I(X_i;Z\mid X_{<i}) compare to the unconditioned marginal mutual information I(Xi;Z)I(X_i;Z)? The direction of the inequality depends on where the independence lies.

Lemma 1 (Superadditivity and subadditivity of mutual information) Let X1,…,XnX_1,\ldots,X_n and ZZ be discrete random variables.

  1. Independent coordinates imply superadditivity: If X1,…,XnX_1,\ldots,X_n are mutually independent, then I(X1,…,Xn;Z)=∑i=1nI(Xi;Z∣X<i)≥∑i=1nI(Xi;Z). I(X_1,\ldots,X_n;Z)=\sum_{i=1}^n I(X_i;Z\mid X_{<i})\ge\sum_{i=1}^n I(X_i;Z).
  2. Conditionally independent coordinates given ZZ imply subadditivity: If X1,…,XnX_1,\ldots,X_n are mutually independent conditioned on ZZ, then I(X1,…,Xn;Z)=∑i=1nI(Xi;Z∣X<i)≤∑i=1nI(Xi;Z). I(X_1,\ldots,X_n;Z)=\sum_{i=1}^n I(X_i;Z\mid X_{<i})\le\sum_{i=1}^n I(X_i;Z).
Proof: comparing H(Xi∣X<i)H(X_i\mid X_{<i}) and H(Xi∣Z,X<i)H(X_i\mid Z,X_{<i}) in each regime

For each coordinate i∈[n]i\in[n], write the ii-th chain-rule summand as I(Xi;Z∣X<i)=H(Xi∣X<i)−H(Xi∣Z,X<i). I(X_i;Z\mid X_{<i})=H(X_i\mid X_{<i})-H(X_i\mid Z,X_{<i}).

  1. If X1,…,XnX_1,\ldots,X_n are mutually independent, then XiX_i is independent of X<iX_{<i}, so H(Xi∣X<i)=H(Xi)H(X_i\mid X_{<i})=H(X_i). Meanwhile, conditioning on extra variables can only reduce entropy (Proposition 2 (2)), so H(Xi∣Z,X<i)≤H(Xi∣Z)H(X_i\mid Z,X_{<i})\le H(X_i\mid 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), I(X_i;Z\mid X_{<i})=H(X_i)-H(X_i\mid Z,X_{<i})\ge H(X_i)-H(X_i\mid Z)=I(X_i;Z), and summing over i=1,…,ni=1,\ldots,n yields I(X1,…,Xn;Z)≥∑i=1nI(Xi;Z)I(X_1,\ldots,X_n;Z)\ge\sum_{i=1}^n I(X_i;Z).
  2. Conversely, if X1,…,XnX_1,\ldots,X_n are mutually independent conditioned on ZZ, then H(Xi∣Z,X<i)=H(Xi∣Z)H(X_i\mid Z,X_{<i})=H(X_i\mid Z), whereas H(Xi∣X<i)≤H(Xi)H(X_i\mid X_{<i})\le H(X_i). Thus I(Xi;Z∣X<i)=H(Xi∣X<i)−H(Xi∣Z)≤H(Xi)−H(Xi∣Z)=I(Xi;Z), I(X_i;Z\mid X_{<i})=H(X_i\mid X_{<i})-H(X_i\mid Z)\le H(X_i)-H(X_i\mid Z)=I(X_i;Z), and summing over i=1,…,ni=1,\ldots,n yields I(X1,…,Xn;Z)≤∑i=1nI(Xi;Z)I(X_1,\ldots,X_n;Z)\le\sum_{i=1}^n I(X_i;Z).

Caution (The parity puzzle: why independent inputs can become dependent after conditioning on ZZ).

It is tempting to assume that when X1,…,XnX_1,\ldots,X_n are mutually independent, I(X1,…,Xn;Z)I(X_1,\ldots,X_n;Z) should equal ∑i=1nI(Xi;Z)\sum_{i=1}^n I(X_i;Z). This fails because X1X_1 and X2X_2 need not remain independent after we condition on ZZ!

For a minimal counterexample, let X1,X2∼Ber⁡(1/2)X_1,X_2\sim\operatorname{Ber}(1/2) be two independent fair coins, and let Z:=X1⊕X2∈{0,1}Z:=X_1\oplus X_2\in\{0,1\} be their parity (XOR). Marginally, ZZ is a fair coin that is completely independent of X1X_1 alone and completely independent of X2X_2 alone, so learning ZZ tells you nothing about either individual coin: I(X1;Z)=0andI(X2;Z)=0. I(X_1;Z)=0\qquad\text{and}\qquad I(X_2;Z)=0. Yet once we condition on X1X_1, knowing the parity Z=X1⊕X2Z=X_1\oplus X_2 determines X2=X1⊕ZX_2=X_1\oplus Z completely! Thus I(X2;Z∣X1)=H(X2∣X1)−0=ln⁡2I(X_2;Z\mid X_1)=H(X_2\mid X_1)-0=\ln 2 (1 bit) and I(X1,X2;Z)=ln⁡2>0+0I(X_1,X_2;Z)=\ln 2>0+0. As we will see in Reading §2.4, the superadditivity direction ∑i=1nI(Xi;Z)≤I(X1,…,Xn;Z)≤H(Z)\sum_{i=1}^n I(X_i;Z)\le I(X_1,\ldots,X_n;Z)\le 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 XX (such as an interaction transcript or a sample from an unknown environment) drawn from one of two candidate distributions μX\mu_X or νX\nu_X on D\mathcal D, and applies an arbitrary—possibly randomized—computation X↦S∈SX\mapsto S\in\mathcal S to produce a decision, action, or summary statistic SS.

Can clever post-processing X↦SX\mapsto S ever amplify the KL divergence between the two worlds? And if KL⁡(μX∥νX)\operatorname{KL}(\mu_X\|\nu_X) is small, how much can the expected behavior of any observable differ between μX\mu_X and νX\nu_X?

Let us break this down into three clean ideas:

  1. Post-processing cannot create KL divergence: Because the algorithm’s post-processing rule Q(s∣x)=P[S=s∣X=x]Q(s\mid x)=\mathbb P[S=s\mid X=x] depends only on the observed input xx and not on which hidden world (μ\mu or ν\nu) generated xx, the conditional distribution of SS given X=xX=x is identical in both worlds: μSX←x=νSX←x\mu_S^{X\gets x}=\nu_S^{X\gets x}. Expanding KL⁡(μX,S∥νX,S)\operatorname{KL}(\mu_{X,S}\|\nu_{X,S}) via the KL chain rule in the order (X,S)(X,S) therefore kills the second term, while expanding in the reverse order (S,X)(S,X) drops a nonnegative conditional KL term—proving the Data Processing Inequality KL⁡(μS∥νS)≤KL⁡(μX∥νX)\operatorname{KL}(\mu_S\|\nu_S)\le\operatorname{KL}(\mu_X\|\nu_X)!
  2. Probing two distributions with bounded test functions: Why do lower-bound proofs care about bounding expectation differences ∣Eμ[Z]−Eν[Z]∣|\mathbb E_\mu[Z]-\mathbb E_\nu[Z]|? Think of any bounded function Z:D→[0,B]Z:\mathcal D\to[0,B] as a test function (or quantitative probe) whose integral under each distribution tests whether an algorithm behaves differently in world μ\mu versus world ν\nu—for instance, the indicator Z=1A∈{0,1}Z=\mathbf 1_A\in\{0,1\} of a decision event (B=1B=1), or the total pull count Z=Ni∗(T)∈[0,T]Z=N_{i^*}(T)\in[0,T] of an arm over TT rounds (B=TB=T). By (ℓ1,ℓ∞)(\ell_1,\ell_\infty) duality, the supremum of ∣Eμ[Z]−Eν[Z]∣|\mathbb E_\mu[Z]-\mathbb E_\nu[Z]| over all test functions Z:D→[0,B]Z:\mathcal D\to[0,B] is governed directly by the total variation distance dTV(μ,ν):=12∑x∈D∣μ(x)−ν(x)∣d_{\mathrm{TV}}(\mu,\nu):=\frac12\sum_{x\in\mathcal D}|\mu(x)-\nu(x)|, and is attained by the binary indicator of A∗:={x∈D:μ(x)≥ν(x)}A^*:=\{x\in\mathcal D:\mu(x)\ge\nu(x)\}.
  3. 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}S:=\mathbf 1_{\{X\in A^*\}}\in\{0,1\} collapses the arbitrary state space D\mathcal D onto a single Bernoulli coin flip, reducing Pinsker’s inequality on any space D\mathcal D to a two-line scalar derivative check! (Why not skip KL divergence altogether and bound dTVd_{\mathrm{TV}} across rounds directly via a triangle-inequality chain rule? Reading §2.2 shows why that direct L1L^1 route loses a T\sqrt T factor.)
A* (μ ≥ ν) (A)ᶜ (μ < ν) S = 1_{A} S = 1 S = 0

Applying the KL chain rule to S=1{X∈A∗}S=\mathbf 1_{\{X\in A^*\}} projects any state space D\mathcal D onto a single Bernoulli coin flip with μS(1)−νS(1)=dTV(μ,ν)\mu_S(1)-\nu_S(1)=d_{\mathrm{TV}}(\mu,\nu).

Theorem 1 (Data Processing Inequality, test-function duality, and Pinsker’s inequality) Let μX\mu_X and νX\nu_X be two probability distributions on a finite space D\mathcal D.

  1. Data Processing Inequality for KL divergence: Let Q(s∣x)Q(s\mid x) be any transition kernel (randomized post-processing channel, or deterministic map S=f(X)S=f(X)) from D\mathcal D to a state space S\mathcal S, and let μS(s)=∑x∈DμX(x)Q(s∣x)\mu_S(s)=\sum_{x\in\mathcal D}\mu_X(x)Q(s\mid x) and νS(s)=∑x∈DνX(x)Q(s∣x)\nu_S(s)=\sum_{x\in\mathcal D}\nu_X(x)Q(s\mid x) be the induced output distributions. Then KL⁡(μS∥νS)≤KL⁡(μX∥νX). \operatorname{KL}(\mu_S\|\nu_S)\le\operatorname{KL}(\mu_X\|\nu_X).
  2. Test-function variational characterization of total variation: Let dTV(μ,ν):=12∑x∈D∣μ(x)−ν(x)∣d_{\mathrm{TV}}(\mu,\nu):=\frac12\sum_{x\in\mathcal D}|\mu(x)-\nu(x)|. For every B>0B>0, sup⁡Z:D→[0,B]∣Eμ[Z]−Eν[Z]∣=B dTV(μ,ν)=Bmax⁡A⊆D(μ(A)−ν(A)). \sup_{Z:\mathcal D\to[0,B]}\bigl|\mathbb E_\mu[Z]-\mathbb E_\nu[Z]\bigr|=B\,d_{\mathrm{TV}}(\mu,\nu)=B\max_{A\subseteq\mathcal D}\bigl(\mu(A)-\nu(A)\bigr).
  3. Pinsker’s inequality and bounded test-function indistinguishability: We have dTV(μ,ν)2≤12KL⁡(μ∥ν)(or dTV(μ,ν)2≤ln⁡22KL⁡2(μ∥ν) when KL⁡2 uses log⁡2), d_{\mathrm{TV}}(\mu,\nu)^2\le\frac12\operatorname{KL}(\mu\|\nu) \qquad\Bigl(\text{or }d_{\mathrm{TV}}(\mu,\nu)^2\le\frac{\ln 2}{2}\operatorname{KL}_2(\mu\|\nu)\text{ when }\operatorname{KL}_2\text{ uses }\log_2\Bigr), and consequently, for every bounded test function Z:D→[0,B]Z:\mathcal D\to[0,B] and every event A⊆DA\subseteq\mathcal D, ∣μ(A)−ν(A)∣≤dTV(μ,ν)≤12KL⁡(μ∥ν),∣Eμ[Z]−Eν[Z]∣≤B dTV(μ,ν)≤B12KL⁡(μ∥ν). \begin{aligned} \bigl|\mu(A)-\nu(A)\bigr|&\le d_{\mathrm{TV}}(\mu,\nu)\le\sqrt{\frac12\operatorname{KL}(\mu\|\nu)},\\ \bigl|\mathbb E_\mu[Z]-\mathbb E_\nu[Z]\bigr|&\le B\,d_{\mathrm{TV}}(\mu,\nu)\le B\sqrt{\frac12\operatorname{KL}(\mu\|\nu)}. \end{aligned}

Proof. Part 1 (Data Processing via the KL chain rule): Let μX,S(x,s)=μX(x)Q(s∣x)\mu_{X,S}(x,s)=\mu_X(x)Q(s\mid x) and νX,S(x,s)=νX(x)Q(s∣x)\nu_{X,S}(x,s)=\nu_X(x)Q(s\mid x) be the joint distributions on D×S\mathcal D\times\mathcal S. Because both joint laws share the exact same conditional transition kernel μSX←x(s)=νSX←x(s)=Q(s∣x)\mu_S^{X\gets x}(s)=\nu_S^{X\gets x}(s)=Q(s\mid x), expanding KL⁡(μX,S∥νX,S)\operatorname{KL}(\mu_{X,S}\|\nu_{X,S}) via the KL chain rule (Proposition 2 (3)) first in the order (X,S)(X,S) gives KL⁡(μX,S∥νX,S)=KL⁡(μX∥νX)+Ex∼μX ⁣[KL⁡(μSX←x ∥ νSX←x)⏟= 0]=KL⁡(μX∥νX). \operatorname{KL}(\mu_{X,S}\|\nu_{X,S})=\operatorname{KL}(\mu_X\|\nu_X)+\mathbb E_{x\sim\mu_X}\!\Bigl[\underbrace{\operatorname{KL}\bigl(\mu_S^{X\gets x}\,\big\|\,\nu_S^{X\gets x}\bigr)}_{=\,0}\Bigr]=\operatorname{KL}(\mu_X\|\nu_X). Expanding the same joint divergence in the reverse order (S,X)(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). \operatorname{KL}(\mu_{X,S}\|\nu_{X,S})=\operatorname{KL}(\mu_S\|\nu_S)+\mathbb E_{s\sim\mu_S}\!\Bigl[\operatorname{KL}\bigl(\mu_X^{S\gets s}\,\big\|\,\nu_X^{S\gets s}\bigr)\Bigr]\ge\operatorname{KL}(\mu_S\|\nu_S). Combining the two displays proves KL⁡(μS∥νS)≤KL⁡(μX∥νX)\operatorname{KL}(\mu_S\|\nu_S)\le\operatorname{KL}(\mu_X\|\nu_X).

Part 2 (Test-function variational duality): Since ∑x∈D(μ(x)−ν(x))=1−1=0\sum_{x\in\mathcal D}(\mu(x)-\nu(x))=1-1=0, subtracting the midpoint constant B2\frac{B}{2} from any test function Z:D→[0,B]Z:\mathcal D\to[0,B] gives ∣Z(x)−B2∣≤B2|Z(x)-\frac{B}{2}|\le\frac{B}{2} for all x∈Dx\in\mathcal D, so (ℓ1,ℓ∞)(\ell_1,\ell_\infty) Hölder duality yields ∣Eμ[Z]−Eν[Z]∣=∣∑x∈D(μ(x)−ν(x)) ⁣(Z(x)−B2)∣≤B2∑x∈D∣μ(x)−ν(x)∣=B dTV(μ,ν). \bigl|\mathbb E_\mu[Z]-\mathbb E_\nu[Z]\bigr| =\left|\sum_{x\in\mathcal D}\bigl(\mu(x)-\nu(x)\bigr)\!\left(Z(x)-\frac{B}{2}\right)\right| \le\frac{B}{2}\sum_{x\in\mathcal D}\bigl|\mu(x)-\nu(x)\bigr| =B\,d_{\mathrm{TV}}(\mu,\nu). Conversely, let A∗:={x∈D:μ(x)≥ν(x)}A^*:=\{x\in\mathcal D:\mu(x)\ge\nu(x)\}. Because ∑x∈A∗(μ(x)−ν(x))−∑x∈(A∗)c(ν(x)−μ(x))=0\sum_{x\in A^*}(\mu(x)-\nu(x))-\sum_{x\in(A^*)^c}(\nu(x)-\mu(x))=0, both sums equal 12∑x∈D∣μ(x)−ν(x)∣=dTV(μ,ν)\frac12\sum_{x\in\mathcal D}|\mu(x)-\nu(x)|=d_{\mathrm{TV}}(\mu,\nu), so the indicator test function Z∗(x):=B 1{x∈A∗}∈{0,B}Z^*(x):=B\,\mathbf 1_{\{x\in A^*\}}\in\{0,B\} attains Eμ[Z∗]−Eν[Z∗]=B(μ(A∗)−ν(A∗))=B dTV(μ,ν)\mathbb E_\mu[Z^*]-\mathbb E_\nu[Z^*]=B(\mu(A^*)-\nu(A^*))=B\,d_{\mathrm{TV}}(\mu,\nu).

Part 3 (Pinsker’s inequality via coarse-graining and scalar calculus): Define the deterministic post-processing map S:=1{X∈A∗}∈{0,1}S:=\mathbf 1_{\{X\in A^*\}}\in\{0,1\} where A∗={x∈D:μX(x)≥νX(x)}A^*=\{x\in\mathcal D:\mu_X(x)\ge\nu_X(x)\}. Its output distributions μS=Ber⁡(p)\mu_S=\operatorname{Ber}(p) and νS=Ber⁡(q)\nu_S=\operatorname{Ber}(q) satisfy p:=μX(A∗)≥q:=νX(A∗)p:=\mu_X(A^*)\ge q:=\nu_X(A^*) and p−q=dTV(μX,νX)p-q=d_{\mathrm{TV}}(\mu_X,\nu_X). By Part 1, KL⁡(μX∥νX)≥KL⁡(μS∥νS)\operatorname{KL}(\mu_X\|\nu_X)\ge\operatorname{KL}(\mu_S\|\nu_S), so it suffices to check the scalar inequality pln⁡pq+(1−p)ln⁡1−p1−q≥2(p−q)2p\ln\frac{p}{q}+(1-p)\ln\frac{1-p}{1-q}\ge 2(p-q)^2 for 0≤q≤p≤10\le q\le p\le 1. (If q=0<pq=0<p, the left-hand side is +∞+\infty; if p=qp=q, both sides are 00.) For fixed p∈(0,1)p\in(0,1) and q∈(0,p]q\in(0,p], differentiate g(q):=pln⁡pq+(1−p)ln⁡1−p1−q−2(p−q)2g(q):=p\ln\frac{p}{q}+(1-p)\ln\frac{1-p}{1-q}-2(p-q)^2 with respect to qq: g′(q)=−pq+1−p1−q+4(p−q)=−p(1−q)+(1−p)qq(1−q)+4(p−q)=(p−q) ⁣(4−1q(1−q))≤0, \begin{aligned} g'(q)&=-\frac{p}{q}+\frac{1-p}{1-q}+4(p-q)\\ &=\frac{-p(1-q)+(1-p)q}{q(1-q)}+4(p-q)=(p-q)\!\left(4-\frac{1}{q(1-q)}\right)\le 0, \end{aligned} because q(1−q)≤14q(1-q)\le\frac14 implies 4−1q(1−q)≤04-\frac{1}{q(1-q)}\le 0 while p−q≥0p-q\ge 0. Hence g(q)≥g(p)=0g(q)\ge g(p)=0 for all q∈(0,p]q\in(0,p], giving KL⁡(μX∥νX)≥KL⁡(μS∥νS)=pln⁡pq+(1−p)ln⁡1−p1−q≥2(p−q)2=2 dTV(μX,νX)2, \operatorname{KL}(\mu_X\|\nu_X)\ge\operatorname{KL}(\mu_S\|\nu_S)=p\ln\frac{p}{q}+(1-p)\ln\frac{1-p}{1-q}\ge 2(p-q)^2=2\,d_{\mathrm{TV}}(\mu_X,\nu_X)^2, and combining with Part 2 yields ∣Eμ[Z]−Eν[Z]∣≤B dTV(μ,ν)≤B12KL⁡(μ∥ν)|\mathbb E_\mu[Z]-\mathbb E_\nu[Z]|\le B\,d_{\mathrm{TV}}(\mu,\nu)\le B\sqrt{\frac12\operatorname{KL}(\mu\|\nu)}.

1.5 The adaptive multi-armed bandit model and the T/nT/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(Tln⁡n)O(\sqrt{T\ln n}) (shown to be tight in Reading §2.1), yet leave a polynomial dimension factor n\sqrt n in the O(nTln⁡n)O(\sqrt{nT\ln n}) bound of EXP3 under bandit feedback?

In full information, every round reveals all nn components of the loss vector ℓt\ell_t, so after TT rounds the learner has observed TT samples from every single expert i∈[n]i\in[n]. Under bandit feedback, by contrast, the learner observes only the single reward RtR_t of the arm At∈[n]A_t\in[n] it actually pulled at round tt. 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 TT-round interaction transcripts.

Definition 4 (Canonical bandit model, interaction transcript, and expected regret) Fix n≥2n\ge 2 arms and a time horizon T≥1T\ge 1.

  1. Environment (instance): A Bernoulli bandit environment ν=(ν1,…,νn)\nu=(\nu_1,\ldots,\nu_n) is a tuple of nn reward distributions on {0,1}\{0,1\}, where arm i∈[n]i\in[n] generates reward 11 with probability μi∈[0,1]\mu_i\in[0,1] and 00 with probability 1−μi1-\mu_i, i.e., νi=Ber⁡(μi)\nu_i=\operatorname{Ber}(\mu_i).
  2. Adaptive bandit policy: A bandit algorithm (policy) A=(π1,…,πT)\mathcal A=(\pi_1,\ldots,\pi_T) is a sequence of conditional probability kernels on [n][n]: at round t∈[T]t\in[T], given the observed history Ht−1:=(A1,R1,…,At−1,Rt−1)∈Ωt−1:=([n]×{0,1})t−1 H_{t-1}:=(A_1,R_1,\ldots,A_{t-1},R_{t-1})\in\Omega_{t-1}:=\bigl([n]\times\{0,1\}\bigr)^{t-1} (with H0:=∅H_0:=\emptyset), the learner draws an action At∈[n]A_t\in[n] from the distribution πt(⋅∣Ht−1)∈Δn\pi_t(\cdot\mid H_{t-1})\in\Delta_n, and the environment draws a binary reward Rt∼νAtR_t\sim\nu_{A_t} conditionally independently of the past given (Ht−1,At)(H_{t-1},A_t): PνA[At=at∣Ht−1=ht−1]=πt(at∣ht−1),PνA[Rt=rt∣Ht−1=ht−1, At=at]=νat(rt). \begin{aligned} \mathbb P_\nu^{\mathcal A}\bigl[A_t=a_t\mid H_{t-1}=h_{t-1}\bigr]&=\pi_t(a_t\mid h_{t-1}),\\ \mathbb P_\nu^{\mathcal A}\bigl[R_t=r_t\mid H_{t-1}=h_{t-1},\,A_t=a_t\bigr]&=\nu_{a_t}(r_t). \end{aligned}
  3. Transcript measure and pull counts: Together, the policy A\mathcal A and environment ν\nu define a probability distribution PνA\mathbb P_\nu^{\mathcal A} (with expectation EνA\mathbb E_\nu^{\mathcal A}, abbreviated Eν\mathbb E_\nu when A\mathcal A is fixed) over the full TT-round transcript HT=(A1,R1,…,AT,RT)∈ΩT=([n]×{0,1})TH_T=(A_1,R_1,\ldots,A_T,R_T)\in\Omega_T=([n]\times\{0,1\})^T. For each arm i∈[n]i\in[n], let Ni(T):=∑t=1T1{At=i} N_i(T):=\sum_{t=1}^T\mathbf 1_{\{A_t=i\}} denote the total number of times arm ii is pulled during the TT rounds, so ∑i=1nNi(T)=T\sum_{i=1}^n N_i(T)=T on every transcript.
  4. Expected regret: Let μ∗(ν):=max⁡i∈[n]μi\mu^*(\nu):=\max_{i\in[n]}\mu_i be the highest mean reward in ν\nu, and let Δi(ν):=μ∗(ν)−μi≥0\Delta_i(\nu):=\mu^*(\nu)-\mu_i\ge 0 be the suboptimality gap of arm ii. By conditioning each round’s reward RtR_t on (Ht−1,At)(H_{t-1},A_t) (the tower property), the expected regret of A\mathcal A on environment ν\nu is Reg⁡T(A,ν):=Tμ∗(ν)−Eν ⁣[∑t=1TRt]=∑i=1nΔi(ν) Eν[Ni(T)]. \operatorname{Reg}_T(\mathcal A,\nu):=T\mu^*(\nu)-\mathbb E_\nu\!\left[\sum_{t=1}^T R_t\right]=\sum_{i=1}^n\Delta_i(\nu)\,\mathbb E_\nu\bigl[N_i(T)\bigr].

Why a stochastic lower bound also lower-bounds adversarial bandits. In Chapter 4 we defined adversarial bandits using losses ℓt∈[0,1]n\ell_t\in[0,1]^n chosen by an oblivious adversary. Setting ℓt(i):=1−Rt,i\ell_t(i):=1-R_{t,i} where Rt,i∼νiR_{t,i}\sim\nu_i is drawn i.i.d. across t=1,…,Tt=1,\ldots,T embeds any stochastic Bernoulli environment ν\nu as a randomized oblivious adversary! By linearity of expectation, E[∑t=1Tℓt(At)−min⁡i∈[n]∑t=1Tℓt(i)]≥max⁡i∈[n]E[∑t=1T(Rt,i−Rt,At)]=Reg⁡T(A,ν)\mathbb E[\sum_{t=1}^T\ell_t(A_t)-\min_{i\in[n]}\sum_{t=1}^T\ell_t(i)]\ge\max_{i\in[n]}\mathbb E[\sum_{t=1}^T(R_{t,i}-R_{t,A_t})]=\operatorname{Reg}_T(\mathcal A,\nu), so sup⁡νReg⁡T(A,ν)=Ω(nT)\sup_\nu\operatorname{Reg}_T(\mathcal A,\nu)=\Omega(\sqrt{nT}) immediately implies an Ω(nT)\Omega(\sqrt{nT}) worst-case lower bound for adversarial bandits.

Now let us see how the conservation law ∑i=1nNi(T)=T\sum_{i=1}^n N_i(T)=T traps every bandit algorithm:

Caution (The 11-versus-nn feedback bottleneck and the hidden optimal arm).

Consider a completely flat base environment ν(0)\nu^{(0)} in which every arm i∈[n]i\in[n] is a fair coin Ber⁡(1/2)\operatorname{Ber}(1/2). Taking expectations under P0:=Pν(0)A\mathbb P_0:=\mathbb P_{\nu^{(0)}}^{\mathcal A} gives ∑i=1nE0[Ni(T)]=T. \sum_{i=1}^n\mathbb E_0\bigl[N_i(T)\bigr]=T. By the pigeonhole principle, for any fixed algorithm A\mathcal A, there exists at least one arm i∗∈[n]i^*\in[n] that A\mathcal A pulls at most an average of T/nT/n times under ν(0)\nu^{(0)}: E0[Ni∗(T)]≤Tn. \mathbb E_0\bigl[N_{i^*}(T)\bigr]\le\frac{T}{n}. Now construct a perturbed environment ν(i∗)\nu^{(i^*)} by secretly boosting the mean of only that least-explored arm i∗i^* from 12\frac12 to 12+Δ\frac12+\Delta, while leaving all other n−1n-1 arms at Ber⁡(1/2)\operatorname{Ber}(1/2).

Look at the learner’s predicament: whenever A\mathcal A pulls any of the other n−1n-1 arms j≠i∗j\ne i^*, the reward distribution is Ber⁡(1/2)\operatorname{Ber}(1/2) under both ν(0)\nu^{(0)} and ν(i∗)\nu^{(i^*)}—so those pulls reveal zero information about whether the true environment is ν(0)\nu^{(0)} or ν(i∗)\nu^{(i^*)}! Statistical evidence distinguishing ν(i∗)\nu^{(i^*)} from ν(0)\nu^{(0)} arrives only on the rounds where A\mathcal A pulls arm i∗i^* itself, which happens at most T/nT/n times in expectation under ν(0)\nu^{(0)}.

1.6 The Bandit Divergence Decomposition and the Ω(nT)\Omega(\sqrt{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)\operatorname{KL}(\mathbb P_\nu^{\mathcal A}\|\mathbb P_{\nu'}^{\mathcal A}) between two TT-round transcript distributions PνA\mathbb P_\nu^{\mathcal A} and Pν′A\mathbb P_{\nu'}^{\mathcal A} when the policy A\mathcal 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,…,Tt=1,\ldots,T, the transcript extends from Ht−1H_{t-1} to Ht=(Ht−1,At,Rt)H_t=(H_{t-1},A_t,R_t) in two half-steps:

  1. Action selection Ht−1↦(Ht−1,At)H_{t-1}\mapsto(H_{t-1},A_t): Given the past history Ht−1=ht−1H_{t-1}=h_{t-1}, the learner draws At∼πt(⋅∣ht−1)A_t\sim\pi_t(\cdot\mid h_{t-1}). Because the learner does not know whether the environment is ν\nu or ν′\nu', its conditional kernel πt(at∣ht−1)\pi_t(a_t\mid h_{t-1}) is identical under PνA\mathbb P_\nu^{\mathcal A} and Pν′A\mathbb P_{\nu'}^{\mathcal A}. Just as in the proof of the Data Processing Inequality, the conditional KL divergence of choosing AtA_t given Ht−1=ht−1H_{t-1}=h_{t-1} is zero: KL⁡(πt(⋅∣ht−1) ∥ πt(⋅∣ht−1))=0! \operatorname{KL}\Bigl(\pi_t(\cdot\mid h_{t-1})\,\Big\|\,\pi_t(\cdot\mid h_{t-1})\Bigr)=0!
  2. Reward observation (Ht−1,At)↦(Ht−1,At,Rt)(H_{t-1},A_t)\mapsto(H_{t-1},A_t,R_t): Conditional on (Ht−1=ht−1, At=at)(H_{t-1}=h_{t-1},\,A_t=a_t), the environment draws Rt∼νatR_t\sim\nu_{a_t} in world ν\nu and Rt∼νat′R_t\sim\nu'_{a_t} in world ν′\nu'. By the KL chain rule, this step adds exactly KL⁡(νat∥νat′)\operatorname{KL}(\nu_{a_t}\|\nu'_{a_t}) to the divergence!

Equivalently, writing out the full transcript likelihood PνA(hT)=∏t=1Tπt(at∣ht−1)νat(rt)\mathbb P_\nu^{\mathcal A}(h_T)=\prod_{t=1}^T\pi_t(a_t\mid h_{t-1})\nu_{a_t}(r_t), the algorithm’s policy factors πt(at∣ht−1)\pi_t(a_t\mid h_{t-1}) cancel completely between numerator and denominator: ln⁡PνA(hT)Pν′A(hT)=∑t=1Tln⁡πt(at∣ht−1)πt(at∣ht−1)⏟= 0 (policy cancels!)+∑t=1Tln⁡νat(rt)νat′(rt)=∑t=1Tln⁡νat(rt)νat′(rt). \ln\frac{\mathbb P_\nu^{\mathcal A}(h_T)}{\mathbb P_{\nu'}^{\mathcal A}(h_T)} =\sum_{t=1}^T\underbrace{\ln\frac{\pi_t(a_t\mid h_{t-1})}{\pi_t(a_t\mid h_{t-1})}}_{=\,0\text{ (policy cancels!)}}+\sum_{t=1}^T\ln\frac{\nu_{a_t}(r_t)}{\nu'_{a_t}(r_t)} =\sum_{t=1}^T\ln\frac{\nu_{a_t}(r_t)}{\nu'_{a_t}(r_t)}.

H_{t−1} history πₜ(aₜ|h_{t−1}) KL = 0 (same!) Aₜ = i arm pull νᵢ vs. ν’ᵢ +KL(νᵢ ∥ ν’ᵢ) Rₜ Pulling arm i adds exactly KL(νᵢ ∥ ν’ᵢ) to the budget

At round tt, choosing AtA_t given Ht−1H_{t-1} contributes zero KL divergence because πt\pi_t is identical under both worlds; observing Rt∼νAtR_t\sim\nu_{A_t} contributes KL⁡(νAt∥νAt′)\operatorname{KL}(\nu_{A_t}\|\nu'_{A_t}).

Taking the expectation of this sum under PνA\mathbb P_\nu^{\mathcal A} yields the fundamental identity of bandit lower-bound theory.

Lemma 2 (Bandit Divergence Decomposition Identity) For any nn-armed bandit policy A\mathcal A, any horizon T≥1T\ge 1, and any two bandit environments ν=(ν1,…,νn)\nu=(\nu_1,\ldots,\nu_n) and ν′=(ν1′,…,νn′)\nu'=(\nu'_1,\ldots,\nu'_n) such that KL⁡(νi∥νi′)<∞\operatorname{KL}(\nu_i\|\nu'_i)<\infty for all i∈[n]i\in[n], the KL divergence between the induced TT-round transcript distributions PνA\mathbb P_\nu^{\mathcal A} and Pν′A\mathbb P_{\nu'}^{\mathcal A} satisfies KL⁡(PνA ∥ Pν′A)=∑i=1nEν[Ni(T)]⋅KL⁡(νi∥νi′). \operatorname{KL}\bigl(\mathbb P_\nu^{\mathcal A}\,\big\|\,\mathbb P_{\nu'}^{\mathcal A}\bigr)=\sum_{i=1}^n\mathbb E_\nu\bigl[N_i(T)\bigr]\cdot\operatorname{KL}(\nu_i\|\nu'_i).

Proof. By induction on TT 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νAH_T=(A_1,R_1,\ldots,A_T,R_T)\sim\mathbb P_\nu^{\mathcal A}—we have KL⁡(PνA ∥ Pν′A)=Eν ⁣[ln⁡PνA(HT)Pν′A(HT)]=∑t=1TEν ⁣[ln⁡νAt(Rt)νAt′(Rt)]. \operatorname{KL}\bigl(\mathbb P_\nu^{\mathcal A}\,\big\|\,\mathbb P_{\nu'}^{\mathcal A}\bigr) =\mathbb E_\nu\!\left[\ln\frac{\mathbb P_\nu^{\mathcal A}(H_T)}{\mathbb P_{\nu'}^{\mathcal A}(H_T)}\right] =\sum_{t=1}^T\mathbb E_\nu\!\left[\ln\frac{\nu_{A_t}(R_t)}{\nu'_{A_t}(R_t)}\right]. For each round t∈[T]t\in[T], condition first on (Ht−1,At)(H_{t-1},A_t). Conditional on (Ht−1,At)(H_{t-1},A_t), if At=iA_t=i, the reward RtR_t is drawn fresh from νi\nu_i, so Eν ⁣[ln⁡νAt(Rt)νAt′(Rt) | Ht−1,At]=∑i=1n1{At=i} ER∼νi ⁣[ln⁡νi(R)νi′(R)]=∑i=1n1{At=i} KL⁡(νi∥νi′). \begin{aligned} \mathbb E_\nu\!\left[\ln\frac{\nu_{A_t}(R_t)}{\nu'_{A_t}(R_t)}\,\middle|\,H_{t-1},A_t\right] &=\sum_{i=1}^n\mathbf 1_{\{A_t=i\}}\,\mathbb E_{R\sim\nu_i}\!\left[\ln\frac{\nu_i(R)}{\nu'_i(R)}\right] =\sum_{i=1}^n\mathbf 1_{\{A_t=i\}}\,\operatorname{KL}(\nu_i\|\nu'_i). \end{aligned} Taking the outer expectation over (Ht−1,At)(H_{t-1},A_t) and summing from t=1t=1 to TT gives KL⁡(PνA ∥ Pν′A)=∑t=1TEν ⁣[∑i=1n1{At=i} KL⁡(νi∥νi′)]=∑i=1nEν ⁣[∑t=1T1{At=i}]KL⁡(νi∥νi′)=∑i=1nEν[Ni(T)]⋅KL⁡(νi∥νi′), \begin{aligned} \operatorname{KL}\bigl(\mathbb P_\nu^{\mathcal A}\,\big\|\,\mathbb P_{\nu'}^{\mathcal A}\bigr) &=\sum_{t=1}^T\mathbb E_\nu\!\left[\sum_{i=1}^n\mathbf 1_{\{A_t=i\}}\,\operatorname{KL}(\nu_i\|\nu'_i)\right]\\ &=\sum_{i=1}^n\mathbb E_\nu\!\left[\sum_{t=1}^T\mathbf 1_{\{A_t=i\}}\right]\operatorname{KL}(\nu_i\|\nu'_i) =\sum_{i=1}^n\mathbb E_\nu\bigl[N_i(T)\bigr]\cdot\operatorname{KL}(\nu_i\|\nu'_i), \end{aligned} where we substituted Ni(T)=∑t=1T1{At=i}N_i(T)=\sum_{t=1}^T\mathbf 1_{\{A_t=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 22-round adaptive policy) Consider n=2n=2 Bernoulli arms with νi=Ber⁡(pi)\nu_i=\operatorname{Ber}(p_i) and νi′=Ber⁡(qi)\nu'_i=\operatorname{Ber}(q_i) (i=1,2i=1,2) over T=2T=2 rounds, and consider the deterministic adaptive “Win-Stay, Lose-Shift” policy A\mathcal A:

  • At round t=1t=1, always pull arm A1=1A_1=1.
  • At round t=2t=2, if R1=1R_1=1, stay on arm A2=1A_2=1; if R1=0R_1=0, switch to arm A2=2A_2=2.

Only four transcripts h2=(a1,r1,a2,r2)h_2=(a_1,r_1,a_2,r_2) have nonzero probability under A\mathcal A:

Transcript h2=(a1,r1,a2,r2)h_2=(a_1,r_1,a_2,r_2) Probability PνA(h2)\mathbb P_\nu^{\mathcal A}(h_2) Log-likelihood ratio ln⁡PνA(h2)Pν′A(h2)\ln\frac{\mathbb P_\nu^{\mathcal A}(h_2)}{\mathbb P_{\nu'}^{\mathcal A}(h_2)} Pull counts (N1,N2)(N_1,N_2)
(1, 1, 1, 1)(1,\,1,\,1,\,1) p1⋅p1p_1\cdot p_1 ln⁡p1q1+ln⁡p1q1\ln\frac{p_1}{q_1}+\ln\frac{p_1}{q_1} (2, 0)(2,\,0)
(1, 1, 1, 0)(1,\,1,\,1,\,0) p1⋅(1−p1)p_1\cdot(1-p_1) ln⁡p1q1+ln⁡1−p11−q1\ln\frac{p_1}{q_1}+\ln\frac{1-p_1}{1-q_1} (2, 0)(2,\,0)
(1, 0, 2, 1)(1,\,0,\,2,\,1) (1−p1)⋅p2(1-p_1)\cdot p_2 ln⁡1−p11−q1+ln⁡p2q2\ln\frac{1-p_1}{1-q_1}+\ln\frac{p_2}{q_2} (1, 1)(1,\,1)
(1, 0, 2, 0)(1,\,0,\,2,\,0) (1−p1)⋅(1−p2)(1-p_1)\cdot(1-p_2) ln⁡1−p11−q1+ln⁡1−p21−q2\ln\frac{1-p_1}{1-q_1}+\ln\frac{1-p_2}{1-q_2} (1, 1)(1,\,1)

Summing PνA(h2)ln⁡PνA(h2)Pν′A(h2)\mathbb P_\nu^{\mathcal A}(h_2)\ln\frac{\mathbb P_\nu^{\mathcal A}(h_2)}{\mathbb P_{\nu'}^{\mathcal A}(h_2)} across the four rows:

  • The first-round terms sum to p1ln⁡p1q1+(1−p1)ln⁡1−p11−q1=KL⁡(ν1∥ν1′)p_1\ln\frac{p_1}{q_1}+(1-p_1)\ln\frac{1-p_1}{1-q_1}=\operatorname{KL}(\nu_1\|\nu'_1);
  • The second-round terms on rows 1–2 (where R1=1R_1=1, probability p1p_1) sum to p1KL⁡(ν1∥ν1′)p_1\operatorname{KL}(\nu_1\|\nu'_1);
  • The second-round terms on rows 3–4 (where R1=0R_1=0, probability 1−p11-p_1) sum to (1−p1)KL⁡(ν2∥ν2′)(1-p_1)\operatorname{KL}(\nu_2\|\nu'_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′)(1+p_1)\operatorname{KL}(\nu_1\|\nu'_1)+(1-p_1)\operatorname{KL}(\nu_2\|\nu'_2)=\mathbb E_\nu[N_1(2)]\operatorname{KL}(\nu_1\|\nu'_1)+\mathbb E_\nu[N_2(2)]\operatorname{KL}(\nu_2\|\nu'_2), matching Lemma 2!

Closing the trap: the Ω(nT)\Omega(\sqrt{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)\operatorname{Ber}(1/2) and Ber⁡(12+Δ)\operatorname{Ber}(\frac12+\Delta).

Lemma 3 (Quadratic upper bound on fair-to-biased Bernoulli KL divergence) For every Δ∈[0,1/4]\Delta\in[0,1/4], KL⁡ ⁣(Ber⁡ ⁣(12) ∥ Ber⁡ ⁣(12+Δ))=−12ln⁡(1−4Δ2)≤4Δ2. \operatorname{KL}\!\left(\operatorname{Ber}\!\left(\tfrac12\right)\,\middle\|\,\operatorname{Ber}\!\left(\tfrac12+\Delta\right)\right)=-\frac12\ln\bigl(1-4\Delta^2\bigr)\le 4\Delta^2.

Proof. By definition of KL divergence between Ber⁡(1/2)\operatorname{Ber}(1/2) and Ber⁡(12+Δ)\operatorname{Ber}(\frac12+\Delta), KL⁡ ⁣(Ber⁡ ⁣(12) ∥ Ber⁡ ⁣(12+Δ))=12ln⁡1/21/2+Δ+12ln⁡1/21/2−Δ=12ln⁡1/41/4−Δ2=−12ln⁡(1−4Δ2). \begin{aligned} \operatorname{KL}\!\left(\operatorname{Ber}\!\left(\tfrac12\right)\,\middle\|\,\operatorname{Ber}\!\left(\tfrac12+\Delta\right)\right) &=\frac12\ln\frac{1/2}{1/2+\Delta}+\frac12\ln\frac{1/2}{1/2-\Delta}\\ &=\frac12\ln\frac{1/4}{1/4-\Delta^2} =-\frac12\ln\bigl(1-4\Delta^2\bigr). \end{aligned} For u=4Δ2∈[0,1/4]u=4\Delta^2\in[0,1/4], the elementary inequality −ln⁡(1−u)=∫0udt1−t≤u1−1/4=43u≤2u-\ln(1-u)=\int_0^u\frac{\mathrm dt}{1-t}\le\frac{u}{1-1/4}=\frac43 u\le 2u gives −12ln⁡(1−4Δ2)≤u=4Δ2-\frac12\ln(1-4\Delta^2)\le u=4\Delta^2.

Why put Ber⁡(1/2)\operatorname{Ber}(1/2) in the first argument of KL⁡(⋅∥⋅)\operatorname{KL}(\cdot\|\cdot)? Placing the fair coin Ber⁡(1/2)\operatorname{Ber}(1/2) on the left makes the two log-ratios ln⁡1/21/2+Δ\ln\frac{1/2}{1/2+\Delta} and ln⁡1/21/2−Δ\ln\frac{1/2}{1/2-\Delta} combine with equal weights 1/21/2 into −12ln⁡(1−4Δ2)-\frac12\ln(1-4\Delta^2)! Even more importantly, in Theorem 2 it puts the base measure P0\mathbb P_0 on the left of KL⁡(P0∥Pi∗)\operatorname{KL}(\mathbb P_0\|\mathbb P_{i^*}), so the Divergence Decomposition weights the KL by E0[Ni∗(T)]≤T/n\mathbb E_0[N_{i^*}(T)]\le T/n under the single base environment ν(0)\nu^{(0)}.

Combining the pigeonhole choice of i∗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)\Omega(\sqrt{nT}) minimax regret lower bound for multi-armed bandits) Let n≥2n\ge 2 and T≥n/2T\ge n/2. For every bandit algorithm A\mathcal A, there exists an nn-armed Bernoulli environment ν\nu such that Reg⁡T(A,ν)≥1162nT≈0.0442nT=Ω(nT). \operatorname{Reg}_T(\mathcal A,\nu)\ge\frac{1}{16\sqrt 2}\sqrt{nT}\approx 0.0442\sqrt{nT}=\Omega(\sqrt{nT}).

Proof. Fix any bandit algorithm A\mathcal A, and let ν(0):=(Ber⁡(1/2),…,Ber⁡(1/2))\nu^{(0)}:=\bigl(\operatorname{Ber}(1/2),\ldots,\operatorname{Ber}(1/2)\bigr) be the flat base environment in which all nn arms are fair coins, with induced transcript distribution P0:=Pν(0)A\mathbb P_0:=\mathbb P_{\nu^{(0)}}^{\mathcal A} and expectation E0\mathbb E_0.

Step 1 (Identifying the least-explored arm under ν(0)\nu^{(0)}): Because ∑i=1nNi(T)=T\sum_{i=1}^n N_i(T)=T on every transcript, linearity of expectation gives ∑i=1nE0[Ni(T)]=T\sum_{i=1}^n\mathbb E_0[N_i(T)]=T. By the pigeonhole principle, there exists at least one arm i∗∈[n]i^*\in[n] such that E0[Ni∗(T)]≤Tn≤T2(since n≥2). \mathbb E_0\bigl[N_{i^*}(T)\bigr]\le\frac{T}{n}\le\frac{T}{2}\qquad(\text{since }n\ge 2).

Step 2 (Bounding the transcript KL divergence to ν(i∗)\nu^{(i^*)}): Fix a gap parameter Δ∈(0,1/4]\Delta\in(0,1/4] to be chosen in Step 3, and define the perturbed environment ν(i∗)\nu^{(i^*)} by setting νi∗(i∗):=Ber⁡ ⁣(12+Δ)andνj(i∗):=Ber⁡ ⁣(12)for all j∈[n]∖{i∗}. \nu^{(i^*)}_{i^*}:=\operatorname{Ber}\!\left(\frac12+\Delta\right) \qquad\text{and}\qquad \nu^{(i^*)}_j:=\operatorname{Ber}\!\left(\frac12\right)\quad\text{for all }j\in[n]\setminus\{i^*\}. Write Pi∗:=Pν(i∗)A\mathbb P_{i^*}:=\mathbb P_{\nu^{(i^*)}}^{\mathcal A} and Ei∗\mathbb E_{i^*} for the transcript law and expectation under ν(i∗)\nu^{(i^*)}. Because νj(0)=νj(i∗)\nu^{(0)}_j=\nu^{(i^*)}_j has KL⁡(νj(0)∥νj(i∗))=0\operatorname{KL}(\nu^{(0)}_j\|\nu^{(i^*)}_j)=0 for every arm j≠i∗j\ne i^*, the Bandit Divergence Decomposition Identity (Lemma 2) and Lemma 3 give KL⁡(P0 ∥ Pi∗)=∑j=1nE0[Nj(T)]⋅KL⁡(νj(0) ∥ νj(i∗))=E0[Ni∗(T)]⋅KL⁡ ⁣(Ber⁡ ⁣(12) ∥ Ber⁡ ⁣(12+Δ))≤Tn⋅4Δ2. \begin{aligned} \operatorname{KL}\bigl(\mathbb P_0\,\big\|\,\mathbb P_{i^*}\bigr) &=\sum_{j=1}^n\mathbb E_0\bigl[N_j(T)\bigr]\cdot\operatorname{KL}\bigl(\nu^{(0)}_j\,\big\|\,\nu^{(i^*)}_j\bigr)\\ &=\mathbb E_0\bigl[N_{i^*}(T)\bigr]\cdot\operatorname{KL}\!\left(\operatorname{Ber}\!\left(\tfrac12\right)\,\middle\|\,\operatorname{Ber}\!\left(\tfrac12+\Delta\right)\right) \le\frac{T}{n}\cdot 4\Delta^2. \end{aligned}

Step 3 (Pinsker indistinguishability on the pull-count test function Ni∗(T)N_{i^*}(T)): View the pull count Z:=Ni∗(T)∈[0,T]Z:=N_{i^*}(T)\in[0,T] as a bounded test function on the transcript space ΩT\Omega_T with range B=TB=T. By Theorem 1 (3) and the symmetry dTV(Pi∗,P0)=dTV(P0,Pi∗)d_{\mathrm{TV}}(\mathbb P_{i^*},\mathbb P_0)=d_{\mathrm{TV}}(\mathbb P_0,\mathbb P_{i^*}), Ei∗[Ni∗(T)]−E0[Ni∗(T)]≤T dTV(Pi∗,P0)≤T12KL⁡(P0 ∥ Pi∗)≤T12⋅Tn⋅4Δ2=TΔ2Tn. \begin{aligned} \mathbb E_{i^*}\bigl[N_{i^*}(T)\bigr]-\mathbb E_0\bigl[N_{i^*}(T)\bigr] &\le T\,d_{\mathrm{TV}}(\mathbb P_{i^*},\mathbb P_0) \le T\sqrt{\frac12\operatorname{KL}\bigl(\mathbb P_0\,\big\|\,\mathbb P_{i^*}\bigr)}\\ &\le T\sqrt{\frac12\cdot\frac{T}{n}\cdot 4\Delta^2} =T\Delta\sqrt{\frac{2T}{n}}. \end{aligned} Now choose the perturbation size Δ:=142nT∈(0,14](since T≥n/2). \Delta:=\frac{1}{4\sqrt 2}\sqrt{\frac{n}{T}}\in\left(0,\frac14\right]\qquad(\text{since }T\ge n/2). With this choice, TΔ2Tn=T4T\Delta\sqrt{\frac{2T}{n}}=\frac{T}{4}. Combining this with E0[Ni∗(T)]≤Tn≤T2\mathbb E_0[N_{i^*}(T)]\le\frac{T}{n}\le\frac{T}{2} yields Ei∗[Ni∗(T)]≤T2+T4=34T. \mathbb E_{i^*}\bigl[N_{i^*}(T)\bigr]\le\frac{T}{2}+\frac{T}{4}=\frac34 T.

Step 4 (Converting unpulled optimal rounds into regret): Under environment ν(i∗)\nu^{(i^*)}, arm i∗i^* is the unique optimal arm (with mean μ∗=12+Δ\mu^*=\frac12+\Delta), and every pull of any suboptimal arm j≠i∗j\ne i^* incurs suboptimality gap Δj=Δ\Delta_j=\Delta. By Definition 4 (4), Reg⁡T(A,ν(i∗))=∑j≠i∗Δ Ei∗[Nj(T)]=Δ Ei∗ ⁣[T−Ni∗(T)]≥Δ ⁣(T−34T)=14TΔ=1162nT. \begin{aligned} \operatorname{Reg}_T\bigl(\mathcal A,\nu^{(i^*)}\bigr) &=\sum_{j\ne i^*}\Delta\,\mathbb E_{i^*}\bigl[N_j(T)\bigr] =\Delta\,\mathbb E_{i^*}\!\bigl[T-N_{i^*}(T)\bigr]\\ &\ge\Delta\!\left(T-\frac34 T\right) =\frac14 T\Delta =\frac{1}{16\sqrt 2}\sqrt{nT}. \end{aligned}

When 1≤T<n/21\le T<n/2, placing deterministic reward 11 on a single least-pulled arm i∗i^* (with E0[Ni∗(T)]≤T/n<1/2\mathbb E_0[N_{i^*}(T)]\le T/n<1/2 under all-00 rewards) similarly forces Reg⁡T≥T/2\operatorname{Reg}_T\ge T/2, so across all horizons (n,T)(n,T) the minimax regret of nn-armed bandits is Ω(min⁡{T,nT})\Omega(\min\{T,\sqrt{nT}\})—matching Chapter 4’s O(nTln⁡n)O(\sqrt{nT\ln n}) EXP3 bound up to ln⁡n\sqrt{\ln n} (and matched to within a constant factor by Tsallis-INF). Under bandit feedback, the conservation law ∑i=1nE0[Ni(T)]=T\sum_{i=1}^n\mathbb E_0[N_i(T)]=T starves at least one arm down to T/nT/n expected samples, inflating the undetectable gap threshold from Θ(1/T)\Theta(1/\sqrt T) to Θ(n/T)\Theta(\sqrt{n/T}) and making the n\sqrt n factor an unbreakable law of information. (See Reading §2.1 for the contrasting Ω(Tln⁡n)\Omega(\sqrt{T\ln n}) full-information expert lower bound and a side-by-side synthesis table, and Reading §2.2 for why bounding dTVd_{\mathrm{TV}} directly without KL divergence loses the T\sqrt T factor.)

II. Reading Contents

2.1 Full-information expert lower bounds: why complete feedback pays only Ω(Tln⁡n)\Omega(\sqrt{T\ln n})

In Course Content (§§1.5–1.6), we proved that under bandit feedback, sample starvation (E0[Ni∗(T)]≤T/n\mathbb E_0[N_{i^*}(T)]\le T/n) forces Ω(nT)\Omega(\sqrt{nT}) regret. By contrast, under full information—where the learner observes the entire loss vector ℓt=(ℓt(1),…,ℓt(n))∈{0,1}n\ell_t=(\ell_t(1),\ldots,\ell_t(n))\in\{0,1\}^n at the end of every round tt—Multiplicative Weights Update achieves O(Tln⁡n)O(\sqrt{T\ln n}) regret (Chapter 4, §1.9, Theorem 7). Let us verify that this Θ(Tln⁡n)\Theta(\sqrt{T\ln n}) 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)\ell_t(i)\sim\operatorname{Ber}(1/2) for every expert i∈[n]i\in[n] and every round t∈[T]t\in[T]. How much mutual information does the past history Ft−1=σ(ℓ1,…,ℓt−1)\mathcal F_{t-1}=\sigma(\ell_1,\ldots,\ell_{t-1}) carry about the round-tt losses ℓt\ell_t? Zero! Because ℓt\ell_t is independent of Ft−1\mathcal F_{t-1}, every online algorithm—no matter how it chooses its weight vector pt∈Δnp_t\in\Delta_n based on Ft−1\mathcal F_{t-1}—suffers expected loss 12\frac12 on every round, and hence T2\frac{T}{2} over TT rounds. Yet in hindsight, the minimum cumulative loss among nn independent symmetric random walks fluctuates below T2\frac{T}{2} by Θ(Tln⁡n)\Theta(\sqrt{T\ln n})!

Theorem 3 (The Ω(Tln⁡n)\Omega(\sqrt{T\ln n}) minimax regret lower bound for full-information experts) Consider the nn-expert prediction game over TT rounds with binary losses ℓt(i)∈{0,1}\ell_t(i)\in\{0,1\}. Draw all nTnT losses ℓt(i)∼Ber⁡(1/2)\ell_t(i)\sim\operatorname{Ber}(1/2) (i∈[n], t∈[T]i\in[n],\,t\in[T]) mutually independently. Then for every (possibly randomized and history-dependent) full-information algorithm A\mathcal A:

  1. The algorithm’s expected cumulative loss is exactly E[∑t=1T⟨pt,ℓt⟩]=T2\mathbb E\bigl[\sum_{t=1}^T\langle p_t,\ell_t\rangle\bigr]=\frac{T}{2};
  2. As T→∞T\to\infty (followed by n→∞n\to\infty), the expected regret satisfies lim⁡T→∞E[Reg⁡T(A)]T=12 E[max⁡i∈[n]Zi]=(1−on(1))ln⁡n2 \lim_{T\to\infty}\frac{\mathbb E\bigl[\operatorname{Reg}_T(\mathcal A)\bigr]}{\sqrt T} =\frac12\,\mathbb E\Bigl[\max_{i\in[n]}Z_i\Bigr]=\bigl(1-o_n(1)\bigr)\sqrt{\frac{\ln n}{2}} (where Z1,…,Zn∼i.i.d.N(0,1)Z_1,\ldots,Z_n\stackrel{\text{i.i.d.}}{\sim}\mathcal N(0,1)), and non-asymptotically, for every n≥2n\ge 2 and T≥4ln⁡nT\ge 4\ln n, E[Reg⁡T(A)]=Ω(Tln⁡n)\mathbb E[\operatorname{Reg}_T(\mathcal A)]=\Omega(\sqrt{T\ln n}).

Proof. For (1), since pt∈Δnp_t\in\Delta_n is Ft−1\mathcal F_{t-1}-measurable and ℓt∼Ber⁡(1/2)⊗n\ell_t\sim\operatorname{Ber}(1/2)^{\otimes n} is independent of Ft−1\mathcal F_{t-1}, the tower property gives E[⟨pt,ℓt⟩]=E ⁣[⟨pt,E[ℓt∣Ft−1]⟩]=E ⁣[∑i=1npt,i⋅12]=12, \mathbb E\bigl[\langle p_t,\ell_t\rangle\bigr]=\mathbb E\!\Bigl[\bigl\langle p_t,\mathbb E[\ell_t\mid\mathcal F_{t-1}]\bigr\rangle\Bigr]=\mathbb E\!\left[\sum_{i=1}^n p_{t,i}\cdot\frac12\right]=\frac12, and summing over t=1,…,Tt=1,\ldots,T yields E[∑t=1T⟨pt,ℓt⟩]=T/2\mathbb E[\sum_{t=1}^T\langle p_t,\ell_t\rangle]=T/2.

For (2), let LT(i):=∑t=1Tℓt(i)∼Bin⁡(T,1/2)L_T(i):=\sum_{t=1}^T\ell_t(i)\sim\operatorname{Bin}(T,1/2), and define the standardized gain Wi:=T/2−LT(i)T/4=1T∑t=1T(1−2ℓt(i))W_i:=\frac{T/2-L_T(i)}{\sqrt{T/4}}=\frac{1}{\sqrt T}\sum_{t=1}^T(1-2\ell_t(i)), which has mean 00 and variance 11. Then E[Reg⁡T(A)]=T2−E ⁣[min⁡i∈[n]LT(i)]=T2 E ⁣[max⁡i∈[n]Wi]. \mathbb E\bigl[\operatorname{Reg}_T(\mathcal A)\bigr] =\frac{T}{2}-\mathbb E\!\left[\min_{i\in[n]}L_T(i)\right] =\frac{\sqrt T}{2}\,\mathbb E\!\left[\max_{i\in[n]}W_i\right]. By the Central Limit Theorem and uniform integrability of max⁡i∈[n]∣Wi∣\max_{i\in[n]}|W_i|, as T→∞T\to\infty for fixed nn, (W1,…,Wn)⇒(Z1,…,Zn)∼N(0,1)⊗n(W_1,\ldots,W_n)\Rightarrow(Z_1,\ldots,Z_n)\sim\mathcal N(0,1)^{\otimes n}, where E[max⁡i∈[n]Zi]=(1−on(1))2ln⁡n\mathbb E[\max_{i\in[n]}Z_i]=(1-o_n(1))\sqrt{2\ln n} as n→∞n\to\infty.

Proof of the non-asymptotic finite-(n,T)(n,T) lower bound for T≥4ln⁡nT\ge 4\ln n When T≥4ln⁡nT\ge 4\ln n, Stirling’s formula applied to the central binomial probabilities of LT(1)∼Bin⁡(T,1/2)L_T(1)\sim\operatorname{Bin}(T,1/2) (see, e.g., Cesa-Bianchi and Lugosi 2006, Lemma A.11) shows that for u=12ln⁡n≤14Tu=\frac12\sqrt{\ln n}\le\frac14\sqrt T, there is an absolute constant c>0c>0 such that q:=P[W1≥u]≥c exp⁡(−u2)=c n−1/4q:=\mathbb P[W_1\ge u]\ge c\,\exp(-u^2)=c\,n^{-1/4}. By mutual independence of W1,…,WnW_1,\ldots,W_n, the maximum Wmax⁡:=max⁡i∈[n]WiW_{\max}:=\max_{i\in[n]}W_i satisfies P[Wmax⁡<u]=(1−q)n≤exp⁡(−nq)≤exp⁡(−c n3/4). \mathbb P\bigl[W_{\max}<u\bigr]=(1-q)^n\le\exp(-nq)\le\exp\bigl(-c\,n^{3/4}\bigr). Since E[Wmax⁡2]≤∑i=1nE[Wi2]=n\mathbb E[W_{\max}^2]\le\sum_{i=1}^n\mathbb E[W_i^2]=n, Cauchy–Schwarz on the tail event {Wmax⁡<u}\{W_{\max}<u\} gives E[Wmax⁡ 1{Wmax⁡<u}]≥−(E[Wmax⁡2] P[Wmax⁡<u])1/2≥−n exp⁡(−c2n3/4)\mathbb E[W_{\max}\,\mathbf 1_{\{W_{\max}<u\}}]\ge -\bigl(\mathbb E[W_{\max}^2]\,\mathbb P[W_{\max}<u]\bigr)^{1/2}\ge -\sqrt{n}\,\exp\bigl(-\frac{c}{2}n^{3/4}\bigr), and hence E[Wmax⁡]≥u(1−exp⁡(−c n3/4))−n exp⁡(−c2n3/4)=Ω(ln⁡n) \mathbb E\bigl[W_{\max}\bigr]\ge u\bigl(1-\exp(-c\,n^{3/4})\bigr)-\sqrt{n}\,\exp\bigl(-\tfrac{c}{2}n^{3/4}\bigr)=\Omega(\sqrt{\ln n}) for all sufficiently large n≥n0n\ge n_0. Finally, for bounded 2≤n<n02\le n<n_0, we have E[Wmax⁡]≥E[max⁡(W1,W2)]=12E∣W1−W2∣≥c0>0\mathbb E[W_{\max}]\ge\mathbb E[\max(W_1,W_2)]=\frac12\mathbb E|W_1-W_2|\ge c_0>0 uniformly in T≥1T\ge 1 by Khintchine’s inequality. Multiplying by T/2\sqrt T/2 yields E[Reg⁡T(A)]=Ω(Tln⁡n)\mathbb E[\operatorname{Reg}_T(\mathcal A)]=\Omega(\sqrt{T\ln n}) for all n≥2n\ge 2 and T≥4ln⁡nT\ge 4\ln n.

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\ell_t\in\{0,1\}^n (nn observations per round) Every expert i∈[n]i\in[n] is observed all TT times (Ni(T)≡TN_i(T)\equiv T; no 1/n1/n dilution!) No exploration bottleneck; regret comes from the extreme-value fluctuation max⁡i∈[n]Wi≍ln⁡n\max_{i\in[n]}W_i\asymp\sqrt{\ln n} of nn random walks Θ(Tln⁡n)\Theta(\sqrt{T\ln n}) via MWU / Hedge (Ch 4, §1.9 & Theorem 3)
Multi-Armed Bandits (Ch 4 & §§1.5–1.6) Single scalar reward Rt∈{0,1}R_t\in\{0,1\} of pulled arm AtA_t (11 observation per round) Conservation ∑i=1nE0[Ni(T)]=T\sum_{i=1}^n\mathbb E_0[N_i(T)]=T forces ∃i∗∈[n]\exists i^*\in[n] with E0[Ni∗(T)]≤Tn\mathbb E_0[N_{i^*}(T)]\le\frac{T}{n} Arm i∗i^* accumulates KL ≤4TΔ2n\le\frac{4T\Delta^2}{n}; by Pinsker, gap Δ≍n/T\Delta\asymp\sqrt{n/T} is undetectable Ω(nT)\Omega(\sqrt{nT}) (Theorem 2); O(nTln⁡n)O(\sqrt{nT\ln n}) via EXP3 (Ch 4, §1.9) / Θ(nT)\Theta(\sqrt{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∗)d_{\mathrm{TV}}(\mathbb P_0,\mathbb P_{i^*}) so that we could control the test-function gap Ei∗[Ni∗(T)]−E0[Ni∗(T)]≤T dTV(P0,Pi∗)\mathbb E_{i^*}[N_{i^*}(T)]-\mathbb E_0[N_{i^*}(T)]\le T\,d_{\mathrm{TV}}(\mathbb P_0,\mathbb P_{i^*}). 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∗)d_{\mathrm{TV}}(\mathbb P_0,\mathbb P_{i^*}) directly across the TT 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)  

  1. Two-stage TV chain inequality: For any two joint distributions μX,Y\mu_{X,Y} and νX,Y\nu_{X,Y} on X×Y\mathcal X\times\mathcal Y, dTV(μX,Y,νX,Y)≤dTV(μX,νX)+Ex∼μX ⁣[dTV(μYX←x, νYX←x)]. d_{\mathrm{TV}}(\mu_{X,Y},\nu_{X,Y})\le d_{\mathrm{TV}}(\mu_X,\nu_X)+\mathbb E_{x\sim\mu_X}\!\Bigl[d_{\mathrm{TV}}\bigl(\mu_Y^{X\gets x},\,\nu_Y^{X\gets x}\bigr)\Bigr].
  2. Sequential TV bound for adaptive bandits: For any nn-armed bandit policy A\mathcal A, any horizon T≥1T\ge 1, and any two environments ν=(ν1,…,νn)\nu=(\nu_1,\ldots,\nu_n) and ν′=(ν1′,…,νn′)\nu'=(\nu'_1,\ldots,\nu'_n), dTV(PνA, Pν′A)≤∑i=1nEν[Ni(T)] dTV(νi,νi′). d_{\mathrm{TV}}\bigl(\mathbb P_\nu^{\mathcal A},\,\mathbb P_{\nu'}^{\mathcal A}\bigr)\le\sum_{i=1}^n\mathbb E_\nu\bigl[N_i(T)\bigr]\,d_{\mathrm{TV}}(\nu_i,\nu'_i).

Proof. For (1), introduce the hybrid joint distribution ηX,Y(x,y):=μX(x)νYX←x(y)\eta_{X,Y}(x,y):=\mu_X(x)\nu_Y^{X\gets x}(y) that draws X∼μXX\sim\mu_X from the first law and Y∣X=xY\mid X=x from the second law. By the ℓ1\ell_1 triangle inequality, dTV(μX,Y,νX,Y)≤dTV(μX,Y,ηX,Y)+dTV(ηX,Y,νX,Y)d_{\mathrm{TV}}(\mu_{X,Y},\nu_{X,Y})\le d_{\mathrm{TV}}(\mu_{X,Y},\eta_{X,Y})+d_{\mathrm{TV}}(\eta_{X,Y},\nu_{X,Y}). Factoring out μX(x)\mu_X(x) in the first term and summing ∑y∈YνYX←x(y)=1\sum_{y\in\mathcal Y}\nu_Y^{X\gets x}(y)=1 in the second term gives dTV(μX,Y,ηX,Y)=12∑x∈XμX(x)∑y∈Y∣μYX←x(y)−νYX←x(y)∣=Ex∼μX ⁣[dTV(μYX←x, νYX←x)],dTV(ηX,Y,νX,Y)=12∑x∈X∣μX(x)−νX(x)∣∑y∈YνYX←x(y)=dTV(μX,νX). \begin{aligned} d_{\mathrm{TV}}(\mu_{X,Y},\eta_{X,Y}) &=\frac12\sum_{x\in\mathcal X}\mu_X(x)\sum_{y\in\mathcal Y}\bigl|\mu_Y^{X\gets x}(y)-\nu_Y^{X\gets x}(y)\bigr| =\mathbb E_{x\sim\mu_X}\!\Bigl[d_{\mathrm{TV}}\bigl(\mu_Y^{X\gets x},\,\nu_Y^{X\gets x}\bigr)\Bigr],\\ d_{\mathrm{TV}}(\eta_{X,Y},\nu_{X,Y}) &=\frac12\sum_{x\in\mathcal X}\bigl|\mu_X(x)-\nu_X(x)\bigr|\sum_{y\in\mathcal Y}\nu_Y^{X\gets x}(y) =d_{\mathrm{TV}}(\mu_X,\nu_X). \end{aligned} For (2), apply (1) inductively at each round t=1,…,Tt=1,\ldots,T: in the action-selection step Ht−1↦(Ht−1,At)H_{t-1}\mapsto(H_{t-1},A_t), the shared policy kernel πt(⋅∣ht−1)\pi_t(\cdot\mid h_{t-1}) contributes dTV(πt(⋅∣ht−1),πt(⋅∣ht−1))=0d_{\mathrm{TV}}(\pi_t(\cdot\mid h_{t-1}),\pi_t(\cdot\mid h_{t-1}))=0; in the reward step (Ht−1,At)↦Rt(H_{t-1},A_t)\mapsto R_t, conditioning on At=iA_t=i adds dTV(νi,νi′)d_{\mathrm{TV}}(\nu_i,\nu'_i), whose expectation under PνA\mathbb P_\nu^{\mathcal A} sums over t=1,…,Tt=1,\ldots,T to ∑i=1nEν[Ni(T)] dTV(νi,νi′)\sum_{i=1}^n\mathbb E_\nu[N_i(T)]\,d_{\mathrm{TV}}(\nu_i,\nu'_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)\nu^{(0)} and single-arm perturbation ν(i∗)\nu^{(i^*)} into Proposition 3 (2):

Why did the TV chain inequality lose T\sqrt T, while KL divergence + Pinsker succeeded? Even for mm i.i.d. coin flips P=Ber⁡(1/2)⊗mP=\operatorname{Ber}(1/2)^{\otimes m} versus Q=Ber⁡(12+Δ)⊗mQ=\operatorname{Ber}(\frac12+\Delta)^{\otimes m} (where here m≍T/nm\asymp T/n is the effective pull count on arm i∗i^*), distinguishing PP from QQ is governed by the empirical sum ∑s=1mXs\sum_{s=1}^m X_s, whose signal shifts by mΔm\Delta while its standard deviation grows like Θ(m)\Theta(\sqrt m)—so the true total variation distance is Θ(min⁡{1,m Δ})\Theta\bigl(\min\{1,\sqrt m\,\Delta\}\bigr).

Quantity Across m≍T/nm\asymp T/n Pulls Chain Rule Relation Single-Pull Cost at Gap Δ\Delta Accumulated Bound After mm Pulls Resulting Indistinguishable Gap & Bandit Regret
Direct dTVd_{\mathrm{TV}} (Proposition 3) Inequality (≤\le, via L1L^1 triangle inequality) Linear: dTV=Δd_{\mathrm{TV}}=\Delta dTV≤mΔ=TnΔd_{\mathrm{TV}}\le m\Delta=\frac{T}{n}\Delta (treats mm random signs as adding coherently) Δ≍nT  ⟹  Ω(n)\Delta\asymp\frac{n}{T}\implies\Omega(n) (loses T\sqrt T)
KL⁡\operatorname{KL} + Pinsker (Lemma 2 & Theorem 1) Exact equality (==, via log-likelihood additivity) Quadratic: KL⁡≤4Δ2\operatorname{KL}\le 4\Delta^2 (first-order term cancels!) KL⁡≤4mΔ2  ⟹  dTV≤2m Δ=2Tn Δ\operatorname{KL}\le 4m\Delta^2\implies d_{\mathrm{TV}}\le\sqrt{2m}\,\Delta=\sqrt{\frac{2T}{n}}\,\Delta Δ≍nT  ⟹  Ω(nT)\Delta\asymp\sqrt{\frac{n}{T}}\implies\Omega(\sqrt{nT}) (tight!)

Applying the triangle inequality step by step in L1L^1 discards the stochastic cancellation of independent fluctuations across rounds, accumulating mm errors linearly as mΔm\Delta. Passing to KL divergence works in an additive variance-like (L2L^2-type) geometry: each pull adds only a quadratic cost Θ(Δ2)\Theta(\Delta^2) with exact equality across adaptive rounds, and applying Pinsker’s square root once at the very end recovers the true m Δ=T/n Δ\sqrt m\,\Delta=\sqrt{T/n}\,\Delta 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:

  1. an instance-independent (minimax) bound of O(nTln⁡T)O(\sqrt{nT\ln T}), matched up to ln⁡T\sqrt{\ln T} by our Ω(nT)\Omega(\sqrt{nT}) lower bound in §1.6 (Theorem 2); and
  2. an instance-dependent bound of O ⁣(∑i:Δi>0ln⁡TΔi)O\!\left(\sum_{i:\Delta_i>0}\frac{\ln T}{\Delta_i}\right) for any fixed environment ν\nu as T→∞T\to\infty.

Can any consistent bandit algorithm beat the ∑i:Δi>0ln⁡TΔi\sum_{i:\Delta_i>0}\frac{\ln T}{\Delta_i} logarithmic growth on a fixed environment ν\nu? Notice why Pinsker’s inequality dTV(P,Q)≤12KL⁡(P∥Q)d_{\mathrm{TV}}(\mathbb P,\mathbb Q)\le\sqrt{\frac12\operatorname{KL}(\mathbb P\|\mathbb Q)} is no longer the right tool when KL⁡(P∥Q)≍ln⁡T≫2\operatorname{KL}(\mathbb P\|\mathbb Q)\asymp\ln T\gg 2: the right-hand side of Pinsker’s inequality exceeds 11 as soon as KL⁡(P∥Q)>2\operatorname{KL}(\mathbb P\|\mathbb Q)>2, whereas dTV(P,Q)d_{\mathrm{TV}}(\mathbb P,\mathbb Q) is always bounded by 11!

To convert large KL divergences (KL⁡≫1\operatorname{KL}\gg 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\mathbb P and Q\mathbb Q on a measurable space Ω\Omega and any event A⊆ΩA\subseteq\Omega, P(A)+Q(Ac)≥12exp⁡(−KL⁡(P∥Q)),and hencedTV(P,Q)≤1−12exp⁡(−KL⁡(P∥Q)). \mathbb P(A)+\mathbb Q(A^c)\ge\frac12\exp\bigl(-\operatorname{KL}(\mathbb P\|\mathbb Q)\bigr), \quad\text{and hence}\quad d_{\mathrm{TV}}(\mathbb P,\mathbb Q)\le 1-\frac12\exp\bigl(-\operatorname{KL}(\mathbb P\|\mathbb Q)\bigr).

Proof: Cauchy–Schwarz between min⁡(P,Q)\min(\mathbb P,\mathbb Q) and Neyman–Pearson likelihood ratios For any event A⊆ΩA\subseteq\Omega, replacing the indicators of AA and AcA^c by the pointwise minimum min⁡{P(ω),Q(ω)}\min\{\mathbb P(\omega),\mathbb Q(\omega)\} gives P(A)+Q(Ac)=∑ω∈AP(ω)+∑ω∈AcQ(ω)≥∑ω∈Ωmin⁡{P(ω), Q(ω)}=1−dTV(P,Q). \mathbb P(A)+\mathbb Q(A^c)=\sum_{\omega\in A}\mathbb P(\omega)+\sum_{\omega\in A^c}\mathbb Q(\omega)\ge\sum_{\omega\in\Omega}\min\bigl\{\mathbb P(\omega),\,\mathbb Q(\omega)\bigr\}=1-d_{\mathrm{TV}}(\mathbb P,\mathbb Q). Meanwhile, since min⁡{u,v}+max⁡{u,v}=u+v\min\{u,v\}+\max\{u,v\}=u+v, we have ∑ω∈Ωmax⁡{P(ω),Q(ω)}=1+dTV(P,Q)\sum_{\omega\in\Omega}\max\{\mathbb P(\omega),\mathbb Q(\omega)\}=1+d_{\mathrm{TV}}(\mathbb P,\mathbb Q). Applying the Cauchy–Schwarz inequality to min⁡{P(ω),Q(ω)}⋅max⁡{P(ω),Q(ω)}=P(ω)Q(ω)\sqrt{\min\{\mathbb P(\omega),\mathbb Q(\omega)\}}\cdot\sqrt{\max\{\mathbb P(\omega),\mathbb Q(\omega)\}}=\sqrt{\mathbb P(\omega)\mathbb Q(\omega)} gives ∑ω∈ΩP(ω)Q(ω)=∑ω∈Ωmin⁡{P(ω),Q(ω)}⋅max⁡{P(ω),Q(ω)}≤∑ω∈Ωmin⁡{P(ω),Q(ω)}⋅∑ω∈Ωmax⁡{P(ω),Q(ω)}=1−dTV(P,Q)2. \begin{aligned} \sum_{\omega\in\Omega}\sqrt{\mathbb P(\omega)\mathbb Q(\omega)} &=\sum_{\omega\in\Omega}\sqrt{\min\{\mathbb P(\omega),\mathbb Q(\omega)\}\cdot\max\{\mathbb P(\omega),\mathbb Q(\omega)\}}\\ &\le\sqrt{\sum_{\omega\in\Omega}\min\{\mathbb P(\omega),\mathbb Q(\omega)\}}\cdot\sqrt{\sum_{\omega\in\Omega}\max\{\mathbb P(\omega),\mathbb Q(\omega)\}} =\sqrt{1-d_{\mathrm{TV}}(\mathbb P,\mathbb Q)^2}. \end{aligned} On the other hand, by Jensen’s inequality applied to the convex function t↦exp⁡(−12t)t\mapsto\exp(-\frac12 t), ∑ω∈ΩP(ω)Q(ω)=Eω∼P ⁣[exp⁡ ⁣(−12ln⁡P(ω)Q(ω))]≥exp⁡ ⁣(−12Eω∼P ⁣[ln⁡P(ω)Q(ω)])=exp⁡ ⁣(−12KL⁡(P∥Q)). \begin{aligned} \sum_{\omega\in\Omega}\sqrt{\mathbb P(\omega)\mathbb Q(\omega)} &=\mathbb E_{\omega\sim\mathbb P}\!\left[\exp\!\left(-\frac12\ln\frac{\mathbb P(\omega)}{\mathbb Q(\omega)}\right)\right]\\ &\ge\exp\!\left(-\frac12\mathbb E_{\omega\sim\mathbb P}\!\left[\ln\frac{\mathbb P(\omega)}{\mathbb Q(\omega)}\right]\right) =\exp\!\left(-\frac12\operatorname{KL}(\mathbb P\|\mathbb Q)\right). \end{aligned} Combining the two displays and squaring gives 1−dTV(P,Q)2≥exp⁡(−KL⁡(P∥Q))1-d_{\mathrm{TV}}(\mathbb P,\mathbb Q)^2\ge\exp(-\operatorname{KL}(\mathbb P\|\mathbb Q)). Finally, since 1−dTV2=(1−dTV)(1+dTV)≤2(1−dTV)1-d_{\mathrm{TV}}^2=(1-d_{\mathrm{TV}})(1+d_{\mathrm{TV}})\le 2(1-d_{\mathrm{TV}}), we obtain P(A)+Q(Ac)≥1−dTV(P,Q)≥1−dTV(P,Q)22≥12exp⁡(−KL⁡(P∥Q)). \mathbb P(A)+\mathbb Q(A^c)\ge 1-d_{\mathrm{TV}}(\mathbb P,\mathbb Q)\ge\frac{1-d_{\mathrm{TV}}(\mathbb P,\mathbb Q)^2}{2}\ge\frac12\exp\bigl(-\operatorname{KL}(\mathbb P\|\mathbb Q)\bigr).

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 Reg⁡T(A,ν)=o(Ta)\operatorname{Reg}_T(\mathcal A,\nu)=o(T^a) for every a>0a>0 on every environment ν\nu—must pull every suboptimal arm ii at least (1KL⁡(νi∥ν∗)−o(1))ln⁡T\bigl(\frac{1}{\operatorname{KL}(\nu_i\|\nu^*)}-o(1)\bigr)\ln T times!

Theorem 4 (Lai–Robbins instance-dependent lower bound for consistent bandit policies) Let A\mathcal A be a consistent bandit algorithm (so Reg⁡T(A,ν′)=o(Ta)\operatorname{Reg}_T(\mathcal A,\nu')=o(T^a) as T→∞T\to\infty for every Bernoulli environment ν′\nu' and every a>0a>0). Then for any Bernoulli environment ν=(Ber⁡(μ1),…,Ber⁡(μn))\nu=(\operatorname{Ber}(\mu_1),\ldots,\operatorname{Ber}(\mu_n)) with optimal mean μ∗=max⁡j∈[n]μj<1\mu^*=\max_{j\in[n]}\mu_j<1 and any suboptimal arm i∈[n]i\in[n] with Δi=μ∗−μi>0\Delta_i=\mu^*-\mu_i>0, lim inf⁡T→∞Eν[Ni(T)]ln⁡T≥1KL⁡(Ber⁡(μi) ∥ Ber⁡(μ∗)), \liminf_{T\to\infty}\frac{\mathbb E_\nu\bigl[N_i(T)\bigr]}{\ln T}\ge\frac{1}{\operatorname{KL}\bigl(\operatorname{Ber}(\mu_i)\,\big\|\,\operatorname{Ber}(\mu^*)\bigr)}, and consequently lim inf⁡T→∞Reg⁡T(A,ν)ln⁡T≥∑i:Δi>0ΔiKL⁡(Ber⁡(μi) ∥ Ber⁡(μ∗))≥∑i:Δi>0μ∗(1−μ∗)2Δi. \liminf_{T\to\infty}\frac{\operatorname{Reg}_T(\mathcal A,\nu)}{\ln T}\ge\sum_{i:\Delta_i>0}\frac{\Delta_i}{\operatorname{KL}\bigl(\operatorname{Ber}(\mu_i)\,\big\|\,\operatorname{Ber}(\mu^*)\bigr)}\ge\sum_{i:\Delta_i>0}\frac{\mu^*(1-\mu^*)}{2\Delta_i}.

Proof. Fix a suboptimal arm ii with μi<μ∗<1\mu_i<\mu^*<1, and pick any μi′∈(μ∗,1)\mu'_i\in(\mu^*,1). Construct a modified environment ν′\nu' that agrees with ν\nu on every arm j≠ij\ne i and replaces arm ii’s distribution νi=Ber⁡(μi)\nu_i=\operatorname{Ber}(\mu_i) by νi′=Ber⁡(μi′)\nu'_i=\operatorname{Ber}(\mu'_i).

  • Under ν\nu, arm ii is suboptimal with gap Δi=μ∗−μi>0\Delta_i=\mu^*-\mu_i>0.
  • Under ν′\nu', arm ii is the unique optimal arm, and every other arm j≠ij\ne i is suboptimal by at least μi′−μ∗>0\mu'_i-\mu^*>0.

By the Bandit Divergence Decomposition Identity (Lemma 2), since νj=νj′\nu_j=\nu'_j for all j≠ij\ne i, KL⁡(PνA ∥ Pν′A)=Eν[Ni(T)]⋅KL⁡(νi∥νi′). \operatorname{KL}\bigl(\mathbb P_\nu^{\mathcal A}\,\big\|\,\mathbb P_{\nu'}^{\mathcal A}\bigr)=\mathbb E_\nu\bigl[N_i(T)\bigr]\cdot\operatorname{KL}(\nu_i\|\nu'_i). Now consider the high-pull event A:={Ni(T)>T/2}A:=\bigl\{N_i(T)>T/2\bigr\}. By Markov’s inequality on Ni(T)N_i(T) under ν\nu and on T−Ni(T)T-N_i(T) under ν′\nu', Pν(A)≤2 Eν[Ni(T)]T,Pν′(Ac)=Pν′ ⁣[T−Ni(T)≥T/2]≤2 Eν′[T−Ni(T)]T≤2 Reg⁡T(A,ν′)T(μi′−μ∗). \begin{aligned} \mathbb P_\nu(A)&\le\frac{2\,\mathbb E_\nu[N_i(T)]}{T},\\ \mathbb P_{\nu'}(A^c)&=\mathbb P_{\nu'}\!\bigl[T-N_i(T)\ge T/2\bigr]\le\frac{2\,\mathbb E_{\nu'}[T-N_i(T)]}{T}\le\frac{2\,\operatorname{Reg}_T(\mathcal A,\nu')}{T(\mu'_i-\mu^*)}. \end{aligned} Applying the Bretagnolle–Huber inequality (Lemma 4) to AA gives 12exp⁡(−Eν[Ni(T)] KL⁡(νi∥νi′))≤Pν(A)+Pν′(Ac)≤2 Eν[Ni(T)]+2 Reg⁡T(A,ν′)/(μi′−μ∗)T. \frac12\exp\Bigl(-\mathbb E_\nu\bigl[N_i(T)\bigr]\,\operatorname{KL}(\nu_i\|\nu'_i)\Bigr)\le\mathbb P_\nu(A)+\mathbb P_{\nu'}(A^c)\le\frac{2\,\mathbb E_\nu[N_i(T)]+2\,\operatorname{Reg}_T(\mathcal A,\nu')/(\mu'_i-\mu^*)}{T}. For any fixed a∈(0,1)a\in(0,1), consistency implies Reg⁡T(A,ν′)=o(Ta)\operatorname{Reg}_T(\mathcal A,\nu')=o(T^a). If Eν[Ni(T)]≥Ta\mathbb E_\nu[N_i(T)]\ge T^a, the theorem holds trivially; otherwise the numerator on the right is o(Ta)o(T^a), so taking logarithms and dividing by ln⁡T\ln T gives lim inf⁡T→∞Eν[Ni(T)]ln⁡T≥1−aKL⁡(νi∥νi′). \liminf_{T\to\infty}\frac{\mathbb E_\nu[N_i(T)]}{\ln T}\ge\frac{1-a}{\operatorname{KL}(\nu_i\|\nu'_i)}. Sending a↓0a\downarrow 0 and then μi′↓μ∗\mu'_i\downarrow\mu^* (by continuity of μi′↦KL⁡(Ber⁡(μi)∥Ber⁡(μi′))\mu'_i\mapsto\operatorname{KL}(\operatorname{Ber}(\mu_i)\|\operatorname{Ber}(\mu'_i)) for μ∗<1\mu^*<1) proves the first claim. Multiplying by Δi\Delta_i, summing over ii, and using the elementary chi-square upper bound KL⁡(Ber⁡(μi)∥Ber⁡(μ∗))≤(μ∗−μi)2μ∗(1−μ∗)≤2Δi2μ∗(1−μ∗)\operatorname{KL}(\operatorname{Ber}(\mu_i)\|\operatorname{Ber}(\mu^*))\le\frac{(\mu^*-\mu_i)^2}{\mu^*(1-\mu^*)}\le\frac{2\Delta_i^2}{\mu^*(1-\mu^*)} 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 TT sequential observations across nn arms, so the least-explored arm received at most T/nT/n samples. Remarkably, the exact same three-step template (Total Information Budget →\to 1/n1/n Coordinate Split →\to 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∈Xx\in\mathcal X and y∈Yy\in\mathcal Y respectively, and wish to evaluate a joint Boolean function f:X×Y→{0,1}f:\mathcal X\times\mathcal Y\to\{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 RR drawn from a known distribution before seeing the inputs. On input (x,y)∈X×Y(x,y)\in\mathcal X\times\mathcal Y:

  1. Alice computes an mm-bit message M=enc⁡(x,R)∈{0,1}mM=\operatorname{enc}(x,R)\in\{0,1\}^m from her input xx and the shared random string RR, and sends MM to Bob;
  2. Without replying to Alice, Bob computes an output bit z^=dec⁡(M,y,R)∈{0,1}\hat z=\operatorname{dec}(M,y,R)\in\{0,1\} from the received message MM, his own input yy, and RR.

The cost of the protocol is the message length mm (in bits). The protocol computes ff with worst-case error δ∈[0,1/2)\delta\in[0,1/2) if ∀(x,y)∈X×Y,PR[dec⁡(enc⁡(x,R),y,R)≠f(x,y)]≤δ. \forall(x,y)\in\mathcal X\times\mathcal Y,\qquad\mathbb P_R\bigl[\operatorname{dec}(\operatorname{enc}(x,R),y,R)\ne f(x,y)\bigr]\le\delta. A protocol is deterministic if enc⁡\operatorname{enc} and dec⁡\operatorname{dec} do not depend on RR, and exact if δ=0\delta=0.

Public coins versus private coins (Newman, 1991). Any protocol that uses private random coins (where Alice tosses RAR_A privately and Bob tosses RBR_B privately) is a special case of a public-coin protocol with R=(RA,RB)R=(R_A,R_B), 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 nn-bit inputs can be simulated using private coins with at most O(log⁡n+log⁡(1/ε))O(\log n+\log(1/\varepsilon)) extra bits of communication!

How much can shared randomness reduce the communication cost of a function f(x,y)f(x,y)? For testing whether two nn-bit strings are identical, randomness achieves an exponential compression from nn bits to O(log⁡n)O(\log n) bits.

Example 5 (Equality (EQ⁡n\operatorname{EQ}_n): deterministic nn bits versus randomized O(log⁡n)O(\log n) bits) Consider the Equality function EQ⁡n:{0,1}n×{0,1}n→{0,1}\operatorname{EQ}_n:\{0,1\}^n\times\{0,1\}^n\to\{0,1\} defined by EQ⁡n(x,y):=1{x=y}\operatorname{EQ}_n(x,y):=\mathbf 1_{\{x=y\}}.

  • Deterministic lower bound (m≥nm\ge n bits): Suppose a deterministic one-way protocol uses m<nm<n bits, so Alice can send at most 2m≤2n−1<2n2^m\le 2^{n-1}<2^n distinct messages. By the pigeonhole principle, there exist two distinct strings x≠x′x\ne x' in {0,1}n\{0,1\}^n on which enc⁡(x)=enc⁡(x′)\operatorname{enc}(x)=\operatorname{enc}(x'). When Bob holds y=xy=x, he receives the exact same message on (x,x)(x,x) and (x′,x)(x',x), so dec⁡(enc⁡(x),x)=dec⁡(enc⁡(x′),x)\operatorname{dec}(\operatorname{enc}(x),x)=\operatorname{dec}(\operatorname{enc}(x'),x) and the protocol must err on at least one of them.
  • Randomized prime-fingerprinting protocol (m=O(log⁡n)m=O(\log n) bits): View x,y∈{0,1}nx,y\in\{0,1\}^n as integers in {0,1,…,2n−1}\{0,1,\ldots,2^n-1\}. Alice picks a uniformly random prime p∈[n2,2n2]p\in[n^2,2n^2] and sends M=(p, x mod p)M=(p,\,x\bmod p) using O(log⁡n)O(\log n) bits in total; Bob outputs 11 if x mod p=y mod px\bmod p=y\bmod p and 00 otherwise. Whenever x=yx=y, Bob always outputs 11; whenever x≠yx\ne y, the non-zero integer ∣x−y∣<2n|x-y|<2^n has at most nn prime factors q≥2q\ge 2, while [n2,2n2][n^2,2n^2] contains Θ(n2/log⁡n)\Theta(n^2/\log n) primes by the Prime Number Theorem, so the false-positive probability is at most nΘ(n2/log⁡n)=O ⁣(log⁡nn)≪13\frac{n}{\Theta(n^2/\log n)}=O\!\left(\frac{\log n}{n}\right)\ll\frac13.

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\mathcal I, finite deterministic algorithm class Ddet⁡\mathcal D_{\det}, cost matrix C∈RI×Ddet⁡C\in\mathbb R^{\mathcal I\times\mathcal D_{\det}}, every input distribution p∈Δ(I)p\in\Delta(\mathcal I), and every randomized algorithm q∈Δ(Ddet⁡)q\in\Delta(\mathcal D_{\det}), max⁡x∈I ED∼q[C(x,D)]≥min⁡d∈Ddet⁡ EX∼p[C(X,d)], \max_{x\in\mathcal I}\,\mathbb E_{D\sim q}\bigl[C(x,D)\bigr] \ge\min_{d\in\mathcal D_{\det}}\,\mathbb E_{X\sim p}\bigl[C(X,d)\bigr], and by von Neumann’s Minimax Theorem (Chapter 4, §1.10, Theorem 10), min⁡q∈Δ(Ddet⁡)max⁡x∈IED∼q[C(x,D)]=max⁡p∈Δ(I)min⁡d∈Ddet⁡EX∼p[C(X,d)]\min_{q\in\Delta(\mathcal D_{\det})}\max_{x\in\mathcal I}\mathbb E_{D\sim q}[C(x,D)]=\max_{p\in\Delta(\mathcal I)}\min_{d\in\mathcal D_{\det}}\mathbb E_{X\sim p}[C(X,d)]. In particular, if a public-coin protocol errs with probability at most δ\delta on every input x∈Ix\in\mathcal I, then for every input distribution p∈Δ(I)p\in\Delta(\mathcal I) there exists a fixed random string r∗r^* whose induced deterministic protocol errs with probability at most δ\delta when X∼pX\sim p.

Proof. For any p∈Δ(I)p\in\Delta(\mathcal I) and q∈Δ(Ddet⁡)q\in\Delta(\mathcal D_{\det}), Fubini’s theorem on the bilinear form p⊤Cqp^\top C q gives max⁡x∈I ED∼q[C(x,D)]≥EX∼p, D∼q[C(X,D)]=∑d∈Ddet⁡qd EX∼p[C(X,d)]≥min⁡d∈Ddet⁡ EX∼p[C(X,d)]. \max_{x\in\mathcal I}\,\mathbb E_{D\sim q}\bigl[C(x,D)\bigr] \ge\mathbb E_{X\sim p,\,D\sim q}\bigl[C(X,D)\bigr] =\sum_{d\in\mathcal D_{\det}}q_d\,\mathbb E_{X\sim p}\bigl[C(X,d)\bigr] \ge\min_{d\in\mathcal D_{\det}}\,\mathbb E_{X\sim p}\bigl[C(X,d)\bigr].

The INDEX⁡n\operatorname{INDEX}_n problem and the Ω(n)\Omega(n) information lower bound

Does randomness always compress communication to O(log⁡n)O(\log n) bits as it did for EQ⁡n\operatorname{EQ}_n? Consider the fundamental one-way retrieval problem:

Definition 6 (The INDEX⁡n\operatorname{INDEX}_n problem) In the Index problem INDEX⁡n:{0,1}n×[n]→{0,1}\operatorname{INDEX}_n:\{0,1\}^n\times[n]\to\{0,1\}, Alice holds an nn-bit string x=(x1,…,xn)∈{0,1}nx=(x_1,\ldots,x_n)\in\{0,1\}^n, Bob holds an index i∈[n]i\in[n], and Bob must output the ii-th bit of Alice’s string: INDEX⁡n(x,i):=xi. \operatorname{INDEX}_n(x,i):=x_i.

Because Alice must send her mm-bit message MM before knowing which coordinate i∈[n]i\in[n] Bob wants to inspect, a single mm-bit message MM must simultaneously carry enough mutual information about all nn independent bits X1,…,XnX_1,\ldots,X_n! Combining mutual-information superadditivity (Lemma 1 (1)) with Pinsker’s inequality (Theorem 1 (3)) proves the Ω(n)\Omega(n) lower bound in three short steps.

Alice X ∈ {0,1}ⁿ I(X;M) ≤ m ln 2 M ∈ {0,1}ᵐ (m bits) Bob index i ∈ [n] outputs X̂ᵢ(M) Streaming: M = s-bit memory state after prefix σ_x

An mm-bit message MM carries at most mln⁡2m\ln 2 nats of mutual information about XX, so on average each independent bit XiX_i receives at most mln⁡2n\frac{m\ln 2}{n} nats.

Theorem 6 (Linear communication lower bound for one-way INDEX⁡n\operatorname{INDEX}_n) Every randomized one-way protocol for INDEX⁡n\operatorname{INDEX}_n with worst-case error probability δ∈[0,1/2)\delta\in[0,1/2) must communicate at least m≥2ln⁡2(12−δ)2n=Ω(n) bits. m\ge\frac{2}{\ln 2}\left(\frac12-\delta\right)^2 n=\Omega(n)\text{ bits}. In particular, any protocol that succeeds with probability at least 2/32/3 (δ≤1/3\delta\le 1/3) requires m≥118ln⁡2n≈0.0801 nm\ge\frac{1}{18\ln 2}n\approx 0.0801\,n bits.

Proof. Place the uniform distribution (X,I)∼Unif⁡({0,1}n×[n])(X,I)\sim\operatorname{Unif}(\{0,1\}^n\times[n]) on the inputs, so X1,…,Xn∼Ber⁡(1/2)X_1,\ldots,X_n\sim\operatorname{Ber}(1/2) are mutually independent. By Theorem 5, fix a deterministic mm-bit encoder M=f(X)∈{0,1}mM=f(X)\in\{0,1\}^m and deterministic decoders X^i(M)∈{0,1}\hat X_i(M)\in\{0,1\} whose average error over i∈[n]i\in[n] satisfies 1n∑i=1nδi≤δ\frac1n\sum_{i=1}^n\delta_i\le\delta, where δi:=PX[X^i(M)≠Xi]\delta_i:=\mathbb P_X[\hat X_i(M)\ne X_i].

Step 1 (Single-coordinate distinguishability via Pinsker’s inequality): For each index i∈[n]i\in[n], consider the success event Ei:={(xi,M):X^i(M)=xi}⊆{0,1}×{0,1}mE_i:=\bigl\{(x_i,M):\hat X_i(M)=x_i\bigr\}\subseteq\{0,1\}\times\{0,1\}^m. Under the true joint law μXi,M\mu_{X_i,M}, Bob succeeds with probability μXi,M(Ei)=1−δi\mu_{X_i,M}(E_i)=1-\delta_i; under the independent product law μXi⊗μM\mu_{X_i}\otimes\mu_M (where Xi∼Ber⁡(1/2)X_i\sim\operatorname{Ber}(1/2) is independent of MM), any guess X^i(M)\hat X_i(M) succeeds with probability (μXi⊗μM)(Ei)=12(\mu_{X_i}\otimes\mu_M)(E_i)=\frac12. Since KL⁡(μXi,M∥μXi⊗μM)=I(Xi;M)\operatorname{KL}(\mu_{X_i,M}\|\mu_{X_i}\otimes\mu_M)=I(X_i;M) by Proposition 2 (2), Pinsker’s inequality (Theorem 1 (3)) gives ∣12−δi∣=∣(1−δi)−12∣=∣μXi,M(Ei)−(μXi⊗μM)(Ei)∣≤dTV(μXi,M, μXi⊗μM)≤12I(Xi;M), \begin{aligned} \left|\frac12-\delta_i\right|=\left|(1-\delta_i)-\frac12\right| &=\bigl|\mu_{X_i,M}(E_i)-(\mu_{X_i}\otimes\mu_M)(E_i)\bigr|\\ &\le d_{\mathrm{TV}}\bigl(\mu_{X_i,M},\,\mu_{X_i}\otimes\mu_M\bigr) \le\sqrt{\frac12 I(X_i;M)}, \end{aligned} which squares to I(Xi;M)≥2(12−δi)2I(X_i;M)\ge 2\bigl(\frac12-\delta_i\bigr)^2.

Step 2 (Superadditivity across the nn independent bits): Because X1,…,Xn∼Ber⁡(1/2)X_1,\ldots,X_n\sim\operatorname{Ber}(1/2) are mutually independent, mutual-information superadditivity (Lemma 1 (1)) yields I(X;M)=∑i=1nI(Xi;M∣X<i)≥∑i=1nI(Xi;M)≥2∑i=1n(12−δi)2. I(X;M)=\sum_{i=1}^n I(X_i;M\mid X_{<i})\ge\sum_{i=1}^n I(X_i;M)\ge 2\sum_{i=1}^n\left(\frac12-\delta_i\right)^2.

Step 3 (Information capacity bound and convexity): Because M∈{0,1}mM\in\{0,1\}^m takes at most 2m2^m values, Proposition 2 (1)–(2) give I(X;M)≤H(M)≤mln⁡2I(X;M)\le H(M)\le m\ln 2. By convexity of u↦(12−u)2u\mapsto\bigl(\frac12-u\bigr)^2 and 1n∑i=1nδi≤δ<12\frac1n\sum_{i=1}^n\delta_i\le\delta<\frac12, mln⁡2≥I(X;M)≥2n⋅1n∑i=1n(12−δi)2≥2n(12−1n∑i=1nδi)2≥2n(12−δ)2, m\ln 2\ge I(X;M)\ge 2n\cdot\frac1n\sum_{i=1}^n\left(\frac12-\delta_i\right)^2 \ge 2n\left(\frac12-\frac1n\sum_{i=1}^n\delta_i\right)^2 \ge 2n\left(\frac12-\delta\right)^2, and dividing by ln⁡2\ln 2 proves m≥2ln⁡2(12−δ)2nm\ge\frac{2}{\ln 2}(\frac12-\delta)^2 n.

Harvesting streaming lower bounds via Set Disjointness (DISJ⁡n\operatorname{DISJ}_n)

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\sigma=\sigma_1\circ\sigma_2 in a single pass using ss bits of working memory, its ss-bit memory snapshot M∈{0,1}sM\in\{0,1\}^s after processing the prefix σ1\sigma_1 contains everything the algorithm remembers about σ1\sigma_1 when it processes σ2\sigma_2.

Consider Set Disjointness DISJ⁡n:{0,1}n×{0,1}n→{0,1}\operatorname{DISJ}_n:\{0,1\}^n\times\{0,1\}^n\to\{0,1\}, where Alice and Bob hold indicator vectors x,y∈{0,1}nx,y\in\{0,1\}^n of two subsets S(x),S(y)⊆[n]S(x),S(y)\subseteq[n] and wish to test whether S(x)∩S(y)≠∅S(x)\cap S(y)\ne\emptyset, i.e., DISJ⁡n(x,y):=1{⟨x,y⟩>0}\operatorname{DISJ}_n(x,y):=\mathbf 1_{\{\langle x,y\rangle>0\}}. Notice that when Bob’s subset is a singleton y=eiy=\mathbf e_i, DISJ⁡n(x,ei)=xi=INDEX⁡n(x,i)\operatorname{DISJ}_n(x,\mathbf e_i)=x_i=\operatorname{INDEX}_n(x,i)! Thus Theorem 6 immediately yields a linear space lower bound for approximating the maximum frequency F∞F_\infty in a data stream:

Corollary 1 (Linear space lower bound for one-pass streaming F∞F_\infty estimation) Let σ=(a1,a2,…,aL)∈[n]L\sigma=(a_1,a_2,\ldots,a_L)\in[n]^L be a data stream over [n][n] with item frequencies fj:=∑t=1L1{at=j}f_j:=\sum_{t=1}^L\mathbf 1_{\{a_t=j\}} and maximum frequency F∞(σ):=max⁡j∈[n]fjF_\infty(\sigma):=\max_{j\in[n]}f_j. Any one-pass randomized streaming algorithm that approximates F∞(σ)F_\infty(\sigma) within multiplicative error ε<1/3\varepsilon<1/3 with probability at least 1−δ>121-\delta>\frac12 must use at least s≥2ln⁡2(12−δ)2n=Ω(n)s\ge\frac{2}{\ln 2}(\frac12-\delta)^2 n=\Omega(n) bits of memory.

Proof. Given an instance (x,y)∈{0,1}n×{0,1}n(x,y)\in\{0,1\}^n\times\{0,1\}^n of DISJ⁡n\operatorname{DISJ}_n, Alice feeds the elements of S(x)={j:xj=1}S(x)=\{j:x_j=1\} into the ss-bit streaming algorithm S\mathcal S as a stream σx\sigma_x and sends the resulting ss-bit memory state M∈{0,1}sM\in\{0,1\}^s to Bob; Bob continues running S\mathcal S from state MM on his stream σy\sigma_y of elements in S(y)={j:yj=1}S(y)=\{j:y_j=1\}. In σx∘σy\sigma_x\circ\sigma_y, each item jj appears xj+yj∈{0,1,2}x_j+y_j\in\{0,1,2\} times, so F∞(σx∘σy)≤1F_\infty(\sigma_x\circ\sigma_y)\le 1 when DISJ⁡n(x,y)=0\operatorname{DISJ}_n(x,y)=0 and F∞(σx∘σy)=2F_\infty(\sigma_x\circ\sigma_y)=2 when DISJ⁡n(x,y)=1\operatorname{DISJ}_n(x,y)=1. Since (1+ε)⋅1<4/3<(1−ε)⋅2(1+\varepsilon)\cdot 1<4/3<(1-\varepsilon)\cdot 2 for ε<1/3\varepsilon<1/3, thresholding the streaming estimate at 4/34/3 solves DISJ⁡n\operatorname{DISJ}_n (and hence INDEX⁡n\operatorname{INDEX}_n on y=eiy=\mathbf e_i) using m=sm=s bits of one-way communication, forcing s≥2ln⁡2(12−δ)2ns\ge\frac{2}{\ln 2}(\frac12-\delta)^2 n by Theorem 6.

2.5 Fano’s inequality and the sharp (1−h2(δ))n(1-h_2(\delta))n rate constant for INDEX

In §2.4 (Theorem 6), applying Pinsker’s inequality to each coordinate of INDEX⁡n\operatorname{INDEX}_n gave the lower bound m≥2ln⁡2(12−δ)2nm\ge\frac{2}{\ln 2}(\frac12-\delta)^2 n bits. Notice what happens as the error probability δ→0\delta\to 0: Pinsker’s bound approaches 12ln⁡2n≈0.7213 n\frac{1}{2\ln 2}n\approx 0.7213\,n bits rather than 1⋅n1\cdot n bits, because Pinsker’s inequality replaces the binary relative entropy by its quadratic tangent parabola at δ=1/2\delta=1/2.

To recover the exact Shannon capacity constant m≥(1−h2(δ))nm\ge(1-h_2(\delta))n bits for all δ∈[0,1/2]\delta\in[0,1/2] (which reaches m≥nm\ge n bits at δ=0\delta=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)H(X\mid Y) directly in terms of the error probability of guessing XX from YY.

Theorem 7 (Fano’s Inequality for discrete hypothesis testing) Let XX be a random variable taking values in a finite set D\mathcal D with ∣D∣≥2|\mathcal D|\ge 2, let YY be an observation, and let X^=g(Y)∈D\hat X=g(Y)\in\mathcal D be any estimator of XX based on YY with error probability pe:=P[X^≠X]p_e:=\mathbb P[\hat X\ne X]. Then (in nats) H(X∣Y)≤H(X∣X^)≤he(pe)+peln⁡(∣D∣−1). H(X\mid Y)\le H(X\mid\hat X)\le h_e(p_e)+p_e\ln\bigl(|\mathcal D|-1\bigr). In particular, when X∈{0,1}X\in\{0,1\} is binary (∣D∣=2|\mathcal D|=2), the second term vanishes and H(X∣Y)≤he(pe)nats(or H2(X∣Y)≤h2(pe) bits). H(X\mid Y)\le h_e(p_e)\quad\text{nats}\qquad\bigl(\text{or }H_2(X\mid Y)\le h_2(p_e)\text{ bits}\bigr).

Proof: expanding H(E,X∣X^)H(E,X\mid\hat X) with the error indicator E=1{X^≠X}E=\mathbf 1_{\{\hat X\ne X\}}

First, because X^=g(Y)\hat X=g(Y) is a function of YY, conditioning on YY determines X^\hat X, so H(X∣Y)=H(X∣Y,X^)≤H(X∣X^)H(X\mid Y)=H(X\mid Y,\hat X)\le H(X\mid\hat X) by Proposition 2 (2).

Next, define the binary error indicator random variable E:=1{X^≠X}∈{0,1}E:=\mathbf 1_{\{\hat X\ne X\}}\in\{0,1\}, which has P[E=1]=pe\mathbb P[E=1]=p_e and entropy H(E)=he(pe)H(E)=h_e(p_e). Let us expand the conditional joint entropy H(E,X∣X^)H(E,X\mid\hat X) via the entropy chain rule (Proposition 1) in both orders. Conditioning on (X,X^)(X,\hat X) determines E=1{X^≠X}E=\mathbf 1_{\{\hat X\ne X\}} completely, so H(E∣X,X^)=0H(E\mid X,\hat X)=0 and H(E,X∣X^)=H(X∣X^)+H(E∣X,X^)⏟= 0=H(X∣X^). H(E,X\mid\hat X)=H(X\mid\hat X)+\underbrace{H(E\mid X,\hat X)}_{=\,0}=H(X\mid\hat X). On the other hand, expanding in the order (E,X)(E,X) given X^\hat 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). H(E,X\mid\hat X)=H(E\mid\hat X)+H(X\mid\hat X,E)\le H(E)+H(X\mid\hat X,E)=h_e(p_e)+H(X\mid\hat X,E). Finally, let us bound H(X∣X^,E)H(X\mid\hat X,E) by conditioning on the two possible values of E∈{0,1}E\in\{0,1\}:

  • When E=0E=0, we know X=X^X=\hat X, so given X^\hat X there is zero remaining uncertainty in XX: H(X∣X^,E=0)=0H(X\mid\hat X,E=0)=0.
  • When E=1E=1, we know X∈D∖{X^}X\in\mathcal D\setminus\{\hat X\}, a set of size ∣D∣−1|\mathcal D|-1, so Proposition 2 (1) gives H(X∣X^,E=1)≤ln⁡(∣D∣−1)H(X\mid\hat X,E=1)\le\ln(|\mathcal D|-1).
Averaging over EE yields H(X∣X^,E)=(1−pe)⋅0+pe H(X∣X^,E=1)≤peln⁡(∣D∣−1)H(X\mid\hat X,E)=(1-p_e)\cdot 0+p_e\,H(X\mid\hat X,E=1)\le p_e\ln(|\mathcal D|-1), completing the proof.

Plugging Theorem 7 into Step 1 of Theorem 6 immediately yields the exact information-theoretic rate constant for INDEX⁡n\operatorname{INDEX}_n.

Corollary 2 (Sharp (1−h2(δ))n(1-h_2(\delta))n lower bound for one-way INDEX⁡n\operatorname{INDEX}_n via Fano’s inequality) Every randomized one-way protocol for INDEX⁡n\operatorname{INDEX}_n with worst-case error probability δ∈[0,1/2)\delta\in[0,1/2) requires at least m≥(1−h2(δ))n bits. m\ge\bigl(1-h_2(\delta)\bigr)n\text{ bits}. In particular, at δ=0\delta=0 we recover the exact deterministic bound m≥nm\ge n bits, and at δ=1/3\delta=1/3 we obtain m≥(1−h2(1/3))n≈0.0817 nm\ge(1-h_2(1/3))n\approx 0.0817\,n bits.

Proof. As in Theorem 6, fix the deterministic encoder M∈{0,1}mM\in\{0,1\}^m and decoders X^i(M)\hat X_i(M) obtained by Yao’s averaging under X=(X1,…,Xn)∼Unif⁡({0,1}n)X=(X_1,\ldots,X_n)\sim\operatorname{Unif}(\{0,1\}^n), with coordinate error δi=P[X^i(M)≠Xi]\delta_i=\mathbb P[\hat X_i(M)\ne X_i] and average error δˉ:=1n∑i=1nδi≤δ<12\bar\delta:=\frac1n\sum_{i=1}^n\delta_i\le\delta<\frac12.

For each coordinate i∈[n]i\in[n], Xi∼Ber⁡(1/2)X_i\sim\operatorname{Ber}(1/2) has H(Xi)=ln⁡2H(X_i)=\ln 2, and binary Fano’s inequality (Theorem 7 with ∣D∣=2|\mathcal D|=2) gives H(Xi∣M)≤he(δi)H(X_i\mid M)\le h_e(\delta_i), so I(Xi;M)=H(Xi)−H(Xi∣M)≥ln⁡2−he(δi). I(X_i;M)=H(X_i)-H(X_i\mid M)\ge\ln 2-h_e(\delta_i). Summing over i=1,…,ni=1,\ldots,n via mutual-information superadditivity (Lemma 1 (1)) and using concavity of he(⋅)h_e(\cdot) (Jensen’s inequality 1n∑i=1nhe(δi)≤he(δˉ)≤he(δ)\frac1n\sum_{i=1}^n h_e(\delta_i)\le h_e(\bar\delta)\le h_e(\delta) since heh_e is increasing on [0,1/2][0,1/2]) gives mln⁡2≥H(M)≥I(X;M)≥∑i=1nI(Xi;M)≥∑i=1n(ln⁡2−he(δi))≥n(ln⁡2−he(δ)). m\ln 2\ge H(M)\ge I(X;M)\ge\sum_{i=1}^n I(X_i;M)\ge\sum_{i=1}^n\bigl(\ln 2-h_e(\delta_i)\bigr)\ge n\bigl(\ln 2-h_e(\delta)\bigr). Dividing by ln⁡2\ln 2 yields m≥(1−h2(δ))nm\ge(1-h_2(\delta))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:

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 (DISJ⁡n\operatorname{DISJ}_n)

In Reading §2.4 (Corollary 1), we proved that any one-way randomized protocol for Set Disjointness DISJ⁡n(x,y)=1{⟨x,y⟩>0}\operatorname{DISJ}_n(x,y)=\mathbf 1_{\{\langle x,y\rangle>0\}} requires Ω(n)\Omega(n) bits by observing that INDEX⁡n\operatorname{INDEX}_n is the special case of DISJ⁡n\operatorname{DISJ}_n where Bob holds a singleton y=eiy=\mathbf e_i.

What if Alice and Bob are allowed to talk back and forth across arbitrarily many rounds in an interactive two-way protocol Π\Pi? Notice why the INDEX⁡n\operatorname{INDEX}_n reduction breaks down immediately in two rounds: if Bob holds a singleton y=eiy=\mathbf e_i, he can simply send the index i∈[n]i\in[n] to Alice in round 1 using ⌈log⁡2n⌉\lceil\log_2 n\rceil bits, and Alice can reply with the single bit xi∈{0,1}x_i\in\{0,1\} in round 2, solving INDEX⁡n\operatorname{INDEX}_n in log⁡2n+1\log_2 n+1 bits!

Yet for general subsets x,y∈{0,1}nx,y\in\{0,1\}^n, even unrestricted two-way interaction cannot compress Set Disjointness below Ω(n)\Omega(n) bits:

3.3 Gap-Hamming distance and tight Ω(ε−2)\Omega(\varepsilon^{-2}) streaming space lower bounds for distinct elements (F0F_0)

In Reading §2.4 (Corollary 1), we showed that estimating the maximum frequency F∞F_\infty in a data stream requires Ω(n)\Omega(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 F0F_0, and AMS sketches for frequency moments F2F_2) use only poly⁡(ε−1,log⁡n)\operatorname{poly}(\varepsilon^{-1},\log n) bits of space to achieve (1±ε)(1\pm\varepsilon)-multiplicative approximation. Is the Ω(ε−2)\Omega(\varepsilon^{-2}) dependence on the accuracy parameter ε\varepsilon necessary?

Remarkably, we can prove the Ω(ε−2)\Omega(\varepsilon^{-2}) space lower bound for one-pass F0F_0 estimation directly from the one-way INDEX⁡N\operatorname{INDEX}_N lower bound (Theorem 6) via the Gap-Hamming Distance problem (GHD⁡N,ε\operatorname{GHD}_{N,\varepsilon}):

3.4 Online learning under memory and sliding-window constraints

Throughout this chapter and its reading sections, we studied temporal observation bottlenecks (TT sequential rounds of bandit feedback in §§1.5–1.6) and spatial memory/communication bottlenecks (an mm-bit message or ss-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:

References and source acknowledgments. The conditional slice notation μXY←y\mu_X^{Y\gets y}, the outer-expectation remark on H(X∣Y)H(X\mid 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 EQ⁡n\operatorname{EQ}_n, INDEX⁡n\operatorname{INDEX}_n, DISJ⁡n\operatorname{DISJ}_n, and GHD⁡N\operatorname{GHD}_N (§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].

  1. 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.
  2. 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.)
  3. 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.)
  4. Tze Leung Lai and Herbert Robbins, “Asymptotically Efficient Adaptive Allocation Rules,” Advances in Applied Mathematics, vol. 6, no. 1, pp. 4–22, 1985.
  5. 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.
  6. Nicolò Cesa-Bianchi and Gábor Lugosi, Prediction, Learning, and Games, Cambridge University Press, 2006, Chapter 3. (Reference for the Ω(Tln⁡n)\Omega(\sqrt{T\ln n}) full-information expert lower bound in §2.1.)
  7. 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.)
  8. 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.
  9. 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)\Omega(n) one-way INDEX⁡n\operatorname{INDEX}_n lower bound, 2008/2010; see also David P. Woodruff, “Optimal Space Lower Bounds for All Frequency Moments,” SODA, 2004.
  10. Vladimir Braverman, Sumegha Garg, Chen Wang, and David P. Woodruff, “Online Learning with Limited Information in the Sliding Window Model,” SODA, 2026.