# 传递熵

传递熵是一种信息论度量，用于量化从源时间序列到目标时间序列的有向信息流，且该信息流超出目标自身过去所能解释的部分。托马斯·施赖伯（Thomas Schreiber）于 2000 年提出这一概念，用以检测动力系统之间非对称的、可能是非线性的耦合；在那种场合，时延互信息无能为力，因为它无法把真正交换的信息与经由共同历史或共同输入而共享的信息区分开来。<sup>[1](https://harvest.aps.org/v2/journals/articles/10.1103/PhysRevLett.85.461/fulltext)</sup>

| 关键事实 | 内容 |
|---|---|
| 提出者 | 托马斯·施赖伯（Thomas Schreiber），《物理评论快报》（Physical Review Letters）85, 461 (2000)<sup>[1](https://harvest.aps.org/v2/journals/articles/10.1103/PhysRevLett.85.461/fulltext)</sup> |
| 形式定义 | 以目标过去为条件的、源过去与目标未来之间的条件互信息<sup>[2](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0055809)</sup> |
| 方向性 | 非对称；可区分驱动方与响应方<sup>[1](https://harvest.aps.org/v2/journals/articles/10.1103/PhysRevLett.85.461/fulltext)</sup> |
| 高斯等价性 | 对联合高斯变量，格兰杰因果 \( F = 2T \)<sup>[3](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.103.238701)</sup> |
| 代入式估计偏差 | 高噪声情形下，归一化偏差在 \( T = 100 \) 时约为 0.35，在 \( T = 1000 \) 时约为 0.05<sup>[4](https://arxiv.org/html/2506.16215v1)</sup> |
| 主要软件 | TRENTOOL、JIDT、MuTE、IDTxl、infomeasure、RTransferEntropy<sup>[5](https://arxiv.org/pdf/1807.10459)</sup> |

## 工作原理

传递熵以维纳原理为基石：若已知源的过去，能够改善对目标未来的预测，且这种改善超出目标自身过去所提供的信息，则称该源驱动了目标。施赖伯将其形式化为施加在转移概率之上的库尔巴克熵；如今它通常写作源过去与目标下一状态之间的条件互信息，并以目标的过去为条件。<sup>[2](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0055809)</sup> 帕卢什（Paluš）指出，这一度量可以改写为条件互信息，而这也正是现代大多数文献采用的定义方式。<sup>[6](https://link.springer.com/article/10.1007/s10827-010-0262-3)</sup> 设长度为 \( k \) 的源历史 \( \mathbf{x}_n^{(k)} \)、长度为 \( l \) 的目标历史 \( \mathbf{y}_n^{(l)} \)，以及可选的条件变量 \( \mathbf{z}_n^{(m)} \)，则条件形式可分解为四个香农熵：<sup>[7](https://infomeasure.readthedocs.io/en/latest/guide/cond_te/)</sup>

\[ T_{X \to Y \mid Z} = H(y_{n+1}, \mathbf{y}_n^{(l)}, \mathbf{z}_n^{(m)}) - H(\mathbf{y}_n^{(l)}, \mathbf{z}_n^{(m)}) - H(y_{n+1}, \mathbf{y}_n^{(l)}, \mathbf{x}_n^{(k)}, \mathbf{z}_n^{(m)}) + H(\mathbf{y}_n^{(l)}, \mathbf{x}_n^{(k)}, \mathbf{z}_n^{(m)}). \]

以目标的过去为条件，正是为了从共同历史中剔除共享信息；若再以已知的共同驱动 \( Z \) 为条件，则可剔除共享输入的影响——这是条件传递熵的早期表述。<sup>[1](https://harvest.aps.org/v2/journals/articles/10.1103/PhysRevLett.85.461/fulltext)</sup>

## 实现方法

把状态空间划分为若干区间（分箱）来做朴素估计存在问题；这类估计量常常无法收敛到正确结果。<sup>[3](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.103.238701)</sup> 分箱的可扩展性也很差：历史状态空间随维数呈指数增长，使分箱对高采样率数据不切实际。<sup>[8](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1008054)</sup> 实践中，大多数连续数据分析都采用 Kraskov–Stögbauer–Grassberger（KSG）最近邻互信息估计量。<sup>[9](https://doi.org/10.1103/physreve.69.066138)</sup> 用一个个科扎琴科－列昂年科熵项去分别估计传递熵并不妥当，因为非均匀密度带来的偏差取决于各自空间的维数，且不会相互抵消；KSG 的技巧是在联合空间中固定近邻质量 \( k_{\text{NN}} \)，再把距离投影到各个边缘空间，由此克服这一困难。<sup>[6](https://link.springer.com/article/10.1007/s10827-010-0262-3)</sup>

最近邻估计至少依赖五个参数：嵌入延迟 \( \tau \)、嵌入维数 \( d \)、近邻质量 \( k_{\text{NN}} \)（Kraskov、Stögbauer 与 Grassberger 建议取 \( k_{\text{NN}} = 4 \)）、Theiler 校正窗口 \( W \)，以及预测时间 \( u \)。<sup>[6](https://link.springer.com/article/10.1007/s10827-010-0262-3)</sup> TRENTOOL 的处理流程采用 Takens 延迟嵌入，参数由拉格维茨准则优化；它把传递熵改写为四个微分熵的组合，再用改进的 KSG 估计量逐一估计；扫描延迟参数即可恢复主导的相互作用延迟。<sup>[2](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0055809)</sup>

显著性通常借助替代数据来检验，但替代数据必须编码正确的零假设。打乱顺序或平移时间所生成的替代数据，与原历史样本并不同分布，检验的是错误的零假设，在强共同驱动下会造成极高的假阳性率；采用符合正确的条件独立零假设的局部置换方案，即可解决这一问题。<sup>[8](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1008054)</sup> 在网络推断中，IDTxl 的多元算法先在目标自身的过去与各源的过去中找出相关变量，对条件集进行剪枝，再做最终的整体综合检验与逐变量检验；默认设置为 500 次置换、α 取 0.05，并在网络层面施加 FDR 校正。<sup>[10](https://pwollstadt.github.io/IDTxl/html/idtxl_network_inference.html)</sup> 当需要检验的连接很多时，邦费罗尼校正取 \( \alpha_c = \alpha/M \)，其中 \( M \) 为受检连接数。<sup>[11](https://doi.org/10.1007/s10827-010-0271-2)</sup>

偏差与样本量之间相互作用很强。标准的代入式传递熵在箱计数稀疏时带有可观的正偏差，对完全互不相关的序列也会给出远大于零的数值：在高噪声情形下，\( N = 100 \) 时归一化偏差约为 0.35，而且随着基数或滞后 \( k, l \) 的增大而进一步恶化。<sup>[4](https://arxiv.org/html/2506.16215v1)</sup> 在高维情形下，所有 k 近邻估计量都表现出不可忽略的偏差，这是维数灾难所致。<sup>[12](https://mdpi-res.com/d_attachment/entropy/entropy-17-04173/article_deploy/entropy-17-04173.pdf?version=1434451808)</sup>

## 起源

传递熵由托马斯·施赖伯（德国德累斯顿马克斯·普朗克复杂系统物理研究所）在《测量信息传递》（Measuring Information Transfer）一文中提出，刊于《物理评论快报》第 85 卷第 461 页，2000 年 1 月 19 日收稿。<sup>[1](https://harvest.aps.org/v2/journals/articles/10.1103/PhysRevLett.85.461/fulltext)</sup> 它是在信息论框架内对维纳因果度量的一次严格推导；更早的尝试用延迟互信息来构造非对称度量，但该量受共同历史与共享输入之累而有缺陷。<sup>[6](https://link.springer.com/article/10.1007/s10827-010-0262-3)</sup> 此前与之最接近的因果度量是格兰杰因果，由克莱夫·格兰杰（C. W. J. Granger）于 1969 年在《计量经济学》（Econometrica）上提出。<sup>[13](https://doi.org/10.2307/1912791)</sup> 莱昂内尔·巴尼特（Lionel Barnett）、亚当·B. 巴雷特（Adam B. Barrett）与阿尼尔·K. 塞思（Anil K. Seth）在《物理评论快报》第 103 卷第 238701 号文章（2009）上证明，对高斯变量而言二者完全等价，从而在自回归路径与信息论路径之间架起了因果推断的桥梁：\( F_{Y \to X \mid Z} = 2\,T_{Y \to X \mid Z} \)。<sup>[3](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.103.238701)</sup>

## 变体

无条件版本常被称为表观传递熵；条件传递熵以其他源 \( Z \) 为条件，以免共同驱动的冗余影响被归到目标头上；完全传递熵则以所有其他因果源为条件。<sup>[14](https://lizier.me/joseph/publications/2014-Lizier-MeasuringInfoDynamicsLocalScaleChapter.pdf)</sup> 多元传递熵把定义推广到取值为集合的源变量与目标变量，\( T_k(Y \to X) = I(Y; X_0 \mid X^{(k)}) \)，可以捕捉单变量分析无法察觉的集体相互作用，例如异或型传递；这种多元构造有时也被称作条件传递熵。<sup>[11](https://doi.org/10.1007/s10827-010-0271-2)</sup> 局部（逐点）传递熵则把信息传递归因于特定时间步上的具体实现。<sup>[14](https://lizier.me/joseph/publications/2014-Lizier-MeasuringInfoDynamicsLocalScaleChapter.pdf)</sup>

其他有名称的变体还包括：符号传递熵，它从序列的相对序数结构估计相关概率，并有面向瞬态信号的时间分辨扩展，<sup>[14](https://lizier.me/joseph/publications/2014-Lizier-MeasuringInfoDynamicsLocalScaleChapter.pdf)</sup><sup> • </sup><sup>[15](https://doi.org/10.1103/physreve.83.011919)</sup> 补偿传递熵，它修改定义以补偿生理时间序列中的瞬时耦合，<sup>[16](https://doi.org/10.3390/e15010198)</sup> 以及雷尼传递熵，它引入一个权重参数 \( q \)，当 \( q \to 1 \) 时收敛到香农形式，且可能取负值。<sup>[17](https://cran.r-project.org/web/packages/RTransferEntropy/vignettes/transfer-entropy.html)</sup>

机器学习估计量已走到前台。AGM-TE 根据两个可择一使用的概率预测模型在预测能力上的差异来估计传递熵，在涵盖 100 余项估计任务的基准测试集上取得了迄今报道的最佳精度与数据效率，并支持条件传递熵以减轻混杂。<sup>[18](https://proceedings.mlr.press/v275/kornai25a.html)</sup> 在统计一侧，约简传递熵校正了代入式偏差，允许取负值，依据最小描述长度原理进行模型选择，并且无需置换模拟即可完成完全非参数的显著性评估。<sup>[4](https://arxiv.org/html/2506.16215v1)</sup>

软件实现包括：TRENTOOL Matlab 工具箱，<sup>[19](https://doi.org/10.1186/1471-2202-12-119)</sup> Java 信息动力学工具包（Java Information Dynamics Toolkit，JIDT），<sup>[20](https://doi.org/10.3389/frobt.2014.00011)</sup> 用于比较各种多元估计量的 MuTE Matlab 工具箱，<sup>[21](https://doi.org/10.1371/journal.pone.0109462)</sup> IDTxl——它整合并扩展了 TRENTOOL 与 JIDT，提供线性高斯与非线性 KSG 估计量，并有 CPU 与 GPU 两套实现，<sup>[5](https://arxiv.org/pdf/1807.10459)</sup> infomeasure 软件包——提供离散、核、KSG、序数与雷尼–察利斯估计量，<sup>[7](https://infomeasure.readthedocs.io/en/latest/guide/cond_te/)</sup> 以及 RTransferEntropy——计算香农与雷尼传递熵，并配以基于自助法的显著性检验。<sup>[17](https://cran.r-project.org/web/packages/RTransferEntropy/vignettes/transfer-entropy.html)</sup>

## 应用

在施赖伯最初的生理学示例（圣菲睡眠呼吸暂停数据）中，传递熵发现自心率流向呼吸率的信息强于反方向，而时延互信息却几乎是对称的。<sup>[1](https://harvest.aps.org/v2/journals/articles/10.1103/PhysRevLett.85.461/fulltext)</sup> 神经科学方面的应用包括：以优化嵌入参数与置换检验开展的脑磁图（MEG）有效连接分析，<sup>[6](https://link.springer.com/article/10.1007/s10827-010-0262-3)</sup> 用多元传递熵与邦费罗尼校正的替代数据检验分析的功能性磁共振成像（fMRI）网络，<sup>[11](https://doi.org/10.1007/s10827-010-0271-2)</sup> 以及锋电位序列——对后者，连续时间的 k 近邻估计量在多达 12 个条件过程的情形下仍能正确区分条件依赖与条件独立。<sup>[8](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1008054)</sup>

## 局限与替代方法

詹姆斯（James）、巴尼特与克拉奇菲尔德（Crutchfield）认为，传递熵及其派生的因果熵“实际上并未量化信息流”，并且可能同时高估信息流、低估影响。<sup>[22](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.116.238701)</sup> 在链式结构 \( X \to Z \to Y \) 中，尽管 \( X \) 并不直接影响 \( Y \)，传递熵 \( T_{X \to Y} > 0 \)；而以 \( Z \) 为条件的因果熵则等于零。<sup>[22](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.116.238701)</sup> 在部分信息分解的框架下，该度量还把独有信息与协同信息混为一谈，这也解释了它作为信息流度量为何屡屡失灵。<sup>[22](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.116.238701)</sup>

双变量分析可能推断出虚假或冗余的相互作用，同时漏掉多个源与目标之间的协同相互作用。<sup>[5](https://arxiv.org/pdf/1807.10459)</sup> 在猕猴连接组与合成网络上的验证中，双变量方法无法控制假阳性，而多元传递熵对较长的序列能更好地刻画关键的网路性质；以先前选出的源为条件，则可避免由共同驱动、通路效应或链式效应造成的虚假源。<sup>[23](https://pmc.ncbi.nlm.nih.gov/articles/PMC8233116/)</sup> 在带噪的长程时间依赖下，k 近邻估计量会严重高估传递熵，且几乎对真实依赖关系不敏感，因为它的四个联合熵项的误差偏差并不相互抵消。<sup>[24](https://proceedings.mlr.press/v180/garg22a/garg22a.pdf)</sup> 与格兰杰因果相比，k 近邻传递熵估计量的偏差更大，但方差更小。<sup>[12](https://mdpi-res.com/d_attachment/entropy/entropy-17-04173/article_deploy/entropy-17-04173.pdf?version=1434451808)</sup> 2025 年的一篇综述统一了各类信息论时间序列度量，指出格兰杰因果等价于用高斯密度估计量计算的传递熵，并且所涵盖的全部度量都可用 JIDT 与 pyspi 这两个开源软件包计算。<sup>[25](https://royalsocietypublishing.org/rsif/article/23/238/20250969/481767/Unifying-concepts-in-information-theoretic-time)</sup>

## References

1. [Measuring Information Transfer (Schreiber, Phys. Rev. Lett. 85, 461)](https://harvest.aps.org/v2/journals/articles/10.1103/PhysRevLett.85.461/fulltext)
2. [Measuring Information-Transfer Delays (Wibral et al., PLOS ONE, 2013)](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0055809)
3. [Granger Causality and Transfer Entropy Are Equivalent for Gaussian Variables (Barnett, Barrett & Seth, PRL 103, 238701)](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.103.238701)
4. [Transfer entropy for finite data (reduced transfer entropy)](https://arxiv.org/html/2506.16215v1)
5. [IDTxl: The Information Dynamics Toolkit xl (Wollstadt et al., 2018)](https://arxiv.org/pdf/1807.10459)
6. [Transfer entropy, a model-free measure of effective connectivity for the neurosciences (J Comput Neurosci)](https://link.springer.com/article/10.1007/s10827-010-0262-3)
7. [Conditional TE, infomeasure documentation](https://infomeasure.readthedocs.io/en/latest/guide/cond_te/)
8. [Estimating Transfer Entropy in Continuous Time Between Neural Spike Trains or Other Event-Based Data (PLOS Comput Biol, 2021)](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1008054)
9. [Alexander Kraskov, Harald Stögbauer, Peter Grassberger (2004). Estimating mutual information. Physical Review E.](https://doi.org/10.1103/physreve.69.066138)
10. [Algorithms for network inference, IDTxl 1.6.0 documentation](https://pwollstadt.github.io/IDTxl/html/idtxl_network_inference.html)
11. [Joseph T. Lizier and colleagues (2010). Multivariate information-theoretic measures reveal directed information structure and task relevant changes in fMRI connectivity. Journal of Computational Neuroscience.](https://doi.org/10.1007/s10827-010-0271-2)
12. [New k-Nearest Neighbors Estimators of Transfer Entropy (Entropy 17-04173)](https://mdpi-res.com/d_attachment/entropy/entropy-17-04173/article_deploy/entropy-17-04173.pdf?version=1434451808)
13. [C. W. J. Granger (1969). Investigating Causal Relations by Econometric Models and Cross-spectral Methods. Econometrica.](https://doi.org/10.2307/1912791)
14. [Measuring the dynamics of information processing on a local scale in time and space (Lizier chapter, 2014)](https://lizier.me/joseph/publications/2014-Lizier-MeasuringInfoDynamicsLocalScaleChapter.pdf)
15. [Marcel Martini and colleagues (2011). Inferring directional interactions from transient signals with symbolic transfer entropy. Physical Review E.](https://doi.org/10.1103/physreve.83.011919)
16. [Luca Faes, Giandomenico Nollo, Alberto Porta (2013). Compensated Transfer Entropy as a Tool for Reliably Estimating Information Transfer in Physiological Time Series. Entropy.](https://doi.org/10.3390/e15010198)
17. [RTransferEntropy vignette (Shannon and Rényi TE with inference)](https://cran.r-project.org/web/packages/RTransferEntropy/vignettes/transfer-entropy.html)
18. [AGM-TE: Approximate Generative Model Estimator of Transfer Entropy for Causal Discovery (CLeaR 2025, PMLR)](https://proceedings.mlr.press/v275/kornai25a.html)
19. [Michael Lindner and colleagues (2011). TRENTOOL: A Matlab open source toolbox to analyse information flow in time series data with transfer entropy. BMC Neuroscience.](https://doi.org/10.1186/1471-2202-12-119)
20. [Joseph T. Lizier (2014). JIDT: An Information-Theoretic Toolkit for Studying the Dynamics of Complex Systems. Frontiers in Robotics and AI.](https://doi.org/10.3389/frobt.2014.00011)
21. [Alessandro Montalto, Luca Faes, Daniele Marinazzo (2014). MuTE: A MATLAB Toolbox to Compare Established and Novel Estimators of the Multivariate Transfer Entropy. PLoS ONE.](https://doi.org/10.1371/journal.pone.0109462)
22. [Information Flows? A Critique of Transfer Entropies (James, Barnett & Crutchfield, PRL 116, 238701)](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.116.238701)
23. [Inferring network properties from time series using transfer entropy and mutual information: Validation of multivariate versus bivariate approaches](https://pmc.ncbi.nlm.nih.gov/articles/PMC8233116/)
24. [Estimating Transfer Entropy under Long Ranged Dependencies (AISTATS 2022, PMLR v180)](https://proceedings.mlr.press/v180/garg22a/garg22a.pdf)
25. [Unifying concepts in information-theoretic time-series analysis (J. R. Society Interface, 2025)](https://royalsocietypublishing.org/rsif/article/23/238/20250969/481767/Unifying-concepts-in-information-theoretic-time)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026; Oct 25, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/transfer-entropy

English original: https://www.edgepedia.org/transfer-entropy
