Directed information explained
Directed information is an information theory measure that quantifies the information flow from the random string
to the random string
. The term
directed information was coined by
James Massey and is defined as
[1]
where
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
causally conditioned on
is defined as
[5]
.This is similar to the chain rule for conventional conditioning
except one conditions on "past" and "present" symbols
rather than all symbols
. To include "past" symbols only, one can introduce a delay by prepending a constant symbol:
P(xn||(0,yn-1))\triangleq
,yi-1)
.It is common to abuse notation by writing
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
,yi,zi)
.
Causally conditioned entropy
The causally conditioned entropy is defined as:[2]
H(Xn||Yn)=E\left[-log{P(Xn||Yn)}
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
gives a joint distribution
.
The causal conditioning probability
is a probability vector, i.e.,
P(yn||xn)\geq0 and
P(yn||xn)=1 forall(xn,yn)
.
Directed Information can be written in terms of causal conditioning:[2]
I(XN → YN)=E\left[log
\right]=H(Yn)-H(Yn||Xn)
.
The relation generalizes to three strings: the directed information flowing from
to
causally conditioned on
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
, 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)=
I(Xi;Yi|Xi-1,Yi-1)
.
Estimation and optimization
Estimating and optimizing the directed information is challenging because it has
terms where
may be large. In many cases, one is interested in optimizing the limiting average, that is, when
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
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
, the objective might be to optimize
over the channel input distributions
.
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
, one conditions on past symbols
only and one takes limits:
T12=\limnE\left[-log
| P(Xn|Xn-1) |
P(Xn|Xn-1,Yn-1) |
\right] and T21=\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:
and
He also defined quantities he called
residual entropies:
and developed the conservation law
and several bounds.
Relation to transfer entropy
Directed information is related to transfer entropy, which is a truncated version of Marko's directed transinformation
.
The transfer entropy at time
and with memory
is
TX=I(Xi-1,...,Xi-d;Yi|Yi-1,...,Yi-d).
where one does not include the present symbol
or the past symbols
before time
.
Transfer entropy usually assumes stationarity, i.e.,
does not depend on the time
.
Notes and References
- Massey . James . Causality, Feedback And Directed Information . Proceedings 1990 International Symposium on Information Theory and its Applications, Waikiki, Hawaii, Nov. 27-30, 1990 . 1990.
- Doctoral . Kramer . Gerhard . 1998 . Directed information for channels with feedback . 10.3929/ethz-a-001988524 . ETH Zurich . 20.500.11850/143796 . en.
- Doctoral . Tatikonda . Sekhar Chandra . 2000 . Control under communication constraints . Massachusetts Institute of Technology. 1721.1/16755 .
- 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.
- 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.
- 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 .
- 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.
- 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.
- 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.
- 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 .
- 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.
- 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 .
- 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 .
- 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 .
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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 .
- 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.
- 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.
- 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 .