# 独立集（图论）

图中的一个**独立集**是顶点的一个子集，其中任意两个顶点都不相邻，也就是说，图中没有任何一条边连接其中任意一对顶点。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup> 图 G 中最大独立集的大小称为独立数，记作 \( \alpha(G) \)（也称稳定数）。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1709.02475)</sup> 寻找最大独立集是图论的核心计算问题之一：该问题一般是 NP 难的，难以近似，但对若干重要的图类是可处理的。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 一个顶点子集，其中任意两个顶点之间都没有边<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup> |
| 独立数 | \( \alpha(G) \)，即最大独立集的大小；对于 5-圈，\( \alpha(C_5) = 2 \)<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup><sup> • </sup><sup>[3](https://www.mathwords.com/i/independent_set.htm)</sup> |
| 一般复杂度 | 计算 \( \alpha(G) \) 是 NP 难的，在多项式时间内将其近似到常数因子也是 NP 难的<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup> |
| 补图关系 | G 中的最大独立集问题与补图 \( \overline{G} \) 中的最大团问题是同一个问题<sup>[4](https://www.csc.kth.se/tcs/compendium/node34.html)</sup> |
| 简单情形 | 二部图上有多项式时间算法（由柯尼希定理），无爪图、无 P5 图和完美图上也是如此<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup> |
| 精确指数算法 | 可在 \( 1.1996^{n} \cdot n^{O(1)} \) 时间和多项式空间内求解（肖与长町，2017）<sup>[5](https://arxiv.org/abs/1312.6260)</sup> |

## 定义与基本例子

给定顶点集为 V 的图 G，V 的子集 I 是 G 的独立集，当且仅当 I 中任意两个顶点之间都没有边。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup><sup> • </sup><sup>[6](https://www.cse.iitd.ac.in/~rjaiswal/2016/col351/Notes/Week-13/lec-1.pdf)</sup> 如果一个集合在保持独立性的前提下无法再加入任何顶点，则称其为*极大*的；如果图中没有任何独立集比它包含更多顶点，则称其为*最大*的；最大独立集的大小即为独立数 \( \alpha(G) \)。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup><sup> • </sup><sup>[3](https://www.mathwords.com/i/independent_set.htm)</sup>

这一区分在实践中很重要。在 5-圈中，每个最大独立集都有两个顶点，例如 \{1, 3\} 或 \{2, 5\}，因此 \( \alpha(C_5) = 2 \)，且共有五个不同的最大独立集。<sup>[3](https://www.mathwords.com/i/independent_set.htm)</sup> 一个简单地逐个加入顶点的贪心过程产生的是极大独立集，它可能比最大独立集小得多；图的字典序第一个极大独立集取决于所使用的顶点排序。<sup>[7](https://www.sciencedirect.com/topics/computer-science/independent-set)</sup>

一个推广是 k-独立集，即顶点集 S 使得由 S 导出的子图中的最大度至多为 k；通常的独立集是 k = 0 的情形，相应的参数称为 k-独立数。<sup>[8](https://arxiv.org/abs/1208.4734)</sup>

## 与其他图问题的关系

**互补性。** 最大独立集问题与补图上的最大团问题是同一个问题，在补图中相邻顶点变为不相邻，反之亦然。<sup>[4](https://www.csc.kth.se/tcs/compendium/node34.html)</sup> 加权情形同样如此：G 中的最大权独立集就是 \( \overline{G} \) 中的最大权团。<sup>[9](https://arxiv.org/abs/1810.10834)</sup>

**顶点覆盖。** 不在独立集中的顶点构成一个顶点覆盖，即触及每条边的集合。对于二部图，特别是树，柯尼希定理指出，不在最小顶点覆盖中的所有顶点都可以包含在一个最大独立集中，因此在这些图上独立数可以在多项式时间内求得。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup> 在树上，独立数还与边覆盖数相等，且独立数与匹配数之和恰好等于顶点总数。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup>

## 计算复杂度

计算 \( \alpha(G) \) 一般是 NP 难的，即使限制在平面图上，该问题仍然是 NP 完全的。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup><sup> • </sup><sup>[10](https://epubs.siam.org/doi/abs/10.1137/0211055?journalCode=smjcat)</sup> 近似也是困难的：一般不可能在多项式时间内将独立数近似到常数因子。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup>

**可处理图类。** 对于特殊图类，已知有多项式时间的精确算法，包括无爪图、无 P5 图和完美图。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup> 对于平面图，更一般地对于在取子式下封闭的图，存在多项式时间近似方案。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup> 千叶、西关和斋藤的一项早期结果表明，对于任意顶点数 n 的平面图，可以在 \( O(n \log n) \) 时间内找到一个大于最大独立集一半的独立集，其绝对最坏情况比大于 \( \tfrac{1}{2} \)。<sup>[10](https://epubs.siam.org/doi/abs/10.1137/0211055?journalCode=smjcat)</sup>

**精确指数算法。** 对于必须精确求解的实例，已知最好的界是指数级的，但远低于穷举搜索。肖和长町证明，具有 n 个顶点的图上的最大独立集问题可以在 \( 1.1996^{n} \cdot n^{O(1)} \) 时间和多项式空间内求解，改进了罗布森于 1986 年发表的 \( 1.2109^{n} \cdot n^{O(1)} \) 时间指数空间算法；对于最大度为 6 和 7 的图，他们的算法运行时间为 \( 1.1893^{n} \cdot n^{O(1)} \) 和 \( 1.1970^{n} \cdot n^{O(1)} \)。<sup>[5](https://arxiv.org/abs/1312.6260)</sup> 这些分支约减算法分层地利用低度图的快速算法，并对有界度结构进行仔细分析。<sup>[5](https://arxiv.org/abs/1312.6260)</sup>

## 实用算法

无论从理论还是实践来看，最大独立集最有效的实用算法都使用约减规则将输入缩小为一个小得多的等价实例，称为核，然后对其精确求解。<sup>[11](https://doi.org/10.1145/3355502)</sup> 分支约减搜索——将分支定界与减小输入规模的约减交错进行——尤其有效。<sup>[9](https://arxiv.org/abs/1810.10834)</sup>

对于加权版本，即每个顶点带有一个权重，目标是求总权重最大的独立集，拉姆、舒尔茨、斯特拉什及其同事开发了一套约减规则，并在多达数百万顶点和边的真实图上进行了测试。在许多实例上，他们的分支约减方法比当时可用的非精确局部搜索方法快达两个数量级，并在 15 分钟内完成了大多数实例；在未解决的实例上，将核化加入局部搜索所得到的解的质量优于单独的局部搜索。<sup>[9](https://arxiv.org/abs/1810.10834)</sup> 分支策略也很重要：将图分解为连通分量或移除阻碍约减的顶点的定向规则，在 65% 的测试实例上优于默认的最高度规则，在稀疏网络上加速比为 2.29。<sup>[12](https://arxiv.org/abs/2102.01540)</sup>

## 应用

独立数是著名的图参数，在调度理论、编码理论以及投票池中的串通检测中有应用，并在理论计算机科学中引起了特别的兴趣。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup> 在加权情形下，应用涵盖信号传输、信息检索和计算机视觉；一个具体例子是地图标注，其中标注冲突图将任意两个重叠的标注用一条边连接，顶点带有与城市人口成比例的权重，最大权独立集选出最大的可见且不重叠的标注集合。<sup>[9](https://arxiv.org/abs/1810.10834)</sup> 广义独立集问题是经典问题的一个推广，在森林采伐和图像视频处理中有实际应用。<sup>[13](https://www.sciencedirect.com/science/article/pii/S0305054824000339)</sup>

## 极值与结构理论

独立集通过拉姆齐定理和图兰定理处于极值组合学的中心，这两个定理都是图论中最著名的定理之一。<sup>[14](https://renyi.hu/~sos/1994_Turan_Ramsey_Theoremes_And_Kp_Independence_Numbers.pdf)</sup> 拉姆齐–图兰理论提出了一个综合性问题：一个 n 顶点图在不包含给定图 L 作为子图、同时独立顶点数不超过 f(n) 的条件下，最多能有多少条边；该问题的动机来自经典的图兰定理和拉姆齐定理，以及图兰定理在几何与分析、特别是位势论中的应用。<sup>[15](https://real.mtak.hu/110601/)</sup> 图兰本人于 1941 年在 20 世纪 40 年代期间通过拉姆齐定理得出了后来成为图兰定理的极值问题。<sup>[16](https://page.mi.fu-berlin.de/szabo/PDF/notes.pdf)</sup> 在组合学中，独立数从贝拉·博洛巴什的早期工作开始就受到了相当大的关注。<sup>[1](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)</sup>

## References

1. [Independence and domination number of random trees (Holmgren, Mitsche, Noy), University of Frankfurt](https://www.math.uni-frankfurt.de/~neiningr/ind_set.pdf)
2. [Maximum independent sets near the upper bound, arXiv](https://arxiv.org/abs/1709.02475)
3. [Independent Set — Definition, Formula & Examples, MathWorld companion (Mathwords)](https://www.mathwords.com/i/independent_set.htm)
4. [Maximum Independent Set, KTH compendium](https://www.csc.kth.se/tcs/compendium/node34.html)
5. [Mingyu Xiao and Hiroshi Nagamochi (2017). Exact algorithms for maximum independent set. Information and Computation 255: 126–146; arXiv version](https://arxiv.org/abs/1312.6260)
6. [Independent Set definition, IIT Delhi COL351 lecture notes](https://www.cse.iitd.ac.in/~rjaiswal/2016/col351/Notes/Week-13/lec-1.pdf)
7. [Independent Set — an overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/computer-science/independent-set)
8. [New approach to the k-independence number of a graph, arXiv](https://arxiv.org/abs/1208.4734)
9. [Lamm, Schulz, Strash, Williger, Zhang (2018). Exactly Solving the Maximum Weight Independent Set Problem on Large Real-World Graphs, arXiv](https://arxiv.org/abs/1810.10834)
10. [Chiba, Nishizeki, Saito. An Approximation Algorithm for the Maximum Independent Set Problem on Planar Graphs. SIAM Journal on Computing](https://epubs.siam.org/doi/abs/10.1137/0211055?journalCode=smjcat)
11. [Scalable Kernelization for Maximum Independent Sets, ACM Journal of Experimental Algorithmics](https://doi.org/10.1145/3355502)
12. [Hespe, Lamm, Schorr (2021). Targeted Branching for the Maximum Independent Set Problem, SEA 2021, arXiv](https://arxiv.org/abs/2102.01540)
13. [Exact and heuristic solution approaches for the Generalized Independent Set Problem, Computers & Operations Research](https://www.sciencedirect.com/science/article/pii/S0305054824000339)
14. [Turán–Ramsey Theorems and Kp-Independence Numbers, Rényi Institute](https://renyi.hu/~sos/1994_Turan_Ramsey_Theoremes_And_Kp_Independence_Numbers.pdf)
15. [Turán–Ramsey theorems and simple asymptotically extremal structures, Repository of the Hungarian Academy](https://real.mtak.hu/110601/)
16. [Ramsey-type problems lecture notes, Freie Universität Berlin](https://page.mi.fu-berlin.de/szabo/PDF/notes.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Graph theory › Graph invariants and parameters › Clique, independence, and homomorphism invariants

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/independent-set-graph-theory

English original: https://www.edgepedia.org/independent-set-graph-theory
