Information Inequalities: Log-Sum Inequality, Subadditivity, and Pinsker's Inequality
Anchor (Master): Cover & Thomas 2006 Elements of Information Theory 2e (Wiley) §2.4-2.8; Csiszar & Korner 2011 Information Theory 2e (Cambridge) §1.2-1.3; Pinsker 1964 Information and Information Stability (Doklady); Kemperman 1967 (tight constant for Pinsker); Fedotov, Harremoes & Topsoe 2003 (refinements of Pinsker's inequality)
Intuition Beginner
You have two probability distributions, and , and you want to know how different they are. KL divergence measures the mismatch, but it is asymmetric and hard to interpret directly. Total variation distance is simpler: it asks "what is the biggest difference in probability that and assign to any event?" If and agree on every event, the distance is zero. If they disagree a lot, it can reach 1.
Pinsker's inequality connects these two notions. It says: if the KL divergence is small, then the distributions must be close in total variation. Specifically, the total variation distance is at most the square root of half the KL divergence. This is useful because KL divergence is often easier to compute, while total variation is what you need for probability bounds.
Subadditivity is a simpler idea. If you have several random variables, the total uncertainty in all of them together cannot exceed the sum of their individual uncertainties. Knowing some variables might reduce the surprise of others (because they carry shared information), but it can never increase the total. Equality holds exactly when the variables are independent.
Fano's inequality answers a practical question: if you try to guess a random variable based on partial information , how likely are you to be wrong? It says that if the conditional uncertainty is large, then the error probability must be large. You cannot reliably guess something that remains very uncertain even after seeing the data.
Visual Beginner
Figure: two bar charts side by side. The left chart shows distributions and as overlapping bars. The total variation distance is shaded. The right chart shows and with shaded. Below each pair: the KL divergence value and the Pinsker bound.
| Distributions | TV distance | KL divergence (nats) | Pinsker bound | Bound tight? |
|---|---|---|---|---|
| , | 0.10 | 0.020 | 0.10 | Close |
| , | 0.20 | 0.082 | 0.20 | Close |
| , | 0.40 | 0.511 | 0.51 | Loose |
| , | 0.50 | infinity | infinity | Exact |
The pattern: Pinsker's bound is tight for small divergences but loosens as the distributions move further apart. When the KL divergence is infinite (one distribution has zero probability where the other does not), the bound is vacuous.
Worked example Beginner
A factory produces widgets in three grades: A, B, and C. The true production distribution is . A quality inspector uses a simplified model . How different are these distributions?
Step 1. Compute total variation distance: .
Step 2. Compute KL divergence in nats: nats.
Step 3. Apply Pinsker's inequality: .
The actual total variation (0.10) is close to the bound (0.105), confirming that these distributions are genuinely close and Pinsker's inequality is nearly tight here.
Step 4. What does this mean? The inspector's model differs from reality by at most 10 percentage points on any event. For practical decisions like "is the fraction of grade-A widgets above 55%?", the model and reality give answers within 10% of each other. The KL divergence of 0.022 nats quantifies the information loss from using the wrong model, and Pinsker translates that into a concrete probability guarantee.
Check your understanding Beginner
Formal definition Intermediate+
Let and be probability distributions on the same finite alphabet .
Definition (Total variation distance). The total variation distance between and is
Definition (Log-sum inequality). For non-negative reals and (not all zero):
with the conventions , , and for . Equality holds if and only if is constant for all with .
Definition (Binary KL divergence). For , the binary KL divergence is
This is the KL divergence between the Bernoulli distributions and .
Counterexamples to common slips
Pinsker's inequality is one-directional. It gives , not equality. The reverse inequality holds for some constant depending on the support, but there is no universal reverse Pinsker without additional assumptions on the distributions.
Subadditivity is not superadditivity. While always holds, the reverse also holds but for a different reason (conditioning reduces entropy). The two inequalities combine to give .
Fano's inequality does not give an upper bound on error. It gives a lower bound on error probability in terms of conditional entropy. High conditional entropy forces high error, but low conditional entropy does not guarantee low error.
Key theorem with proof Intermediate+
Theorem (Pinsker's inequality). For any two probability distributions and on the same measurable space:
Equivalently, .
Proof. We prove the binary case first, then extend to general distributions by a coupling argument.
Step 1 (Binary case). Let and set . We show . Define where . Then , , and (direct computation of the second derivative of the binary KL at ). By the Taylor expansion and the convexity of :
where and the inequality uses for the binary KL divergence (which can be verified by direct calculation of and showing it is bounded below by 4 for ).
Step 2 (General finite alphabet). For distributions on a finite alphabet, partition the outcomes into sets and . Define binary distributions and . By the data processing inequality for KL divergence (applying the deterministic partition function), . Also . Applying the binary case to and :
Theorem (Subadditivity of entropy). For any collection of discrete random variables :
Equality holds if and only if are mutually independent.
Proof. By the chain rule, . Since conditioning reduces entropy, for each . Summing gives subadditivity. Equality requires for all , which by the equality condition for conditioning-reduces-entropy holds iff each is independent of , i.e., mutual independence.
Theorem (Data processing inequality for KL divergence). Let and be distributions on and let be a measurable function. If and are the pushforward distributions on , then
Proof. Let and . Then:
By the log-sum inequality applied to each with and for :
Summing over gives .
Bridge. The log-sum inequality builds toward the asymptotic equipartition property in 46.02.01 by serving as the algebraic engine behind the data processing inequality, which controls how quickly information degrades under noisy processing. It appears again in the channel coding converse 46.03.01 where Fano's inequality translates conditional entropy into a lower bound on error probability, and in hypothesis testing 46.04.01 where the data processing inequality for KL divergence limits the discriminability of distributions after processing. The foundational reason these inequalities chain together is that the log-sum inequality is the single algebraic fact from which all basic information inequalities follow; the central insight is that convexity of the log-ratio functional generates every comparison theorem in the subject; and putting these together gives a unified inequality framework. The bridge is that Pinsker's inequality connects the information-theoretic world (KL divergence) to the statistical world (total variation), making it possible to translate abstract divergence bounds into concrete probability guarantees.
Exercises Intermediate+
Lean formalization Intermediate+
Mathlib does not define total variation distance on probability measures connected to KL divergence, and the Pinsker inequality is absent. The log-sum inequality and Gibbs' inequality are unformalised. Fano's inequality requires a definition of estimation error probability tied to conditional entropy, which does not exist in Mathlib's current information-theoretic layer. The data processing inequality for KL divergence requires a pushforward construction on PMFs coupled with the log-sum inequality; neither the pushforward-inequality connection nor the log-sum proof exists. The binary Pinsker inequality (the key technical step) requires bounding the binary KL divergence below by a quadratic in the parameter difference, which involves calculus on the Bernoulli family that is straightforward but unformalised. A Codex.InformationTheory.Pinsker module proving the Pinsker inequality for PMF pairs via the binary reduction would be the load-bearing first step; this unit ships without it.
Advanced results Master
Tightness of Pinsker's inequality and refinements
Pinsker's inequality with the constant is optimal in the following sense: there exist distributions where the ratio is arbitrarily close to 2. For binary distributions with and :
so the constant 2 in is not achieved but is the best universal constant (the infimum of over all distribution pairs is 1, achieved in the limit as for uniform distributions).
Fedotov, Harremoes, and Topsoe (2003) proved a family of refinements. One particularly useful form is:
for , where . This is tighter than Pinsker for large divergences.
The Bretagnolle-Huber inequality
An alternative to Pinsker that is tighter for large divergences:
The second bound is always at least as good as Pinsker for and provides a meaningful bound even when is large. This inequality is derived from the fact that for any event , , which follows from the data processing inequality applied to the indicator of .
Generalized Fano inequalities
The standard Fano inequality can be sharpened in several directions.
Theorem (Han's inequality for conditional entropy). For random variables and a random variable :
This follows from the subadditivity of conditional entropy and the same argument used for the Han inequality in 46.01.01, applied conditionally.
Corollary (Fano for list decoding). If is an estimate that produces a list of size (i.e., returns a set of candidates), and , then
This generalizes Fano by replacing the single guess with a list and is used in the list-decoding analysis of channel codes.
The data processing inequality and contiguity
The data processing inequality for KL divergence has a powerful converse-like refinement in terms of contiguity.
Definition (Contiguity). A sequence of distributions is contiguous with respect to (written ) if for any sequence of events , implies .
The connection to KL divergence: if , then and (mutual contiguity). This follows from Pinsker's inequality: implies , which implies for all events, hence contiguity. The reverse does not hold: contiguity does not imply vanishing KL divergence.
Maximal coupling and the total-variation identity
There is a probabilistic characterisation of total variation distance that is often more useful than the definition.
Theorem (Maximal coupling). For any two distributions and on a common measurable space, there exists a joint distribution on with marginals and such that
Equivalently, , where the infimum is over all couplings of and . The infimum is achieved by the maximal coupling.
This identity is the reason Pinsker's inequality is useful in concentration arguments: a bound on KL divergence translates via Pinsker to a bound on total variation, which translates via maximal coupling to a bound on the probability that two coupled processes diverge.
Synthesis. The log-sum inequality builds toward every comparison theorem in information theory by serving as the single algebraic fact from which Gibbs' inequality, the data processing inequality, and joint convexity of KL divergence all derive. It appears again in the channel coding converse 46.03.01 where Fano's inequality transforms information bounds into error-probability bounds. The central insight is that Pinsker's inequality is the bridge between the information-theoretic world of KL divergence and the probabilistic world of total variation distance; this is exactly the tool that makes it possible to translate abstract divergence bounds into concrete probability guarantees. Putting these together: the log-sum inequality generates all basic information inequalities; subadditivity constrains how uncertainty distributes across variables; Fano translates conditional entropy into error bounds; and Pinsker connects divergence to distance. The bridge is that these four results form a closed loop — divergence bounds distance, distance bounds coupling error, coupling error bounds estimation accuracy, and estimation accuracy feeds back into conditional entropy via Fano.
Full proof set Master
Proposition (Gibbs' inequality from the log-sum inequality). For probability distributions and on :
with equality iff .
Proof. Apply the log-sum inequality with and for :
Equality holds iff is constant for all with . Since both are probability distributions summing to 1, this constant must be 1, giving .
Proposition (Data processing for KL implies data processing for mutual information). If is a Markov chain, then .
Proof. Let and denote the joint distributions. The Markov condition means . Now:
Define the function where is the channel from to . The pushforward of under is , and the pushforward of is (since depends only on ). By the data processing inequality for KL divergence:
Proposition (Subadditivity implies the Han inequality). For any random variables :
Proof. For each , subadditivity applied to the variables excluding gives:
Also, the chain rule gives , so .
Summing over : .
By subadditivity, , so .
Rearranging: , giving .
Proposition (Fano's inequality, sharp form for uniform prior). If is uniform on and is any estimator based on , then:
Proof. Since is uniform, . By Fano's inequality:
Since , we get:
Since and :
Rearranging: .
Connections Master
46.01.01— Entropy, conditional entropy, and the chain rule are the direct prerequisites; subadditivity follows from the chain rule plus conditioning-reduces-entropy.46.01.02— KL divergence and mutual information are defined here; Pinsker's inequality bounds total variation by , and the data processing inequality for KL divergence uses the log-sum inequality.46.02.01— The AEP uses subadditivity to prove the entropy rate exists for stationary sources and Pinsker to control the deviation of empirical distributions from the true distribution.46.03.01— The channel coding converse uses Fano's inequality to translate mutual information bounds into lower bounds on error probability for rates above capacity.46.04.01— Hypothesis testing uses the data processing inequality for KL divergence to bound the performance of statistical tests based on processed data, and Pinsker connects information divergences to the total-variation test criterion.37.07.05— Sanov's theorem in large deviations identifies as the rate function; Pinsker's inequality provides the continuity bound needed to show the rate function is well-behaved.
Historical & philosophical context Master
The log-sum inequality is implicit in the Gibbs inequality used by Shannon (1948) and was made explicit by Kullback and Leibler (1951) as the algebraic foundation for the non-negativity of KL divergence. Its name comes from the observation that the logarithm of a sum is bounded by the weighted sum of logarithms, a fact that sits between Jensen's inequality and the convexity of the log-partition function.
Pinsker's inequality was first proved by Mark Pinsker in 1960 and published in Doklady Akademii Nauk SSSR (volume 160, 194-197) with an English translation in Soviet Mathematics Doklady (volume 6, 88-91) in 1965. Pinsker was working on information stability of random variables and needed a concrete connection between the information-theoretic divergence and the probability-theoretic distance . The original proof used the binary reduction argument (partition the alphabet into two sets where and differ maximally, then reduce to the Bernoulli case) and established the constant as optimal. Kemperman (1967, On the optimal rate of transmitting information) and Csiszar (1967, Information-type measures of difference of probability distributions) independently proved the same result in greater generality, showing that the constant holds for arbitrary measurable spaces.
Imre Csiszar's 1967 paper is notable for introducing the -divergence framework, which unified KL divergence, total variation distance, and the chi-squared divergence under a single family for convex with . Within this framework, Pinsker's inequality becomes a statement about the relationship between the KL divergence () and the total variation (): one -divergence dominates another. The question of which -divergences dominate which others was subsequently studied extensively by Liese and Vajda in their 1987 monograph Convex Statistical Distances.
Fano's inequality appears in Robert Fano's 1952 MIT technical report Class Notes for Transmission of Information (course 6.574) and was published in his 1961 textbook Transmission of Information (MIT Press/Wiley). Fano was motivated by the problem of computing the channel capacity of the binary symmetric channel and needed a tool to convert bounds on mutual information into bounds on the probability of decoding error. The inequality was used in the original proof of the converse to Shannon's channel coding theorem and remains the standard tool for converse arguments in network information theory.
The maximal coupling characterisation of total variation was developed by several authors independently. The existence of an optimal coupling achieving was shown by Doeblin (1938) for discrete distributions and extended to the general case by Goldstein (1979) and Thorisson (2000, Coupling, Stationarity, and Regeneration, Springer). The coupling perspective gives Pinsker's inequality a probabilistic reading: if the KL divergence between and is small, then there exists a coupling in which and agree with high probability.
Bibliography Master
@book{cover-thomas2006,
author = {Cover, T. M. and Thomas, J. A.},
title = {Elements of Information Theory},
edition = {2nd},
publisher = {Wiley},
year = {2006},
}
@book{csiszar-korner2011,
author = {Csisz{\'a}r, I. and K{\"o}rner, J.},
title = {Information Theory: Coding Theorems for Discrete Memoryless Systems},
edition = {2nd},
publisher = {Cambridge University Press},
year = {2011},
}
@article{pinsker1964,
author = {Pinsker, M. S.},
title = {Information and Information Stability of Random Variables and Processes},
journal = {Problems of Information Transmission},
year = {1964},
note = {Originally published in Russian by Nauka, Moscow; the inequality $\delta^2 \leq D/2$ first appeared in Doklady Akademii Nauk SSSR 160 (1965) 194-197},
}
@article{fedotov-harremoes-topsoe2003,
author = {Fedotov, A. A. and Harremoes, P. and Tops{\o}e, F.},
title = {Refinements of {Pinsker's} Inequality},
journal = {IEEE Transactions on Information Theory},
volume = {49},
number = {6},
pages = {1491--1498},
year = {2003},
}
@article{csiszar1967,
author = {Csisz{\'a}r, I.},
title = {Information-Type Measures of Difference of Probability Distributions and Indirect Observations},
journal = {Studia Scientiarum Mathematicarum Hungarica},
volume = {2},
pages = {299--318},
year = {1967},
}
@book{fano1961,
author = {Fano, R. M.},
title = {Transmission of Information: A Statistical Theory of Communications},
publisher = {MIT Press and Wiley},
year = {1961},
}
@article{kullback-leibler1951,
author = {Kullback, S. and Leibler, R. A.},
title = {On Information and Sufficiency},
journal = {Annals of Mathematical Statistics},
volume = {22},
pages = {79--86},
year = {1951},
}
@book{liese-vajda1987,
author = {Liese, F. and Vajda, I.},
title = {Convex Statistical Distances},
publisher = {Teubner},
year = {1987},
}
@book{thorisson2000,
author = {Thorisson, H.},
title = {Coupling, Stationarity, and Regeneration},
publisher = {Springer},
year = {2000},
}