In information theory, the noisy-channel coding theorem (sometimes Shannon's theorem or Shannon's limit), establishes that for any given degree of noise contamination of a communication channel, it is possible (in theory) to communicate discrete data (digital information) nearly error-free up to a computable maximum rate through the channel. This result was presented by Claude Shannon in 1948 and was based in part on earlier work and ideas of Harry Nyquist and Ralph Hartley.
The Shannon limit or Shannon capacity of a communication channel refers to the maximum rate of error-free data that can theoretically be transferred over the channel if the link is subject to random data transmission errors, for a particular noise level. It was first described by Shannon (1948), and shortly after published in a book by Shannon and Warren Weaver entitled The Mathematical Theory of Communication (1949). This founded the modern discipline of information theory.
Overview
edit
Stated by Claude Shannon in 1948, the theorem describes the maximum possible efficiency of error-correcting methods versus levels of noise interference and data corruption. Shannon's theorem has wide-ranging applications in both communications and data storage. This theorem is of foundational importance to the modern field of information theory. Shannon only gave an outline of the proof. The first rigorous proof for the discrete case is given in (Feinstein 1954).
The Shannon theorem states that given a noisy channel with channel capacityC and information transmitted at a rate R, then if there exist codes that allow the probability of error at the receiver to be made arbitrarily small. This means that, theoretically, it is possible to transmit information nearly without error at any rate below a limiting rate, C.
The converse is also important. If , an arbitrarily small probability of error is not achievable. All codes will have a probability of error greater than a certain positive minimal level, and this level increases as the rate increases. 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.
The channel capacity can be calculated from the physical properties of a channel; for a band-limited channel with Gaussian noise, using the Shannon–Hartley theorem.
Simple schemes such as "send the message 3 times and use a 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, low-density parity-check (LDPC) codes and turbo codes, come much closer to reaching the theoretical Shannon limit, but at a cost of high computational complexity. Using these highly efficient codes and with the computing power in today's digital signal processors, it is now possible to reach very close to the Shannon limit. In fact, it was shown that LDPC codes can reach within 0.0045 dB of the Shannon limit (for binary additive white Gaussian noise (AWGN) channels, with very long block lengths).[1]
Mathematical statement
edit
The basic mathematical model for a communication system is the following:
A messageW is transmitted through a noisy channel by using encoding and decoding functions. An encoder maps W into a pre-defined sequence of channel symbols of length n. In its most basic model, the channel distorts each of these symbols independently of the others. The output of the channel –the received sequence– is fed into a decoder which maps the sequence into an estimate of the message. In this setting, the probability of error is defined as:
has the following property. For any and , for large enough , there exists a code of length and rate and a decoding algorithm, such that the maximal probability of block error is .
2. If a probability of bit error is acceptable, rates up to are achievable, where
3. For any , rates greater than are not achievable.
(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 the 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 channels
edit
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 make the analysis simpler 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 strings of source symbols , and length 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 that one knows 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 does not 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 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.
Weak converse for discrete memoryless channels
edit
Suppose a code of codewords. Let W be drawn uniformly over this set as an index. Let and be the transmitted codewords and received codewords, respectively.
using identities involving entropy and mutual information
by the fact that capacity is maximized mutual information.
The result of these steps is that . As the block length goes to infinity, we obtain is bounded away from 0 if R is greater than C - we can get arbitrarily low rates of error only if R is less than C.
Strong converse for discrete memoryless channels
edit
A strong converse theorem, proven by Wolfowitz in 1957,[3] states that,
for some finite positive constant . While the weak converse states that the error probability is bounded away from zero as goes to infinity, the strong converse states that the error goes to 1. Thus, is a sharp threshold between perfectly reliable and completely unreliable communication.
Channel coding theorem for non-stationary memoryless channels
edit
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 ith channel.
Outline of the proof
edit
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 the asymptotic equipartition property article.
The technicality of lim inf comes into play when does not converge.
^Sae-Young Chung; Forney, G. D.; Richardson, T.J.; Urbank, R. (February 2001). "On the Design of Low-Density Parity-Check Codes within 0.0045 dB of the Shannon Limit" (PDF). IEEE Communications Letters. 5 (2): 58–60. doi:10.1109/4234.905935. S2CID 7381972.
^For a description of the "sup" function, see Supremum
^Gallager, Robert (1968). Information Theory and Reliable Communication. Wiley. ISBN 0-471-29048-3.
References
edit
Aazhang, B. (2004). "Shannon's Noisy Channel Coding Theorem" (PDF). Connections.
Cover, T.M.; Thomas, J.A. (1991). Elements of Information Theory. Wiley. ISBN 0-471-06259-6.
Fano, R.M. (1961). Transmission of information; a statistical theory of communications. MIT Press. ISBN 0-262-06001-9.
Feinstein, Amiel (September 1954). "A new basic theorem of information theory". Transactions of the IRE Professional Group on Information Theory. 4 (4): 2–22. Bibcode:1955PhDT........12F. doi:10.1109/TIT.1954.1057459. hdl:1721.1/4798.
Lundheim, Lars (2002). "On Shannon and Shannon's Formula" (PDF). Telektronik. 98 (1): 20–29.
MacKay, David J.C. (2003). Information Theory, Inference, and Learning Algorithms. Cambridge University Press. ISBN 0-521-64298-1. [free online]
Shannon, C. E. (1948). "A Mathematical Theory of Communication". Bell System Technical Journal. 27 (3): 379–423. doi:10.1002/j.1538-7305.1948.tb01338.x.
Shannon, C.E. (1998) [1948]. A Mathematical Theory of Communication. University of Illinois Press.
Wolfowitz, J. (1957). "The coding of messages subject to chance errors". Illinois J. Math. 1 (4): 591–606. doi:10.1215/ijm/1255380682.