Communication Theory, Mathematics Part B and the Mathematics and Philosophy and Mathematics and Statistics joint schools; Thursday 14 June 2007, 9.30am–11.15am. The complete four-page source is privately transcribed from original Part B bundle pages 61–64, supplied through the past-papers disclosure. No exact worked-answer advertisement was found in the bounded availability check. Source coding uses the positive-probability source support. Logarithms and information quantities are in base two unless indicated otherwise.
Use the convention . On the positive support of , the given logarithm inequality givesThe logarithm is strictly concave, so its supporting line at one has equality only there. More explicitly, the given global bound forces by differentiation at one, and vanishes only at one. Equality above therefore requires on the positive support, and no mass of outside it. Thus equality holds exactly when .
For the uniform distribution , the divergence is . Its nonnegativity gives , with equality precisely for the uniform law.
Conditional entropy is . Factor the joint probabilities as and expand their logarithms. This gives . Applying the same identity within each conditional law given and averaging gives .
Put and . Since is a function of , the conditional chain rule givesBy Gibbs inequality, the first term is at most . When , determines . When , there are at most possibilities for given , so its conditional entropy is at most . ThereforeFor , rearrangement provesThe printed division presupposes . For its denominator is zero, and the meaningful statement is the stronger undivided inequality . For the variables agree surely.
Independence gives . The given exponential convexity inequality therefore yieldsTaking complementary probabilities provesThe strict positivity of the entries of makes all logarithms appearing in this finite expectation well defined.
A binary prefix code assigns distinct finite binary strings to the source symbols, with no assigned string a prefix of another. It is instantaneous because a complete codeword is recognized without needing the next word's bits.
Associate a word of length with its dyadic subinterval of of length . A prefix relation corresponds to interval containment. Prefix-free words therefore give disjoint intervals, whose total length is at most one. This proves necessity of Kraft inequality.
For sufficiency, sort the requested nonnegative integer lengths increasingly and construct a code greedily in a binary tree. At depth , the preceding codewords forbid exactly nodes. The assumed inequality, retaining the positive contribution of the present word, bounds this integer by . Thus at least one node is available; choose it. It is not below an earlier codeword, and the nondecreasing lengths prevent it from being a proper ancestor of an earlier word. Continue to obtain a prefix code of all the required lengths. Hence
Work on the source support, so its listed probabilities are positive; zero-probability symbols may be omitted. An optimal binary prefix code minimizes the expected codeword length for that distribution. The same optimal expected length is attained when optimization is over uniquely decipherable codes, by the converse and existence parts of Kraft–McMillan inequality.
Choose Shannon lengths . They satisfy , so the preceding existence theorem gives a prefix code with those lengths. Also for every symbol, including the integer cases. Thus its expected length is less than . An optimal code cannot have a larger expected length, provingFor a deterministic one-symbol source the empty word has length zero, consistent with this bound.
At an interior tree node write for the total masses in its two children, and . Counting path lengths and telescoping the Shannon entropy over the binary decisions givesIndeed each symbol contributes its probability once per ancestral interior node to the first sum. In the second sum, expanding cancels the interior terms and leaves the source Shannon entropy. The supplied inequality now bounds redundancy byConsider the cut between adjacent symbols made at one node. If its left side is heavier, moving its last symbol to the right must not improve the chosen cut. Writing , this says , which implies ; when the left side is a singleton the same bound is immediate. If the right side is heavier, the corresponding argument gives . In all casesRecursive subdivision of contiguous blocks uses each original gap exactly once. Summing over the gaps therefore givesproving . If probabilities are already nonincreasing, each maximum is and the improved bound is . Thus the sorted version has expected length less than , although it need not be optimal. For one symbol the assertions hold directly. This is the Fano slice code redundancy bound.
The channel matrix has entries , with nonnegative entries and each row summing to one. For an input distribution , it induces the joint law . Its capacity in bits per use isOn finite alphabets the maximum exists by continuity on the compact probability simplex.
Gibbs inequality makes mutual information nonnegative, so . The two conditional-Shannon entropy expressions giveEach Shannon entropy is bounded by the base-two logarithm of its alphabet size. Maximizing over the input distribution therefore gives for the smaller size .
Exchanging the first and third inputs, together with the corresponding outputs, leaves the channel unchanged. Concavity therefore shows that averaging an input distribution with its exchanged distribution cannot reduce mutual information. We may take input probabilities .
For , put and , so . The output distribution is and the mean conditional output Shannon entropy is . HenceIts strict concavity gives the unique stationary value . This lies in the allowed interval: for , the derivative at is , while it tends to positive infinity at zero. At the stationary value is directly. Consequently an achieving input distribution isThe resulting capacity is . In particular at , andAt all outputs are the middle symbol, so and every input distribution achieves it; the divided formula is not used at that endpoint.
Maximum a posteriori decoding chooses an input with the largest posterior probability given the received word. By Bayes' theorem this maximizes over candidate codewords, minimizing the average probability of a decoding error.
Maximum-likelihood decoding chooses a codeword maximizing for the received word . It uses the likelihood alone, without weighting by the prior probabilities of the codewords.
Minimum-distance decoding with Hamming distance chooses a codeword minimizing the number of positions in which it differs from the received word. Ties may be resolved by a fixed rule.
With equally likely codewords, the prior factor in the ideal-observer criterion is constant, so it agrees with maximum likelihood. On the binary symmetric channel,For this is strictly decreasing in Hamming distance, so the likelihood maximizers are precisely the nearest codewords. With the same tie convention all three decoders therefore agree. At every possible received word equals its transmitted codeword, and the rules agree on all positive-probability outputs; outputs having zero probability need no posterior assignment.
A radius- Hamming decoder outputs the unique codeword within distance of the received word, if there is one. Ambiguous cases and absent candidates can be declared errors, or assigned arbitrarily for an error bound. The average error is the mean of the conditional error probabilities over the equally likely transmitted messages.
Let be the size of a Hamming ball. For any transmitted random codeword, the channel noise weight is . Decoding can fail only if or another codeword lies within distance of the output. Conditional on the output, each independently sampled competing codeword is still uniform on the whole word space, so has probability of lying in that ball. A union bound yieldsThis is an average over the random code construction as well as over messages and noise. It implies existence of at least one deterministic codebook with average error no greater than this bound, rather than asserting the same inequality for every randomly sampled book.
Choose a target rate and a small such that and . Let and . The standard Hamming-volume estimate is : for , each binomial probability term with is at least , and summing proves this bound. Thus the union-bound term decays exponentially, while by the law of large numbers or a Chernoff bound.
There exists a -message book with average error . At least half its messages have individual error at most , by Markov's inequality on the uniformly chosen message. Keep of these and discard the rest. Restricting the decoder's candidate set cannot spoil a previously unique successful decoding. The retained book therefore has maximum error at most . For large its retained codewords must be distinct: identical words could not both have conditional error below one half. This expurgation of a codebook proves reliable communication at every rate below , while converting an average-error estimate into the requested maximum-error conclusion.
Articles by others on the same topic
There are currently no matching articles.
