# 随机图

随机图是图上的一个概率分布：顶点集事先固定，边按照给定的随机规则放置，因此研究的不是单个图，而是取值于图的随机变量。<sup>[1](https://rhofstad.win.tue.nl/Understanding_random_graphs.pdf)</sup> 随机图模型就是选取随机边所依据的那套规则；规则不同，模型就不同，其数学性质也各异。<sup>[1](https://rhofstad.win.tue.nl/Understanding_random_graphs.pdf)</sup> 这一领域由保罗·埃尔德什（Paul Erdős）和阿尔弗雷德·雷尼（Alfréd Rényi）于20世纪50年代末创立，其中二项模型G(n, p)由埃德加·吉尔伯特（Edgar Gilbert）于1959年提出，均匀模型G(n, m)则由埃尔德什和雷尼提出。<sup>[2](https://web.archive.org/web/20200509005140/https:/projecteuclid.org/euclid.aoms/1177706098)</sup><sup> • </sup><sup>[3](https://renyi.hu/~p_erdos/1959-11.pdf)</sup><sup> • </sup><sup>[4](https://www.cambridge.org/core/books/random-graphs/E21023008001CFA182CE666F5028489F)</sup>

| 关键事实 | 细节 |
|---|---|
| 奠基模型 | 吉尔伯特的G(n, p)，每条边以概率p独立出现（1959）；埃尔德什–雷尼的G(n, m)，在具有n个顶点、m条边的图上均匀分布（1959–60）<sup>[2](https://web.archive.org/web/20200509005140/https:/projecteuclid.org/euclid.aoms/1177706098)</sup><sup> • </sup><sup>[3](https://renyi.hu/~p_erdos/1959-11.pdf)</sup> |
| 双重跳跃 | 最大连通分支在阈值以下为log n阶，在阈值处为n^(2/3)阶，在阈值以上为n阶<sup>[5](https://renyi.hu/~p_erdos/1960-10.pdf)</sup> |
| 巨分支 | 当平均度超过1时出现；在其以上，最大分支的大小为yn，其中e^(−cy) = 1 − y<sup>[6](https://cs.nyu.edu/~spencer/phasetransition.pdf)</sup> |
| 连通性阈值 | 位于p ≈ (ln n)/n处，过渡窗口的宽度为1/n阶，是一个锐阈值<sup>[7](https://staff.fnwi.uva.nl/j.r.kang/colrgsurvey.pdf)</sup> |
| 零一律 | G(n, n^(−α))服从一阶零一律，除非α ∈ (0,1] ∩ Q，或对某个正整数l有α = 1 + 1/l（谢拉赫与斯宾塞，1988）<sup>[8](https://ar5iv.labs.arxiv.org/html/1609.01102)</sup> |
| 与真实网络的对比 | 稀疏情形下度近似服从泊松分布，聚类系数C ≈ z/n，而真实网络中为百分之几到50%甚至更高<sup>[9](https://ar5iv.labs.arxiv.org/html/cond-mat/0202208)</sup> |

## 随机图的模型

**G(n, p)。** 在二项模型中，n个带标号顶点上的图的C(n, 2)条可能边中的每一条都以概率p独立出现，因此边数的期望为p·C(n, 2)。<sup>[10](https://www.cs.cornell.edu/courses/cs4850/2025sp/handouts/randgraphs.pdf)</sup> 对于同一顶点集上的任意简单图H，恰好得到H的概率为p^{|E|}(1 − p)^{C(n,2)−|E|}。<sup>[8](https://ar5iv.labs.arxiv.org/html/1609.01102)</sup> 2025年《美国数学会通报》的一篇综述从组合角度刻画了同一对象：随机图是{0,1}^N中的一个点，N = C(n, 2)个坐标代表完全图K_n的各条边，按乘积测度μ_p抽样。<sup>[11](https://www.ams.org/journals/bull/2025-62-01/S0273-0979-2024-01857-6/viewer/)</sup>

**G(n, m)。** 均匀模型在具有n个顶点、恰好m条边的所有图中均匀随机地选取一个图。<sup>[10](https://www.cs.cornell.edu/courses/cs4850/2025sp/handouts/randgraphs.pdf)</sup> 这两个模型紧密相关：以恰有m条边为条件的G(n, p)与G(n, m)同分布；当m等于或接近G(n, p)的期望边数p·C(n, 2)时，n很大时两模型的行为相似；区别在于G(n, m)中边数固定，而G(n, p)中边数是二项随机变量。<sup>[12](https://www.math.cmu.edu/~af1p/BOOK.pdf)</sup> 在G(n, m)中令m = λn/2，得到平均顶点度为2m/n = λ。<sup>[13](https://ae.iti.kit.edu/download/swalzer/2025-probability-and-computing/random-graphs-handout.pdf)</sup> 第三种经典变体是埃尔德什–雷尼过程，它在每个时间步加入一条均匀随机的边；它产生的图与G(n, m)同分布。<sup>[14](https://www.math.tugraz.at/~kang/papers/imn-randomgraphs.pdf)</sup>

**超越埃尔德什–雷尼。** 配置模型按照给定的度序列构造随机图，允许灵活的度结构。<sup>[15](https://rhofstad.win.tue.nl/Saint_Flour_SPoRG_Grundlehre.pdf)</sup> 优先连接模型是网络演化的动力学模型，其中度较高的顶点更可能吸引新加入顶点的边。<sup>[15](https://rhofstad.win.tue.nl/Saint_Flour_SPoRG_Grundlehre.pdf)</sup> 随机几何图将顶点置于度量空间中，并按依赖于距离的概率连接点对；在度量半径为r的二维环面上，一个顶点的期望度为4r²(n − 1)。<sup>[13](https://ae.iti.kit.edu/download/swalzer/2025-probability-and-computing/random-graphs-handout.pdf)</sup> 几何非齐次随机图（GIRGs）将帕累托分布的权重与基于距离的连接规则结合起来，布莱修斯（Bläsius）和菲施贝克（Fischbeck）（2022）证明，就局部性和异质性而言，它是真实世界网络的一个良好模型。<sup>[13](https://ae.iti.kit.edu/download/swalzer/2025-probability-and-computing/random-graphs-handout.pdf)</sup>

## 阈值现象与双重跳跃

埃尔德什和雷尼的奠基性发现是最大连通分支大小的*双重跳跃*。在最初的边数参数化下，对于N(n)/n → c的Γ(n, N)，最大分支在c < 1/2时为log n阶，在c ≈ 1/2时为n^(2/3)阶，在c > 1/2时为n阶；埃尔德什和雷尼称这是关于随机图最引人注目的事实之一。<sup>[5](https://renyi.hu/~p_erdos/1960-10.pdf)</sup><sup> • </sup><sup>[6](https://cs.nyu.edu/~spencer/phasetransition.pdf)</sup> 同一现象出现在平均度参数化G(n, c/n)中：最大分支在c < 1时为log n阶，在c = 1时为n^(2/3)阶，在c > 1时与n成线性关系。<sup>[16](https://www.math.chalmers.se/~hegarty/criticalrandomgraph.pdf)</sup>

**三种情形。** 当λ < 1时所有分支都很小，最大者为O(log n)阶。<sup>[17](https://sites.math.duke.edu/~rtd/DoG/Chapter1.pdf)</sup> 当λ > 1时存在一个巨分支，约有g(λ)n个顶点，第二大分支的大小为O(log n)。<sup>[17](https://sites.math.duke.edu/~rtd/DoG/Chapter1.pdf)</sup> 在超临界情形下，巨分支的复杂度趋于无穷，而所有其他分支都是简单的，第二大分支满足L2 = Θ(ln n)。<sup>[6](https://cs.nyu.edu/~spencer/phasetransition.pdf)</sup> 在临界值λ = 1处，最大分支的大小为n^(2/3)；在临界窗口λ = 1 + t·n^(−1/3)中，簇的增长可用乘性聚结过程近似。<sup>[17](https://sites.math.duke.edu/~rtd/DoG/Chapter1.pdf)</sup> 其直觉来自用均值为λ的分支过程来近似簇的增长。<sup>[17](https://sites.math.duke.edu/~rtd/DoG/Chapter1.pdf)</sup> 博洛巴斯（Bollobás）证明相变是光滑的：当边数约为顶点数的一半时，存在亚临界、临界和超临界三个阶段；在超临界阶段，以高概率存在一个远大于其余分支的唯一最大分支。<sup>[14](https://www.math.tugraz.at/~kang/papers/imn-randomgraphs.pdf)</sup>

**锐阈值。** 若存在某个阈值p̂，使得对每个ε > 0，当p ≤ (1 − ε)p̂时0-命题成立，当p ≥ (1 + ε)p̂时1-命题成立，则称该性质具有锐阈值；连通性、完美匹配的存在性以及哈密顿性的锐性均已知。<sup>[18](https://www.cambridge.org/core/journals/forum-of-mathematics-sigma/article/sharp-thresholds-for-ramsey-properties/37118888483709FB8C79D6FDB0F7F254)</sup> 奠基性的例子是连通性：G(n, p)的临界概率位于p = (ln n)/n附近，图从不连通变为连通的区间长度为1/n阶。<sup>[7](https://staff.fnwi.uva.nl/j.r.kang/colrgsurvey.pdf)</sup> 存在常数0 < a < b，使得当p < a·(log n)/n时图以概率1 − o(1)不连通，而当p > b·(log n)/n时图以概率1 − o(1)连通且直径为O(log n)。<sup>[10](https://www.cs.cornell.edu/courses/cs4850/2025sp/handouts/randgraphs.pdf)</sup> 对于c > 1时的m = cn/2，G(n, m)以高概率由一个唯一的巨分支构成。<sup>[12](https://www.math.cmu.edu/~af1p/BOOK.pdf)</sup>

## 数字一览

在深度超临界情形c > 1下，最大分支的大小为L1 ∼ yn，其中y = y(c)是e^(−cy) = 1 − y的正解。<sup>[6](https://cs.nyu.edu/~spencer/phasetransition.pdf)</sup> 在原始参数化下，当N(n) = cn且c > 1/2时，Γ(n, N(n))的最大分支以趋于1的概率约为G(c)n，其中G(c) = 1 − x(c)/(2c)。<sup>[5](https://renyi.hu/~p_erdos/1960-10.pdf)</sup> 超临界情形下的第二大分支为Θ(ln n)。<sup>[6](https://cs.nyu.edu/~spencer/phasetransition.pdf)</sup>

在连通性阈值以上，图G(n, p)以概率1 − o(1)连通、直径为O(log n)，并且是顶点扩展图。<sup>[10](https://www.cs.cornell.edu/courses/cs4850/2025sp/handouts/randgraphs.pdf)</sup> 对于固定的边概率p，几乎所有图G(n, p)的色数为n/(2 log_b n) − 2 log_b log_b n + O(1)，其中b = 1/(1 − p)。<sup>[19](https://onlinelibrary.wiley.com/doi/10.1002/rsa.3240010404)</sup> G(n, λ/n)的聚类系数为λ/n = O(1/n)。<sup>[13](https://ae.iti.kit.edu/download/swalzer/2025-probability-and-computing/random-graphs-handout.pdf)</sup>

## 逻辑与零一律

谢拉赫（Shelah）与斯宾塞（Spencer）于1988年证明，随机图G(n, n^(−α))服从一阶零一律，除非α ∈ (0,1] ∩ Q，或对某个正整数l有α = 1 + 1/l；零一律恰在这些例外指数处失效。<sup>[8](https://ar5iv.labs.arxiv.org/html/1609.01102)</sup> 更精细的陈述涉及量词深度：对任意k ≥ 3和任意α ∈ (0, 1/(k−2))，随机图G(n, n^(−α))服从一阶零一k-律，而当α = 1/(k−2)时不服从k-律；对k ≥ 4，它在α ∈ (1 − 1/(2^k − 2), 1)时服从k-律，在α = 1 − 1/(2^k − 2)时失效。<sup>[8](https://ar5iv.labs.arxiv.org/html/1609.01102)</sup> 在极稀疏情形α > 1下，只要对任意正整数l都有α ≠ 1 + 1/l，G(n, n^(−α))便同时服从一阶和一元二阶零一k-律；对α > 1还证明了一些新的一元二阶k-律。<sup>[8](https://ar5iv.labs.arxiv.org/html/1609.01102)</sup>

标准的专著论述见扬松（Janson）、乌奇扎克（Łuczak）和鲁钦斯基（Ruciński）由威利（Wiley）出版的著作中的“零一律”一章（第271–305页）；2015年《俄罗斯数学综述》的一篇综述讨论了第一阶性质的渐近行为，重点在埃尔德什–雷尼模型以及由编码论和组合几何所激发的推广。<sup>[20](https://onlinelibrary.wiley.com/doi/book/10.1002/9781118032718)</sup><sup> • </sup><sup>[21](https://iopscience.iop.org/article/10.1070/RM2015v070n01ABEH004936)</sup>

## 与真实世界网络的比较

埃尔德什–雷尼模型在两个方面与真实网络有重要差异：它缺乏聚类性或传递性，而且具有不切实际的泊松度分布。<sup>[9](https://ar5iv.labs.arxiv.org/html/cond-mat/0202208)</sup> 在G(n, p)中，度分布为参数为n − 1和p的二项分布，均值为c = p(n − 1)，在稀疏情形下近似为泊松分布；其方差小，连通性是齐次的，完全由边密度参数p驱动。<sup>[22](https://aaronclauset.github.io/courses/3352/csci3352_2024_L3.pdf)</sup> 聚类系数等于p，等价地C ≈ z/n，而真实世界网络的聚类系数从百分之几到50%甚至更高；在某些情形下，真实值与理论值相差可达四个数量级。<sup>[9](https://ar5iv.labs.arxiv.org/html/cond-mat/0202208)</sup> 在距离方面该模型表现较好：在连通情形下，ER图的直径和平均测地距离为O(log n)，使其具有小世界特征；在稀疏的G(n, λ/n)中，其聚类系数为O(1/n)，意味着三角形极少。<sup>[22](https://aaronclauset.github.io/courses/3352/csci3352_2024_L3.pdf)</sup> 对人际网络而言，另一个缺陷是错误地假设顶点对之间的所有连接都是独立的。<sup>[23](https://math.mit.edu/~apost/courses/18.204_2018/Lee_Bernick_paper.pdf)</sup>

**哪个模型弥补哪个缺陷。** 配置模型允许任意的度分布；当⟨k²⟩ − 2⟨k⟩ > 0时其中会出现巨分支，若度方差很大，即使⟨k⟩ < 1也可能满足该条件。<sup>[22](https://aaronclauset.github.io/courses/3352/csci3352_2024_L3.pdf)</sup> 一项对配置模型、小世界模型和优先连接模型的比较认为，优先连接模型最适合人际网络，因为它具有幂律度分布、短平均路径长度、高聚类性和动态特性。<sup>[23](https://math.mit.edu/~apost/courses/18.204_2018/Lee_Bernick_paper.pdf)</sup> GIRGs同时加入了局部性和异质性。<sup>[13](https://ae.iti.kit.edu/download/swalzer/2025-probability-and-computing/random-graphs-handout.pdf)</sup> 即使作为零模型，G(n, m)的标度也能正确刻画某些量的定性形状，但不能准确反映数值大小：G(n, m)中测地距离的增长比经验数据更快，信息网络和技术网络相对于零模型表现出过强的度同配性，而零模型中的聚类系数随n衰减得过快。<sup>[24](https://aaronclauset.github.io/courses/5352/csci5352_L4.pdf)</sup>

## 应用

随机图被用于建模、分析以及解决数学、理论计算机科学、自然科学、社会科学和生命科学中出现的结构与算法问题；对它们的研究将离散数学、概率论、理论计算机科学和统计物理联系起来。<sup>[14](https://www.math.tugraz.at/~kang/papers/imn-randomgraphs.pdf)</sup> 在随机图上研究的随机过程包括渗流、首达渗流、竞争、伊辛模型、随机游走和流行病，其行为与图的拓扑结构（如度、图距离和聚类）相关。<sup>[15](https://rhofstad.win.tue.nl/Saint_Flour_SPoRG_Grundlehre.pdf)</sup> 在标准的独立传播假设下，求解随机图上的键渗流也就求解了SIR流行病模型，其中渗流阈值对应流行病学中的流行阈值，巨分支的大小对应流行病规模。<sup>[9](https://ar5iv.labs.arxiv.org/html/cond-mat/0202208)</sup> 巨分支相变恰在平均度z = 1处发生，并与平均场渗流相变属于同一普适类。<sup>[9](https://ar5iv.labs.arxiv.org/html/cond-mat/0202208)</sup>

## 近期进展

**拉姆齐阈值。** 2024年2月，arXiv上的一篇论文解决了小早川–克罗伊特（Kohayakawa–Kreuter）猜想，该猜想预测了G(n, p)对固定的图元组（H1, …, Hr）渐近几乎必然成为拉姆齐图的阈值；该证明将这一概率问题归约为一个确定性图分解猜想，沿用了穆塞–内纳多夫–萨莫蒂（Mousset–Nenadov–Samotij）、鲍特尔–汉考克–海德（Bowtell–Hancock–Hyde）以及库珀瓦瑟–萨莫蒂–维格德森（Kuperwasser–Samotij–Wigderson）的归约。<sup>[25](https://arxiv.org/pdf/2402.03045)</sup> 《数学论坛，Sigma》上的一个统一框架确立了：对任意r ≥ 2以及属于包含所有团和环的某个类的任意H，在r种颜色下对图H成为拉姆齐图这一性质在G(n, p)中具有锐阈值；该框架还确立了任意颜色数下对应于范德瓦尔登（van der Waerden）定理和舒尔（Schur）定理的算术拉姆齐性质的锐性。<sup>[18](https://www.cambridge.org/core/journals/forum-of-mathematics-sigma/article/sharp-thresholds-for-ramsey-properties/37118888483709FB8C79D6FDB0F7F254)</sup>

**新界与推广。** 2025年10月arXiv上的一篇论文将非对角拉姆齐数的下界改进为R(3, k) ≥ (1/2 + o(1)) k²/log k，高于此前最好的(1/3 + o(1)) k²/log k，而已知最好的上界仍为(1 + o(1)) k²/log k；该改进使用了一种灵活的随机构造，产生边密度严格大于无H过程的无H图，同时保持伪随机性质。<sup>[26](https://arxiv.org/pdf/2510.19718)</sup> 2026年的一篇论文证明，n^(−1/max{m₂(H),1})是双色铺砌性质G(n, p) → (mH)₂的阈值，从而将勒德尔–鲁钦斯基（Rödl–Ruciński）阈值定理推广到双色铺砌情形。<sup>[27](https://arxiv.symmetricfunctions.com/paper/2605.21471v1)</sup> 2026年《欧洲组合数学杂志》的一篇文章确定了二项随机图对图H成为反拉姆齐图的阈值，即每种正常边染色都产生一个彩虹H副本。<sup>[28](https://dl.acm.org/doi/abs/10.1016/j.ejc.2026.104344)</sup> 2025年《美国数学会通报》的综述“在随机结构中寻找（锐）阈值：我们现在在哪里？”是该研究纲领当前的权威论述。<sup>[11](https://www.ams.org/journals/bull/2025-62-01/S0273-0979-2024-01857-6/viewer/)</sup>

**随机正则图。** 随机正则图模型G(n, r)与G(n, p)有定性差异：值得注意的是，G(n, 3)渐近几乎必然是哈密顿图，而对更大的r，两模型的行为似乎更为相似，金（Kim）和武（Vu）部分地形式化了这一事实。<sup>[7](https://staff.fnwi.uva.nl/j.r.kang/colrgsurvey.pdf)</sup>

## References

1. [van der Hofstad, Understanding Random Graphs](https://rhofstad.win.tue.nl/Understanding_random_graphs.pdf)
2. [Gilbert, E. N. Random Graphs. Ann. Math. Statist. 30 (1959), no. 4, 1141–1144](https://web.archive.org/web/20200509005140/https:/projecteuclid.org/euclid.aoms/1177706098)
3. [Erdős and Rényi, On Random Graphs I (1959)](https://renyi.hu/~p_erdos/1959-11.pdf)
4. [Bollobás, Random Graphs, 2nd edition, Cambridge University Press](https://www.cambridge.org/core/books/random-graphs/E21023008001CFA182CE666F5028489F)
5. [Erdős and Rényi, On the Evolution of Random Graphs (1960)](https://renyi.hu/~p_erdos/1960-10.pdf)
6. [Spencer, The Erdős–Rényi Phase Transition](https://cs.nyu.edu/~spencer/phasetransition.pdf)
7. [Kang & McDiarmid, Colouring random graphs](https://staff.fnwi.uva.nl/j.r.kang/colrgsurvey.pdf)
8. [Logic of the random graph (arXiv)](https://ar5iv.labs.arxiv.org/html/1609.01102)
9. [Newman, Random graphs as models of networks](https://ar5iv.labs.arxiv.org/html/cond-mat/0202208)
10. [Random Graphs, Cornell CS4850 lecture notes, Spring 2025](https://www.cs.cornell.edu/courses/cs4850/2025sp/handouts/randgraphs.pdf)
11. [Searching for (sharp) thresholds in random structures: Where are we now? AMS Bulletin 62(1), 2025](https://www.ams.org/journals/bull/2025-62-01/S0273-0979-2024-01857-6/viewer/)
12. [Frieze & Karoński, Random Graphs](https://www.math.cmu.edu/~af1p/BOOK.pdf)
13. [Probability and Computing — Random Graphs (KIT lecture handout, 2025)](https://ae.iti.kit.edu/download/swalzer/2025-probability-and-computing/random-graphs-handout.pdf)
14. [Kang et al., Random graphs — theory and applications (Graz)](https://www.math.tugraz.at/~kang/papers/imn-randomgraphs.pdf)
15. [van der Hofstad, Stochastic processes on random graphs (Saint-Flour)](https://rhofstad.win.tue.nl/Saint_Flour_SPoRG_Grundlehre.pdf)
16. [The critical random graph, with martingales](https://www.math.chalmers.se/~hegarty/criticalrandomgraph.pdf)
17. [Durrett, Random Graph Dynamics, Chapter 1](https://sites.math.duke.edu/~rtd/DoG/Chapter1.pdf)
18. [Sharp thresholds for Ramsey properties, Forum of Mathematics, Sigma](https://www.cambridge.org/core/journals/forum-of-mathematics-sigma/article/sharp-thresholds-for-ramsey-properties/37118888483709FB8C79D6FDB0F7F254)
19. [On the chromatic number of random graphs, Random Structures & Algorithms](https://onlinelibrary.wiley.com/doi/10.1002/rsa.3240010404)
20. [Janson, Łuczak & Ruciński, Random Graphs, Wiley](https://onlinelibrary.wiley.com/doi/book/10.1002/9781118032718)
21. [Random graphs: models and asymptotic characteristics, Russian Mathematical Surveys (2015)](https://iopscience.iop.org/article/10.1070/RM2015v070n01ABEH004936)
22. [Clauset, Random graphs and reference distributions (CU Boulder, 2024)](https://aaronclauset.github.io/courses/3352/csci3352_2024_L3.pdf)
23. [Modeling Human Networks with Random Graphs, MIT 18.204](https://math.mit.edu/~apost/courses/18.204_2018/Lee_Bernick_paper.pdf)
24. [Clauset, Random graphs and null models (CU Boulder)](https://aaronclauset.github.io/courses/5352/csci5352_L4.pdf)
25. [Resolution of the Kohayakawa–Kreuter conjecture (arXiv, 2024)](https://arxiv.org/pdf/2402.03045)
26. [A random construction for H-free graphs and improved off-diagonal Ramsey numbers (arXiv, 2025)](https://arxiv.org/pdf/2510.19718)
27. [Ramsey properties for tilings in random graphs (arXiv, 2026)](https://arxiv.symmetricfunctions.com/paper/2605.21471v1)
28. [On the anti-Ramsey threshold, European Journal of Combinatorics (2026)](https://dl.acm.org/doi/abs/10.1016/j.ejc.2026.104344)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › Formal logic and foundations › Model theory › Finite model theory and applications › Zero–one laws and random structures

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/random-graph

English original: https://www.edgepedia.org/random-graph
