GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Mutual information

showing additive and subtractive relationships of various information measures associated with correlated variables X and Y . The area contained by either circle is the joint entropy \Eta(X,Y) . The circle on the left (red and violet) is the individual entropy \Eta(X) , with the red being the conditional entropy \Eta(X\mid Y) . The circle on the right (blue and violet) is \Eta(Y) , with the blue being \Eta(Y\mid X) . The violet is the mutual information \operatorname{I (X;Y) . In probability theory and information theory, the mutual information (MI) of two random variables is a measure of the mutual dependence between the two variables. More specifically, it quantifies the "amount of... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

showing additive and subtractive relationships of various information measures associated with correlated variables X and Y . The area contained by either circle is the joint entropy \Eta(X,Y) . The circle on the left (red and violet) is the individual entropy \Eta(X) , with the red being the conditional entropy \Eta(X\mid Y) . The circle on the right (blue and violet) is \Eta(Y) , with the blue being \Eta(Y\mid X) . The violet is the mutual information \operatorname{I}(X;Y) . In probability theory and information theory, the mutual information (MI) of two random variables is a measure of the mutual dependence between the two variables. More specifically, it quantifies the "amount of information" (in units such as shannons (bits), nats or hartleys) obtained about one random variable by observing the other random variable. The concept of mutual information is intimately linked to that of entropy of a random variable, a fundamental notion in information theory that quantifies the expected "amount of information" held in a random variable. Not limited to real-valued random variables and linear dependence like the correlation coefficient, MI is more general and determines how different the joint distribution of the pair (X,Y) is from the product of the marginal distributions of X and Y . MI is the expected value of the pointwise mutual information (PMI). The quantity was defined and analyzed by Claude Shannon in his landmark paper "A Mathematical Theory of Communication", although he did not call it "mutual information". This term was coined later by Robert Fano. Mutual Information is also known as information gain. I(X;Y) = D_{\mathrm{KL}}( P_{(X,Y)} \parallel P_{X} \otimes P_{Y} ) where D_{\mathrm{KL}} is the Kullback–Leibler divergence, and P_{X} \otimes P_{Y} is the outer product distribution which assigns probability P_X(x)\cdot P_Y(y) to each (x,y) . Expressed in terms of the entropy H(\cdot) and the conditional entropy H(\cdot|\cdot) of the random variables X and Y , one also has (see relation to conditional and joint entropy): I(X;Y) = H(X) - H(X|Y) = H(Y) - H(Y|X) Notice, as per property of the Kullback–Leibler divergence, that I(X;Y) is equal to zero precisely when the joint distribution coincides with the product of the marginals, i.e. when X and Y are independent (and hence observing Y tells you nothing about X ). I(X;Y) is non-negative. It is a measure of the price for encoding (X,Y) as a pair of independent random variables when in reality they are not. If the natural logarithm is used, the unit of mutual information is the nat. If the log base 2 is used, the unit of mutual information is the shannon, also known as the bit. If the log base 10 is used, the unit of mutual information is the hartley, also known as the ban or the dit. \operatorname{I}(X; Y) = \sum_{y \in \mathcal Y} \sum_{x \in \mathcal X} { P_{(X,Y)}(x, y) \log\left(\frac{P_{(X,Y)}(x, y)}{P_X(x)\,P_Y(y)}\right) } , where P_{(X,Y)} is the joint probability mass function of X and Y , and P_X and P_Y are the marginal probability mass functions of X and Y respectively. \operatorname{I}(X;Y) = \int_{\mathcal Y} \int_{\mathcal X} {P_{(X,Y)}(x,y) \log{ \left(\frac{P_{(X,Y)}(x,y)}{P_X(x)\,P_Y(y)} \right) } } \; dx \,dy , where P_{(X,Y)} is now the joint probability density function of X and Y , and P_X and P_Y are the marginal probability density functions of X and Y respectively. Mutual information is a measure of the inherent dependence expressed in the joint distribution of X and Y relative to the marginal distribution of X and Y under the assumption of independence. Mutual information therefore measures dependence in the following sense: \operatorname{I}(X;Y) = 0 if and only if X and Y are independent random variables. This is easy to see in one direction: if X and Y are independent, then p_{(X,Y)}(x,y)=p_X(x) \cdot p_Y(y) , and therefore: \log{ \left( \frac{p_{(X,Y)}(x,y)}{p_X(x)\,p_Y(y)} \right) } = \log 1 = 0 . Moreover, mutual information is nonnegative (i.e. \operatorname{I}(X;Y) \ge 0 see below) and symmetric (i.e. \operatorname{I}(X;Y) = \operatorname{I}(Y;X) see below). === Symmetry=== \operatorname{I}(X;Y) = \operatorname{I}(Y;X) The proof is given considering the relationship with entropy, as shown below. === Supermodularity under independence=== If C is independent of (A,B) , then \operatorname{I}(Y;A,B,C) - \operatorname{I}(Y;A,B) \ge \operatorname{I}(Y;A,C) - \operatorname{I}(Y;A) . Because \operatorname{I}(X;Y) is non-negative, consequently, \Eta(X) \ge \Eta(X\mid Y) . Here we give the detailed deduction of \operatorname{I}(X;Y)=\Eta(Y)-\Eta(Y\mid X) for the case of jointly discrete random variables: \begin{align} \operatorname{I}(X;Y) & {} = \sum_{x \in \mathcal{X},y \in \mathcal{Y}} p_{(X,Y)}(x,y) \log \frac{p_{(X,Y)}(x,y)}{p_X(x)p_Y(y)}\\ & {} = \sum_{x \in \mathcal{X},y \in \mathcal{Y}} p_{(X,Y)}(x,y) \log \frac{p_{(X,Y)}(x,y)}{p_X(x)} - \sum_{x \in \mathcal{X},y \in \mathcal{Y}} p_{(X,Y)}(x,y) \log p_Y(y) \\ & {} = \sum_{x \in \mathcal{X},y \in \mathcal{Y}} p_X(x)p_{Y\mid X=x}(y) \log p_{Y\mid X=x}(y) - \sum_{x \in \mathcal{X},y \in \mathcal{Y}} p_{(X,Y)}(x,y) \log p_Y(y) \\ & {} = \sum_{x \in \mathcal{X}} p_X(x) \left(\sum_{y \in \mathcal{Y}} p_{Y\mid X=x}(y) \log p_{Y\mid X=x}(y)\right) - \sum_{y \in \mathcal{Y}} \left(\sum_{x \in \mathcal{X}} p_{(X,Y)}(x,y)\right) \log p_Y(y) \\ & {} = -\sum_{x \in \mathcal{X}} p_X(x) \Eta(Y\mid X=x) - \sum_{y \in \mathcal{Y}} p_Y(y) \log p_Y(y) \\ & {} = -\Eta(Y\mid X) + \Eta(Y) \\ & {} = \Eta(Y) - \Eta(Y\mid X). \\ \end{align} The proofs of the other identities above are similar. The proof of the general case (not just discrete) is similar, with integrals replacing sums. Intuitively, if entropy \Eta(Y) is regarded as a measure of uncertainty about a random variable, then \Eta(Y\mid X) is a measure of what X does not say about Y . This is "the amount of uncertainty remaining about Y after X is known", and thus the right side of the second of these equalities can be read as "the amount of uncertainty in Y , minus the amount of uncertainty in Y which remains after X is known", which is equivalent to "the amount of uncertainty in Y which is removed by knowing X ". This corroborates the intuitive meaning of mutual information as the amount of information (that is, reduction in uncertainty) that knowing either variable provides about the other. Note that in the discrete case \Eta(Y\mid Y) = 0 and therefore \Eta(Y) = \operatorname{I}(Y;Y) . Thus \operatorname{I}(Y; Y) \ge \operatorname{I}(X; Y) , and one can formulate the basic principle that a variable contains at least as much information about itself as any other variable can provide. \operatorname{I}(X; Y) = D_\text{KL}\left(p_{(X,Y)} \parallel p_Xp_Y\right) Furthermore, let p_{(X,Y)}(x,y) =p_{X\mid Y=y}(x)* p_Y(y) be the conditional mass or density function. Then, we have the identity \operatorname{I}(X; Y) = \mathbb{E}_Y\left[D_\text{KL}\!\left(p_{X\mid Y} \parallel p_X\right)\right] The proof for jointly discrete random variables is as follows: \begin{align} \operatorname{I}(X; Y) &= \sum_{y \in \mathcal Y} \sum_{x \in \mathcal X} { p_{(X,Y)}(x, y) \log\left(\frac{p_{(X,Y)}(x, y)}{p_X(x)\,p_Y(y)}\right) } \\ &= \sum_{y \in \mathcal{Y}} \sum_{x \in \mathcal{X}} p_{X\mid Y=y}(x) p_Y(y) \log \frac{p_{X\mid Y=y}(x) p_Y(y)}{p_X(x) p_Y(y)} \\ &= \sum_{y \in \mathcal{Y}} p_Y(y) \sum_{x \in \mathcal{X}} p_{X\mid Y=y}(x) \log \frac{p_{X\mid Y=y}(x)}{p_X(x)} \\ &= \sum_{y \in \mathcal{Y}} p_Y(y) \; D_\text{KL}\!\left(p_{X\mid Y=y} \parallel p_X\right) \\ &= \mathbb{E}_Y \left[D_\text{KL}\!\left(p_{X\mid Y} \parallel p_X\right)\right]. \end{align} Similarly this identity can be established for jointly continuous random variables. Note that here the Kullback–Leibler divergence involves integration over the values of the random variable X only, and the expression D_\text{KL}(p_{X\mid Y} \parallel p_X) still denotes a random variable because Y is random. Thus mutual information can also be understood as the expectation over Y of the Kullback–Leibler divergence of the conditional distribution p_{X\mid Y} of X given Y from the univariate distribution p_X of X : the more different the distributions p_{X\mid Y} and p_X are on average, the greater the information gain. \operatorname{I}_{LRMA} = \sum_{y \in \mathcal{Y}} \sum_{x \in \mathcal{X}} {p(x,y) \log{ \left(\frac{p(x,y)}{\sum_w p^\prime (x,w) p^{\prime\prime}(w,y)} \right) }}, The conventional definition of the mutual information is recovered in the extreme case that the process W has only one value for w . d(X,Y) &= \Eta(X,Y) - \operatorname{I}(X;Y) \\ &= \Eta(X) + \Eta(Y) - 2\operatorname{I}(X;Y) \\ &= \Eta(X\mid Y) + \Eta(Y\mid X) \\ &= 2\Eta(X,Y) - \Eta(X) - \Eta(Y) \end{align} satisfies the properties of a metric (triangle inequality, non-negativity, indiscernability and symmetry) for discrete random variables X and Y , where equality X=Y is understood to mean that X can be completely determined from Y . This distance metric is also known as the variation of information. If X, Y are discrete random variables then all the entropy terms are non-negative, so 0 \le d(X,Y) \le \Eta(X,Y) and one can define a normalized distance D(X,Y) = \frac{d(X, Y)}{\Eta(X, Y)} \le 1. Plugging in the definitions shows that D(X,Y) = 1 - \frac{\operatorname{I}(X; Y)}{\Eta(X, Y)}. This is known as the Rajski Distance. In a set-theoretic interpretation of information (see the figure for Conditional entropy), this is effectively the Jaccard distance between X and Y . Finally, D^\prime(X, Y) = 1 - \frac{\operatorname{I}(X; Y)}{\max\left\{\Eta(X), \Eta(Y)\right\}} is also a metric. \operatorname{I}(X;Y|Z) = \mathbb{E}_Z [D_{\mathrm{KL}}( P_{(X,Y)|Z} \| P_{X|Z} \otimes P_{Y|Z} )] For jointly discrete random variables this takes the form \operatorname{I}(X;Y|Z) = \sum_{z\in \mathcal{Z}} \sum_{y\in \mathcal{Y}} \sum_{x\in \mathcal{X}} {p_Z(z)\, p_{X,Y|Z}(x,y|z) \log\left[\frac{p_{X,Y|Z}(x,y|z)}{p_{X|Z}\,(x|z)p_{Y|Z}(y|z)}\right]}, which can be simplified as \operatorname{I}(X;Y|Z) = \sum_{z\in \mathcal{Z}} \sum_{y\in \mathcal{Y}} \sum_{x\in \mathcal{X}} p_{X,Y,Z}(x,y,z) \log \frac{p_{X,Y,Z}(x,y,z)p_{Z}(z)}{p_{X,Z}(x,z)p_{Y,Z}(y,z)}. For jointly continuous random variables this takes the form \operatorname{I}(X;Y|Z) = \int_{\mathcal{Z}} \int_{\mathcal{Y}} \int_{\mathcal{X}} {p_Z(z)\, p_{X,Y|Z}(x,y|z) \log\left[\frac{p_{X,Y|Z}(x,y|z)}{p_{X|Z}\,(x|z)p_{Y|Z}(y|z)}\right]} dx dy dz, which can be simplified as \operatorname{I}(X;Y|Z) = \int_{\mathcal{Z}} \int_{\mathcal{Y}} \int_{\mathcal{X}} p_{X,Y,Z}(x,y,z) \log \frac{p_{X,Y,Z}(x,y,z)p_{Z}(z)}{p_{X,Z}(x,z)p_{Y,Z}(y,z)} dx dy dz. Conditioning on a third random variable may either increase or decrease the mutual information, but it is always true that \operatorname{I}(X;Y|Z) \ge 0 for discrete, jointly distributed random variables X,Y,Z . This result has been used as a basic building block for proving other inequalities in information theory. \operatorname{I}(X_1) = \Eta(X_1) and for n > 1, \operatorname{I}(X_1;\,...\,;X_n) The multivariate mutual information functions generalize the pairwise independence case that states that X_1, X_2 if and only if I(X_1; X_2) = 0 , to arbitrary numerous variable. n variables are mutually independent if and only if the 2^n - n - 1 mutual information functions vanish I(X_1; \ldots; X_k) = 0 with n \ge k \ge 2 (theorem 2 ). In this sense, the I(X_1; \ldots; X_k) = 0 can be used as a refined statistical independence criterion. = \sum_{i=1}^n \operatorname{I}\left(X^i; Y_i\mid Y^{i-1}\right) . Note that if n=1 , the directed information becomes the mutual information. Directed information has many applications in problems where causality plays an important role, such as capacity of channel with feedback. C_{XY} = \frac{\operatorname{I}(X;Y)}{\Eta(Y)} ~~~~\mbox{and}~~~~ C_{YX} = \frac{\operatorname{I}(X;Y)}{\Eta(X)}. The two coefficients have a value ranging in [0, 1], but are not necessarily equal. This measure is not symmetric. If one desires a symmetric measure, one may consider the following redundancy measure: R = \frac{\operatorname{I}(X;Y)}{\Eta(X) + \Eta(Y)} which attains a minimum of zero when the variables are independent and a maximum value of R_\max = \frac{\min\left\{\Eta(X), \Eta(Y)\right\}}{\Eta(X) + \Eta(Y)} when one variable becomes completely redundant with the knowledge of the other. See also Redundancy (information theory). Another symmetrical measure is the symmetric uncertainty , given by U(X, Y) = 2R = 2\frac{\operatorname{I}(X;Y)}{\Eta(X) + \Eta(Y)} which represents the harmonic mean of the two uncertainty coefficients C_{XY}, C_{YX} . If we consider mutual information as a special case of the total correlation or dual total correlation, the normalized versions are respectively, \frac{\operatorname{I}(X; Y)}{\min\left[\Eta(X), \Eta(Y)\right]} and \frac{\operatorname{I}(X; Y)}{\Eta(X, Y)}\; . This normalized version is also known as Information Quality Ratio (IQR) and quantifies the amount of information of a variable based on another variable against total uncertainty: IQR(X, Y) = \operatorname{E}[\operatorname{I}(X;Y)] \operatorname{I}_K(X;Y) = K(X) - K(X\mid Y). To establish that this quantity is symmetric up to an additive logarithmic term ( \operatorname{I}_K(X;Y) \approx \operatorname{I}_K(Y;X) ), one requires the chain rule for Kolmogorov complexity . Approximations of this quantity via compression can be used to define a distance measure to perform a hierarchical clustering of sequences without having any domain knowledge of the sequences . \operatorname{I} = -\frac{1}{2} \log\left(1 - \rho^2\right) The equation above can be derived as follows for a bivariate Gaussian: \begin{align} \begin{pmatrix} X_1 \\ X_2 \end{pmatrix} &\sim \mathcal{N} \left( \begin{pmatrix} \mu_1 \\ \mu_2 \end{pmatrix}, \Sigma \right),\qquad \Sigma = \begin{pmatrix} \sigma^2_1 & \rho\sigma_1\sigma_2 \\ \rho\sigma_1\sigma_2 & \sigma^2_2 \end{pmatrix} \\ \Eta(X_i) &= \frac{1}{2}\log\left(2\pi e \sigma_i^2\right) = \frac{1}{2} + \frac{1}{2}\log(2\pi) + \log\left(\sigma_i\right), \quad i\in\{1, 2\} \\ \Eta(X_1, X_2) &= \frac{1}{2}\log\left[(2\pi e)^2|\Sigma|\right] = 1 + \log(2\pi) + \log\left(\sigma_1 \sigma_2\right) + \frac{1}{2}\log\left(1 - \rho^2\right) \\ \end{align} Therefore, \operatorname{I}\left(X_1; X_2\right) MI(x,y) = \log \frac{P_{X,Y}(x,y)}{P_X(x) P_Y(y)} \approx \log \frac{\frac{f_{XY}}{B}}{\frac{f_X}{U} \frac{f_Y}{U}} where f_{XY} is the number of times the bigram xy appears in the corpus, f_{X} is the number of times the unigram x appears in the corpus, B is the total number of bigrams, and U is the total number of unigrams. In telecommunications, the channel capacity is equal to the mutual information, maximized over all input distributions. Discriminative training procedures for hidden Markov models have been proposed based on the maximum mutual information (MMI) criterion. RNA secondary structure prediction from a multiple sequence alignment. Phylogenetic profiling prediction from pairwise present and disappearance of functionally link genes. Mutual information has been used as a criterion for feature selection and feature transformations in machine learning. It can be used to characterize both the relevance and redundancy of variables, such as the minimum redundancy feature selection. Mutual information is used in determining the similarity of two different clusterings of a dataset. As such, it provides some advantages over the traditional Rand index. Mutual information of words is often used as a significance function for the computation of collocations in corpus linguistics. This has the added complexity that no word-instance is an instance to two different words; rather, one counts instances where 2 words occur adjacent or in close proximity; this slightly complicates the calculation, since the expected probability of one word occurring within N words of another, goes up with N Mutual information is used in medical imaging for image registration. Given a reference image (for example, a brain scan), and a second image which needs to be put into the same coordinate system as the reference image, this image is deformed until the mutual information between it and the reference image is maximized. Detection of phase synchronization in time series analysis. In the infomax method for neural-net and other machine learning, including the infomax-based Independent component analysis algorithm Average mutual information in delay embedding theorem is used for determining the embedding delay parameter. Mutual information between genes in expression microarray data is used by the ARACNE algorithm for reconstruction of gene networks. In statistical mechanics, Loschmidt's paradox may be expressed in terms of mutual information. Loschmidt noted that it must be impossible to determine a physical law which lacks time reversal symmetry (e.g. the second law of thermodynamics) only from physical laws which have this symmetry. He pointed out that the H-theorem of Boltzmann made the assumption that the velocities of particles in a gas were permanently uncorrelated, which removed the time symmetry inherent in the H-theorem. It can be shown that if a system is described by a probability density in phase space, then Liouville's theorem implies that the joint information (negative of the joint entropy) of the distribution remains constant in time. The joint information is equal to the mutual information plus the sum of all the marginal information (negative of the marginal entropies) for each particle coordinate. Boltzmann's assumption amounts to ignoring the mutual information in the calculation of entropy, which yields the thermodynamic entropy (divided by the Boltzmann constant). In stochastic processes coupled to changing environments, mutual information can be used to disentangle internal and effective environmental dependencies. This is particularly useful when a physical system undergoes changes in the parameters describing its dynamics, e.g., changes in temperature. The mutual information is used to learn the structure of Bayesian networks/dynamic Bayesian networks, which is thought to explain the causal relationship between random variables, as exemplified by the GlobalMIT toolkit: learning the globally optimal dynamic Bayesian network with the Mutual Information Test criterion. The mutual information is used to quantify information transmitted during the updating procedure in the Gibbs sampling algorithm. Popular cost function in decision tree learning. The mutual information is used in cosmology to test the influence of large-scale environments on galaxy properties in the Galaxy Zoo. The mutual information was used in Solar Physics to derive the solar differential rotation profile, a travel-time deviation map for sunspots, and a time–distance diagram from quiet-Sun measurements Used in Invariant Information Clustering to automatically train neural network classifiers and image segmenters given no labelled data. In stochastic dynamical systems with multiple timescales, mutual information has been shown to capture the functional couplings between different temporal scales. Importantly, it was shown that physical interactions may or may not give rise to mutual information, depending on the typical timescale of their dynamics.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Mutual information". 1788887417. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1373920161

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·