Transfer Entropy

Statistics
Introduced by
Thomas Schreiber
Year
2000
Type
Non-parametric information-theoretic measure
Family
Information-theoretic causality

What does it do?

Transfer Entropy (TE) is a non-parametric, information-theoretic measure of directed statistical dependence between two time series, introduced by Thomas Schreiber in 2000.

It quantifies how much the past of one process Y reduces uncertainty about the next state of another process X, beyond what X's own past already provides. TE makes no parametric model assumption about the coupling, so it can detect nonlinear interactions, but it still assumes stationary or near-stationary series, and its estimates depend on sample size and estimation choices.

The intuition behind the method

Imagine two drummers playing in a room. If knowing what drummer Y played in the last few beats helps you predict what drummer X will play next, over and above what you could already guess from X's own recent pattern, then Y is transferring information to X. Transfer Entropy measures this additional predictive gain. A larger gain indicates a stronger directional dependence from Y to X, whether the relationship is linear or nonlinear.

History

Thomas Schreiber introduced Transfer Entropy in a 2000 Physical Review Letters paper, Measuring information transfer. The motivation given in the paper is that time-delayed mutual information cannot distinguish information that is actually exchanged between two systems from information they share through common history or input. Conditioning the transition probabilities on the past of the target removes these shared influences, which makes the measure suitable for identifying driving and responding elements.

When to use it

Transfer Entropy is appropriate when you suspect directional coupling between two time series, may expect nonlinear dependence, and do not want to fit a parametric model. It has been applied to neural spike trains, financial market series, climate variables and engineered systems, and the choice of embedding must suit the length of your record. Choose a different tool when records are short relative to the embedding dimensions, because density estimates become unreliable, or when the series are strongly non-stationary and cannot be detrended or differenced. If the relationship is expected to be linear and a fast test is needed, Granger causality is the simpler option; convergent cross-mapping is a candidate when the system is suspected to be deterministic and only weakly coupled.

Limitations and considerations

  • Results depend on the embedding lengths k and l and on the probability estimator (binning, kernel or k-nearest-neighbour); different choices can change the apparent direction or strength of coupling.
  • Estimates require substantial sample sizes relative to the embedding dimensions, and the estimator becomes noisy and biased for short records.
  • Without conditioning on additional variables, TE does not separate direct influence from indirect paths or from common drivers of X and Y.
  • Computational cost rises quickly with embedding length and with multivariate extensions that include many variables.
  • The formula describes a one-step-ahead transition, so the value depends on the chosen embedding lengths k and l and on the time lag at which Y is compared with X; report these alongside any T(Y→X) value.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Model-free: the dependence is estimated from joint probabilities, so no functional form such as linearity or Gaussianity has to be assumed.
  • Directional by construction: conditioning on the past of X removes the information that X shares with its own history, so T(Y→X) and T(X→Y) can differ and reveal the net direction of exchange, as the original paper's abstract describes.
  • Interpretable scale: the value is an information quantity, so it can be read as a reduction in uncertainty about the next state of X, expressed in bits or nats.
  • Applicable to any pair of series for which joint probabilities can be estimated, across neuroscience, finance, climate science and engineering.

Applications

  • Neuroscience: estimating directed information flow between recorded neural signals, such as spike trains or electrophysiological time series.
  • Finance: examining asymmetric information flow between related asset series or trading venues.
  • Climate science: quantifying directional coupling between geophysical time series.
  • Engineering and control: identifying driver and response relationships in monitored industrial processes.
  • Social science and epidemiology: studying directed dependence in time-ordered behavioural or incidence data.

How it works

How it works

1

The algorithm first characterises the self-predictability of the target process X. The conditional entropy H(X_n | X_n^(k)) measures how uncertain the next state of X remains once its k most recent past states are known. This baseline serves as the reference against which the contribution of a second process Y is compared.

