Conditional mutual information explained

In probability theory, particularly information theory, the conditional mutual information[1] [2] is, in its most basic form, the expected value of the mutual information of two random variables given the value of a third.

Definition

For random variables

X

,

Y

, and

Z

with support sets

l{X}

,

l{Y}

and

l{Z}

, we define the conditional mutual information as

This may be written in terms of the expectation operator:

I(X;Y|Z)=EZ[DKL(P(X,Y)|Z\|PX|ZPY|Z)]

.

Thus

I(X;Y|Z)

is the expected (with respect to

Z

) Kullback–Leibler divergence from the conditional joint distribution

P(X,Y)|Z

to the product of the conditional marginals

PX|Z

and

PY|Z

. Compare with the definition of mutual information.

In terms of PMFs for discrete distributions

For discrete random variables

X

,

Y

, and

Z

with support sets

l{X}

,

l{Y}

and

l{Z}

, the conditional mutual information

I(X;Y|Z)

is as follows

I(X;Y|Z)=\sumz\in

} p_Z(z) \sum_ \sum_ p_(x,y|z) \log \fracwhere the marginal, joint, and/or conditional probability mass functions are denoted by

p

with the appropriate subscript. This can be simplified as

In terms of PDFs for continuous distributions

For (absolutely) continuous random variables

X

,

Y

, and

Z

with support sets

l{X}

,

l{Y}

and

l{Z}

, the conditional mutual information

I(X;Y|Z)

is as follows

I(X;Y|Z)=\intl{Z

} \bigg(\int_ \int_ \log \left(\frac\right) p_(x,y|z) dx dy \bigg) p_Z(z) dzwhere the marginal, joint, and/or conditional probability density functions are denoted by

p

with the appropriate subscript. This can be simplified as

Some identities

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

\begin{align} I(X;Y|Z)&=H(X,Z)+H(Y,Z)-H(X,Y,Z)-H(Z)\\ &=H(X|Z)-H(X|Y,Z)\\ &=H(X|Z)+H(Y|Z)-H(X,Y|Z). \end{align}

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)

or

I(X;Y|Z)=I(X;Y)-(I(X;Z)-I(X;Z|Y)).

Another equivalent form of the above is

\begin{align} 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) \end{align}.

Another equivalent form of the conditional mutual information is

\begin{align} I(X;Y|Z)=I(X,Z;Y,Z)-H(Z) \end{align}.

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

I(X;Y|Z)=DKL[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)=\sumz

} p(Z=z) D_[p(X,Y|z) \| p(X|z)p(Y|z) ],

I(X;Y|Z)=\sumy

} p(Y=y) D_[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.[4]

Let

(\Omega,lF,akP)

be a probability space, and let the random variables

X

,

Y

, and

Z

each be defined as a Borel-measurable function from

\Omega

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

akP

-measure of its preimage in

lF

. This is called the pushforward measure

X*akP=akP(X-1()).

The support of a random variable is defined to be the topological support of this measure, i.e.

suppX=suppX*akP.

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

\Omega,

(i.e.

M\inlF,

) and let

x\insuppX.

Then, using the disintegration theorem:

akP(M|X=x)=\limU

akP(M\cap\{X\inU\
)}

{akP(\{X\inU\})}    rm{and}    akP(M|X)=\intMdakP(\omega|X=X(\omega)),

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)=\int\Omegalog l(

dakP(\omega|X,Z)dakP(\omega|Y,Z)
dakP(\omega|Z)dakP(\omega|X,Y,Z)

r) dakP(\omega),

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(A0,A1;B1,B2,B3|C0,C1).

Hence the use of the semicolon (or occasionally a colon or even a wedge

\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

Nonnegativity

It is always true that

I(X;Y|Z)\ge0

,for discrete, jointly distributed random variables

X

,

Y

and

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. Conditional mutual information is also non-negative for continuous random variables under certain regularity conditions.[5]

Interaction information

Conditioning on a third random variable may either increase or decrease the mutual information: that is, the difference

I(X;Y)-I(X;Y|Z)

, 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 \sim \mathrm(0.5), Z \sim \mathrm(0.5), \quad Y=\left\

Notes and References

  1. Wyner. A. D. . A definition of conditional mutual information for arbitrary ensembles. Information and Control. 1978. 38. 1. 51–59. 10.1016/s0019-9958(78)90026-8. free.
  2. Dobrushin. R. L. . General formulation of Shannon's main theorem in information theory. Uspekhi Mat. Nauk. 1959. 14. 3–104.
  3. Book: Cover . Thomas . Thomas M. Cover . Thomas . Joy A. . Elements of Information Theory . 2nd . New York . . 2006 . 0-471-24195-4.
  4. D. Leao, Jr. et al. Regular conditional probability, disintegration of probability and Radon spaces. Proyecciones. Vol. 23, No. 1, pp. 15–29, May 2004, Universidad Católica del Norte, Antofagasta, Chile PDF
  5. Book: Polyanskiy . Yury . Wu . Yihong . Lecture notes on information theory . 2017 . 30 .