Supriya Ghosh (Editor)

Conditional mutual information

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Conditional mutual information

In probability theory, and in particular, information theory, the conditional mutual information is, in its most basic form, the expected value of the mutual information of two random variables given the value of a third.

Contents

Definition

For discrete random variables X , Y , and Z , we define

I ( X ; Y | Z ) = E Z ( I ( X ; Y ) | Z ) = z Z p Z ( z ) y Y x X p X , Y | Z ( x , y | z ) log p X , Y | Z ( x , y | z ) p X | Z ( x | z ) p Y | Z ( y | z ) ,

where the marginal, joint, and/or conditional probability mass functions are denoted by p with the appropriate subscript. This can be simplified as

I ( X ; Y | Z ) = z Z y Y x X p X , Y , Z ( x , y , z ) log p Z ( z ) p X , Y , Z ( x , y , z ) p X , Z ( x , z ) p Y , Z ( y , z ) .

Alternatively, we may write in terms of joint and conditional entropies as

I ( X ; Y | Z ) = H ( X , Z ) + H ( Y , Z ) H ( X , Y , Z ) H ( Z ) = H ( X | Z ) H ( X | Y , Z ) .

This can be rewritten to show its relationship to mutual information

I ( X ; Y | Z ) = I ( X ; Y , Z ) I ( X ; Z )

usually rearranged as the chain rule for mutual information

I ( X ; Y , Z ) = I ( X ; Z ) + I ( X ; Y | Z )

Another equivalent form of the above is

I ( X ; Y | Z ) = H ( Z | X ) + H ( X ) + H ( Z | Y ) + H ( Y ) H ( Z | X , Y ) H ( X , Y ) H ( Z ) = I ( X ; Y ) + H ( Z | X ) + H ( Z | Y ) H ( Z | X , Y ) H ( Z )

Like mutual information, conditional mutual information can be expressed as a Kullback–Leibler divergence:

I ( X ; Y | Z ) = D K L [ p ( X , Y , Z ) p ( X | Z ) p ( Y | Z ) p ( Z ) ] .

Or as an expected value of simpler Kullback–Leibler divergences:

I ( X ; Y | Z ) = z Z p ( Z = z ) D K L [ p ( X , Y | z ) p ( X | z ) p ( Y | z ) ] , I ( X ; Y | Z ) = y Y p ( Y = y ) D K L [ p ( X , Z | y ) p ( X | Z ) p ( Z | y ) ] .

More general definition

A more general definition of conditional mutual information, applicable to random variables with continuous or other arbitrary distributions, will depend on the concept of regular conditional probability. (See also.)

Let ( Ω , F , P ) be a probability space, and let the random variables X, Y, and Z each be defined as a Borel-measurable function from Ω to some state space endowed with a topological structure.

Consider the Borel measure (on the σ-algebra generated by the open sets) in the state space of each random variable defined by assigning each Borel set the P -measure of its preimage in F . This is called the pushforward measure X P = P ( X 1 ( ) ) . The support of a random variable is defined to be the topological support of this measure, i.e. s u p p X = s u p p X P .

Now we can formally define the conditional probability measure given the value of one (or, via the product topology, more) of the random variables. Let M be a measurable subset of Ω , (i.e. M F , ) and let x s u p p X . Then, using the disintegration theorem:

P ( M | X = x ) = lim U x P ( M { X U } ) P ( { X U } ) and P ( M | X ) = M d P ( ω | X = X ( ω ) ) ,

where the limit is taken over the open neighborhoods U of x , as they are allowed to become arbitrarily smaller with respect to set inclusion.

Finally we can define the conditional mutual information via Lebesgue integration:

I ( X ; Y | Z ) = Ω log d P ( ω | X , Z ) d P ( ω | Y , Z ) d P ( ω | Z ) d P ( ω | X , Y , Z ) d P ( ω ) ,

where the integrand is the logarithm of a Radon–Nikodym derivative involving some of the conditional probability measures we have just defined.

Note on notation

In an expression such as I ( A ; B | C ) , A , B , and C need not necessarily be restricted to representing individual random variables, but could also represent the joint distribution of any collection of random variables defined on the same probability space. As is common in probability theory, we may use the comma to denote such a joint distribution, e.g. I ( A 0 , A 1 ; B 1 , B 2 , B 3 | C 0 , C 1 ) . Hence the use of the semicolon (or occasionally a colon or even a wedge ) to separate the principal arguments of the mutual information symbol. (No such distinction is necessary in the symbol for joint entropy, since the joint entropy of any number of random variables is the same as the entropy of their joint distribution.)

Properties

It is always true that

I ( X ; Y | Z ) 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, in particular, those known as Shannon-type inequalities.

Conditioning on a third random variable may either increase or decrease the mutual information: that is, the difference I ( X ; Y | Z ) I ( X ; Y ) , called the interaction information, may be positive, negative, or zero. This is the case even when random variables are pairwise independent. Such is the case when:

X,Y,Z I ( X ; Y ) = 0 I ( X ; Y | Z ) = 1.

Multivariate mutual information

The conditional mutual information can be used to inductively define a multivariate mutual information in a set- or measure-theoretic sense in the context of information diagrams. In this sense we define the multivariate mutual information as follows:

I ( X 1 ; ; X n + 1 ) = I ( X 1 ; ; X n ) I ( X 1 ; ; X n | X n + 1 ) ,

where

I ( X 1 ; ; X n | X n + 1 ) = E X n + 1 ( I ( X 1 ; ; X n ) | X n + 1 ) .

This definition is identical to that of interaction information except for a change in sign in the case of an odd number of random variables. A complication is that this multivariate mutual information (as well as the interaction information) can be positive, negative, or zero, which makes this quantity difficult to interpret intuitively. In fact, for n random variables, there are 2 n 1 degrees of freedom for how they might be correlated in an information-theoretic sense, corresponding to each non-empty subset of these variables. These degrees of freedom are bounded by various Shannon- and non-Shannon-type inequalities in information theory.

References

Conditional mutual information Wikipedia