Directed information

From testwiki
Jump to navigation Jump to search

Template:Context Directed information is an information theory measure that quantifies the information flow from the random string Xn=(X1,X2,,Xn) to the random string Yn=(Y1,Y2,,Yn). The term directed information was coined by James Massey and is defined as[1]

I(XnYn)i=1nI(Xi;Yi|Yi1)

where I(Xi;Yi|Yi1) is the conditional mutual information I(X1,X2,...,Xi;Yi|Y1,Y2,...,Yi1).

Directed information has applications to problems where causality plays an important role such as the capacity of channels with feedback,[1][2][3][4] capacity of discrete memoryless networks,[5] capacity of networks with in-block memory,[6] gambling with causal side information,[7] compression with causal side information,[8] real-time control communication settings,[9][10] and statistical physics.[11]

Causal conditioning

The essence of directed information is causal conditioning. The probability of xn causally conditioned on yn is defined as[5]

P(xn||yn)i=1nP(xi|xi1,yi).

This is similar to the chain rule for conventional conditioning P(xn|yn)=i=1nP(xi|xi1,yn) except one conditions on "past" and "present" symbols yi rather than all symbols yn. To include "past" symbols only, one can introduce a delay by prepending a constant symbol:

P(xn||(0,yn1))i=1nP(xi|xi1,yi1).

It is common to abuse notation by writing P(xn||yn1) for this expression, although formally all strings should have the same number of symbols.

One may also condition on multiple strings: P(xn||yn,zn)i=1nP(xi|xi1,yi,zi).

Causally conditioned entropy

The causally conditioned entropy is defined as:[2]

H(Xn||Yn)=๐„[logP(Xn||Yn)]=i=1nH(Xi|Xi1,Yi)

Similarly, one may causally condition on multiple strings and write H(Xn||Yn,Zn)=๐„[logP(Xn||Yn,Zn)].

Properties

A decomposition rule for causal conditioning[1] is

P(xn,yn)=P(xn||yn1)P(yn||xn).

This rule shows that any product of P(xn||yn1),P(yn||xn) gives a joint distribution P(xn,yn).

The causal conditioning probabilityP(yn||xn)=i=1nP(yi|yi1,xi) is a probability vector, i.e.,

P(yn||xn)0andynP(yn||xn)=1for all (xn,yn).

Directed Information can be written in terms of causal conditioning:[2]

I(XNYN)=๐„[logP(YN||XN)P(YN)]=H(Yn)H(Yn||Xn).

The relation generalizes to three strings: the directed information flowing from Xn to Yn causally conditioned on Zn is

I(XnYn||Zn)=H(Yn||Zn)H(Yn||Xn,Zn).

Conservation law of information

This law, established by James Massey and his son Peter Massey,[12] gives intuition by relating directed information and mutual information. The law states that for any Xn,Yn, the following equality holds:

I(Xn;Yn)=I(XnYn)+I(Yn1Xn).

Two alternative forms of this law are[2][13]

I(Xn;Yn)=I(XnYn)+I(YnXn)I(XnYn)
I(Xn;Yn)=I(Xn1Yn)+I(Yn1Xn)+I(XnYn)

where I(XnYn)=i=1nI(Xi;Yi|Xi1,Yi1).

Estimation and optimization

Estimating and optimizing the directed information is challenging because it has n terms where n may be large. In many cases, one is interested in optimizing the limiting average, that is, when n grows to infinity termed as a multi-letter expression.

Estimation

Estimating directed information from samples is a hard problem since the directed information expression does not depend on samples but on the joint distribution {P(xi,yi|xi1,yi1)i=1n} which may be unknown. There are several algorithms based on context tree weighting[14] and empirical parametric distributions[15] and using long short-term memory.[16]

Optimization

Maximizing directed information is a fundamental problem in information theory. For example, given the channel distributions {P(yi|xi,yi1}i=1n), the objective might be to optimize I(XnYn) over the channel input distributions {P(xi|xi1,yi1}i=1n).

There are algorithms to optimize the directed information based on the Blahut-Arimoto,[17] Markov decision process,[18][19][20][21][22] Recurrent neural network,[16] Reinforcement learning.[23] and Graphical methods (the Q-graphs).[24][25][22] For the Blahut-Arimoto algorithm,[17] the main idea is to start with the last mutual information of the directed information expression and go backward. For the Markov decision process,[18][19][20][21] the main ideas is to transform the optimization into an infinite horizon average reward Markov decision process. For a Recurrent neural network,[16] the main idea is to model the input distribution using a Recurrent neural network and optimize the parameters using Gradient descent. For Reinforcement learning,[23] the main idea is to solve the Markov decision process formulation of the capacity using Reinforcement learning tools, which lets one deal with large or even continuous alphabets.

Marko's theory of bidirectional communication

Massey's directed information was motivated by Marko's early work (1966) on developing a theory of bidirectional communication.[26][27] Marko's definition of directed transinformation differs slightly from Massey's in that, at time n, one conditions on past symbols Xn1,Yn1 only and one takes limits:

T12=limn๐„[logP(Xn|Xn1)P(Xn|Xn1,Yn1)]andT21=limn๐„[logP(Yn|Yn1)P(Yn|Yn1,Xn1)].

Marko defined several other quantities, including:

  • Total information: H1=limn๐„[logP(Xn|Xn1)] and H2=limn๐„[logP(Yn|Yn1)]
  • Free information: F1=limn๐„[logP(Xn|Xn1,Yn1)] and F2=limn๐„[logP(Yn|Yn1,Xn1)]
  • Coincidence: K=limn๐„[logP(Xn|Xn1)P(Yn|Yn1)P(Xn,Yn|Xn1,Yn1)].

The total information is usually called an entropy rate. Marko showed the following relations for the problems he was interested in:

  • K=T12+T21
  • H1=T12+F1 and H2=T21+F2

He also defined quantities he called residual entropies:

  • R1=H1K=F1T21
  • R2=H2K=F2T12

and developed the conservation law F1+F2=R1+R2+K=H1+H2K and several bounds.

Relation to transfer entropy

Directed information is related to transfer entropy, which is a truncated version of Marko's directed transinformation T21.

The transfer entropy at time i and with memory d is

TXY=I(Xid,,Xi1;Yi|Yid,,Yi1).

where one does not include the present symbol Xi or the past symbols Xid1,Yid1 before time id.

Transfer entropy usually assumes stationarity, i.e., TXY does not depend on the time i.

References

Template:Reflist