Information Theory
Last updated
Last updated
Information Theory is a field which addresses two questions
Source Coding: How many bits do I need to losslessly represent an observation.
Channel Coding: How reliably and quickly can I communicate a message over a noisy channel.
Intuitively, for a PMF of a disrete random variable, the surprise associated with a particular realization is since less probable realizations are more surprising. With this intuition, we can try and quantify the “expected surprise” of a distribution.
Alternative interpretations of entropy are the average uncertainty and how random is. Just like probabilites, we can define both joint and conditional entropies.
In addition to knowing how much our surprise changes for a random variable when we observe a different random variable, we can also quantify how much additional information observing a random variable gives us about another.
Two important properties of the typical set are that
This makes the average number of bits required to describe a message
This is the first half of a central result of source coding.
In words, the capacity describes the maximum mutual information between the channel input and output.
Conditional entropy has a natural interpretation which is that it tells us how surprised we are to see given that we know . If and are independent, then because realizing gives no additional information about .
For random variables and , the mutual information is given by
Source coding deals with finding the minimal number of bits required to represent data. This is essentially the idea of lossless compression. In this case, our message is the sequence of realizations of independently and identically distributed random variables . The probability of observing a particular sequence is then
If we have a sequence of independently and identically distributed random variables , then converges to in probability.
Theorem 24 tells us that with overwhelming probability, we will observe a sequence that is assigned probability . Using this idea, we can define a subset of possible observed sequences that in the limit, our observed sequence must belong to with overwhelming probability.
For a fixed , for each , the typical set is given by
The typical set gives us an easy way to do source coding. If I have total objects, then I only need bits to represent each object, so I can define a simple protocol which is
If , then describe them using the bits
If , then describe them naiively with bits.
If are a sequence of independently and identically distributed random varibles, then for any and sufficiently large, we can represent using fewer than bits. Conversely, we can not losslessly represent using fewer than bits.
This lends a new interpretation of the entropy : it is the average number of bits required to represent .
Whereas source coding deals with encoding information, channel coding deals with transmitting it over a noisy channel. In general, we have a message , and encoder, a channel, and a decoder as in Figure 1.
Each channel can be described by a conditional probability distribution for each time the channel is used.
For a channel described by , the capacity is given by
Suppose we use the channel times to send a message that takes on average bits to encode, then the rate of the channel is
For a channel decsribed by and and , for all sufficiently large, there exists a rate communication scheme that achieves a probability of error less than . If , then the probability of error converges to 1 for any communication scheme.