# 持久同调

持久同调是一种拓扑数据分析方法，它追踪单纯复形（由数据点、边、三角形构成的结构）的同调在复形经由过滤逐渐增长时如何变化，并将结果汇总为出生–死亡区间的条形码或[持久性图](https://www.edgepedia.org/zh/persistence-diagram)。每个区间记录一个拓扑特征，如连通分支、环或空腔，该特征在一段尺度范围内存在。由于真实数据含有噪声，在较大尺度范围内持续存在的特征被视为关于底层数据形状的信号，而短暂存在的特征则被视为噪声。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup><sup> • </sup><sup>[2](https://ti.inf.ethz.ch/ew/courses/TDA25/Chapter4.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 输出 | 根据持久同调基本定理，在域系数下，持久模唯一分解为区间模的直和，其对应的半开区间可以重叠，给出条形码。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup> |
| 解释 | 寿命为死亡时间减去出生时间；短命的洞被视为噪声，长命的洞传达形状信息。<sup>[2](https://ti.inf.ethz.ch/ew/courses/TDA25/Chapter4.pdf)</sup> |
| 复杂度 | 标准约简算法在最坏情况下为单纯形数目的三次方，但实际运行接近线性，因为边界矩阵是稀疏的。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup><sup> • </sup><sup>[3](https://jdc.math.uwo.ca/TDA/Huang-computation.pdf)</sup> |
| 起源 | 由 Edelsbrunner、Letscher 和 Zomorodian 在 *Topological Persistence and Simplification*（《离散与计算几何》，2002年）中提出。<sup>[4](https://doi.org/10.1007/s00454-002-2885-2)</sup> |
| 推广 | 佐莫罗迪安和卡尔松将持久性重新表述为多项式环上分次模的同调，将算法推广到任意域上的任意维数。<sup>[5](https://doi.org/10.1007/s00454-004-1146-y)</sup> |
| 稳定性 | 对于驯服函数，图之间的瓶颈距离满足 W∞(Dgm(f), Dgm(g)) ≤ ‖f − g‖∞；对于有限度量空间的 Rips 过滤，\( d_{\mathrm{b}}(\mathrm{dgm}(\mathrm{Rips}(X)), \mathrm{dgm}(\mathrm{Rips}(Y))) \le 2 \, d_{\mathrm{GH}}(X, Y) \)。<sup>[6](https://www.mrzv.org/publications/persistent-homology-theory-practice/ecm/)</sup><sup> • </sup><sup>[7](https://geometrica.saclay.inria.fr/team/Fred.Chazal/papers/cdo-psgc-12/sdo-psgc-13-gd.pdf)</sup> |
| 软件 | 经基准测试的开源工具包括 javaPlex、Perseus、Dionysus、DIPHA、GUDHI 和 Ripser；Phat 提供多种约简算法，默认使用 twist。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup><sup> • </sup><sup>[8](https://doi.org/10.1016/j.jsc.2016.03.008)</sup> |

## 工作原理

过滤是增长复形的历史：一个嵌套序列 K₁ ⊆ K₂ ⊆ … ⊆ Kₗ，其中单纯形逐个加入，通常按尺度参数或函数值排序。加入一个 p-单纯形要么使第 p 个贝蒂数 βₚ 增加一，使其成为正单纯形并诞生一个 p-环；要么使 βₚ₋₁ 减少一，使其成为负单纯形并杀死一个 (p−1)-环。因此，将正单纯形与负单纯形配对，就得到每个同调类的寿命。<sup>[9](https://courses.cs.duke.edu/fall06/cps296.1/Lectures/sec-VI-1.pdf)</sup>

形式上，第 p 个持久同调群是包含映射诱导的像，Hᵢ,ⱼₚ = Zₚ(Kᵢ)/(Bₚ(Kⱼ) ∩ Zₚ(Kᵢ))；一个类在 Kᵢ 处出生，如果它不在前一个包含映射的像中；它在最小的 Kⱼ 处死亡，那里它映射为零，给出半开区间 [i, j)。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup><sup> • </sup><sup>[9](https://courses.cs.duke.edu/fall06/cps296.1/Lectures/sec-VI-1.pdf)</sup> 当过滤来自一个函数时，持久性就是出生和死亡处函数值的绝对差。<sup>[6](https://www.mrzv.org/publications/persistent-homology-theory-practice/ecm/)</sup> 持久同调基本定理保证，在域系数下，所得的持久模唯一分解为区间直和项，即条形码；持久性图是对应的点（出生，死亡）的多重集，其重数由[贝蒂数](https://www.edgepedia.org/zh/betti-number)上的容斥公式给出。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup><sup> • </sup><sup>[9](https://courses.cs.duke.edu/fall06/cps296.1/Lectures/sec-VI-1.pdf)</sup>

## 如何实现

流程分为三个阶段：从点云构建过滤单纯复形，从中计算持久同调，然后进行统计和解释。<sup>[3](https://jdc.math.uwo.ca/TDA/Huang-computation.pdf)</sup> 核心计算将过滤边界矩阵 \( D \) 约简为 \( R = D \cdot V \)，其中 \( R \) 已约简，\( V \) 为可逆上三角矩阵，方法是自左向右处理列，并加上与当前列具有相同枢轴行的较早列，直到枢轴唯一。<sup>[10](https://mla.lbl.gov/PDFs/PH-handbook.pdf)</sup><sup> • </sup><sup>[2](https://ti.inf.ethz.ch/ew/courses/TDA25/Chapter4.pdf)</sup> 约简后，low(j) = i 将单纯形 σⱼ 与 σᵢ 配对：σᵢ 的进入诞生一个特征，该特征随 σⱼ 的进入而死亡。空列标记出生；如果之后没有列的枢轴在其行中，则该出生是本质的，区间为 \( [\mathrm{birth}, \infty) \)。配对是唯一的：任何两个约简分解给出相同的 low 映射。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup><sup> • </sup><sup>[10](https://mla.lbl.gov/PDFs/PH-handbook.pdf)</sup>

最坏情况代价是 \( m \) 个单纯形的常数倍 \( m^{3} \) 次运算，且此界是紧的，已知存在迫使三次方时间的过滤。实践中，实现基本以线性时间运行，因为矩阵非常稀疏且倾向于保持稀疏，这使得可以为具有数十亿列的矩阵计算条形码。<sup>[3](https://jdc.math.uwo.ca/TDA/Huang-computation.pdf)</sup><sup> • </sup><sup>[11](https://drops.dagstuhl.de/storage/00lipics/lipics-vol332-socg2025/LIPIcs.SoCG.2025.68/LIPIcs.SoCG.2025.68.pdf)</sup> 实际加速包括持久上同调结合清除优化、离散[莫尔斯理论](https://www.edgepedia.org/zh/morse-theory)预处理，以及 Phat 中默认的 twist 算法。<sup>[8](https://doi.org/10.1016/j.jsc.2016.03.008)</sup><sup> • </sup><sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup>

## 起源

持久同调由埃德尔尔斯布鲁纳、莱彻和佐莫罗迪安在《拓扑持久性与简化》（《离散与计算几何》，2002年）中引入，该文为贝蒂数和非边界环定义了持久性，给出了计算它的高效算法，以及基于持久性的简化算法；论文处理 ℝ³ 中的有限单纯复形，聚焦于 α 复形，其算法建立在德尔菲纳多和埃德尔尔斯布鲁纳（1995）的增量贝蒂数算法之上。<sup>[4](https://doi.org/10.1007/s00454-002-2885-2)</sup><sup> • </sup><sup>[12](https://doi.org/10.1016/0167-8396%2895%2900016-y)</sup> 随后佐莫罗迪安和卡尔松证明，过滤复形的持久同调是多项式环上分次模的标准同调，将早期算法（限于 ℤ₂ 系数下 S³ 的子复形）推广到任意域上的任意维数（《离散与计算几何》，2004年发表，2005年第33卷）。<sup>[5](https://doi.org/10.1007/s00454-004-1146-y)</sup>

公认的先驱工作包括莫尔斯理论（1940年）、莱雷的[谱序列](https://www.edgepedia.org/zh/spectral-sequence)（1946年）、登山突出度（1953年）、弗罗西尼1990年的尺寸函数（一种等价于0维持久同调的形式体系），以及瓦妮莎·罗宾斯1999年对采样空间同调的研究。<sup>[10](https://mla.lbl.gov/PDFs/PH-handbook.pdf)</sup><sup> • </sup><sup>[6](https://www.mrzv.org/publications/persistent-homology-theory-practice/ecm/)</sup> 该方法的两个代数要素——单纯过滤和正/负单纯形区分——可追溯到恩斯特·米克的三维 α 形状实现以及德尔菲纳多–埃德尔尔斯布鲁纳增量算法。<sup>[13](https://pub.ista.ac.at/~edels/Papers/2008-B-02-PersistentHomology.pdf)</sup>

## 变体

复形的选择在代价与保真度之间权衡。尺度 ε 下的 Vietoris–Rips 复形包含数据中所有点两两距离在 ε 以内的子集，并在两倍因子内逼近 Čech 复形，而 Čech 复形的构造需要检查大量交集；对于 ℝᵈ 中的 n 个点，Čech 复形的 k-骨架最多可由 O(n^(k+1)) 个单纯形组成，而完整复形即使在固定维数下也可能有指数多个单纯形，即使 d 很小，其规模也已大到无法用于实际应用。α 复形在 d = 2, 3 时减小规模，但在高维只略微改善渐近界。见证复形和立方复形分别服务于基于地标的数据和图像/体积数据。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup><sup> • </sup><sup>[14](https://www.geometrie.tugraz.at/kerber/kerber_papers/imn_article_2016.pdf)</sup>

两种结构扩展放宽了线性过滤。zigzag 持久性（卡尔松和德席尔瓦，2010年）允许双向箭头，多维持久性（卡尔松和佐莫罗迪安，2009年）同时沿多个参数过滤。<sup>[15](https://doi.org/10.1007/s10208-010-9066-0)</sup><sup> • </sup><sup>[16](https://doi.org/10.1007/s00454-009-9176-0)</sup> 对于一般多参数模，不存在合理的条形码概念，因此改用交错距离和匹配距离；计算交错距离对于有限类型的双分次区间可分解模已是 NP-难的，而基于纤维条形码的匹配距离则是可高效计算的替代方案。<sup>[17](https://ti.inf.ethz.ch/ew/courses/TDA25/Chapter9.pdf)</sup><sup> • </sup><sup>[18](https://ar5iv.labs.arxiv.org/html/2203.14289)</sup> 常见的双过滤包括度-Rips 过滤（只保留度至少为 d 的顶点，从而减少离群点的影响）和多覆盖双过滤（按半径和球内点数过滤）。<sup>[18](https://ar5iv.labs.arxiv.org/html/2203.14289)</sup><sup> • </sup><sup>[17](https://ti.inf.ethz.ch/ew/courses/TDA25/Chapter9.pdf)</sup>

将持久同调与机器学习结合面临三个挑战：数据的拓扑表示、基于 PH 的距离或度量，以及基于 PH 的特征表示，因为条形码本身不便于代数运算和统计推断。<sup>[19](https://dl.acm.org/doi/10.1007/s10462-022-10146-z)</sup> 持久性景观位于[巴拿赫空间](https://www.edgepedia.org/zh/banach-space)中，服从[强大数定律](https://www.edgepedia.org/zh/strong-law-of-large-numbers)和中心极限定理，并具有唯一均值。持久性图像（一种稳定的向量表示）以及持久加权高斯核（草野、福水、平冈）和赖宁豪斯、胡贝尔、鲍尔、克维特的多尺度核等核方法，将图转化为固定大小的特征或核评估。<sup>[19](https://dl.acm.org/doi/10.1007/s10462-022-10146-z)</sup><sup> • </sup><sup>[20](https://doi.org/10.48550/arxiv.1601.01741)</sup><sup> • </sup><sup>[21](https://doi.org/10.48550/arxiv.1412.6821)</sup> 对于多参数 PH，解释为带符号测度的带符号条形码支持持久性图像式卷积和切片瓦瑟斯坦核，而图码将双过滤同调表示为通过二部图连接的图堆叠，可直接输入图神经网络。<sup>[22](https://proceedings.neurips.cc/paper_files/paper/2023/file/d75c474bc01735929a1fab5d0de3b189-Paper-Conference.pdf)</sup><sup> • </sup><sup>[23](https://doi.org/10.48550/arxiv.2405.14302)</sup>

## 应用

持久同调已应用于计算化学、材料科学、神经科学和生物信息学，并通常集成到监督学习流程中。<sup>[18](https://ar5iv.labs.arxiv.org/html/2203.14289)</sup> 扩展持久性的动机是识别大分子的空腔和突出部分以用于蛋白质对接，使用高程函数。<sup>[13](https://pub.ista.ac.at/~edels/Papers/2008-B-02-PersistentHomology.pdf)</sup> 在机器学习实践中，已发表的比较评估了 α 与 Vietoris–Rips 复形、条形码统计与分箱特征，以及支持向量机、树模型和神经网络在[蛋白质二级结构](https://www.edgepedia.org/zh/protein-secondary-structure)分类等任务上的表现。<sup>[19](https://dl.acm.org/doi/10.1007/s10462-022-10146-z)</sup>

## 局限与替代方案

数据扰动下的鲁棒性取决于过滤和用于比较数据的度量：例如，Rips 持久性图在数据的格罗莫夫–豪斯多夫扰动下稳定，常数取决于尺度约定，因此对于每种过滤选择，数据的小变化并不总是意味着条形码的小变化。经验上，在 MNIST 上，PH 对噪声的敏感性取决于过滤和持久性签名的选择，PH 特征在分类任务中往往对噪声不鲁棒。<sup>[24](https://pmc.ncbi.nlm.nih.gov/articles/PMC8462731/)</sup> Rips 过滤中使用的距离函数崩溃点为零，用该研究的话说，“即使一个离群点也是致命的”，这促使了密度感知过滤，如到测度的距离过滤。<sup>[24](https://pmc.ncbi.nlm.nih.gov/articles/PMC8462731/)</sup> 在大点云上的[计算](https://www.edgepedia.org/zh/computation)代价高昂，限制因素不是运行时间而是内存：对于标准 Vietoris–Rips 流程，为 \( 10^{5} \) 个及以上点计算 \( \mathrm{PH}_{1} \) 被描述为仅限于超级计算机。<sup>[1](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)</sup><sup> • </sup><sup>[25](https://ar5iv.labs.arxiv.org/html/2412.07805)</sup> 缓解方法包括见证复形、稀疏 Rips 近似、边坍缩（将任意旗过滤精确约简为具有相同持久同调的较小过滤），以及蒸馏 Vietoris–Rips 过滤，其持久同调与标准 Vietoris–Rips 过滤的持久同调同构。<sup>[26](https://gudhi.inria.fr/python/latest/index.html)</sup><sup> • </sup><sup>[25](https://ar5iv.labs.arxiv.org/html/2412.07805)</sup> Flood 复形由地标子集的 Delaunay 三角剖分被给定半径的球淹没而构建，具有瓶颈稳定性，能在数秒内对具有数百万点的点云进行 PH 计算。<sup>[27](https://proceedings.neurips.cc/paper_files/paper/2025/file/aba03e6f25decb32bda9c5bf81c58305-Paper-Conference.pdf)</sup>

## References

1. [A roadmap for the computation of persistent homology (Otter et al., EPJ Data Science, 2017)](https://link.springer.com/article/10.1140/epjds/s13688-017-0109-5)
2. [Introduction to TDA, Chapter 4: Persistent homology (ETH Zurich, 2025 course)](https://ti.inf.ethz.ch/ew/courses/TDA25/Chapter4.pdf)
3. [Computation of Persistent Homology (lecture slides, Huang)](https://jdc.math.uwo.ca/TDA/Huang-computation.pdf)
4. [Edelsbrunner, Letscher, Zomorodian (2002). Topological Persistence and Simplification. Discrete & Computational Geometry.](https://doi.org/10.1007/s00454-002-2885-2)
5. [Afra Zomorodian, Gunnar Carlsson (2004). Computing Persistent Homology. Discrete & Computational Geometry.](https://doi.org/10.1007/s00454-004-1146-y)
6. [Persistent Homology: Theory and Practice (Edelsbrunner & Morozov / Zomorodian)](https://www.mrzv.org/publications/persistent-homology-theory-practice/ecm/)
7. [Persistence stability for geometric complexes (Chazal et al.)](https://geometrica.saclay.inria.fr/team/Fred.Chazal/papers/cdo-psgc-12/sdo-psgc-13-gd.pdf)
8. [Ulrich Bauer and colleagues (2016). Phat – Persistent Homology Algorithms Toolbox. Journal of Symbolic Computation.](https://doi.org/10.1016/j.jsc.2016.03.008)
9. [VI.1 Persistent Homology (Duke course lecture, Edelsbrunner)](https://courses.cs.duke.edu/fall06/cps296.1/Lectures/sec-VI-1.pdf)
10. [26 Persistent Homology (CRC Handbook of Computational Geometry chapter, Edelsbrunner)](https://mla.lbl.gov/PDFs/PH-handbook.pdf)
11. [Persistent (Co)Homology in Matrix Multiplication Time (SoCG 2025, LIPIcs)](https://drops.dagstuhl.de/storage/00lipics/lipics-vol332-socg2025/LIPIcs.SoCG.2025.68/LIPIcs.SoCG.2025.68.pdf)
12. [An incremental algorithm for Betti numbers of simplicial complexes on the 3-sphere (Computer Aided Geometric Design, 1995)](https://doi.org/10.1016/0167-8396%2895%2900016-y)
13. [Persistent homology, a survey (Edelsbrunner & Harer)](https://pub.ista.ac.at/~edels/Papers/2008-B-02-PersistentHomology.pdf)
14. [Persistent Homology – State of the art and challenges (IMN article)](https://www.geometrie.tugraz.at/kerber/kerber_papers/imn_article_2016.pdf)
15. [Gunnar Carlsson, Vin de Silva (2010). Zigzag Persistence. Foundations of Computational Mathematics.](https://doi.org/10.1007/s10208-010-9066-0)
16. [Gunnar Carlsson, Afra Zomorodian (2009). The Theory of Multidimensional Persistence. Discrete & Computational Geometry.](https://doi.org/10.1007/s00454-009-9176-0)
17. [Multiparameter persistence (course chapter, ETH Zürich)](https://ti.inf.ethz.ch/ew/courses/TDA25/Chapter9.pdf)
18. [An Introduction to Multiparameter Persistence (Botnan & Lesnick)](https://ar5iv.labs.arxiv.org/html/2203.14289)
19. [Persistent-homology-based machine learning: a survey and a comparative study (Artificial Intelligence Review)](https://dl.acm.org/doi/10.1007/s10462-022-10146-z)
20. [Kusano, Genki, Fukumizu, Kenji, Hiraoka, Yasuaki (2016). Persistence weighted Gaussian kernel for topological data analysis. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1601.01741)
21. [Reininghaus, Jan and colleagues (2014). A Stable Multi-Scale Kernel for Topological Machine Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1412.6821)
22. [Stable Vectorization of Multiparameter Persistent Homology using Signed Barcodes as Measures (NeurIPS 2023)](https://proceedings.neurips.cc/paper_files/paper/2023/file/d75c474bc01735929a1fab5d0de3b189-Paper-Conference.pdf)
23. [Kerber, Michael, Russold, Florian (2024). Graphcode: Learning from multiparameter persistent homology using graph neural networks. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2405.14302)
24. [Noise robustness of persistent homology on greyscale images, across filtrations and signatures](https://pmc.ncbi.nlm.nih.gov/articles/PMC8462731/)
25. [The distilled Vietoris-Rips filtration for persistent homology and a new memory-efficient algorithm](https://ar5iv.labs.arxiv.org/html/2412.07805)
26. [GUDHI Python modules documentation (v3.13.0)](https://gudhi.inria.fr/python/latest/index.html)
27. [The Flood Complex, Large-Scale Persistent Homology on Millions of Points (NeurIPS 2025)](https://proceedings.neurips.cc/paper_files/paper/2025/file/aba03e6f25decb32bda9c5bf81c58305-Paper-Conference.pdf)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Numerical, string, and geometric algorithms › Computational geometry

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/persistent-homology

English original: https://www.edgepedia.org/persistent-homology