Formula
H(X_n \mid X_n^{(k)}) = -\sum_{x_n, x_n^{(k)}} p(x_n, x_n^{(k)}) \log p(x_n \mid x_n^{(k)})
2

TE from Y to X is an expected log-ratio of two transition probabilities, of the Kullback-Leibler type: one conditions on the past of X and the past of Y, the other conditions only on the past of X. A positive value means that Y's past carries predictive information about X's next state that is not already contained in X's own history.

Formula
T_{Y \to X} = \sum_{x_{n+1}, x_n^{(k)}, y_n^{(l)}} p(x_{n+1}, x_n^{(k)}, y_n^{(l)}) \log \frac{p(x_{n+1} \mid x_n^{(k)}, y_n^{(l)})}{p(x_{n+1} \mid x_n^{(k)})}
3

In practice the joint and conditional probabilities are estimated from finite data by histogram binning, kernel density estimation, or k-nearest-neighbour methods. The embedding lengths k (for X) and l (for Y), together with the bin width or kernel bandwidth, strongly affect the bias and variance of the estimate, so these choices must be made deliberately and reported.

Formula
\hat{p}(x_{n+1}, x_n^{(k)}, y_n^{(l)}) = \frac{1}{N} \sum_{n=1}^{N} \mathbf{1}\bigl[X_{n+1}{=}x_{n+1},\, X_n^{(k)}{=}x_n^{(k)},\, Y_n^{(l)}{=}y_n^{(l)}\bigr]
4

Finite-sample estimates of TE are generally positive even when X and Y are independent, so significance is assessed against a null distribution. Surrogate versions of the Y series are generated by permutation, and TE is recomputed for each surrogate. The observed TE is judged significant only if it exceeds most of the surrogate values, and multiple comparisons should be controlled where several pairs are tested.

Formula
T_{Y \to X}^{\text{surrogate}} \sim \text{permutation distribution}; \quad p\text{-value} = \frac{\#\{T^{\text{surr}} \geq T_{Y \to X}\}}{N_{\text{surr}}}

Common pitfalls

  • Ignoring stationarity: applying TE to non-stationary series without detrending or differencing can inflate the apparent information transfer.
  • Over-interpreting magnitude: raw TE values depend on the marginal entropies of each series, so they are not directly comparable across datasets; a normalised TE should be reported when comparing studies.
  • Too few surrogates: the p-value is a proportion over N_surr surrogates, so it can only change in steps of 1/N_surr. With a small surrogate count the resolution is too coarse to show significance at the intended threshold, so use enough surrogates that these steps are finer than the significance level you plan to apply.
  • Ignoring common drivers: a shared external input to both X and Y can produce substantial TE in both directions even when neither series influences the other.

Frequently asked questions

How does Transfer Entropy differ from Granger causality?

Granger causality asks whether past values of Y improve a linear predictive model of X. Transfer Entropy asks the same question in terms of information and does not require a linear model, so it can detect nonlinear coupling that a linear test would miss. Under Gaussian linear assumptions the two measures can be related, but outside that setting they should not be treated as equivalent. The cost of the more general measure is higher data demand and greater sensitivity to estimation choices.

What embedding lengths k and l should I choose?

There is no universal answer, so the choice should be checked rather than assumed. Compute TE over a range of k and l values and examine how the estimate changes. Select values where the estimate stabilises, and report them with the result. Starting with k = l = 1 and increasing gradually is a reasonable first step. Unnecessarily long embeddings increase estimation variance because the conditioning space becomes sparsely populated.

Can Transfer Entropy establish true causality?

No. TE is an observational measure of predictive information flow, not an interventional measure of causal effect. A common latent driver, measurement noise or non-stationarity can all produce positive TE without any direct causal link. Conditioning on additional variables, time-delayed comparisons, or controlled experiments are needed before a causal interpretation is justified.

Related methods

Sources

  1. Schreiber, T. (2000). Measuring information transfer. Physical Review Letters, 85(2), 461–464.

    Open DOI reference