# 粗糙集

粗糙集是一种用于分析模糊或不完整数据的数学工具：在近似空间中无法精确定义的概念，由一对可定义集合——下近似和上近似——来表示，二者之差即为边界域。该理论直接在数据表上进行全部计算，不对数据作额外假设，这使其成为机器学习和数据挖掘中特征选择、规则归纳和可解释决策模型的标准方法。<sup>[1](https://sci2s.ugr.es/keel/dataset/includes/catImbFiles/1982%20-%20Pawlak.pdf)</sup><sup> • </sup><sup>[2](https://people.eecs.ku.edu/~jerzygb/RST.pdf)</sup><sup> • </sup><sup>[3](https://annals-csis.org/Volume_30/drp/pdf/310.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 近似空间 | 一个二元组 \( A = (U, R) \)，其中 \( U \) 是对象论域，\( R \) 是一个称为不可分辨关系的等价关系<sup>[1](https://sci2s.ugr.es/keel/dataset/includes/catImbFiles/1982%20-%20Pawlak.pdf)</sup> |
| 下近似与上近似 | 确定属于、以及可能属于概念 \( X \) 的对象<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC6244804/)</sup> |
| 近似精度 | \( \alpha_{B}(X) = \mathrm{card}(\underline{B}(X)) / \mathrm{card}(\overline{B}(X)) \)，其中 \( 0 \leq \alpha_{B}(X) \leq 1 \)<sup>[5](https://bcpw.bg.pw.edu.pl/Content/1968/Rudiments.pdf)</sup> |
| 约简 | 保持对决策属性依赖性的条件属性最小子集；寻找最小约简是NP难的<sup>[6](https://www.mi-research.net/cn/article/pdf/preview/10.1007/s11633-007-0217-y.pdf)</sup><sup> • </sup><sup>[7](http://bcpw.bg.pw.edu.pl/Content/1964/PDF/Enc.pdf)</sup> |
| 模糊性机制 | 通过对象的边界域表达，而非通过分级隶属度<sup>[5](https://bcpw.bg.pw.edu.pl/Content/1968/Rudiments.pdf)</sup> |
| 主要扩展 | 变精度、基于容差、邻域、基于覆盖、基于优势以及模糊粗糙模型<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC6244804/)</sup><sup> • </sup><sup>[6](https://www.mi-research.net/cn/article/pdf/preview/10.1007/s11633-007-0217-y.pdf)</sup> |
| 软件 | ROSETTA和RSES实现了粗糙集方法；RSES 2是一个遗留工具，由华沙大学积极维护的开源库Rseslib 3接替<sup>[7](http://bcpw.bg.pw.edu.pl/Content/1964/PDF/Enc.pdf)</sup> |

## 工作原理

近似空间是一个二元组 \( A = (U, R) \)，其中 \( U \) 是一个称为论域的集合，\( R \subseteq U \times U \) 是一个不可分辨关系，假定为等价关系。<sup>[1](https://sci2s.ugr.es/keel/dataset/includes/catImbFiles/1982%20-%20Pawlak.pdf)</sup> 当两个对象在可用属性上取值完全相同时，它们不可分辨——这是莱布尼茨（Leibniz）不可分辨者同一原则在实际可用属性上的限制。<sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0020025506001496)</sup> 等价类称为基本集，是最小的可观测信息粒；基本集的任何有限并集都是可定义集。<sup>[9](https://people.eecs.ku.edu/~jerzygb/Rough-sets.pdf)</sup>

对于概念 \( X \subseteq U \)，下近似 \( \underline{B}(X) = \{ x \in U: B(x) \subseteq X \} \) 收集其整个不可分辨类都落在 \( X \) 中的对象，即确定属于该概念的对象；上近似 \( \overline{B}(X) = \{ x \in U: B(x) \cap X \neq \emptyset \} \) 收集可能属于该概念的对象。<sup>[5](https://bcpw.bg.pw.edu.pl/Content/1968/Rudiments.pdf)</sup><sup> • </sup><sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC6244804/)</sup> 边界域 \( BN_{B}(X) = \overline{B}(X) \setminus \underline{B}(X) \) 包含利用知识 \( B \) 既不能归类为 \( X \) 也不能归类为非 \( X \) 的对象。一个集合相对于 \( B \) 是清晰的（精确的），当其边界为空；否则是粗糙的；等价地，当 \( \underline{R}(X) = \overline{R}(X) \) 时，\( X \) 是可定义的。<sup>[5](https://bcpw.bg.pw.edu.pl/Content/1968/Rudiments.pdf)</sup><sup> • </sup><sup>[10](https://link.springer.com/article/10.1007/s10462-025-11139-4)</sup>

近似精度 \( \alpha_{B}(X) = \mathrm{card}(\underline{B}(X)) / \mathrm{card}(\overline{B}(X)) \) 恰好当 \( X \) 可定义时等于1。帕夫拉克（Pawlak）还将近似解释为模态逻辑中必然性与可能性的对应物，以及拓扑中的内部与闭包。<sup>[5](https://bcpw.bg.pw.edu.pl/Content/1968/Rudiments.pdf)</sup><sup> • </sup><sup>[1](https://sci2s.ugr.es/keel/dataset/includes/catImbFiles/1982%20-%20Pawlak.pdf)</sup>

## 如何实施

数据以决策表形式给出：行是对象，列是条件属性和决策属性。算法所需的所有构造都从该表导出，无需先验估计或预备假设。<sup>[7](http://bcpw.bg.pw.edu.pl/Content/1964/PDF/Enc.pdf)</sup> 不可分辨关系从属性值读出，并计算决策的正域、边界域和负域：正域包含确定可分类的对象，边界域包含可能但不确定可分类的对象，负域包含确定在概念之外、即在其上近似之外的对象。<sup>[6](https://www.mi-research.net/cn/article/pdf/preview/10.1007/s11633-007-0217-y.pdf)</sup>

**属性约简**是核心算法任务。条件属性子集 \( C' \subseteq C \) 是一个 \( D \)-约简，如果它是保持依赖性 \( c(C, D) = c(C', D) \) 的最小子集；等价地，是满足 \( \gamma_{R}(D) = \gamma_{C}(D) \) 的最小 \( R \subseteq C \)。所有约简的交集是核，其属性不能被移除而不引入更多矛盾。<sup>[5](https://bcpw.bg.pw.edu.pl/Content/1968/Rudiments.pdf)</sup><sup> • </sup><sup>[6](https://www.mi-research.net/cn/article/pdf/preview/10.1007/s11633-007-0217-y.pdf)</sup> 寻找最小约简是NP完全或NP难的。<sup>[7](http://bcpw.bg.pw.edu.pl/Content/1964/PDF/Enc.pdf)</sup> 穷举法将可分辨性表达式从合取范式转换为析取范式，能发现所有最小子集，但即使对中等规模数据集也不实用，因此使用QuickReduct等启发式方法；进化计算和蚁群优化也有应用。<sup>[6](https://www.mi-research.net/cn/article/pdf/preview/10.1007/s11633-007-0217-y.pdf)</sup><sup> • </sup><sup>[11](https://www.mimuw.edu.pl/~son/sysdec/E4-roughsets.pdf)</sup> 属性选择的一个正确性条件是(RM)-性质：当省略属性时，粒度变粗，因此下近似不应增大，上近似不应减小。<sup>[12](https://cwi.ugent.be/lynn/ComprehensiveStudy_Published.pdf)</sup> 从约简生成决策规则；基于对象可分辨性和布尔推理的方法支持计算约简、决策规则、关联规则以及实值属性的离散化。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC6244804/)</sup> 通过考虑多个约简、剪枝规则和放宽可分辨性约束，可以限制[过拟合](https://www.edgepedia.org/zh/overfitting)。<sup>[11](https://www.mimuw.edu.pl/~son/sysdec/E4-roughsets.pdf)</sup>

## 起源

1982年的论文本身指出，该方法“可以被视为模糊集理论和容差理论的一种替代”，其思想受到米哈伊尔斯基（Michalski）关于自动分类的研究成果的启发。<sup>[1](https://sci2s.ugr.es/keel/dataset/includes/catImbFiles/1982%20-%20Pawlak.pdf)</sup> 信息系统这一概念——不可分辨关系在其上定义——来自帕夫拉克早期关于知识表示和信息检索的工作。<sup>[3](https://annals-csis.org/Volume_30/drp/pdf/310.pdf)</sup> 该方法与扎德（Zadeh）1965年发表在《信息与控制》（Information and Control）上的模糊集相关。<sup>[13](https://doi.org/10.1016/s0019-9958%2865%2990241-x)</sup>

## 变体

帕夫拉克的等价关系模型已在若干方向上得到推广：基于相似性（容差）、基于二元关系、基于邻域和覆盖、基于优势以及模糊混合方法。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC6244804/)</sup>

**变精度粗糙集（VPRS）** 针对有限论域定义，放宽子集算子以允许受控程度的误分类：\( X \subseteq_{\beta} Y \) 当且仅当 \( c(X, Y) \leq \beta \)，其中 \( 0 \leq \beta < 0.5 \)，得到 \( \beta \)-下近似 \( R_{\beta}X = \bigcup \{ [x]_{R} \in U/R: c([x]_{R}, X) \leq \beta \} \)。<sup>[12](https://cwi.ugent.be/lynn/ComprehensiveStudy_Published.pdf)</sup><sup> • </sup><sup>[6](https://www.mi-research.net/cn/article/pdf/preview/10.1007/s11633-007-0217-y.pdf)</sup> **基于容差的粗糙集**用容差（相似）关系替代不可分辨关系。<sup>[11](https://www.mimuw.edu.pl/~son/sysdec/E4-roughsets.pdf)</sup> **邻域粗糙集**用基于距离度量定义的邻域信息粒替代等价类，从而无需离散化即可处理数值属性，并具有更强的噪声容忍度。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S0888613X25002397)</sup><sup> • </sup><sup>[15](https://www.techscience.com/cmc/v88n3/68142/html)</sup> **模糊粗糙集**通过用模糊等价类替代等价类来处理实值数据；模糊 \( P \)-下近似的一个初始定义是 \( \mu_{P}X(F_{i}) = \inf_{x} \max\{ 1 - \mu_{F_{i}}(x), \mu_{X}(x) \} \)，其中 \( F_{i} \) 是模糊等价类。<sup>[6](https://www.mi-research.net/cn/article/pdf/preview/10.1007/s11633-007-0217-y.pdf)</sup> 概率方法在决策论框架内以概率和信息论术语研究规则归纳。<sup>[16](https://onlinelibrary.wiley.com/doi/10.1111/1468-0394.00253)</sup> 广义近似空间是一个元组 \( AS = (U, I, m) \)，其中 \( I \) 是不确定性函数，\( I(x) \) 是 \( x \) 的邻域，\( m \) 是取值于 \( [0, 1] \) 的包含函数。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC6244804/)</sup> 博弈论粗糙集由约瑟夫·P·赫伯特（Joseph P. Herbert）和姚京涛（JingTao Yao）于2011年在《信息学基础》（Fundamenta Informaticae）上提出，使用博弈论机制在概率粗糙集中权衡各项标准。<sup>[17](https://doi.org/10.3233/fi-2011-423)</sup>

## 应用

粗糙集方法已应用于声学、生物学、商业与金融、化学、计算机工程、医学、分子生物学、神经学、机器人学以及网络挖掘等领域。<sup>[7](http://bcpw.bg.pw.edu.pl/Content/1964/PDF/Enc.pdf)</sup> 它们在特征选择和可解释决策模型构建中很受欢迎。<sup>[3](https://annals-csis.org/Volume_30/drp/pdf/310.pdf)</sup> 邻域、模糊、多粒度以及变精度粗糙集等扩展被用于能源工程、数据挖掘、机器学习、医学诊断和决策支持。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S0888613X25002397)</sup> 若干软件系统实现了该理论，尤其是ROSETTA和RSES。<sup>[7](http://bcpw.bg.pw.edu.pl/Content/1964/PDF/Enc.pdf)</sup>

## 局限与替代方案

帕夫拉克模型的主要弱点是刚性：一个元素只有在其整个等价类都包含在集合中时，才属于该集合的下近似，这使得该模型不太适合需要容忍噪声数据的实际数据分析；VPRS及其他扩展正是为弥补这一点而设计的。<sup>[12](https://cwi.ugent.be/lynn/ComprehensiveStudy_Published.pdf)</sup> 搜索短约简以及由连续属性上的割点定义的最佳划分具有很高的计算成本，高效的改进依赖于并发检索更高层次的统计量以进行启发式搜索。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC6244804/)</sup> 在基于邻域的特征选择中，前向贪心方法的主要成本是每次迭代更新距离矩阵，边界对象集特征选择（BOSFS）算法通过将成对距离计算限制在单调收缩的边界对象集上来降低这一成本。<sup>[15](https://www.techscience.com/cmc/v88n3/68142/html)</sup>

模糊集和粗糙集通常被认为是有联系但不同且互补的理论，尽管一些作者主张其中一个比另一个更一般；模糊集让对象以某种程度属于一个集合，而粗糙集提供概念的近似，处理不完美数据的两个相互正交的特征。<sup>[18](https://www2.cs.uregina.ca/~yyao/PAPERS/is_comparison.pdf)</sup><sup> • </sup><sup>[19](https://faculty.washington.edu/mdecock/papers/ccornelis2008z.pdf)</sup> 在图像处理中，模糊集理论涉及灰度级的渐变性，而粗糙集理论涉及像素的大小。<sup>[5](https://bcpw.bg.pw.edu.pl/Content/1968/Rudiments.pdf)</sup> 粗糙集理论还在共同的真实医学数据集上与判别分析中的位置模型进行了实证比较。<sup>[20](https://onlinelibrary.wiley.com/doi/10.1002/asm.3150080107)</sup>

## References

1. [Rough sets (Pawlak, 1982, International Journal of Computer & Information Sciences 11(5):341–356)](https://sci2s.ugr.es/keel/dataset/includes/catImbFiles/1982%20-%20Pawlak.pdf)
2. [Rough Set Theory with Applications to Data Mining (Grzymala-Busse)](https://people.eecs.ku.edu/~jerzygb/RST.pdf)
3. [Rough Sets Turn 40 (Annals of Computer Science and Information Systems, 2024)](https://annals-csis.org/Volume_30/drp/pdf/310.pdf)
4. [Rough sets: past, present, and future (Skowron et al., 2018)](https://pmc.ncbi.nlm.nih.gov/articles/PMC6244804/)
5. [Rudiments of rough sets (Pawlak & Skowron, Information Sciences, doi:10.1016/j.ins.2006.06.003)](https://bcpw.bg.pw.edu.pl/Content/1968/Rudiments.pdf)
6. [Rough Sets, Their Extensions and Applications (International Journal of Automation and Computing, 2007, doi:10.1007/s11633-007-0217-y)](https://www.mi-research.net/cn/article/pdf/preview/10.1007/s11633-007-0217-y.pdf)
7. [Rough Set Theory: A Survey](http://bcpw.bg.pw.edu.pl/Content/1964/PDF/Enc.pdf)
8. [Rough sets: Some extensions (Information Sciences)](https://www.sciencedirect.com/science/article/abs/pii/S0020025506001496)
9. [Rough sets chapter (Jerzy W. Grzymala-Busse, University of Kansas)](https://people.eecs.ku.edu/~jerzygb/Rough-sets.pdf)
10. [A three-way decision model for multi-granular support intuitionistic fuzzy rough sets based on overlap functions (Artificial Intelligence Review, 2025)](https://link.springer.com/article/10.1007/s10462-025-11139-4)
11. [Rough sets in Data Science – Part 1: Basic rough set methods (Skowron, University of Warsaw lecture notes)](https://www.mimuw.edu.pl/~son/sysdec/E4-roughsets.pdf)
12. [A comprehensive study of implicator–conjunctor-based and noise-tolerant fuzzy rough sets](https://cwi.ugent.be/lynn/ComprehensiveStudy_Published.pdf)
13. [Fuzzy sets (Information and Control, 1965)](https://doi.org/10.1016/s0019-9958%2865%2990241-x)
14. [Matrix-based efficient methods to update three-way regions in neighborhood systems under varying attributes (2025)](https://www.sciencedirect.com/science/article/abs/pii/S0888613X25002397)
15. [Boundary Region-Driven Feature Selection for Neighborhood Rough Sets (CMC)](https://www.techscience.com/cmc/v88n3/68142/html)
16. [Probabilistic approaches to rough sets (Expert Systems, Wiley)](https://onlinelibrary.wiley.com/doi/10.1111/1468-0394.00253)
17. [Joseph P. Herbert, JingTao Yao (2011). Game-Theoretic Rough Sets. Fundamenta Informaticae.](https://doi.org/10.3233/fi-2011-423)
18. [A Comparative Study of Fuzzy Sets and Rough Sets (Yao)](https://www2.cs.uregina.ca/~yyao/PAPERS/is_comparison.pdf)
19. [Fuzzy Rough Sets: from Theory into Practice (Cornelis et al.)](https://faculty.washington.edu/mdecock/papers/ccornelis2008z.pdf)
20. [Discriminant versus rough sets approach to vague data analysis](https://onlinelibrary.wiley.com/doi/10.1002/asm.3150080107)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Databases and data systems › Data mining, warehousing, and big data

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/rough-set

English original: https://www.edgepedia.org/rough-set
