Transfer Entropy Bottleneck: Learning Sequence to Sequence Information Transfer

Damjan Kalajdzievski, Ximeng Mao, Pascal Fortier-Poisson, Guillaume Lajoie, Blake A. Richards · DOI

Introduction

In sequence-to-sequence learning, models often leverage multiple data streams to improve predictive accuracy. Typically, these include a target stream ($Y$), which the model aims to predict, and a source stream ($X$), which provides additional context. However, a common failure mode in neural networks is "informational laziness." If the target's own history is a strong predictor of its future, the network may ignore subtle but critical signals from the source stream, treating them as noise.

Researchers from Mila and McGill University have addressed this challenge by introducing the Transfer Entropy Bottleneck (TEB). This framework applies information-theoretic principles to directed data flows, forcing models to isolate and utilize the specific information that only the source can provide—a concept known as transfer entropy.

The Problem: The Joint Correlation Trap

When predicting the future of a target stream $Y'$ using both its history $Y$ and a source $X$, standard models often fall into a "joint correlation trap." Because the history of a process is usually highly correlated with its future, a neural network can achieve low training error by focusing solely on $Y$, effectively bypassing $X$.

This is problematic in scenarios where $X$ contains unique information about the future of $Y$ that is absent from $Y$’s own history. For instance, in weather forecasting, a sudden shift in barometric pressure (source) might be the only indicator of a coming storm, even if the temperature (target) has remained stable for hours. Furthermore, in industrial settings, practitioners often possess high-performing legacy models for the target stream. There is a significant need for a modular approach that can "plug in" to these existing models to extract additional value from new data sources without requiring a full retrain.

Methodology: Conditional Minimum Necessary Information

TEB is built upon the Conditional Minimum Necessary Information (CMNI) principle. While the traditional Information Bottleneck (IB) minimizes the information a latent variable $Z$ carries about an input $X$ while maximizing its predictive power for a target, TEB applies this constraint conditionally.

The Objective

The TEB objective minimizes the information $Z$ carries about the source $X$ given the target history $Y$, while simultaneously maximizing the predictive power for the future target $Y'$. Mathematically, this forces the latent representation to discard any information in $X$ that is redundant with $Y$, focusing strictly on the "innovation" or transfer entropy.

Architecture and Flexibility

The model architecture typically employs two encoders (one for $X$, one for $Y$) and LSTMs to aggregate temporal dependencies. These are integrated into a latent representation $Z$ via a Variational Information Bottleneck (VIB) approach.

A key innovation is the contextual version, TEB$^c$. This variant allows the use of a fixed, pre-trained model for the target stream's history. The TEB module then learns to encode only the supplemental information from the source stream required to improve the pre-trained model's predictions, enabling efficient, modular learning.

Experimental Evaluation

The authors evaluated TEB across three synthetic tasks designed to test directed information transfer:

  1. Rotating MNIST: A video sequence of a rotating digit where the digit class occasionally switches. The source $X$ provides the class label for the next frame, which is impossible to determine from the video history alone.
  2. Needle in a Haystack: A video of bouncing balls where colors change. The source $X$ contains a single "needle pixel" among numerous noisy distractors that predicts the next color change.
  3. Multi-component Sinusoids: A time-series task where the signal is an average of five waves. When a wave's frequency changes, the source $X$ provides the new frequency.

Key Results

  • Superior Accuracy: In the "Needle in a Haystack" task with 20 distractors, TEB achieved 68.37% color prediction accuracy. This significantly outperformed deterministic baselines (59.97%) and joint stream models like CEB (~40%), which failed to distinguish the predictive signal from the joint noise.
  • Robustness to Noise: In the sinusoid task, TEB outperformed LSTMs and latentODE-VIB models, particularly during "switch" events where source information was the only viable predictor.
  • Quantifiable Transfer: The experiments demonstrated that TEB successfully isolates directed information. The latent variable $Z$ captures only the information from $X$ relevant to $Y$ after accounting for $Y$'s history.

Insights and Future Directions

One of the most significant findings is the existence of a "bifurcation point" in the hyperparameter $eta$ (which controls the compression-prediction trade-off). At a specific value of $eta$, the model's internal information metric aligns with the true mathematical transfer entropy of the dataset. This suggests that TEB can serve as a tool for estimating the actual information flow between two processes.

While the current results are based on synthetic datasets, they provide a robust proof of concept for overcoming the "laziness" of standard sequence models. Future work will focus on applying TEB to real-world multimodal data, such as medical time-series and financial modeling, where identifying subtle external influences is critical for predictive success.

Summary updated

BibTeX
@article{kalajdzievski2023transfer,
  author = {Damjan Kalajdzievski and Ximeng Mao and Pascal Fortier-Poisson and Guillaume Lajoie and Blake A. Richards},
  title = {{Transfer Entropy Bottleneck: Learning Sequence to Sequence Information Transfer}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2023},
  url = {https://openreview.net/forum?id=0lYjjCrQzQ},
}
Figure