Directed information explained

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(Xn\toYn)\triangleq

n
\sum
i=1
i-1
I(X
i|Y

)

where

I(Xi

i-1
;Y
i|Y

)

is the conditional mutual information

I(X1,X2,...,Xi;Yi|Y1,Y2,...,Yi-1)

.

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)\triangleq

n
\prod
i=1
i-1
P(x
i|x

,yi)

.This is similar to the chain rule for conventional conditioning

P(xn|yn)=

n
\prod
i=1
i-1
P(x
i|x

,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,yn-1))\triangleq

n
\prod
i=1
i-1
P(x
i|x

,yi-1)

.It is common to abuse notation by writing

P(xn||yn-1)

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)\triangleq

n
\prod
i=1
i-1
P(x
i|x

,yi,zi)

.

Causally conditioned entropy

The causally conditioned entropy is defined as:[2]

H(Xn||Yn)=E\left[-log{P(Xn||Yn)}

n
\right]=\sum
i=1

H(Xi|Xi-1,Yi)

Similarly, one may causally condition on multiple strings and write

H(Xn||Yn,Zn)=E\left[-log{P(Xn||Yn,Zn)}\right]

.

Properties

A decomposition rule for causal conditioning[1] is

P(xn,yn)=P(xn||yn-1)P(yn||xn)

.This rule shows that any product of

P(xn||yn-1),P(yn||xn)

gives a joint distribution

P(xn,yn)

.

The causal conditioning probability

P(yn||xn)=

n
\prod
i=1
i-1
P(y
i|y

,xi)

is a probability vector, i.e.,

P(yn||xn)\geq0and

\sum
yn

P(yn||xn)=1forall(xn,yn)

.

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

I(XNYN)=E\left[log

P(YN||XN)
P(YN)

\right]=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(Xn\toYn||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(Xn\toYn)+I(Yn-1\toXn).

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

I(Xn;Yn)=I(Xn\toYn)+I(Yn\toXn)-I(Xn\leftrightarrowYn)

I(Xn;Yn)=I(Xn-1\toYn)+I(Yn-1\toXn)+I(Xn\leftrightarrowYn)

where

I(Xn\leftrightarrowYn)=

n
\sum
i=1

I(Xi;Yi|Xi-1,Yi-1)

.

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,y

i-1
i|x

,yi-1

n\}
)
i=1
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.

Optimization

Maximizing directed information is a fundamental problem in information theory. For example, given the channel distributions

i
\{P(y
i|x

,yi-1

n)
\}
i=1
, the objective might be to optimize

I(Xn\toYn)

over the channel input distributions
i-1
\{P(x
i|x

,yi-1

n)
\}
i=1
.

There are algorithms to optimize the directed information based on the Blahut-Arimoto,[16] Markov decision process,[17] [18] [19] [20] Recurrent neural network,[21] Reinforcement learning.[22] and Graphical methods (the Q-graphs).[23] [24] For the Blahut-Arimoto algorithm,[16] the main idea is to start with the last mutual information of the directed information expression and go backward. For the Markov decision process,[17] [18] [19] [20] the main ideas is to transform the optimization into an infinite horizon average reward Markov decision process. For a Recurrent neural network,[21] the main idea is to model the input distribution using a Recurrent neural network and optimize the parameters using Gradient descent. For Reinforcement learning,[22] 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.[25] [26] Marko's definition of directed transinformation differs slightly from Massey's in that, at time

n

, one conditions on past symbols

Xn-1,Yn-1

only and one takes limits:

T12=\limnE\left[-log

P(Xn|Xn-1)
P(Xn|Xn-1,Yn-1)

\right]andT21=\limnE\left[-log

P(Yn|Yn-1)
P(Yn|Yn-1,Xn-1)

\right].

Marko defined several other quantities, including:

H1=\limnE\left[-logP(Xn|Xn-1)\right]

and

H2=\limnE\left[-logP(Yn|Yn-1)\right]

F1=\limnE\left[-logP(Xn|Xn-1,Yn-1)\right]

and

F2=\limnE\left[-logP(Yn|Yn-1,Xn-1)\right]

