- Source: Conditional mutual information
In probability theory, particularly 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.
Definition
For random variables
X
{\displaystyle X}
,
Y
{\displaystyle Y}
, and
Z
{\displaystyle Z}
with support sets
X
{\displaystyle {\mathcal {X}}}
,
Y
{\displaystyle {\mathcal {Y}}}
and
Z
{\displaystyle {\mathcal {Z}}}
, we define the conditional mutual information as
This may be written in terms of the expectation operator:
I
(
X
;
Y
|
Z
)
=
E
Z
[
D
K
L
(
P
(
X
,
Y
)
|
Z
‖
P
X
|
Z
⊗
P
Y
|
Z
)
]
{\displaystyle I(X;Y|Z)=\mathbb {E} _{Z}[D_{\mathrm {KL} }(P_{(X,Y)|Z}\|P_{X|Z}\otimes P_{Y|Z})]}
.
Thus
I
(
X
;
Y
|
Z
)
{\displaystyle I(X;Y|Z)}
is the expected (with respect to
Z
{\displaystyle Z}
) Kullback–Leibler divergence from the conditional joint distribution
P
(
X
,
Y
)
|
Z
{\displaystyle P_{(X,Y)|Z}}
to the product of the conditional marginals
P
X
|
Z
{\displaystyle P_{X|Z}}
and
P
Y
|
Z
{\displaystyle P_{Y|Z}}
. Compare with the definition of mutual information.
In terms of PMFs for discrete distributions
For discrete random variables
X
{\displaystyle X}
,
Y
{\displaystyle Y}
, and
Z
{\displaystyle Z}
with support sets
X
{\displaystyle {\mathcal {X}}}
,
Y
{\displaystyle {\mathcal {Y}}}
and
Z
{\displaystyle {\mathcal {Z}}}
, the conditional mutual information
I
(
X
;
Y
|
Z
)
{\displaystyle I(X;Y|Z)}
is as follows
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
)
{\displaystyle I(X;Y|Z)=\sum _{z\in {\mathcal {Z}}}p_{Z}(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_{X|Z}(x|z)p_{Y|Z}(y|z)}}}
where the marginal, joint, and/or conditional probability mass functions are denoted by
p
{\displaystyle p}
with the appropriate subscript. This can be simplified as
In terms of PDFs for continuous distributions
For (absolutely) continuous random variables
X
{\displaystyle X}
,
Y
{\displaystyle Y}
, and
Z
{\displaystyle Z}
with support sets
X
{\displaystyle {\mathcal {X}}}
,
Y
{\displaystyle {\mathcal {Y}}}
and
Z
{\displaystyle {\mathcal {Z}}}
, the conditional mutual information
I
(
X
;
Y
|
Z
)
{\displaystyle I(X;Y|Z)}
is as follows
I
(
X
;
Y
|
Z
)
=
∫
Z
(
∫
Y
∫
X
log
(
p
X
,
Y
|
Z
(
x
,
y
|
z
)
p
X
|
Z
(
x
|
z
)
p
Y
|
Z
(
y
|
z
)
)
p
X
,
Y
|
Z
(
x
,
y
|
z
)
d
x
d
y
)
p
Z
(
z
)
d
z
{\displaystyle I(X;Y|Z)=\int _{\mathcal {Z}}{\bigg (}\int _{\mathcal {Y}}\int _{\mathcal {X}}\log \left({\frac {p_{X,Y|Z}(x,y|z)}{p_{X|Z}(x|z)p_{Y|Z}(y|z)}}\right)p_{X,Y|Z}(x,y|z)dxdy{\bigg )}p_{Z}(z)dz}
where the marginal, joint, and/or conditional probability density functions are denoted by
p
{\displaystyle p}
with the appropriate subscript. This can be simplified as
Some identities
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
)
=
H
(
X
|
Z
)
+
H
(
Y
|
Z
)
−
H
(
X
,
Y
|
Z
)
.
{\displaystyle {\begin{aligned}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{aligned}}}
This can be rewritten to show its relationship to mutual information
I
(
X
;
Y
|
Z
)
=
I
(
X
;
Y
,
Z
)
−
I
(
X
;
Z
)
{\displaystyle 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
)
{\displaystyle 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
)
)
.
{\displaystyle I(X;Y|Z)=I(X;Y)-(I(X;Z)-I(X;Z|Y))\,.}
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
)
.
{\displaystyle {\begin{aligned}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{aligned}}\,.}
Another equivalent form of the conditional mutual information is
I
(
X
;
Y
|
Z
)
=
I
(
X
,
Z
;
Y
,
Z
)
−
H
(
Z
)
.
{\displaystyle {\begin{aligned}I(X;Y|Z)=I(X,Z;Y,Z)-H(Z)\end{aligned}}\,.}
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
)
]
.
{\displaystyle I(X;Y|Z)=D_{\mathrm {KL} }[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
)
]
{\displaystyle I(X;Y|Z)=\sum _{z\in {\mathcal {Z}}}p(Z=z)D_{\mathrm {KL} }[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
)
]
{\displaystyle I(X;Y|Z)=\sum _{y\in {\mathcal {Y}}}p(Y=y)D_{\mathrm {KL} }[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.
Let
(
Ω
,
F
,
P
)
{\displaystyle (\Omega ,{\mathcal {F}},{\mathfrak {P}})}
be a probability space, and let the random variables
X
{\displaystyle X}
,
Y
{\displaystyle Y}
, and
Z
{\displaystyle Z}
each be defined as a Borel-measurable function from
Ω
{\displaystyle \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
P
{\displaystyle {\mathfrak {P}}}
-measure of its preimage in
F
{\displaystyle {\mathcal {F}}}
. This is called the pushforward measure
X
∗
P
=
P
(
X
−
1
(
⋅
)
)
.
{\displaystyle X_{*}{\mathfrak {P}}={\mathfrak {P}}{\big (}X^{-1}(\cdot ){\big )}.}
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
.
{\displaystyle \mathrm {supp} \,X=\mathrm {supp} \,X_{*}{\mathfrak {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
{\displaystyle M}
be a measurable subset of
Ω
,
{\displaystyle \Omega ,}
(i.e.
M
∈
F
,
{\displaystyle M\in {\mathcal {F}},}
) and let
x
∈
s
u
p
p
X
.
{\displaystyle x\in \mathrm {supp} \,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
(
ω
)
)
,
{\displaystyle {\mathfrak {P}}(M|X=x)=\lim _{U\ni x}{\frac {{\mathfrak {P}}(M\cap \{X\in U\})}{{\mathfrak {P}}(\{X\in U\})}}\qquad {\textrm {and}}\qquad {\mathfrak {P}}(M|X)=\int _{M}d{\mathfrak {P}}{\big (}\omega |X=X(\omega ){\big )},}
where the limit is taken over the open neighborhoods
U
{\displaystyle U}
of
x
{\displaystyle 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
(
ω
)
,
{\displaystyle I(X;Y|Z)=\int _{\Omega }\log {\Bigl (}{\frac {d{\mathfrak {P}}(\omega |X,Z)\,d{\mathfrak {P}}(\omega |Y,Z)}{d{\mathfrak {P}}(\omega |Z)\,d{\mathfrak {P}}(\omega |X,Y,Z)}}{\Bigr )}d{\mathfrak {P}}(\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
)
,
{\displaystyle I(A;B|C),}
A
,
{\displaystyle A,}
B
,
{\displaystyle B,}
and
C
{\displaystyle 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
)
.
{\displaystyle 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
∧
{\displaystyle \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
)
≥
0
{\displaystyle I(X;Y|Z)\geq 0}
,
for discrete, jointly distributed random variables
X
{\displaystyle X}
,
Y
{\displaystyle Y}
and
Z
{\displaystyle 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.
= 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
)
{\displaystyle 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
∼
B
e
r
n
o
u
l
l
i
(
0.5
)
,
Z
∼
B
e
r
n
o
u
l
l
i
(
0.5
)
,
Y
=
{
X
if
Z
=
0
1
−
X
if
Z
=
1
{\displaystyle X\sim \mathrm {Bernoulli} (0.5),Z\sim \mathrm {Bernoulli} (0.5),\quad Y=\left\{{\begin{array}{ll}X&{\text{if }}Z=0\\1-X&{\text{if }}Z=1\end{array}}\right.}
in which case
X
{\displaystyle X}
,
Y
{\displaystyle Y}
and
Z
{\displaystyle Z}
are pairwise independent and in particular
I
(
X
;
Y
)
=
0
{\displaystyle I(X;Y)=0}
, but
I
(
X
;
Y
|
Z
)
=
1.
{\displaystyle I(X;Y|Z)=1.}
= Chain rule for mutual information
=The chain rule (as derived above) provides two ways to decompose
I
(
X
;
Y
,
Z
)
{\displaystyle I(X;Y,Z)}
:
I
(
X
;
Y
,
Z
)
=
I
(
X
;
Z
)
+
I
(
X
;
Y
|
Z
)
=
I
(
X
;
Y
)
+
I
(
X
;
Z
|
Y
)
{\displaystyle {\begin{aligned}I(X;Y,Z)&=I(X;Z)+I(X;Y|Z)\\&=I(X;Y)+I(X;Z|Y)\end{aligned}}}
The data processing inequality is closely related to conditional mutual information and can be proven using the chain rule.
Interaction information
The conditional mutual information is used to inductively define the interaction information, a generalization of mutual information, as follows:
I
(
X
1
;
…
;
X
n
+
1
)
=
I
(
X
1
;
…
;
X
n
)
−
I
(
X
1
;
…
;
X
n
|
X
n
+
1
)
,
{\displaystyle I(X_{1};\ldots ;X_{n+1})=I(X_{1};\ldots ;X_{n})-I(X_{1};\ldots ;X_{n}|X_{n+1}),}
where
I
(
X
1
;
…
;
X
n
|
X
n
+
1
)
=
E
X
n
+
1
[
D
K
L
(
P
(
X
1
,
…
,
X
n
)
|
X
n
+
1
‖
P
X
1
|
X
n
+
1
⊗
⋯
⊗
P
X
n
|
X
n
+
1
)
]
.
{\displaystyle I(X_{1};\ldots ;X_{n}|X_{n+1})=\mathbb {E} _{X_{n+1}}[D_{\mathrm {KL} }(P_{(X_{1},\ldots ,X_{n})|X_{n+1}}\|P_{X_{1}|X_{n+1}}\otimes \cdots \otimes P_{X_{n}|X_{n+1}})].}
Because the conditional mutual information can be greater than or less than its unconditional counterpart, the interaction information can be positive, negative, or zero, which makes it hard to interpret.
References
Kata Kunci Pencarian:
- Conditional mutual information
- Mutual information
- Conditional entropy
- Feature selection
- Information theory
- Interaction information
- Inequalities in information theory
- Information theory and measure theory
- Transfer entropy
- Entropy (information theory)