Fano's inequality

Inequality applying to random variables

In information theory, Fano's inequality (also known as the Fano converse and the Fano lemma) relates the average information lost in a noisy channel to the probability of the categorization error. It was derived by Robert Fano in the early 1950s while teaching a Ph.D. seminar in information theory at MIT, and later recorded in his 1961 textbook.

It is used to find a lower bound on the error probability of any decoder as well as the lower bounds for minimax risks in density estimation.

Let the random variables X {\displaystyle X} and Y {\displaystyle Y} represent input and output messages with a joint probability P ( x , y ) {\displaystyle P(x,y)} . Let e {\displaystyle e} represent an occurrence of error; i.e., that X X ~ {\displaystyle X\neq {\tilde {X}}} , with X ~ = f ( Y ) {\displaystyle {\tilde {X}}=f(Y)} being an approximate version of X {\displaystyle X} . Fano's inequality is

H ( X | Y ) H b ( e ) + P ( e ) log ( | X | 1 ) , {\displaystyle H(X|Y)\leq H_{b}(e)+P(e)\log(|{\mathcal {X}}|-1),}

where X {\displaystyle {\mathcal {X}}} denotes the support of X {\displaystyle X} ,

H ( X | Y ) = i , j P ( x i , y j ) log P ( x i | y j ) {\displaystyle H\left(X|Y\right)=-\sum _{i,j}P(x_{i},y_{j})\log P\left(x_{i}|y_{j}\right)}

is the conditional entropy,

P ( e ) = P ( X X ~ ) {\displaystyle P(e)=P(X\neq {\tilde {X}})}

is the probability of the communication error, and

H b ( e ) = P ( e ) log P ( e ) ( 1 P ( e ) ) log ( 1 P ( e ) ) {\displaystyle H_{b}(e)=-P(e)\log P(e)-(1-P(e))\log(1-P(e))}

is the corresponding binary entropy.

Proof

Define an indicator random variable E {\displaystyle E} , that indicates the event that our estimate X ~ = f ( Y ) {\displaystyle {\tilde {X}}=f(Y)} is in error,

