Information theory and measure theory
This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. (December 2023) (Learn how and when to remove this template message) |
This article discusses how information theory (a branch of mathematics studying the transmission, processing and storage of information) is related to measure theory (a branch of mathematics related to integration and probability).
Measures in information theory
Many of the concepts in information theory have separate definitions and formulas for continuous and discrete cases. For example, entropy [math]\displaystyle{ \Eta(X) }[/math] is usually defined for discrete random variables, whereas for continuous random variables the related concept of differential entropy, written [math]\displaystyle{ h(X) }[/math], is used (see Cover and Thomas, 2006, chapter 8). Both these concepts are mathematical expectations, but the expectation is defined with an integral for the continuous case, and a sum for the discrete case.
These separate definitions can be more closely related in terms of measure theory. For discrete random variables, probability mass functions can be considered density functions with respect to the counting measure. Thinking of both the integral and the sum as integration on a measure space allows for a unified treatment.
Consider the formula for the differential entropy of a continuous random variable [math]\displaystyle{ X }[/math] with range [math]\displaystyle{ \mathbb{R} }[/math] and probability density function [math]\displaystyle{ f(x) }[/math]:
- [math]\displaystyle{ h(X) = -\int_\mathbb{R} f(x) \log f(x) \,dx. }[/math]
This can usually be interpreted as the following Riemann–Stieltjes integral:
- [math]\displaystyle{ h(X) = -\int_\mathbb{R} f(x) \log f(x) \,d\mu(x), }[/math]
where [math]\displaystyle{ \mu }[/math] is the Lebesgue measure.
If instead, [math]\displaystyle{ X }[/math] is discrete, with range [math]\displaystyle{ \Omega }[/math] a finite set, [math]\displaystyle{ f }[/math] is a probability mass function on [math]\displaystyle{ \Omega }[/math], and [math]\displaystyle{ \nu }[/math] is the counting measure on [math]\displaystyle{ \Omega }[/math], we can write:
- [math]\displaystyle{ \Eta(X) = -\sum_{x\in \Omega} f(x) \log f(x) = -\int_\Omega f(x) \log f(x) \,d\nu(x). }[/math]
The integral expression, and the general concept, are identical in the continuous case; the only difference is the measure used. In both cases the probability density function [math]\displaystyle{ f }[/math] is the Radon–Nikodym derivative of the probability measure with respect to the measure against which the integral is taken.
If [math]\displaystyle{ P }[/math] is the probability measure induced by [math]\displaystyle{ X }[/math], then the integral can also be taken directly with respect to [math]\displaystyle{ P }[/math]:
- [math]\displaystyle{ h(X) = -\int_{\Omega} \log \frac{\mathrm d P}{\mathrm d\mu} \,dP, }[/math]
If instead of the underlying measure μ we take another probability measure [math]\displaystyle{ Q }[/math], we are led to the Kullback–Leibler divergence: let [math]\displaystyle{ P }[/math] and [math]\displaystyle{ Q }[/math] be probability measures over the same space. Then if [math]\displaystyle{ P }[/math] is absolutely continuous with respect to [math]\displaystyle{ Q }[/math], written [math]\displaystyle{ P \ll Q, }[/math] the Radon–Nikodym derivative [math]\displaystyle{ \frac{\mathrm dP}{\mathrm dQ} }[/math] exists and the Kullback–Leibler divergence can be expressed in its full generality:
- [math]\displaystyle{ D_\operatorname{KL}(P \| Q) = \int_{\operatorname{supp}P} \frac{\mathrm dP}{\mathrm dQ} \log \frac{\mathrm dP}{\mathrm dQ} \,d Q = \int_{\operatorname{supp}P} \log \frac{\mathrm dP}{\mathrm dQ} \,d P, }[/math]
where the integral runs over the support of [math]\displaystyle{ P. }[/math] Note that we have dropped the negative sign: the Kullback–Leibler divergence is always non-negative due to Gibbs' inequality.
Entropy as a "measure"
This section needs additional citations for verification. (April 2017) (Learn how and when to remove this template message) |
There is an analogy between Shannon's basic "measures" of the information content of random variables and a measure over sets. Namely the joint entropy, conditional entropy, and mutual information can be considered as the measure of a set union, set difference, and set intersection, respectively (Reza pp. 106–108).
If we associate the existence of abstract sets [math]\displaystyle{ \tilde X }[/math] and [math]\displaystyle{ \tilde Y }[/math] to arbitrary discrete random variables X and Y, somehow representing the information borne by X and Y, respectively, such that:
- [math]\displaystyle{ \mu(\tilde X \cap \tilde Y) = 0 }[/math] whenever X and Y are unconditionally independent, and
- [math]\displaystyle{ \tilde X = \tilde Y }[/math] whenever X and Y are such that either one is completely determined by the other (i.e. by a bijection);
where [math]\displaystyle{ \mu }[/math] is a signed measure over these sets, and we set:
- [math]\displaystyle{ \begin{align} \Eta(X) & = \mu(\tilde X), \\ \Eta(Y) & = \mu(\tilde Y), \\ \Eta(X,Y) & = \mu(\tilde X \cup \tilde Y), \\ \Eta(X\mid Y) & = \mu(\tilde X \setminus \tilde Y), \\ \operatorname{I}(X;Y) & = \mu(\tilde X \cap \tilde Y); \end{align} }[/math]
we find that Shannon's "measure" of information content satisfies all the postulates and basic properties of a formal signed measure over sets, as commonly illustrated in an information diagram. This allows the sum of two measures to be written:
- [math]\displaystyle{ \mu(A)+\mu(B)=\mu(A\cup B)+\mu(A\cap B) }[/math]
and the analog of Bayes' theorem ([math]\displaystyle{ \mu(A)+\mu(B\setminus A)=\mu(B)+\mu(A\setminus B) }[/math]) allows the difference of two measures to be written:
- [math]\displaystyle{ \mu(A)-\mu(B)=\mu(A\setminus B)-\mu(B\setminus A) }[/math]
This can be a handy mnemonic device in some situations, e.g.
- [math]\displaystyle{ \begin{align} \Eta(X,Y) & =\Eta(X)+\Eta(Y\mid X) & \mu(\tilde X \cup \tilde Y) & =\mu(\tilde X)+\mu(\tilde Y \setminus \tilde X) \\ \operatorname{I}(X;Y) & =\Eta(X)-\Eta(X\mid Y) & \mu(\tilde X \cap \tilde Y) & =\mu(\tilde X)-\mu(\tilde X \setminus \tilde Y) \end{align} }[/math]
Note that measures (expectation values of the logarithm) of true probabilities are called "entropy" and generally represented by the letter H, while other measures are often referred to as "information" or "correlation" and generally represented by the letter I. For notational simplicity, the letter I is sometimes used for all measures.
Multivariate mutual information
Certain extensions to the definitions of Shannon's basic measures of information are necessary to deal with the σ-algebra generated by the sets that would be associated to three or more arbitrary random variables. (See Reza pp. 106–108 for an informal but rather complete discussion.) Namely [math]\displaystyle{ \Eta(X,Y,Z,\cdots) }[/math] needs to be defined in the obvious way as the entropy of a joint distribution, and a multivariate mutual information [math]\displaystyle{ \operatorname{I}(X;Y;Z;\cdots) }[/math] defined in a suitable manner so that we can set:
- [math]\displaystyle{ \begin{align} \Eta(X,Y,Z,\cdots) & = \mu(\tilde X \cup \tilde Y \cup \tilde Z \cup \cdots), \\ \operatorname{I}(X;Y;Z;\cdots) & = \mu(\tilde X \cap \tilde Y \cap \tilde Z \cap \cdots); \end{align} }[/math]
in order to define the (signed) measure over the whole σ-algebra. There is no single universally accepted definition for the multivariate mutual information, but the one that corresponds here to the measure of a set intersection is due to Fano (1966: p. 57-59). The definition is recursive. As a base case the mutual information of a single random variable is defined to be its entropy: [math]\displaystyle{ \operatorname{I}(X)=\Eta(X) }[/math]. Then for [math]\displaystyle{ n\geq 2 }[/math] we set
- [math]\displaystyle{ \operatorname{I}(X_1; \cdots; X_n) = \operatorname{I}(X_1; \cdots; X_{n-1}) - \operatorname{I}(X_1; \cdots; X_{n-1}\mid X_n), }[/math]
where the conditional mutual information is defined as
- [math]\displaystyle{ \operatorname{I}(X_1; \cdots; X_{n-1}\mid X_n) = \mathbb E_{X_n}\big(\operatorname{I}(X_1; \cdots; X_{n-1})\mid X_n\big). }[/math]
The first step in the recursion yields Shannon's definition [math]\displaystyle{ \operatorname{I}(X_1;X_2)=\Eta(X_1)-\Eta(X_1\mid X_2). }[/math] The multivariate mutual information (same as interaction information but for a change in sign) of three or more random variables can be negative as well as positive: Let X and Y be two independent fair coin flips, and let Z be their exclusive or. Then [math]\displaystyle{ \operatorname{I}(X;Y;Z) = - 1 }[/math] bit.
Many other variations are possible for three or more random variables: for example, [math]\displaystyle{ \operatorname{I}(X,Y;Z) }[/math] is the mutual information of the joint distribution of X and Y relative to Z, and can be interpreted as [math]\displaystyle{ \mu((\tilde X \cup \tilde Y) \cap \tilde Z). }[/math] Many more complicated expressions can be built this way, and still have meaning, e.g. [math]\displaystyle{ \operatorname{I}(X,Y;Z\mid W), }[/math] or [math]\displaystyle{ \Eta(X,Z\mid W,Y). }[/math]
References
- Thomas M. Cover and Joy A. Thomas. Elements of Information Theory, second edition, 2006. New Jersey: Wiley and Sons. ISBN:978-0-471-24195-9.
- Fazlollah M. Reza. An Introduction to Information Theory. New York: McGraw–Hill 1961. New York: Dover 1994. ISBN:0-486-68210-2
- Fano, R. M. (1966), Transmission of Information: a statistical theory of communications, MIT Press, ISBN 978-0-262-56169-3, OCLC 804123877, https://archive.org/details/TransmissionOfInformationAStatisticalTheoryOfCommunicationRobertFano
- R. W. Yeung, "On entropy, information inequalities, and Groups." PS
See also
- Information theory
- Measure theory
- Set theory
Original source: https://en.wikipedia.org/wiki/Information theory and measure theory.
Read more |