ArticleslgStudy

science

Directed information

Directed information is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Directed information rather than just read about it. In short: 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 I(Xn→Yn)≜∑i=1nI(Xi;Yi|Yi−1) where I(Xi;Yi|Yi−1) is the conditional mutual information I(X1,X2,...,Xi;Yi|Y1,Y2,...,Yi−1).

Key takeaways

  • Directed information belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Directed information to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Directed information from memory before moving on to harder problems.

Reference excerpt

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

I(Xn→Yn)≜∑i=1nI(Xi;Yi|Yi−1) where I(Xi;Yi|Yi−1) 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, capacity of discrete memoryless networks, capacity of networks with in-block memory, gambling with causal side information, compression with causal side information, real-time control communication settings, and statistical physics.

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

P(xn||yn)≜∏i=1nP(xi|xi−1,yi). This is similar to the chain rule for conventional conditioning P(xn|yn)=∏i=1nP(xi|xi−1,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))≜∏i=1nP(xi|xi−1,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)≜∏i=1nP(xi|xi−1,yi,zi).

Causally conditioned entropy The causally conditioned entropy is defined as:

H(Xn||Yn)=𝐄[−log⁡P(Xn||Yn)]=∑i=1nH(Xi|Xi−1,Yi) Similarly, one may causally condition on multiple strings and write H(Xn||Yn,Zn)=𝐄[−log⁡P(Xn||Yn,Zn)].

Properties A decomposition rule for causal conditioning 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 probabilityP(yn||xn)=∏i=1nP(yi|yi−1,xi) is a probability vector, i.e.,

P(yn||xn)≥0and∑ynP(yn||xn)=1for all (xn,yn). Directed Information can be written in terms of causal conditioning:

I(XN→YN)=𝐄[log⁡P(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(Xn→Yn||Zn)=H(Yn||Zn)−H(Yn||Xn,Zn).

Conservation law of information This law, established by James Massey and his son Peter Massey, 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→Yn)+I(Yn−1→Xn). Two alternative forms of this law are

I(Xn;Yn)=I(Xn→Yn)+I(Yn→Xn)−I(Xn↔Yn) I(Xn;Yn)=I(Xn−1→Yn)+I(Yn−1→Xn)+I(Xn↔Yn) where I(Xn↔Yn)=∑i=1nI(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,yi|xi−1,yi−1)i=1n} which may be unknown. There are several algorithms based on context tree weighting and empirical parametric distributions and using long short-term memory.

Optimization Maximizing directed information is a fundamental problem in information theory. For example, given the channel distributions {P(yi|xi,yi−1}i=1n), the objective might be to optimize I(Xn→Yn) over the channel input distributions {P(xi|xi−1,yi−1}i=1n). There are algorithms to optimize the directed information based on the Blahut-Arimoto, Markov decision process, Recurrent neural network, Reinforcement learning. and Graphical methods (the Q-graphs). For the Blahut-Arimoto algorithm, the main idea is to start with the last mutual information of the directed information expression and go backward. For the Markov decision process, the main ideas is to transform the optimization into an infinite horizon average reward Markov decision process. For a Recurrent neural network, the main idea is to model the input distribution using a Recurrent neural network and optimize the parameters using Gradient descent. For Reinforcement learning, 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. 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=limn→∞𝐄[−log⁡P(Xn|Xn−1)P(Xn|Xn−1,Yn−1)]andT21=limn→∞𝐄[−log⁡P(Yn|Yn−1)P(Yn|Yn−1,Xn−1)]. Marko defined several other quantities, including:

Total information: H1=limn→∞𝐄[−log⁡P(Xn|Xn−1)] and H2=limn→∞𝐄[−log⁡P(Yn|Yn−1)] Free information: F1=limn→∞𝐄[−log⁡P(Xn|Xn−1,Yn−1)] and F2=limn→∞𝐄[−log⁡P(Yn|Yn−1,Xn−1)] Coincidence: K=limn→∞𝐄[−log⁡P(Xn|Xn−1)P(Yn|Yn−1)P(Xn,Yn|Xn−1,Yn−1)]. 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→Y=I(Xi−d,…,Xi−1;Yi|Yi−d,…,Yi−1). 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→Y does not depend on the time i.

References

Worked examples

Example 1 — a first encounter with Directed information

Start with the simplest possible case. Write down what Directed information claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Directed information before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Directed information ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Directed information

In research
Directed information appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Directed information in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Directed information is common in secondary-school and first-year university syllabi. It links to neighbouring topics Information theory, so understanding it makes those chapters shorter.
In everyday life
Look for Directed information outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Directed information” →

How to study Directed information in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Directed information means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Directed information out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Directed information in simple terms?

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 I(Xn→Yn)≜∑i=1nI(Xi;Yi|Yi−1) where I(Xi;Yi|Yi−1) is the c…

Why does Directed information matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Directed information?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Directed information.

Tags

  • Information theory

Keep exploring