Fano's inequality - why features must be informative
What does it mean for a feature representation to be good? One necessary condition is that it preserves enough information about the quantity we want to predict. Fano’s inequality makes this statement precise.
Let be a label with possible values, let be a feature representation, and let be a classifier’s prediction. Define its error probability as
Fano’s inequality gives
where
is the binary entropy. Throughout this article, logarithms are base 2, so entropy and mutual information are measured in bits.
Since mutual information satisfies , we obtain the lower bound
In plain English: achieving a small classification error requires the representation to preserve a minimum amount of information about the label .
Example: ten balanced classes
Suppose the label is uniformly distributed over ten classes. Then
For a target accuracy of 90%, the error probability is . Fano’s inequality gives
Thus, a representation capable of supporting 90% accuracy must preserve at least about 2.54 bits of information about the class label. This is roughly 76% of the label entropy.
At zero error, , the bound becomes . Perfect prediction therefore requires preserving all information about the label.
At the other extreme, uniform random guessing over ten classes has accuracy and error . In that case the lower bound becomes zero. A representation need not preserve label information to support random predictions.
Mutual information is necessary, but not sufficient
Fano’s inequality gives a necessary condition for accurate classification, not a recipe for learning useful features. A representation may retain plenty of information while arranging it in a form that is difficult for a chosen model to use.
For example, the raw input may contain everything needed to predict , yet the relevant structure may not be linearly accessible. Similarly, a fixed but unknown scrambling of the input can preserve information while making the prediction problem computationally difficult.
Useful features should therefore be not only informative but also accessible to a reasonably simple model. Depending on the problem, that might mean linear separability, invariance to nuisance factors, or a compact description. Ideas such as Kolmogorov complexity and minimum description length point in this direction, although a general definition of feature simplicity remains an open question.