For nonnegative , with and , the log-sum inequality iswith the usual extended-value conventions. Equality holds when is constant wherever .
Let and put and . For each alphabet symbol , apply the log-sum inequality to , and the corresponding values. Summing over giveswhich is joint convexity in .
The preceding inequality supplies the upper bound on the supremum. If has full support relative to , choose ; then and the objective equals . If at some symbols, use this choice on the support of and put elsewhere. Letting gives the same value. Finiteness of guarantees that is positive on the support of . This proves the Gibbs variational principle for relative entropy.
Let be i.i.d. with mass function on a finite alphabet, and let be their empirical distribution. Sanov theorem states that for every set of probability mass functions,andwhere interior and closure use the probability-simplex topology. Thus the empirical distributions satisfy a large deviation principle with rate function .
The likelihood-ratio event depends only on the type and isequivalently . This constraint defines a closed subset of the finite probability simplex, so Sanov's upper bound gives the exponentIt is strictly positive: the only distribution with zero divergence from is , but violates the constraint because . Compactness and continuity under full support keep the infimum away from zero. This exponent is the Chernoff information between and .
An error implies that some has likelihood at least that of . A finite union bound and part (b) therefore givewhereEvery inner infimum is strictly positive by the argument in part (b), and the minimum of finitely many positive numbers is positive.
For feasible mass functions at distortion levels , the mixture has nonzero-symbol mass at most . Concavity of information entropy givesTaking maximizing sequences proves
Regard the alphabet as the cyclic group and put . For each , subtraction by is a bijection, soBy concavity of , its monotonicity in the distortion allowance, and ,Therefore
The previous part gives for uniform . To attain the bound, take uniform on , choose an independent error whose mass function attains , and set . Then is uniform, , andThus and equality holds. This is the rate-distortion function of a uniform source under Hamming distortion.
The direct codes-distributions correspondence says that every mass function on a finite alphabet admits a binary prefix code with lengths . Conversely, every binary prefix code has lengths satisfying the Kraft inequality , and hence defines the mass function .
For any fixed threshold , minimizing the excess-length probability means assigning the available strings shorter than to the most probable symbols. Repeating this exchange argument simultaneously for every threshold orders symbols by decreasing probability and assigns binary strings from shortest to longest. There are words of length , so the th word in shortlex order has lengthThis is the optimal one-to-one binary code.
Relabeling an arbitrary alphabet in decreasing probability order makes part (ii) pointwise:It immediately impliesand, after taking expectations,This reverses the prefix-code lower bound from part (b). A general one-to-one code need not decode concatenated codewords instantaneously or uniquely, so it is not constrained by Kraft's inequality.
Articles by others on the same topic
There are currently no matching articles.