TENDE: Transfer Entropy Neural Diffusion Estimation

Simon Pedro Galeano Munoz, Maurizio Filippone, Giulio Franzese, Mustapha Bounoua, Pietro Michiardi

TL;DR

The paper introduces TENDE (Transfer Entropy Neural Diffusion Estimation), a novel framework that leverages score-based diffusion models to accurately estimate transfer entropy in complex time series. By framing transfer entropy as conditional mutual information and learning the underlying score functions, TENDE overcomes the curse of dimensionality and restrictive distributional assumptions that plague traditional estimators.

What Problem Does This Paper Address?

Understanding directed information flow—determining whether variable $X$ influences variable $Y$ or vice versa—is a foundational challenge in fields like neuroscience (mapping brain regions) and finance (assessing asset risk). Transfer Entropy (TE) is the gold-standard metric for this, as it quantifies directed dependencies without assuming a specific functional relationship.

However, calculating TE in practice is notoriously difficult. It requires estimating high-dimensional conditional probability distributions that factor in both current values and historical time lags. Existing methods fall short in three major ways:

  1. Traditional methods (like $k$-nearest neighbors) suffer from the curse of dimensionality.
  2. Parametric or copula-based methods impose restrictive assumptions on the underlying data distribution.
  3. Recent neural estimators rely on variational lower bounds (e.g., the Donsker-Varadhan bound), which require exponentially large datasets to converge reliably.

TENDE aims to provide a flexible, scalable, and distribution-agnostic estimator that works even in high-dimensional settings with finite data.

Methods

TENDE bridges the gap between generative modeling and information theory by utilizing score-based diffusion models.

The core mathematical insight is that the Kullback-Leibler (KL) divergence between two distributions can be expressed as an integral over time of the squared difference between their diffused score functions (the gradients of the log-densities). Because Transfer Entropy can be rewritten as Conditional Mutual Information (CMI), which in turn decomposes into KL divergences or conditional entropies, diffusion models can be used as the computational engine.

The authors propose four distinct CMI estimators based on different algebraic identities (conditional vs. joint approaches, and entropy vs. explicit KL divergence).

Key Innovation: Single-Network Amortization

Standard diffusion approaches would require training separate neural networks to learn the score functions for each marginal and conditional distribution involved. To avoid this massive overhead, TENDE uses a single score network (a U-Net-style MLP). The network accepts an encoding vector (e.g., [1, 0, 0], [1, -1, 0]) alongside the data to dynamically specify whether a variable is the target, a conditioning signal, or marginalized out. This amortizes the learning process into one highly efficient model.

Datasets

The authors evaluated TENDE using both synthetic benchmarks and real-world physiological data:

  • Synthetic Benchmarks:
  • A linear Gaussian vector autoregressive (VAR) system.
  • A nonlinear "joint system" bivariate process.
  • High-dimensional variants created via redundant stacking (adding pure noise dimensions) and linear stacking (concatenating independent process copies) up to 70 dimensions.
  • Real-World Data: The Santa Fe Time Series Competition Data Set B, which consists of synchronized, non-stationary physiological measurements (heart rate and respiration force) from a patient in a sleep laboratory.

Key Insights and Ideas

  • Bypassing the Variational Trap: Unlike popular neural mutual information estimators (like MINE or TREET) that optimize variational lower bounds, TENDE uses denoising score matching. This frees the estimator from the pessimistic sample complexity limits highlighted in recent literature, preventing variance explosions in high dimensions.
  • Common-Mode Error Cancellation: Because TENDE computes the difference between two estimated score functions, any systematic errors or biases the neural network introduces to both scores tend to cancel out, enhancing robustness.
  • True Additivity: In linearly stacked systems where independent processes are concatenated, TE should theoretically scale linearly. TENDE is one of the few models that successfully captures this additive property in high dimensions without collapsing.

Key Results

Synthetic Convergence and Robustness

TENDE consistently converged to the analytical ground truth as sample sizes increased from $T=500$ to $T=10000$.

Transfer entropy estimation across sample sizes

When subjected to redundant stacking (adding up to 10 noise dimensions), TENDE maintained stable, accurate estimates. In contrast, competing neural estimators like TREET exhibited massive variance and even produced impossible negative entropy estimates.

Transfer entropy estimation with added redundant dimensions

High-Dimensional Scaling (70 Dimensions)

In the 70-dimensional linear stacking benchmark (ground truth TE = 14.53 nats), traditional baselines completely failed, remaining below 1.3 nats. TENDE variants significantly outperformed them, achieving ~6.9 nats at $T=10000$ and climbing dramatically to 10.86 nats when given more data ($T=50000$).

Real-World Validation

On the Santa Fe dataset, TENDE successfully captured the well-documented asymmetric coupling from respiration force to heart rate. It provided stable, physically interpretable curves across different time lags ($k$), whereas baseline methods yielded massive error bars or severely underestimated the relationship.

Transfer entropy between breathing and heart signals

Limitations and Future Work

Despite its strengths, TENDE inherits the primary drawback of diffusion models: computational cost. Training the score network on a single pair of one-dimensional time series ($T=10000$) takes approximately 20 minutes on an NVIDIA A100 GPU.

Additionally, the current framework assumes joint stationarity across temporal windows. The authors note that promising future directions include extending TENDE to handle nonstationary dynamics and exploring amortization across different time lags to further boost efficiency.

Summary updated

BibTeX
@inproceedings{munoz2026tende,
  author = {Simon Pedro Galeano Munoz and Maurizio Filippone and Giulio Franzese and Mustapha Bounoua and Pietro Michiardi},
  title = {{TENDE: Transfer Entropy Neural Diffusion Estimation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=Cje2pdPusB},
}
Figure