TREET: TRansfer Entropy Estimation via Transformers

Omer Luxembourg, Dor Tsur, Haim Permuter
2/10/2024
6 citations
cs.ITcs.LG
transformer-attention

Official code: omerlux/TREET (6 stars, Python, MIT, last commit 2025-07-20).

Abstract

Transfer entropy (TE) is an information theoretic measure that reveals the directional flow of information between processes, providing valuable insights for a wide range of real-world applications. This work proposes Transfer Entropy Estimation via Transformers (TREET), a novel attention-based approach for estimating TE for stationary processes.

Show full abstract

The proposed approach employs Donsker-Varadhan representation to TE and leverages the attention mechanism for the task of neural estimation. We propose a detailed theoretical and empirical study of the TREET, comparing it to existing methods on a dedicated estimation benchmark. To increase its applicability, we design an estimated TE optimization scheme that is motivated by the functional representation lemma, and use it to estimate the capacity of communication channels with memory, which is a canonical optimization problem in information theory. We further demonstrate how an optimized TREET can be used to estimate underlying densities, providing experimental results. Finally, we apply TREET to feature analysis of patients with Apnea, demonstrating its applicability to real-world physiological data. Our work, applied with state-of-the-art deep learning methods, opens a new door for communication problems which are yet to be solved.

View on arXivView PDF

Code Implementations(1)

omerlux/TREETOfficial100%
MIT
61Python, ShellJan 24, 20241 years agoMIT

Similar Papers

Cite this paper

@article{luxembourg2024treet,
  title  = {TREET: TRansfer Entropy Estimation via Transformers},
  author = {Omer Luxembourg and Dor Tsur and Haim Permuter},
  year   = {2024},
  eprint = {2402.06919},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.06919v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.06919.svg)](https://codeofpaper.com/paper/2402.06919)

Discussion