# Noisy channel coding theorem

*34,196*pages on

this wiki

Assessment |
Biopsychology |
Comparative |
Cognitive |
Developmental |
Language |
Individual differences |
Personality |
Philosophy |
Social |

Methods |
Statistics |
Clinical |
Educational |
Industrial |
Professional items |
World psychology |

**Cognitive Psychology:**
Attention ·
Decision making ·
Learning ·
Judgement ·
Memory ·
Motivation ·
Perception ·
Reasoning ·
Thinking -
Cognitive processes
Cognition -
Outline
Index

In information theory, the **noisy-channel coding theorem** establishes that however contaminated with noise interference a communication channel may be, it is possible to communicate digital data (information) error-free up to a given maximum rate through the channel. This surprising result, sometimes called the **fundamental theorem of information theory**, or just **Shannon's theorem**, was first presented by Claude Shannon in 1948.

The **Shannon limit** or **Shannon capacity** of a communications channel is the theoretical maximum information transfer rate of the channel, for a particular noise level.

## Overview Edit

Proved by Claude Shannon in 1948, the theorem describes the maximum possible efficiency of error-correcting methods versus levels of noise interference and data corruption. The theory doesn't describe *how to construct* the error-correcting method, it only tells us how good the *best possible* method can be. Shannon's theorem has wide-ranging applications in both communications and data storage applications. This theorem is of foundational importance to the modern field of information theory.

The Shannon theorem states that given a noisy channel with information capacity C and information transmitted at a rate R, then if

there exists a coding technique which allows the probability of error at the receiver to be made arbitrarily small. This means that theoretically, it is possible to transmit information without error up to a limiting rate, C.

The converse is also important. If

an arbitrarily small probability of error is not achievable. So, information cannot be guaranteed to be transmitted reliably across a channel at rates beyond the channel capacity. The theorem does not address the rare situation in which rate and capacity are equal.

Simple schemes such as "send the message 3 times and use at best 2 out of 3 voting scheme if the copies differ" are inefficient error-correction methods, unable to asymptotically guarantee that a block of data can be communicated free of error. Advanced techniques such as Reed-Solomon codes and, more recently, Turbo codes come much closer to reaching the theoretical Shannon limit, but at a cost of high computational complexity. With Turbo codes and the computing power in today's digital signal processors, it is now possible to reach within 1/10 of one decibel of the Shannon limit.

## Mathematical statement Edit

Theorem (Shannon, 1948):

- 1. For every discrete memoryless channel, the channel capacity

- has the following property. For any ε > 0 and
*R < C*, for large enough*N*, there exists a code of length*N*and rate ≥ R and a decoding algorithm, such that the maximal probability of block error is ≤ ε.

- 2. If a probability of bit error
*p*is acceptable, rates up to_{b}*R(p*are achievable, where_{b})

- and is the
*binary entropy function*

- 3. For any
*p*, rates greater than_{b}*R(p*are not achievable._{b})

(MacKay (2003), p. 162; cf Gallager (1968), ch.5; Cover and Thomas (1991), p. 198; Shannon (1948) thm. 11)

## Outline of Proof Edit

As with several other major results in information theory, the proof of the noisy channel coding theorem includes an achievability result and a matching converse result. These two components serve to bound, in this case, the set of possible rates at which one can communicate over a noisy channel, and matching serves to show that these bounds are tight bounds.

The following outlines are only one set of many different styles available for study in information theory texts.

#### Achievability for discrete memoryless channelsEdit

This particular proof of achievability follows the style of proofs that make use of the Asymptotic equipartition property(AEP). Another style can be found in information theory texts using Error Exponents.

Both types of proofs make use of a random coding argument where the codebook used across a channel is randomly constructed - this serves to reduce computational complexity while still proving the existence of a code satisfying a desired low probability of error at any data rate below the Channel capacity.

By an AEP-related argument, given a channel, length n strings of source symbols , and length n strings of channel outputs , we can define a *jointly typical set* by the following:

