# 递归图

递归图（recurrence plot, RP）是非线性时间序列分析中的一种图形工具，它在一个 N × N 的方阵中展示动力系统的状态返回到其相空间（系统所有可能状态的抽象空间）中先前访问过的区域的时刻。它由让-皮埃尔·埃克曼（Jean-Pierre Eckmann）、西尔维·奥利夫松·坎普霍斯特（Sylvie Oliffson Kamphorst）和大卫·吕埃勒（David Ruelle）在1987年发表于《欧洲物理快报》（*Europhysics Letters*）的一篇论文中提出，作为测量动力系统时间恒常性的诊断工具；即使时间序列方法的通常假设——如平稳性（统计特性不随时间变化）和长记录——不被满足时，它也能给出有用的信息<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup>。由于下标 i 和 j 表示时间，递归图编码了原始序列中往往不易察觉的自然时间相关信息<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup><sup> • </sup><sup>[2](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 递归矩阵 \( R_{i,j} = \Theta(\varepsilon - \|\boldsymbol{x}_i - \boldsymbol{x}_j\|) \)，其中 Θ 为赫维赛德函数，ε 为阈值距离，\( \boldsymbol{x}_i \) 为相空间轨迹上的点<sup>[3](https://link.springer.com/article/10.1140/epjs/s11734-022-00739-8)</sup> |
| 起源 | 由埃克曼、奥利夫松·坎普霍斯特和吕埃勒提出，《欧洲物理快报》4(9), 973–977 (1987)<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup> |
| 预处理 | 标量时间序列先通过时间延迟法嵌入，给定嵌入维数 d 和延迟 τ，然后计算距离<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup> |
| 定量化 | 递归定量分析（RQA）的度量包括递归率、确定性、对角线和垂直线长度、发散度、熵、层流性和捕获时间<sup>[4](https://github.com/szhan/pyrqa)</sup> |
| 关键参数 | 递归阈值 ε 是关键参数；常见准则将递归点百分比保持在约5%以下，并建议阈值不超过相空间轨迹直径的10%<sup>[5](https://www.mdpi.com/2076-3417/13/9/5587)</sup><sup> • </sup><sup>[6](https://www.frontiersin.org/journals/physiology/articles/10.3389/fphys.2026.1831826/full)</sup> |
| 计算成本 | 构建递归矩阵是 \( \mathcal{O}(N^2) \) 量级的 N × N 逐对检验；近似方法可将数百万点序列的计算时间从数小时缩短到数秒<sup>[3](https://link.springer.com/article/10.1140/epjs/s11734-022-00739-8)</sup> |
| 平稳性 | RQA 不要求数据服从正态分布或具有平稳性，这使得递归图适用于动力学随时间变化的系统<sup>[5](https://www.mdpi.com/2076-3417/13/9/5587)</sup><sup> • </sup><sup>[2](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)</sup> |

## 构建

从标量时间序列 \( \{u_i \} \) 出发，分析者通过延迟坐标重建相空间轨迹，\( \boldsymbol{x}(i) = (u_i, u_{i+\tau}, \ldots, u_{i+(d-1)\tau}) \)，选择嵌入维数 d 和时间延迟 τ<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup>。当 \( \boldsymbol{x}(j) \) 落在 \( \boldsymbol{x}(i) \) 的选定距离之内时，在位置 (i, j) 处放置一个点（或黑色像素）。在原始方法中，半径 r(i) 允许依赖于点，选取方式是使球内包含合理数量的邻居；在如今标准的表述中，单一固定阈值 ε 定义邻域，递归矩阵为 \( R_{i,j} = \Theta(\varepsilon - \|\boldsymbol{x}_i - \boldsymbol{x}_j\|) \)<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup><sup> • </sup><sup>[3](https://link.springer.com/article/10.1140/epjs/s11734-022-00739-8)</sup>。一种不设阈值的变体根据距离本身以灰度着色每个像素，而设阈值的版本是二值的<sup>[2](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)</sup>。

由于接近性是相互的，递归图关于主对角线 \( i = j \) 近似对称，但当半径允许随点变化时并非完全对称<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup>。范数的选择很重要：最大范数使最大点间距离与嵌入维数无关，从而允许直接比较用不同 d 构建的递归图而无需重新缩放<sup>[2](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)</sup>。

**嵌入并非总是必需。** 尽管标准做法是先嵌入数据，伊万斯基和布拉德利发现，对于某些低维系统，嵌入维数为一（即等同于完全不嵌入）时可以得到相同的递归图分析结果<sup>[2](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)</sup>。

## 解读递归图

埃克曼、奥利夫松·坎普霍斯特和吕埃勒区分了递归图的大尺度类型学和小尺度纹理<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup>。

- 均匀的类型学，即整体均匀的灰色图案，表明这是一个自治系统，其特征时间与记录长度相比都很短；埃农映射（Hénon map）给出了这样一个例子<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup>。
- 与恒等线平行、等间距排列的长对角带表明信号的周期性<sup>[7](https://libres.uncg.edu/ir/uncg/f/Wittstein_uncg_0154D_11876.pdf)</sup>。
- 漂移，即参数的缓慢变化，使递归图在远离对角线处变浅、靠近对角线处变深，反映了大时间间隔上逐渐增强的去相关<sup>[1](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)</sup>。
- 纹理的突变标志着动力学的转变，这就是基于递归图的方法被广泛用于检测非平稳数据中的状态变化和分岔的原因<sup>[2](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)</sup><sup> • </sup><sup>[8](https://arxiv.org/abs/1306.0688)</sup>。

## 递归定量分析

定性解读后来被形式化为递归定量分析（RQA），它从递归图中的线结构计算统计量<sup>[7](https://libres.uncg.edu/ir/uncg/f/Wittstein_uncg_0154D_11876.pdf)</sup>。标准度量包括递归率（递归点的密度）、确定性百分比（形成至少达到最小长度的对角线的递归点占比）、平均对角线和最长对角线长度、发散度（最长对角线的倒数）、线长分布的香农熵、由垂直线得到的层流性和捕获时间，以及基于白色垂直线的度量<sup>[4](https://github.com/szhan/pyrqa)</sup><sup> • </sup><sup>[2](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)</sup>。诸如确定性百分比/递归率之类的比值被用于检测动力学的转变<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC3224455/)</sup>。

**阈值选择。** 递归阈值 ε 是关键的自由参数：如果太小，只有几乎完全相同的点才被计为递归；如果太大，几乎每个点都成为其他每个点的邻居<sup>[6](https://www.frontiersin.org/journals/physiology/articles/10.3389/fphys.2026.1831826/full)</sup>。已提出的规则包括将递归点百分比保持在5%以下、选择产生1%至5%递归率的阈值、以及将 ε 限制在相空间直径的10%以内；阈值选择的系统研究仍是一项未完成的任务，近期工作通过最大化递归微观状态的熵使阈值自适应<sup>[5](https://www.mdpi.com/2076-3417/13/9/5587)</sup><sup> • </sup><sup>[10](https://www.researchgate.net/publication/265003618_Recurrence_Quantification_Analysis_--_Theory_and_Best_Practices)</sup><sup> • </sup><sup>[11](https://www.sciencedirect.com/science/article/pii/S0960077923006483)</sup>。确定性计算中使用的最小对角线长度 \( \ell_{\min} \) 是第二个自由参数，同样影响结果<sup>[11](https://www.sciencedirect.com/science/article/pii/S0960077923006483)</sup>。

## 扩展与计算

基本递归图已在多个方向上得到扩展。交叉递归图将两个不同的时间序列相互比较，能够发现线性相关检验遗漏的非线性相互关系<sup>[12](https://arxiv.org/abs/physics/0201061)</sup>；联合递归图标记两个系统同时递归的时刻；递归网络将递归矩阵转换为图，以结构性度量补充其他时间序列方法<sup>[3](https://link.springer.com/article/10.1140/epjs/s11734-022-00739-8)</sup><sup> • </sup><sup>[13](https://arxiv.org/abs/1010.6032)</sup>。更新的递归定义涵盖事件型、多尺度、异质和时空递归，近期工作将递归图与机器学习相结合<sup>[3](https://link.springer.com/article/10.1140/epjs/s11734-022-00739-8)</sup>。

逐对距离检验的 \( \mathcal{O}(N^2) \) 成本限制了长记录上的朴素计算。高效实现、并行化和近似方法解决了这一问题：pyunicorn 包使用基于 Cython 的实现，PyRQA 在 GPU 等 OpenCL 设备上大规模并行执行 RQA，近似 RQA 可在数秒内为超过一百万点的序列计算定量指标，而标准单线程计算需要数小时<sup>[3](https://link.springer.com/article/10.1140/epjs/s11734-022-00739-8)</sup><sup> • </sup><sup>[4](https://github.com/szhan/pyrqa)</sup>。

## 应用

基于递归图的方法被用于许多学科，包括经济学、生理学、神经科学、地球科学、天体物理学和工程学<sup>[14](https://arxiv.org/abs/2501.13933)</sup>。在生理学中，递归图已被应用于预测心律失常、脑电图的事件检测、糖尿病自主神经功能障碍的评估以及帕金森病姿势不稳定的评价<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC3224455/)</sup>。姿势控制信号的 RQA 本身即是系统综述的主题，递归分析已被用于在癫痫发作前从动态脑网络中检测发作<sup>[5](https://www.mdpi.com/2076-3417/13/9/5587)</sup><sup> • </sup><sup>[15](https://arxiv.org/abs/2001.03761)</sup>。由于该方法对数据集的平稳性不作要求，它特别适用于动力学可能正在变化的系统，如处于临界状态附近的金融市场指数<sup>[2](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)</sup><sup> • </sup><sup>[16](https://arxiv.org/abs/cond-mat/0412765)</sup>。

## References

1. [J.-P. Eckmann, S. Oliffson Kamphorst, D. Ruelle (1987). Recurrence Plots of Dynamical Systems. Europhysics Letters 4(9), 973–977.](https://fiteoweb.unige.ch/~eckmannj/ps_files/recurrenceplots.pdf)
2. [J. S. Iwanski, E. Bradley (1998). Recurrence plots of experimental data: To embed or not to embed? Chaos 8, 861.](https://home.cs.colorado.edu/~lizb/papers/1.166372.pdf)
3. [N. Marwan, K. H. Kraemer (2022). Trends in recurrence analysis of dynamical systems. European Physical Journal Special Topics.](https://link.springer.com/article/10.1140/epjs/s11734-022-00739-8)
4. [PyRQA: Recurrence Quantification Analysis of Large-Scale Time Series (GitHub repository).](https://github.com/szhan/pyrqa)
5. [Recurrence Quantification Analysis as a Form of Postural Control Assessment: A Systematic Review. Applied Sciences 13, 5587 (2023).](https://www.mdpi.com/2076-3417/13/9/5587)
6. [Machine learning for enhancing ablation outcomes using recurrence quantification analysis in human persistent atrial fibrillation. Frontiers in Physiology (2026).](https://www.frontiersin.org/journals/physiology/articles/10.3389/fphys.2026.1831826/full)
7. [I. S. Wittstein, UNC Greensboro dissertation using RQA (Eckmann et al. typology and texture).](https://libres.uncg.edu/ir/uncg/f/Wittstein_uncg_0154D_11876.pdf)
8. [N. Marwan (2013). Recurrence Plots 25 years later — gaining confidence in dynamical transitions. arXiv:1306.0688.](https://arxiv.org/abs/1306.0688)
9. [Review and classification of variability analysis techniques with clinical applications. BioMedical Engineering OnLine (2011).](https://pmc.ncbi.nlm.nih.gov/articles/PMC3224455/)
10. [N. Marwan et al. Recurrence Quantification Analysis — Theory and Best Practices (book chapter).](https://www.researchgate.net/publication/265003618_Recurrence_Quantification_Analysis_--_Theory_and_Best_Practices)
11. [How to compute the minimum diagonal length of recurrence quantifiers to optimize their sensitivity. Chaos, Solitons & Fractals 173, 113747 (2023).](https://www.sciencedirect.com/science/article/pii/S0960077923006483)
12. [N. Marwan et al. Nonlinear analysis of bivariate data with cross recurrence plots. arXiv:physics/0201061.](https://arxiv.org/abs/physics/0201061)
13. [Recurrence-based time series analysis by means of complex network methods. arXiv:1010.6032.](https://arxiv.org/abs/1010.6032)
14. [N. Marwan, M. C. Romano, M. Thiel, J. Kurths. Recurrence Plots for the Analysis of Complex Systems. Physics Reports 438, 237–329 (2007); arXiv:2501.13933.](https://arxiv.org/abs/2501.13933)
15. [Recurrence Quantification Analysis of Dynamic Brain Networks. arXiv:2001.03761.](https://arxiv.org/abs/2001.03761)
16. [Recurrence Plot and Recurrence Quantification Analysis Techniques for Detecting a Critical Regime: Examples from Financial Market Indices. arXiv:cond-mat/0412765.](https://arxiv.org/abs/cond-mat/0412765)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 经典物理学 › Thermodynamics › Statistical mechanics and kinetic theory › Ergodicity and dynamical foundations

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/recurrence-plot

English original: https://www.edgepedia.org/recurrence-plot
