Communication Theory, Thursday 17 June 2010, 9.30am–11.00am. The complete four-page source was supplied through the past-papers disclosure, in original Part B bundle pages 244–247. The private editable transcription retains the complete cover and all three questions. No exact worked-answer advertisement was found in the bounded availability check.
A binary code assigns a finite bit string to each source symbol. Use nonempty codewords for an unframed variable-length stream. The code is uniquely decodable if no two distinct finite sequences of source symbols produce the same concatenated bit string. It is a prefix-free code if no codeword is an initial segment of a different codeword.
To prove unique decoding of a prefix code, suppose two concatenations agree. Their first codewords both begin the same bit string, so the shorter is a prefix of the longer. The prefix condition forces the first codewords to be equal. Cancel them and repeat. Since the codewords are nonempty, this process ends with both symbol sequences exhausted at the same time; otherwise a nonempty remainder could not equal the empty string. Hence the source sequences agree.
The code is not a prefix code, since is a prefix of . Nevertheless it is uniquely decodable: decode from the right. A final forces the last codeword to be , whereas a final forces it to be . Removing that final word recursively gives a unique parsing. Thus the converse fails.
Put and let be the largest length. Expanding sums over all strings of source symbols, where is the total code length. By unique decodability, the concatenations of length in this sum are all distinct, so there are at most of them. Since ,Taking th roots and sending to infinity proves the Kraft–McMillan inequalityNow is a probability distribution. With base-two logarithms, Gibbs inequality givesTerms with contribute zero. ThereforeThe normalization by is important: the raw numbers need not sum to one.
For the nontrivial case , every andThe probability ordering makes . At a dyadic number, choose the terminating binary expansion followed by zeros. Let be the first bits of , and letbe its binary cylinder interval.
Suppose and were a prefix of . Since , the numbers and would have the same first bits, so both would lie in . In particular . Buta contradiction. A later word cannot be a shorter prefix of an earlier word because the lengths are nondecreasing; equal-length coincidences were also excluded. Thus the cumulative Shannon code is a prefix code.
The ceiling inequalities giveMultiply by and sum to obtainFor a one-symbol deterministic source the displayed construction assigns the empty word and gives . This zero-bit convention is valid when the number of source emissions is supplied separately. It is not an unframed uniquely decodable code: concatenating different numbers of empty words gives the same bit string. If positive-length unframed words are required, the shortest deterministic code has length , so the strict upper bound requires the nontrivial-source assumption.
For finite-valued random vectors, write and . The conditional entropy is the average entropy of the posterior distributions:Equivalently, . Since , splitting the logarithm givesUse the usual convention and omit conditionals at zero-probability outputs. The same identities hold for countable alphabets whenever the entropy sums are well-defined, without subtracting two infinite quantities.
Set . Given , the value of is certain, so . Applying the entropy identity in the two orders givesbecause conditional entropy is nonnegative. ConsequentlyA deterministic coarsening can merge distinguishable source outcomes, but cannot create additional Shannon entropy.
Choose a most probable symbol , and let . Its binary entropy isSince is a function of , part (a)(ii) gives . On , the concave function lies above the chord joining and . That chord has height . ThereforeThe endpoint is included by continuity and corresponds to a deterministic source.
Every positive atom has probability at most , so . Averaging yieldsFor , the supplied inequality gives . Rearranging provesThe two regimes combine into the entropy lower bound from the largest atom, valid for every finite probability distribution.
Given an output of positive probability, the ideal observer chooses a symbol maximizing the posterior:Ties may be broken arbitrarily, and the choice at an impossible output does not matter. This is maximum a posteriori decoding. It minimizes conditional error at each , because a deterministic decision is correct with probability ; a randomized decision is a weighted average of these success probabilities and cannot exceed their maximum.
Write . Then . Applying the two cases from part (b) to the posterior distribution givesAverage with respect to the output law to obtain the conditional entropy upper bound on minimum decoding error:This is an upper bound on the optimum error probability; it does not hold for arbitrary deliberately poor decoding rules.
For a finite joint distribution, the mutual information isZero-probability terms contribute zero. It measures the reduction in uncertainty about one variable upon observing the other.
A discrete memoryless channel has discrete input/output alphabets and a fixed transition matrix . Over successive uses it obeysThus the output at a use depends on that input and no other channel history. Its channel capacity isin bits per use for base-two logarithms. On finite alphabets the maximum exists by continuity on the probability simplex; for more general discrete alphabets one uses a supremum.
Fix the channel matrix . The mixed input induces the mixed output . The concavity of information entropy impliesFor completeness, the difference is by Gibbs inequality, including zero coordinates with the usual conventions.
On the other hand, conditional output entropy is linear in the input law:Subtracting gives the concavity of mutual information in the input distribution:This makes maximizing mutual information over the input probability simplex a concave optimization problem: a local maximum is global. It also justifies averaging input distributions over channel symmetries when searching for an optimum, since symmetry averaging cannot lower the achieved mutual information. The channel itself is held fixed throughout.
Let the input probabilities be and put . The output distribution and conditional entropy areFor fixed , the first and third output masses sum to . Their entropy is maximized when they are equal, so . Equivalently, if ,The same bound holds at by continuity. Therefore , with equality for symmetric outer input probabilities. Writing , differentiate:The unique zero is ; strict concavity makes it the global maximum. Thus andThe optimum output is .
Every row has Shannon entropy , so for every input law. Since the output alphabet has three symbols, Gibbs inequality gives . The uniform input givesso it attains the upper bound. ThereforeUniform output is necessary for equality in the entropy bound, and the three displayed equations then force the uniform input, so this optimum input law is unique.
Let the input law again be . The second output symbol has probability regardless of the input, and the two remaining output probabilities sum to . Hencewith equality when the first and third output symbols each have probability . The row entropies are , soTake and . The output is and both bounds are attained. ThereforeThe equality conditions also show uniqueness of the optimum input law. The middle row is the average of the outer rows and carries extra conditional entropy without introducing a new output law; removing a redundant input symbol from a channel explains why it need not be used.
Articles by others on the same topic
There are currently no matching articles.
