# 图论分析

图论分析是一种将系统建模为由节点和边构成的图，并计算汇总指标以量化系统结构的方法。它是一个跨学科工具集，结合数学、物理学、生物学、计算机科学和社会科学，<sup>[1](https://math.bme.hu/%7Egabor/oktatas/SztoM/Newman_Networks.pdf)</sup> 应用于秀丽隐杆线虫（*Caenorhabditis elegans*）的神经网络、美国西部电网和电影演员合作图等迥然不同的场景，这些都被证明是小世界网络：高度聚集，但特征路径长度很短。<sup>[2](https://doi.org/10.1038/30918)</sup> 第二个基础性发现是，许多大型真实网络会自组织成无标度状态，其度分布按幂律衰减。<sup>[3](https://doi.org/10.1126/science.286.5439.509)</sup>

| 关键事实 | 数值或陈述 | 来源 |
|---|---|---|
| 小世界网络 | 像规则晶格一样高度聚集，像随机图一样路径长度短；见于秀丽隐杆线虫、电网和演员合作网络 | <sup>[2](https://doi.org/10.1038/30918)</sup> |
| 无标度度分布 | \( P(k) \sim k^{-\gamma} \)；优先连接模型给出 \( \gamma = 3 \)（实测 \( 2.9 \pm 0.1 \)） | <sup>[3](https://doi.org/10.1126/science.286.5439.509)</sup> |
| 经验指数 | 真实世界的度分布具有幂律尾，\( \gamma \in [2, 3] \) | <sup>[4](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0228728)</sup> |
| 小世界系数 | \( \sigma = (C/C_{ER})/(L/L_{ER}) \)；按惯例，若 \( \sigma > 1 \)，网络为小世界 | <sup>[5](https://ar5iv.labs.arxiv.org/html/2311.00122)</sup> |
| 模块度范围 | 介于 \( -1/2 \) 和 1 之间；最大化是 NP 难的，且偏向大簇 | <sup>[6](https://www.sigmetrics.org/sigmetrics2024/tutorials/Tutorial_Network_Clustering.pdf)</sup> |
| 功能磁共振成像（fMRI）显著性示例 | 对于含 500 个节点、500 个时间点的大脑图，在第三小波尺度上高于 0.567 的相关性显著 | <sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC4150298/)</sup> |
| 介数普适类 | \( P_{B}(g) \sim g^{-\eta} \)，其中 \( \eta \approx 2.2 \)（蛋白质相互作用、代谢、合著）和 \( \eta \approx 2.0 \)（互联网、万维网） | <sup>[8](https://ar5iv.labs.arxiv.org/html/cond-mat/0205232)</sup> |

## 工作原理

将系统表示为节点和边，把结构问题转化为从邻接结构计算出的量。节点 \( i \) 的局部聚类系数，是其 \( k_{i} \) 个邻居中实际存在的边数 \( e_{i} \) 与最大可能边数 \( k_{i} \cdot (k_{i}-1)/2 \) 之比；图层面的版本由沃茨（Watts）和斯特罗加茨（Strogatz）提出，建立在社会学的“传递三元组比例”之上。<sup>[9](https://harvest.aps.org/v2/journals/articles/10.1103/RevModPhys.74.47/fulltext)</sup><sup> • </sup><sup>[10](https://cosnet.bifi.es/publications/phys_rep_2006.pdf)</sup> 中心性指标对节点排序：介数先计算每对节点间经过某节点的测地线（最短路径）占该节点对全部测地线的比例，再对所有节点对的这一比例求和，<sup>[10](https://cosnet.bifi.es/publications/phys_rep_2006.pdf)</sup> 这一指标由林顿·C·弗里曼（Linton C. Freeman）于 1977 年提出，被解释为减缓或扭曲沿最短路径流动的潜在能力。<sup>[11](https://doi.org/10.2307/3033543)</sup><sup> • </sup><sup>[12](https://iacmr.org/wp-content/uploads/sites/26/2024/05/6.network-review.pdf)</sup>

两类汇总数字主导解释。模块度将簇内边与零模型下期望边数比较，

\[ M(C_{1},\ldots,C_{k}) = \frac{1}{2m}\sum_{\ell}\sum_{i,j \in C_{\ell}}\left(A_{ij} - p_{ij}\right), \]

介于 \( -1/2 \) 和 1 之间。<sup>[6](https://www.sigmetrics.org/sigmetrics2024/tutorials/Tutorial_Network_Clustering.pdf)</sup> 小世界系数 \( \sigma = (C/C_{ER})/(L/L_{ER}) \) 将网络的聚类和路径长度除以同密度埃尔德什–雷尼（Erdős–Rényi）模型（每对节点以相等概率连边的随机图）中的期望值，按惯例 \( \sigma > 1 \) 表示小世界结构。<sup>[5](https://ar5iv.labs.arxiv.org/html/2311.00122)</sup> 对度分布进行检验，以判断其是否具有幂律尾 \( P(d) \propto d^{-\gamma} \)，其中 \( \gamma \in [2, 3] \)。<sup>[4](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0228728)</sup>

## 如何实施

流程从原始数据到图再到计算指标。实践者首先定义节点和边（对大脑而言，是解剖区域或电极及其结构或功能连接），然后选择表示方式：边数为 \( O(n) \) 的稀疏图适合邻接表，可能边数为 \( O(n^{2}) \) 的稠密图适合矩阵。<sup>[13](https://www.mdpi.com/2079-3197/11/10/188)</sup> 对于功能磁共振成像（fMRI）相关性等连续数据，阈值规则将权重转换为边，这一选择会实质性改变结果。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC4150298/)</sup> 社区检测随后应用若干算法类别之一：用于图聚类的层次式、基于密度、基于流和谱方法，<sup>[13](https://www.mdpi.com/2079-3197/11/10/188)</sup> 以及基于割、基于模块度、基于推断（如随机块模型）和基于学习（如图神经网络）的方法；纽曼（Newman）和吉尔文（Girvan）的贪心模块度算法运行时间为 \( O(nm) \)，对大型网络太慢。<sup>[6](https://www.sigmetrics.org/sigmetrics2024/tutorials/Tutorial_Network_Clustering.pdf)</sup>

显著性用参考网络和置换处理。方法学家提倡“参考模型”而非零模型，因为参考模型保留某些特征而随机化其他特征，并警告度、强度、介数等检验统计量高度相关，因此测量许多这类统计量会抬高多重检验假阳性风险；基于重连的抽样等价于马尔可夫链蒙特卡洛。<sup>[14](https://www.ovid.com/journals/biorev/fulltext/10.1111/brv.12775~a-guide-to-choosing-and-implementing-reference-models-for)</sup>

## 起源

图论的实证转向有一些可识别的里程碑。欧拉（Euler）1736 年解决柯尼斯堡（Königsberg）七桥问题，奠定了这门数学分支的基础，<sup>[15](https://www.sciencedirect.com/science/article/abs/pii/S1388245707004257)</sup> 随机图论在 1959、1960 和 1961 年的论文中提出，是一个数十年来引导复杂网络思考的模型。<sup>[9](https://harvest.aps.org/v2/journals/articles/10.1103/RevModPhys.74.47/fulltext)</sup>

邓肯·J·沃茨和史蒂文·H·斯特罗加茨于 1998 年 6 月 4 日在《自然》上通过重连规则环形晶格引入小世界网络模型；<sup>[2](https://doi.org/10.1038/30918)</sup> 沃茨次年将社会学中的小世界现象形式化为稀疏、去中心化网络中局部高度聚集与全局间距短的并存。<sup>[16](https://doi.org/10.1086/210318)</sup> 阿尔伯特-拉斯洛·巴拉巴西（Albert-László Barabási）和雷卡·阿尔伯特（Réka Albert）于 1999 年在《科学》上引入无标度优先连接模型。<sup>[3](https://doi.org/10.1126/science.286.5439.509)</sup> 在连接组学中，奥拉夫·斯波恩斯（Olaf Sporns）、朱利奥·托诺尼（Giulio Tononi）和罗尔夫·克特（Rolf Kötter）于 2005 年提出人类连接组概念；<sup>[17](https://doi.org/10.1371/journal.pcbi.0010042)</sup> 索菲·阿沙尔（Sophie Achard）及同事于 2006 年报告了人类功能磁共振成像（fMRI）功能脑网络的小世界分析；<sup>[18](https://doi.org/10.1523/jneurosci.3874-05.2006)</sup> 何勇（Yong He）、张 J. 陈（Zhang J. Chen）和艾伦·C·埃文斯（Alan C. Evans）于 2007 年从 MRI 皮层厚度推导出首个结构性人脑网络；<sup>[19](https://doi.org/10.1093/cercor/bhl149)</sup> 帕特里克·哈格曼（Patric Hagmann）及同事于 2008 年从扩散成像绘制了人类大脑皮层的结构核心。<sup>[20](https://doi.org/10.1371/journal.pbio.0060159)</sup>

## 变体

加权和有向图扩展基本表示。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC4150298/)</sup> 多层分析将节点间每种相互作用模式视为单独一层，可能的层间连接产生跨层交流。<sup>[21](https://journals.aps.org/prx/abstract/10.1103/PhysRevX.3.041022)</sup> 米科·基韦莱（Mikko Kivelä）及同事于 2014 年提供了一个通用框架和术语词典，统一了多层、多重、相互依赖和网络之网络等表示，<sup>[22](https://doi.org/10.1093/comnet/cnu016)</sup> 曼利奥·德·多梅尼科（Manlio De Domenico）及同事于 2013 年给出张量表述，推广了度中心性、聚类系数、特征向量中心性、模块度和扩散。<sup>[21](https://journals.aps.org/prx/abstract/10.1103/PhysRevX.3.041022)</sup>

时间网络将边活跃的时刻作为表示的显式要素；彼得·霍尔姆（Petter Holme）和亚里·萨拉迈基（Jari Saramäki）2012 年的综述指出该领域有许多名称，包括时变图和带时间戳图。<sup>[23](https://doi.org/10.1016/j.physrep.2012.03.001)</sup> 由于时间网络中的边不必具有传递性，许多静态网络方法必须替换：如果边 (A, B) 仅比边 (B, C) 更晚活跃，那么 A 不能沿那条尊重时间的路径到达 C，尽管 C 仍可能到达 A。<sup>[23](https://doi.org/10.1016/j.physrep.2012.03.001)</sup>

高阶扩展在两个方向上超越成对边：从二元图中提取模体模式，以及用单纯复形或超图直接建模高阶相互作用。<sup>[24](https://arxiv.org/html/2402.19414)</sup>

## 应用

在神经科学中，脑图将神经系统抽象为节点（解剖区域或电极）和边（结构或功能连接）。<sup>[25](https://www.annualreviews.org/content/journals/10.1146/annurev-clinpsy-040510-143934)</sup> 结构性和功能性人脑图都一致表现出小世界性、模块度和异质度分布，具有高度数皮层枢纽以及模块化、层次化特性；健康脑连接具有小世界网络的许多特征，但仅在有限程度上具有无标度网络的特征。<sup>[25](https://www.annualreviews.org/content/journals/10.1146/annurev-clinpsy-040510-143934)</sup><sup> • </sup><sup>[26](https://www.nature.com/articles/nrn2575)</sup><sup> • </sup><sup>[15](https://www.sciencedirect.com/science/article/abs/pii/S1388245707004257)</sup> 图论已被用于量化精神分裂症和阿尔茨海默病中的异常网络特性，将神经精神障碍框定为连接异常综合征。<sup>[26](https://www.nature.com/articles/nrn2575)</sup>

在社交网络分析中，帕吉特（Padgett）和安塞尔（Ansell）对 15 世纪佛罗伦萨婚姻和财务数据的研究表明，美第奇家族（Medici）的崛起取决于其高介数位置。<sup>[12](https://iacmr.org/wp-content/uploads/sites/26/2024/05/6.network-review.pdf)</sup> 最初的小世界演示横跨生物、技术和社会系统。<sup>[2](https://doi.org/10.1038/30918)</sup>

## 局限与替代方案

结果强烈依赖分析者的选择。阈值化和零模型选择会实质性改变结论：在解剖脑网络中，小世界特性可能随零模型不同而剧烈变化，且特征路径长度对含不连通节点的网络不稳健，此时应改用全局效率。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC4150298/)</sup> 小世界系数本身被批评为纯经验指标，将埃尔德什–雷尼模型硬编码为基准。<sup>[5](https://ar5iv.labs.arxiv.org/html/2311.00122)</sup> 模块度最大化会系统性过拟合，即使从自身零模型采样的网络中也能找到虚假社区，并因分辨率限制而欠拟合：在连通网络中它找不到超过 \( 2E \) 个社区，在一项植入 30 个社区的随机块模型检验中，它只找到 18 个，而推断方法恢复了真实结构。<sup>[27](https://www.cambridge.org/core/elements/descriptive-vs-inferential-community-detection-in-networks/7A5360B356DDC65A89662688C3602CBF)</sup>

计算是进一步约束。聚类、网络模体搜索和网络对齐都是 NP 难的，因此需要近似算法或启发式方法；<sup>[13](https://www.mdpi.com/2079-3197/11/10/188)</sup> 模块度最大化是 NP 难的，且偏向大簇。<sup>[6](https://www.sigmetrics.org/sigmetrics2024/tutorials/Tutorial_Network_Clustering.pdf)</sup>

推断性替代方案对网络进行统计建模而非描述。指数随机图模型将整个网络表示为联合概率分布，但需要正确设定内生依赖关系，且对非常稀疏或稠密的网络可能数值不稳定；潜空间模型假设给定共享潜在位置时二元关系条件独立，而这些共享潜在位置在边际上诱导依赖，更易使用但灵活性较差且不够简约。<sup>[28](https://onlinelibrary.wiley.com/doi/10.1111/ajps.12263)</sup>

## References

1. [Networks: An Introduction (M. E. J. Newman, Oxford University Press, 2010; hosted copy)](https://math.bme.hu/%7Egabor/oktatas/SztoM/Newman_Networks.pdf)
2. [Duncan J. Watts, Steven H. Strogatz (1998). Collective dynamics of ‘small-world’ networks. Nature.](https://doi.org/10.1038/30918)
3. [Albert-László Barabási, Réka Albert (1999). Emergence of Scaling in Random Networks. Science.](https://doi.org/10.1126/science.286.5439.509)
4. [Metrics for graph comparison: A practitioner's guide (PLOS One; merging PMC7015405 copy)](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0228728)
5. [Statistical Network Analysis: Past, Present, and Future (arXiv, 2023)](https://ar5iv.labs.arxiv.org/html/2311.00122)
6. [Network clustering: 50 years and still going! (SIGMETRICS 2024 tutorial)](https://www.sigmetrics.org/sigmetrics2024/tutorials/Tutorial_Network_Clustering.pdf)
7. [Graph analysis of functional brain networks: practical issues in translational neuroscience (PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC4150298/)
8. [Classification of scale free networks (Goh, Oh, Jeong, Kahng, Kim; PNAS 99(20):12583-12588, 2002)](https://ar5iv.labs.arxiv.org/html/cond-mat/0205232)
9. [Statistical mechanics of complex networks (Albert & Barabási, Reviews of Modern Physics 74, 47, 2002)](https://harvest.aps.org/v2/journals/articles/10.1103/RevModPhys.74.47/fulltext)
10. [Complex networks: Structure and dynamics (Physics Reports 424, 2006)](https://cosnet.bifi.es/publications/phys_rep_2006.pdf)
11. [Linton C. Freeman (1977). A Set of Measures of Centrality Based on Betweenness. Sociometry.](https://doi.org/10.2307/3033543)
12. [Network Analysis in the Social Sciences (Borgatti, Mehra, Brass, Labianca, Science 2009)](https://iacmr.org/wp-content/uploads/sites/26/2024/05/6.network-review.pdf)
13. [Graph-Theoretical Analysis of Biological Networks: A Survey (Mathematics/MDPI, 2022)](https://www.mdpi.com/2079-3197/11/10/188)
14. [A guide to choosing and implementing reference models for social network analysis (Biological Reviews)](https://www.ovid.com/journals/biorev/fulltext/10.1111/brv.12775~a-guide-to-choosing-and-implementing-reference-models-for)
15. [The application of graph theoretical analysis to complex networks in the brain (Reijneveld, Ponten, Berendse & Stam, Clinical Neurophysiology, 2007)](https://www.sciencedirect.com/science/article/abs/pii/S1388245707004257)
16. [Duncan J. Watts (1999). Networks, Dynamics, and the Small‐World Phenomenon. American Journal of Sociology.](https://doi.org/10.1086/210318)
17. [Olaf Sporns, Giulio Tononi, Rolf Kötter (2005). The Human Connectome: A Structural Description of the Human Brain. PLoS Computational Biology.](https://doi.org/10.1371/journal.pcbi.0010042)
18. [Sophie Achard and colleagues (2006). A Resilient, Low-Frequency, Small-World Human Brain Functional Network with Highly Connected Association Cortical Hubs. Journal of Neuroscience.](https://doi.org/10.1523/jneurosci.3874-05.2006)
19. [Yong He, Zhang J. Chen, Alan C. Evans (2007). Small-World Anatomical Networks in the Human Brain Revealed by Cortical Thickness from MRI. Cerebral Cortex.](https://doi.org/10.1093/cercor/bhl149)
20. [Patric Hagmann and colleagues (2008). Mapping the Structural Core of Human Cerebral Cortex. PLoS Biology.](https://doi.org/10.1371/journal.pbio.0060159)
21. [Mathematical Formulation of Multilayer Networks (De Domenico et al., Physical Review X 3, 041022, 2013)](https://journals.aps.org/prx/abstract/10.1103/PhysRevX.3.041022)
22. [M. Kivela and colleagues (2014). Multilayer networks. Journal of Complex Networks.](https://doi.org/10.1093/comnet/cnu016)
23. [Petter Holme, Jari Saramäki (2012). Temporal networks. Physics Reports.](https://doi.org/10.1016/j.physrep.2012.03.001)
24. [Higher-Order Networks Representation and Learning: A Survey (arXiv, February 2024)](https://arxiv.org/html/2402.19414)
25. [Brain Graphs: Graphical Models of the Human Brain Connectome (Bullmore & Bassett, Annual Review of Clinical Psychology 7:113-140, 2011)](https://www.annualreviews.org/content/journals/10.1146/annurev-clinpsy-040510-143934)
26. [Complex brain networks: graph theoretical analysis of structural and functional systems (Nature Reviews Neuroscience)](https://www.nature.com/articles/nrn2575)
27. [Descriptive vs. Inferential Community Detection in Networks (Peixoto, Cambridge Elements)](https://www.cambridge.org/core/elements/descriptive-vs-inferential-community-detection-in-networks/7A5360B356DDC65A89662688C3602CBF)
28. [Navigating the Range of Statistical Tools for Inferential Network Analysis (American Journal of Political Science)](https://onlinelibrary.wiley.com/doi/10.1111/ajps.12263)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/graph-theoretical-analysis

English original: https://www.edgepedia.org/graph-theoretical-analysis
