Past exam of the communication Theory course of the University of Oxford 2007 4 b Solution 2026-10-31
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.
Random coding 2026-10-31
Random coding constructs a channel code by sampling its codewords from a specified probability distribution and bounding the expected decoding error over that ensemble. If the expected average error is at most , at least one deterministic codebook has average error at most ; otherwise every book would exceed the expectation bound. This is the probabilistic method applied to communication codes.
For independently uniform binary codewords, a fixed competing word falls in any received word's radius- Hamming ball with probability . The union bound over competing messages, together with a bound on excessive channel noise, yields the basic random-coding error estimate. Expurgation of a codebook can then convert average-error control to maximal decoding error probability with negligible loss of asymptotic rate.