K=\limnE\left[-log

P(Xn|Xn-1)P(Yn|Yn-1)
P(Xn,Yn|Xn-1,Yn-1)

\right].

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=H1-K=F1-T21

R2=H2-K=F2-T12

and developed the conservation law

F1+F2=R1+R2+K=H1+H2-K

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

TX=I(Xi-1,...,Xi-d;Yi|Yi-1,...,Yi-d).

where one does not include the present symbol

Xi

or the past symbols

Xi-d-1,Yi-d-1

before time

i-d

.

Transfer entropy usually assumes stationarity, i.e.,

TX

does not depend on the time

i

.

Notes and References

  1. Massey . James . Causality, Feedback And Directed Information . Proceedings 1990 International Symposium on Information Theory and its Applications, Waikiki, Hawaii, Nov. 27-30, 1990 . 1990.
  2. Doctoral . Kramer . Gerhard . 1998 . Directed information for channels with feedback . 10.3929/ethz-a-001988524 . ETH Zurich . 20.500.11850/143796 . en.
  3. Doctoral . Tatikonda . Sekhar Chandra . 2000 . Control under communication constraints . Massachusetts Institute of Technology. 1721.1/16755 .
  4. Permuter . Haim Henry. Weissman. Tsachy. Goldsmith . Andrea J.. Finite State Channels With Time-Invariant Deterministic Feedback. IEEE Transactions on Information Theory . February 2009 . 55. 2 . 644–662 . 10.1109/TIT.2008.2009849. cs/0608070. 13178.
  5. Kramer . G. . Capacity results for the discrete memoryless network. IEEE Transactions on Information Theory. January 2003. 49. 1 . 4–21. 10.1109/TIT.2002.806135.
  6. Kramer . Gerhard . Information Networks With In-Block Memory . IEEE Transactions on Information Theory . April 2014 . 60 . 4 . 2105–2120 . 10.1109/TIT.2014.2303120. 1206.5389 . 16382644 .
  7. Permuter. Haim H.. Kim . Young-Han. Weissman . Tsachy. Interpretations of Directed Information in Portfolio Theory, Data Compression, and Hypothesis Testing. IEEE Transactions on Information Theory. June 2011. 57. 6 . 3248–3259. 10.1109/TIT.2011.2136270. 0912.4872 . 11722596.
  8. Simeone. Osvaldo . Permuter. Haim Henri. Source Coding When the Side Information May Be Delayed . IEEE Transactions on Information Theory. June 2013 . 59. 6. 3607–3618 . 10.1109/TIT.2013.2248192. 1109.1293. 3211485.
  9. Charalambous. Charalambos D. . Stavrou . Photios A.. Directed Information on Abstract Spaces: Properties and Variational Equalities . IEEE Transactions on Information Theory. August 2016. 62. 11. 6019–6052 . 10.1109/TIT.2016.2604846 . 1302.3971. 8107565.
  10. Tanaka . Takashi . Esfahani . Peyman Mohajerin . Mitter . Sanjoy K. . LQG Control With Minimum Directed Information: Semidefinite Programming Approach . IEEE Transactions on Automatic Control . January 2018 . 63 . 1 . 37–52 . 10.1109/TAC.2017.2709618 . 1401958 . 1510.04214 .
  11. Vinkler . Dror A . Permuter . Haim H . Merhav . Neri . Analogy between gambling and measurement-based work extraction . Journal of Statistical Mechanics: Theory and Experiment . 20 April 2016 . 2016 . 4 . 043403 . 10.1088/1742-5468/2016/04/043403 . 1404.6788 . 2016JSMTE..04.3403V . 124719237.
  12. Book: Massey . J.L. . Massey . P.C. . Proceedings. International Symposium on Information Theory, 2005. ISIT 2005 . Conservation of mutual and directed information . September 2005 . 157–158 . 10.1109/ISIT.2005.1523313. 0-7803-9151-9 . 38053218 .
  13. Amblard . Pierre-Olivier . Michel . Olivier . The Relation between Granger Causality and Directed Information Theory: A Review . Entropy . 28 December 2012 . 15 . 1 . 113–143 . 10.3390/e15010113 . 1211.3169 . 2012Entrp..15..113A . free .
  14. Jiao . Jiantao . Permuter . Haim H. . Zhao . Lei . Kim . Young-Han . Weissman . Tsachy . Universal Estimation of Directed Information . IEEE Transactions on Information Theory. October 2013 . 59 . 10 . 6220–6242 . 10.1109/TIT.2013.2267934 . 1201.2334 . 10855063 .
  15. Quinn . Christopher J. . Kiyavash . Negar . Coleman . Todd P. . Directed Information Graphs . IEEE Transactions on Information Theory. December 2015 . 61 . 12 . 6887–6909 . 10.1109/TIT.2015.2478440. 1204.2003 . 3121664.
  16. Naiss . Iddo . Permuter . Haim H. . Extension of the Blahut–Arimoto Algorithm for Maximizing Directed Information . IEEE Transactions on Information Theory. January 2013 . 59 . 1 . 204–222 . 10.1109/TIT.2012.2214202 . 3115749 . 1012.5071.
  17. Permuter . Haim . Cuff . Paul . Van Roy . Benjamin . Weissman . Tsachy . Capacity of the Trapdoor Channel With Feedback . IEEE Transactions on Information Theory. July 2008 . 54 . 7 . 3150–3165 . 10.1109/TIT.2008.924681. cs/0610047 . 1265.
  18. Elishco . Ohad . Permuter . Haim . Capacity and Coding for the Ising Channel With Feedback . IEEE Transactions on Information Theory. September 2014 . 60 . 9 . 5138–5149 . 10.1109/TIT.2014.2331951 . 1205.4674 . 9761759.
  19. Sabag . Oron . Permuter . Haim H. . Kashyap . Navin . The Feedback Capacity of the Binary Erasure Channel With a No-Consecutive-Ones Input Constraint . IEEE Transactions on Information Theory. January 2016 . 62 . 1 . 8–22 . 10.1109/TIT.2015.2495239 . 476381.
  20. Peled . Ori . Sabag . Oron . Permuter . Haim H. . Feedback Capacity and Coding for the $(0,k)$ -RLL Input-Constrained BEC . IEEE Transactions on Information Theory. July 2019 . 65 . 7 . 4097–4114 . 10.1109/TIT.2019.2903252 . 1712.02690 . 86582654.
  21. Book: Aharoni . Ziv . Tsur . Dor . Goldfeld . Ziv . Permuter . Haim Henry . 2020 IEEE International Symposium on Information Theory (ISIT) . Capacity of Continuous Channels with Memory via Directed Information Neural Estimator . 2003.04179 . June 2020 . 2014–2019 . 10.1109/ISIT44484.2020.9174109 . 978-1-7281-6432-8 . 212634151.
  22. Aharoni . Ziv . Sabag . Oron . Permuter . Haim Henri . Reinforcement Learning Evaluation and Solution for the Feedback Capacity of the Ising Channel with Large Alphabet . 18 August 2020 . cs.IT . 2008.07983.
  23. Sabag . Oron . Permuter . Haim Henry . Pfister . Henry . A Single-Letter Upper Bound on the Feedback Capacity of Unifilar Finite-State Channels . IEEE Transactions on Information Theory. March 2017 . 63 . 3 . 1392–1409. 10.1109/TIT.2016.2636851 . 1604.01878 . 3259603 .
  24. Sabag . Oron . Huleihel . Bashar . Permuter . Haim Henry . Graph-Based Encoders and their Performance for Finite-State Channels with Feedback . IEEE Transactions on Communications. 2020 . 68 . 4 . 2106–2117 . 10.1109/TCOMM.2020.2965454 . 1907.08063 . 197544824.
  25. Marko . Hans . Die Theorie der bidirektionalen Kommunikation und ihre Anwendung auf die Nachrichtenübermittlung zwischen Menschen (Subjektive Information) . Kybernetik . 1 September 1966 . 3 . 3 . 128–136 . 10.1007/BF00288922 . 5920460 . 33275199 . de . 1432-0770.
  26. Marko . H. . The Bidirectional Communication Theory--A Generalization of Information Theory . IEEE Transactions on Communications . December 1973 . 21 . 12 . 1345–1351 . 10.1109/TCOM.1973.1091610. 51664185 .