E := { 1    if    X ~ X   , 0    if    X ~ = X   . {\displaystyle E:={\begin{cases}1~&{\text{ if }}~{\tilde {X}}\neq X~,\\0~&{\text{ if }}~{\tilde {X}}=X~.\end{cases}}}

Consider H ( E , X | X ~ ) {\displaystyle H(E,X|{\tilde {X}})} . We can use the chain rule for entropies to expand this in two different ways

H ( E , X | X ~ ) = H ( X | X ~ ) + H ( E | X , X ~ ) = 0 = H ( E | X ~ ) + H ( X | E , X ~ ) {\displaystyle {\begin{aligned}H(E,X|{\tilde {X}})&=H(X|{\tilde {X}})+\underbrace {H(E|X,{\tilde {X}})} _{=0}\\&=H(E|{\tilde {X}})+H(X|E,{\tilde {X}})\end{aligned}}}

Equating the two

H ( X | X ~ ) = H ( E | X ~ ) + H ( X | E , X ~ ) {\displaystyle H(X|{\tilde {X}})=H(E|{\tilde {X}})+H(X|E,{\tilde {X}})}

Expanding the right most term, H ( X | E , X ~ ) {\displaystyle H(X|E,{\tilde {X}})}

H ( X | E , X ~ ) = H ( X | E = 0 , X ~ ) = 0 P ( E = 0 ) + H ( X | E = 1 , X ~ ) P ( E = 1 ) = P ( e ) = H ( X | E = 1 , X ~ ) P ( e ) {\displaystyle {\begin{aligned}H(X|E,{\tilde {X}})&=\underbrace {H(X|E=0,{\tilde {X}})} _{=0}\cdot P(E=0)+H(X|E=1,{\tilde {X}})\cdot \underbrace {P(E=1)} _{=P(e)}\\&=H(X|E=1,{\tilde {X}})\cdot P(e)\end{aligned}}}

Since E = 0 {\displaystyle E=0} means X = X ~ {\displaystyle X={\tilde {X}}} ; being given the value of X ~ {\displaystyle {\tilde {X}}} allows us to know the value of X {\displaystyle X} with certainty. This makes the term H ( X | E = 0 , X ~ ) = 0 {\displaystyle H(X|E=0,{\tilde {X}})=0} . On the other hand, E = 1 {\displaystyle E=1} means that X ~ X {\displaystyle {\tilde {X}}\neq X} , hence given the value of X ~ {\displaystyle {\tilde {X}}} , we can narrow down X {\displaystyle X} to one of | X | 1 {\displaystyle |{\mathcal {X}}|-1} different values, allowing us to upper bound the conditional entropy H ( X | E = 1 , X ~ ) log ( | X | 1 ) {\displaystyle H(X|E=1,{\tilde {X}})\leq \log(|{\mathcal {X}}|-1)} . Hence

H ( X | E , X ~ ) log ( | X | 1 ) P ( e ) {\displaystyle H(X|E,{\tilde {X}})\leq \log(|{\mathcal {X}}|-1)\cdot P(e)}

The other term, H ( E | X ~ ) H ( E ) {\displaystyle H(E|{\tilde {X}})\leq H(E)} , because conditioning reduces entropy. Because of the way E {\displaystyle E} is defined, H ( E ) = H b ( e ) {\displaystyle H(E)=H_{b}(e)} , meaning that H ( E | X ~ ) H b ( e ) {\displaystyle H(E|{\tilde {X}})\leq H_{b}(e)} . Putting it all together,

H ( X | X ~ ) H b ( e ) + P ( e ) log ( | X | 1 ) {\displaystyle H(X|{\tilde {X}})\leq H_{b}(e)+P(e)\log(|{\mathcal {X}}|-1)}

Because X Y X ~ {\displaystyle X\rightarrow Y\rightarrow {\tilde {X}}} is a Markov chain, we have I ( X ; X ~ ) I ( X ; Y ) {\displaystyle I(X;{\tilde {X}})\leq I(X;Y)} by the data processing inequality, and hence H ( X | X ~ ) H ( X | Y ) {\displaystyle H(X|{\tilde {X}})\geq H(X|Y)} , giving us

H ( X | Y ) H b ( e ) + P ( e ) log ( | X | 1 ) {\displaystyle H(X|Y)\leq H_{b}(e)+P(e)\log(|{\mathcal {X}}|-1)}

Intuition

Fano's inequality can be interpreted as a way of dividing the uncertainty of a conditional distribution into two questions given an arbitrary predictor. The first question, corresponding to the term H b ( e ) {\displaystyle H_{b}(e)} , relates to the uncertainty of the predictor. If the prediction is correct, there is no more uncertainty remaining. If the prediction is incorrect, the uncertainty of any discrete distribution has an upper bound of the entropy of the uniform distribution over all choices besides the incorrect prediction. This has entropy log ( | X | 1 ) {\displaystyle \log(|{\mathcal {X}}|-1)} . Looking at extreme cases, if the predictor is always correct the first and second terms of the inequality are 0, and the existence of a perfect predictor implies X {\displaystyle X} is totally determined by Y {\displaystyle Y} , and so H ( X | Y ) = 0 {\displaystyle H(X|Y)=0} . If the predictor is always wrong, then the first term is 0, and H ( X | Y ) {\displaystyle H(X|Y)} can only be upper bounded with a uniform distribution over the remaining choices.

Alternative formulation

Let X {\displaystyle X} be a random variable with density equal to one of r + 1 {\displaystyle r+1} possible densities f 1 , , f r + 1 {\displaystyle f_{1},\ldots ,f_{r+1}} . Furthermore, the Kullback–Leibler divergence between any pair of densities cannot be too large,

D K L ( f i f j ) β {\displaystyle D_{KL}(f_{i}\|f_{j})\leq \beta } for all i j . {\displaystyle i\not =j.}

Let ψ ( X ) { 1 , , r + 1 } {\displaystyle \psi (X)\in \{1,\ldots ,r+1\}} be an estimate of the index. Then

sup i P i ( ψ ( X ) i ) 1 β + log 2 log r {\displaystyle \sup _{i}P_{i}(\psi (X)\not =i)\geq 1-{\frac {\beta +\log 2}{\log r}}}

where P i {\displaystyle P_{i}} is the probability induced by f i {\displaystyle f_{i}}

Generalization

The following generalization is due to Ibragimov and Khasminskii (1979), Assouad and Birge (1983).

Let F be a class of densities with a subclass of r + 1 densities ƒθ such that for any θ ≠ θ

f θ f θ L 1 α , {\displaystyle \|f_{\theta }-f_{\theta '}\|_{L_{1}}\geq \alpha ,}
D K L ( f θ f θ ) β . {\displaystyle D_{KL}(f_{\theta }\|f_{\theta '})\leq \beta .}

Then in the worst case the expected value of error of estimation is bound from below,

sup f F E f n f L 1 α 2 ( 1 n β + log 2 log r ) {\displaystyle \sup _{f\in \mathbf {F} }E\|f_{n}-f\|_{L_{1}}\geq {\frac {\alpha }{2}}\left(1-{\frac {n\beta +\log 2}{\log r}}\right)}

where ƒn is any density estimator based on a sample of size n.

References

  • P. Assouad, "Deux remarques sur l'estimation", Comptes Rendus de l'Académie des Sciences de Paris, Vol. 296, pp. 1021–1024, 1983.
  • L. Birge, "Estimating a density under order restrictions: nonasymptotic minimax risk", Technical report, UER de Sciences Économiques, Universite Paris X, Nanterre, France, 1983.
  • T. Cover, J. Thomas (1991). Elements of Information Theory. pp. 38–42. ISBN 978-0-471-06259-2.
  • L. Devroye, A Course in Density Estimation. Progress in probability and statistics, Vol 14. Boston, Birkhauser, 1987. ISBN 0-8176-3365-0, ISBN 3-7643-3365-0.
  • Fano, Robert (1968). Transmission of information: a statistical theory of communications. Cambridge, Mass: MIT Press. ISBN 978-0-262-56169-3. OCLC 804123877.
    • also: Cambridge, Massachusetts, M.I.T. Press, 1961. ISBN 0-262-06001-9
  • R. Fano, Fano inequality Scholarpedia, 2008.
  • I. A. Ibragimov, R. Z. Has′minskii, Statistical estimation, asymptotic theory. Applications of Mathematics, vol. 16, Springer-Verlag, New York, 1981. ISBN 0-387-90523-5