Fano's inequality #
Fano's inequality bounds the entropy left in a hidden value by the probability that it is
guessed wrongly Cover and Thomas, Section 2.10, the corollary to Theorem
2.10.1. If an estimator g recovers a value X : α from an observation Y
except with probability Pe = Pr[g Y ≠ X], then H(X | Y) ≤ h₂(Pe) + Pe log₂ (|α| - 1), where
h₂(e) = Real.binEntropy e / Real.log 2 is the binary entropy in bits. This is the sharper
|α| - 1 form of that corollary, for deterministic estimators g Y with values in α; it implies
the theorem's Pe log₂ |α| form for them. Joint laws list the observation first, as for
Cslib.Probability.PMF.conditionalEntropy.
The proof averages the unconditional inequality H(q) ≤ h₂(1 - q a) + (1 - q a) log₂ (|α| - 1),
for one law q and one guess a, over the conditional laws of X given Y = y. The unconditional
inequality is concavity of x ↦ -x log x on the outcomes other than a; averaging uses concavity
of Real.binEntropy (Jensen's inequality). This is not the textbook proof, which expands
H(E, X | Y) for the error indicator E by the chain rule in two ways; the statement is the same.
Main results #
Cslib.Probability.PMF.entropy_bool,Cslib.Probability.PMF.entropy_coin: the entropy of a bit is its binary entropy.Cslib.Probability.PMF.entropy_le_binEntropy_add_mul_logb: Fano's inequality without side information.Cslib.Probability.PMF.conditionalEntropy_le_binEntropy_add_mul_logb: Fano's inequality for a joint law and an estimator.Cslib.Probability.PMF.conditionalEntropy_map_le_binEntropy_add_mul_logb: the same for random variablesX, Yon a common probability space.Cslib.Probability.PMF.conditionalEntropy_le_one_add_mul_logb: the weak formH(X | Y) ≤ 1 + Pe log₂ |α|.
References #
- T. M. Cover, J. A. Thomas, Elements of Information Theory, 2nd ed., Section 2.10.
A coin showing true with probability p carries h₂(p) bits of entropy.
Fano's inequality without side information Cover and Thomas, Section 2.10, the remark
after Theorem 2.10.1: if the guess a misses a sample of q with probability
e = 1 - q a, then H(q) ≤ h₂(e) + e log₂ (|α| - 1).
Fano's inequality Cover and Thomas, Section 2.10, the corollary to Theorem
2.10.1: for a joint law of an observation Y : β and a hidden value X : α,
listed observation first, and an estimator g : β → α erring with probability Pe = Pr[g Y ≠ X],
H(X | Y) ≤ h₂(Pe) + Pe log₂ (|α| - 1). This is the sharper |α| - 1 form, for deterministic
estimators with values in α.
Fano's inequality for random variables X : Ω → α and Y : Ω → β on a probability space
ν, with the estimate g ∘ Y of X: H(X | Y) ≤ h₂(Pe) + Pe log₂ (|α| - 1), where
Pe = Pr[g (Y ω) ≠ X ω].
Fano's inequality, weak form: H(X | Y) ≤ 1 + Pe log₂ |α|.