Information Theory
Encyclopedia : I : IN : INF : Information Theory
- The topic of this article is distinct from the topics of Library and information science and, largely, from Information technology.
- 1 Overview
- 2 History
- 3 Mathematical theory of information
- 3.1 Self-information
- 3.2 Entropy
- 3.3 Joint entropy
- 3.4 Conditional entropy (equivocation)
- 3.5 Kullback–Leibler divergence (information gain)
- 3.6 Mutual information (transinformation)
- 3.7 Continuous equivalents of entropy
- 4 Channel capacity
- 5 Applications
- 6 References
- 7 See also
- 8 External links
Overview
The main concepts of information theory can be grasped by considering the most widespread means of human communication, language. Two important aspects of a good language are as follows: First, the most common words (e.g., "a," "the," "I") should be shorter than less common words (e.g., "benefit," "generation," "mediocre"), so that sentences will not be too long. Such a tradeoff in word length is analogous to data compression and is the essential aspect of source coding. Second, if part of a sentence is unheard or misheard due to noise — e.g., a passing car — the listener should still be able to glean the meaning of the underlying message. Such robustness is as essential for an electronic communication system as it is for a language; properly building such robustness into communications is done by channel coding. Source coding and channel coding are the fundamental concerns of information theory.Note that these concerns have nothing to do with the importance of messages. For example, a platitude such as "Thank you; come again" takes about as long to say or write as the urgent plea, "Call an ambulance!" while clearly the latter is more important and more meaningful. Information theory, however, does not involve message importance or meaning, as these are matters of the quality of data rather than the quantity of data, the latter of which is determined solely by probabilities.
Information theory is generally considered to have been founded in 1948 by Claude Shannon in his seminal work, "A Mathematical Theory of Communication." The central paradigm of classic information theory is the engineering problem of the transmission of information over a noisy channel. The most fundamental results of this theory are Shannon's source coding theorem, which establishes that, on average, the number of bits needed to represent the result of an uncertain event is given by its entropy; and Shannon's noisy-channel coding theorem, which states that reliable communication is possible over noisy channels provided that the rate of communication is below a certain threshold called the channel capacity. The channel capacity can be approached by using appropriate encoding and decoding systems.
Information theory is closely associated with a collection of pure and applied disciplines that have been investigated and reduced to engineering practice under a variety of rubrics throughout the world over the past half century or more: adaptive systems, anticipatory systems, artificial intelligence, complex systems, complexity science, cybernetics, informatics, machine learning, along with systems sciences of many descriptions. Information theory is a broad and deep mathematical theory, with equally broad and deep applications, amongst which is the vital field of coding theory.
Coding theory is concerned with finding explicit methods, called codes, of increasing the efficiency and reducing the net error rate of data communication over a noisy channel to near the limit that Shannon proved is the maximum possible for that channel. These codes can be roughly subdivided into data compression (source coding) and error-correction (channel coding) techniques. In the latter case, it took many years to find the methods Shannon's work proved were possible. A third class of information theory codes are cryptographic algorithms (both codes and ciphers). Concepts, methods and results from coding theory and information theory are widely used in cryptography and cryptanalysis. See the article deciban for a historical application.
Information theory is also used in information retrieval, intelligence gathering, gambling, statistics, and even in musical composition.
History
- See main article: History of information theory.
Prior to this paper, limited information theoretic ideas had been developed at Bell Labs, all implicitly assuming events of equal probability. Harry Nyquist's 1924 paper, Certain Factors Affecting Telegraph Speed, contains a theoretical section quantifying "intelligence" and the "line speed" at which it can be transmitted by a communication system, giving the relation [W = K \log m], where W is the speed of transmission of intelligence, m is the number of different voltage levels to choose from at each time step, and K is a constant. Ralph Hartley's 1928 paper, Transmission of Information, uses the word information as a measurable quantity, reflecting the receiver's ability to distinguish that one sequence of symbols from any other, thus quantifying information as [H = \log S^n = n \log S], where S was the number of possible symbols, and n the number of symbols in a transmission. The natural unit of information was therefore the decimal digit, much later renamed the hartley in his honour as a unit or scale or measure of information. Alan Turing in 1940 used similar ideas as part of the statistical analysis of the breaking of the German second world war Enigma ciphers.
Much of the mathematics behind information theory with events of different probabilities was developed for the field of thermodynamics by Ludwig Boltzmann and J. Willard Gibbs, although Shannon himself was apparently not particularly aware of the close similarity between his new measure and earlier work in thermodynamics. (Connections between information-theoretic entropy and thermodynamic entropy, including the important contributions by Rolf Landauer in the 1960s, are explored further in the article Entropy in thermodynamics and information theory).
In Shannon's revolutionary and groundbreaking paper, the work for which had substantially completed at Bell Labs by the end of 1944, Shannon for the first time introduced the qualitative and quantitative model of communication as a statistical process underlying information theory, opening with the assertion that
- "The fundamental problem of communication is that of reproducing at one point, either exactly or approximately, a message selected at another point."
- the information entropy and redundancy of a source, and its relevance through the source coding theorem;
- the mutual information, and the channel capacity of a noisy channel, including the promise of perfect loss-free communication given by the noisy-channel coding theorem;
- the practical result of the Shannon-Hartley law for the channel capacity of a Gaussian channel; and of course
- the bit - a new way of seeing the most fundamental unit of information
Mathematical theory of information
The mathematical theory of information is based on probability theory and statistics.The choice of logarithmic base in the following formulae determines the unit of information entropy that is used. The most common unit of information is the bit, based on the binary logarithm. Other units include the nat, based on the natural logarithm, and the hartley, based on the base 10 or common logarithm. In what follows, an expression of the form [p \log p \,] is considered by convention to be equal to zero whenever p is. This is justified because [\lim_ p \log p = 0] for any logarithmic base.
Self-information
Shannon defined a measure of information content called the self-information or surprisal of a message m:
- [ I(m) = - \log p(m),\,]
This equation weights messages with lower probabilities higher in contributing to the overall value of I(m). In other words, infrequently occurring messages are more valuable. (This is a consequence from the property of logarithms that [-\log p(m)] is very large when [p(m)] is near 0 for unlikely messages and very small when [p(m)] is near 1 for almost certain messages).
For example, if John says "See you later, honey" to his wife every morning before leaving to office, that information holds little "content" or "value". But, if he shouts "Get lost" at his wife one morning, then that message holds more value or content (because, supposedly, the probability of him choosing that message is very low).
Entropy
The entropy of a discrete message space [M] is a measure of the amount of uncertainty one has about which message will be chosen. It is defined as the average self-information of a message [m] from that message space:
- [ H(M) = \mathbb \ = \sum_ p(m) I(m) = -\sum_ p(m) \log p(m).]
Sometimes the function H is expressed in terms of the probabilities of the distribution:
- [H(p_1, p_2, \ldots , p_k) = -\sum_^k p_i \log p_i,] where each [p_i \geq 0] and [ \sum_^k p_i = 1. ]
- [H_\mbox(p) = H(p, 1-p) = - p \log p - (1-p)\log (1-p).\,]
Joint entropy
The joint entropy of two discrete random variables [X] and [Y] is defined as the entropy of the joint distribution of [X] and [Y]:
- [H(X, Y) = \mathbb_ [-log p(x,y)] = - \sum_ p(x, y) \log p(x, y) \,]
(Note: The joint entropy should not be confused with the cross entropy, despite similar notations.)
Conditional entropy (equivocation)
Given a particular value of a random variable [Y], the conditional entropy of [X] given [Y=y] is defined as:
- [ H(X|y) = \mathbb_
[-log p(x|y)] = -\sum_ p(x|y) \log p(x|y)]where [p(x|y) = \frac] is the conditional probability of [x] given [y].
The conditional entropy of [X] given [Y], also called the equivocation of [X] about [Y] is then given by:
- [ H(X|Y) = \mathbb E_Y \ = -\sum_ p(y) \sum_ p(x|y) \log p(x|y) = \sum_ p(x,y) \log \frac.]
- [ H(X|Y) = H(X,Y) - H(Y) .\,]
Kullback–Leibler divergence (information gain)
The Kullback–Leibler divergence (or information divergence, information gain, or relative entropy) is a way of comparing two distributions, a "true" probability distribution p, and an arbitrary probability distribution q. If we compress data in a manner that assumes q is the distribution underlying some data, when, in reality, p is the correct distribution, Kullback–Leibler divergence is the number of average additional bits per datum necessary for compression, or, mathematically,- [D_}(p(X) \| q(X)) = \sum_ p(x) \log \frac.]
Mutual information (transinformation)
It turns out that one of the most useful and important measures of information is the mutual information, or transinformation. This is a measure of how much information can be obtained about one random variable by observing another. The mutual information of [X] relative to [Y] (which represents conceptually the average amount of information about [X] that can be gained by observing [Y]) is given by:
- [I(X;Y) = \sum_ p(y)\sum_ p(x|y) \log \frac = \sum_ p(x,y) \log \frac.]
- [I(X;Y) = H(X) - H(X|Y).\,]
- [I(X;Y) = I(Y;X) = H(X) + H(Y) - H(X,Y).\,]
Mutual information can be expressed as the average Kullback–Leibler divergence (information gain) of the posterior probability distribution of X given the value of Y to the prior distribution on X:
- [I(X;Y) = \mathbb E_ \}( p(X|Y=y) \| p(X) )\}.]
- [I(X; Y) = D_}(p(X,Y) \| p(X)p(Y)).]
Continuous equivalents of entropy
- See main article: Differential entropy.
- [ h(X) = -\int_X f(x) \log f(x) \,dx ]
- [ h(X,Y) = -\int_Y \int_X f(x,y) \log f(x,y) \,dx \,dy]
- [ h(X|y) = -\int_X f(x|y) \log f(x|y) \,dx ]
- [ h(X|Y) = \int_Y \int_X f(x,y) \log \frac \,dx \,dy]
- [ I(X;Y) = \int_Y \int_X f(x,y) \log \frac \,dx \,dy ]
Channel capacity
Consider the communications process over a discrete channel. A simple model of the process is shown below:Here X represents the space of messages transmitted, and Y the space of messages received during a unit time over our channel. Let [p(y|x)] be the conditional probability distribution function of Y given X. We will consider [p(y|x)] to be an inherent fixed property of our communications channel (representing the nature of the noise of our channel). Then the joint distribution of X and Y is completely determined by our channel and by our choice of [f(x)], the marginal distribution of messages we choose to send over the channel. Under these constraints, we would like to maximize the amount of information, or the signal, we can communicate over the channel. The appropriate measure for this is the transinformation, and this maximum transinformation is called the channel capacity and is given by:
- [ C = \max_ I(X;Y).\! ]
Source theory
Any process that generates successive messages can be considered a source of information. Sources can be classified in order of increasing generality as memoryless, ergodic, stationary, and stochastic. The term "memoryless" as used here has a slightly different meaning than it normally does in probability theory. Here a memoryless source is defined as one that generates successive messages independently of one another and with a fixed probability distribution. However, the position of the first occurrence of a particular message or symbol in a sequence generated by a memoryless source is actually a memoryless random variable. The other terms have fairly standard definitions and are actually well studied in their own right outside information theory.Rate
The rate of a source of information is (in the most general case)
- [r=\mathbb E H(M_t|M_,M_,M_, \ldots),]
Noisy channel coding theorem
- See main article: Noisy channel coding theorem.
Statement
- 1. For every discrete memoryless channel, the channel capacity
- : [C = \max_ \,I(X;Y)]
- 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 pb is acceptable, rates up to R(pb) are achievable, where
- : [R(p_b) = \frac(p_b)} ,]
- and [ H_\mbox(p_b) = -p_b\log_2 p_b - (1-p_b)\log_2 (1-p_b)\, ] is the binary entropy function.
- 3. For any pb, rates greater than R(pb) are not achievable.
Channel capacity of particular model channels
- A continuous-time analog communications channel subject to Gaussian noise — see Shannon-Hartley theorem.
- A binary symmetric channel (BSC) with crossover probability p is a binary input, binary output channel that flips the input bit with probability p. The BSC has a capacity of [1 - H_\mbox(p)] bits per channel use, where [H_\mbox] is the binary entropy function:
- A binary erasure channel (BEC) with erasure probability p is a binary input, ternary output channel. The possible channel outputs are 0, 1, and a third symbol 'e' called an erasure. The erasure represents complete loss of information about an input bit. The capacity of the BEC is 1 - p bits per channel use.
Applications
Coding theory
Coding theory is the most important and direct application of information theory. It can be subdivided into data compression theory and error correction theory. Using a statistical description for data, information theory quantifies the number of bits needed to describe the data. There are two formulations for the compression problem — in lossless data compression the data must be reconstructed exactly, whereas lossy data compression examines how many bits are needed to reconstruct the data to within a specified fidelity level. This fidelity level is measured by a function called a distortion function. In information theory this is called rate distortion theory. Both lossless and lossy source codes produce bits at the output which can be used as the inputs to the channel codes mentioned above.The idea is to first compress the data, i.e. remove as much of its redundancy as possible, and then add just the right kind of redundancy (i.e. error correction) needed to transmit the data efficiently and faithfully across a noisy channel.
This division of coding theory into compression and transmission is justified by the information transmission theorems, or source-channel separation theorems that justify the use of bits as the universal currency for information in many contexts. However, these theorems only hold in the situation where one transmitting user wishes to communicate to one receiving user. In scenarios with more than one transmitter (the multiple-access channel), more than one receiver (the broadcast channel) or intermediary "helpers" (the relay channel), or more general networks, compression followed by transmission may no longer be optimal. Network information theory refers to these multi-agent communication models.
Other applications
Information theoretic concepts are widely used in making and breaking cryptographic systems. For an interesting historical example, see the article on deciban. Shannon himself defined an important concept now called the unicity distance. Based on the redundancy of the plaintext, it attempts to give a minimum amount of ciphertext necessary to ensure unique decipherability.
Shannon's theory of information is extremely important in intelligence work, much more so than its use in cryptography would indicate. The theory is applied by intelligence agencies to keep classified information secret, and to discover as much information as possible about an adversary. The fundamental theorem leads us to believe it is much more difficult to keep secrets than it might first appear. In general it is not possible to stop the leakage of classified information, only to slow it. Furthermore, the more people who have access to the information, and the more those people have to work with and review that information, the greater the redundancy that information acquires. It is extremely hard to contain the flow of information that has high redundancy. This inevitable leakage of classified information is due to the psychological fact that what people know does somewhat influence their behavior, however subtle that influence might be.
A good example of the application of information theory to covert signaling is the design of the Global Positioning System signal encoding. The system uses a pseudorandom encoding that places the radio signal below the noise floor. Thus, an unsuspecting radio listener would not even be aware that there was a signal present, as it would be drowned out by aassorted noise sources (eg, atmospheric and antenna noise). However, if one integrates the signal over long periods of time, using the "secret" (but known to the listener) pseudorandom sequence, one can eventually detect a signal, and then discern modulations of that signal. In the GPS system, the C/A signal has been publicly disclosed to be a 1023-bit sequence, but the pseudorandom sequence used in the P(Y) signal remains a secret. The same technique can be used to transmit and receive covert intelligence from short-range, extremely low power systems, without an Enemy even being aware of the existence of a radio signal. This is analogous to steganography. See also spread spectrum communications.
Information theory also has applications in gambling and investing, black holes, and music.
References
The classic paper
- Shannon, C.E. (1948), "A Mathematical Theory of Communication", Bell System Technical Journal, 27, pp. 379–423 & 623–656, July & October, 1948. [PDF.]
[Notes and other formats.]
Other journal articles
- R.V.L. Hartley, "Transmission of Information," Bell System Technical Journal, July 1928
- J. L. Kelly, Jr., "[A New Interpretation of Information Rate]," Bell System Technical Journal, Vol. 35, July 1956, pp. 917-26
- R. Landauer, "Information is Physical" Proc. Workshop on Physics and Computation PhysComp'92 (IEEE Comp. Sci.Press, Los Alamitos, 1993) pp. 1-4.
- R. Landauer, "[Irreversibility and Heat Generation in the Computing Process]" IBM J. Res. Develop. Vol. 5, No. 3, 1961
Textbooks on information theory
- Claude E. Shannon, Warren Weaver. The Mathematical Theory of Communication. Univ of Illinois Press, 1949. ISBN 0252725484
- Robert Gallager. Information Theory and Reliable Communication. New York: John Wiley and Sons, 1968. ISBN 0471290483
- Robert B. Ash. Information Theory. New York: Interscience, 1965. ISBN 0470034459. New York: Dover 1990. ISBN 0486665216
- Thomas M. Cover, Joy A. Thomas. Elements of information theory, 1st Edition. New York: Wiley-Interscience, 1991. ISBN 0471062596.
- 2nd Edition. New York: Wiley-Interscience, 2006. ISBN 0471241954 (forthcoming, to be released 2006.).
Other books
- James Bamford, The Puzzle Palace, Penguin Books, 1983. ISBN 0140067485
- Leon Brillouin, Science and Information Theory, Mineola, N.Y.: Dover, [1956, 1962] 2004. ISBN 0486439186
- A. I. Khinchin, Mathematical Foundations of Information Theory, New York: Dover, 1957. ISBN 0486604349
- H. S. Leff and A. F. Rex, Editors, Maxwell's Demon: Entropy, Information, Computing, Princeton University Press, Princeton, NJ (1990). ISBN 069108727X
- Tom Siegfried, The Bit and the Pendulum, Wiley, 2000. ISBN 0471321745
- Charles Seife, Decoding The Universe, Viking, 2006. ISBN 067003441X
See also
- List of important publications
- Philosophy of information
Applications
- Cryptography
- Cryptanalysis
- Entropy in thermodynamics and information theory
- Intelligence (information gathering)
- Gambling