We say that two sequences and are *jointly typical* if they lie in the jointly typical set defined above.

**Steps**

- In the style of the random coding argument, we randomly generate codewords of length n from a probability distribution Q.
- This code is revealed to the sender and receiver. It is also assumed both know the transition matrix for the channel being used.
- A message W is chosen according to the uniform distribution on the set of codewords. That is, .
- The message W is sent across the channel.
- The receiver receives a sequence according to
- Sending these codewords across the channel, we receive , and decode to some source sequence if there exists exactly 1 codeword that is jointly typical with Y. If there are no jointly typical codewords, or if there are more than one, an error is declared. An error also occurs if a decoded codeword doesn't match the original codeword. This is called
*typical set decoding*.

The probability of error of this scheme is divided into two parts:

- First, error can occur if no jointly typical X sequences are found for a received Y sequence
- Second, error can occur if an incorrect X sequence is jointly typical with a received Y sequence.

- By the randomness of the code construction, we can assume that the average probability of error averaged over all codes does not depend on the index sent. Thus, without loss of generality, we can assume W = 1.

- From the joint AEP, we know that the probability that no jointly typical X exists goes to 0 as n grows large. We can bound this error probability by .

- Also from the joint AEP, we know the probability that a particular and the resulting from W = 1 are jointly typical is .

Define:

as the event that message i is jointly typical with the sequence received when message 1 is sent.

We can observe that as n goes to infinity, if for the channel, the probability of error will go to 0.

Finally, given that the average codebook is shown to be "good," we know that there exists a codebook whose performance is better than the average, and so satisfies our need for arbitrarily low error probability communicating across the noisy channel.

#### Converse for discrete memoryless channelsEdit

Suppose a code of codewords. Let W be drawn uniformly over this set as an index. Let and be the codewords and received codewords, respectively.

- using identities involving entropy and mutual information
- since X is a function of W
- by the use of Fano's Inequality
- by the fact that capacity is maximized mutual information.

The result of these steps is that . As the block length n goes to infinity, we obtain is bounded away from 0 if R is greater than C - we can only get arbitrarily low rates of error if R is less than C.

## Channel coding theorem for non-stationary memoryless channelsEdit

We assume that the channel is memoryless, but its transition probabilities change with time, in a fashion known at the transmitter as well as the receiver.

Then the channel capacity is given by

The maximum is attained at the capacity achieving distributions for each respective channel. That is,
where is the capacity of the i*th* channel.

### Outline of the proofEdit

The proof runs through in almost the same way as that of channel coding theorem. Achievability follows from random coding with each symbol chosen randomly from the capacity achieving distribution for that particular channel. Typicality arguments use the definition of typical sets for non-stationary sources defined in Asymptotic Equipartition Property.

The technicality of lim inf comes into play when does not converge.

## ReferencesEdit

- C. E. Shannon, The Mathematical Theory of Information. Urbana, IL:University of Illinois Press, 1949 (reprinted 1998).
- David J. C. MacKay.
*Information Theory, Inference, and Learning Algorithms*Cambridge: Cambridge University Press, 2003. ISBN 0521642981 - Thomas Cover, Joy Thomas, Elements of Information Theory. New York, NY:John Wiley & Sons, Inc., 1991. ISBN 0471062596

## See alsoEdit

- Error Exponent
- Asymptotic equipartition property (AEP)
- Shannon-Hartley theorem
- Turbo code
- Fano's Inequality

## External linksEdit

- On Shannon and Shannon's law
- On-line textbook: Information Theory, Inference, and Learning Algorithms, by David MacKay - gives an entertaining and thorough introduction to Shannon theory, including two proofs of the noisy-channel coding theorem. This text also discusses state-of-the-art methods from coding theory, such as low-density parity-check codes, and Turbo codes.

This page uses Creative Commons Licensed content from Wikipedia (view authors). |