# 专家系统

专家系统是一种计算机程序，它通过在显式编码的知识体上进行推理，来模拟人类专家在某一狭窄领域内的决策能力，这些知识主要以“如果—那么”规则的形式表示，而非传统的过程式代码。<sup>[1](https://graphsearch.epfl.ch/en/concept/10136)</sup> 最早的专家系统诞生于20世纪60至70年代，并在80年代大量涌现，成为应用人工智能的主导形式，也是首批在商业上取得成功的AI软件。<sup>[1](https://graphsearch.epfl.ch/en/concept/10136)</sup><sup> • </sup><sup>[2](https://hai.stanford.edu/ai-definitions/what-is-an-expert-system)</sup> 与现代从数据中学习模式的机器学习系统不同，专家系统依赖领域专家编写的知识，这使其具有高度的可解释性，但也将其局限在定义明确的问题领域内。<sup>[2](https://hai.stanford.edu/ai-definitions/what-is-an-expert-system)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心架构 | 两个子系统：一个存储事实与规则的知识库，以及一个将规则应用于已知事实以推导出新事实的推理引擎；还可包含解释与调试功能<sup>[1](https://graphsearch.epfl.ch/en/concept/10136)</sup> |
| 知识格式 | 形如“如果条件则动作”的产生式规则，可读性足以供领域专家审阅和验证<sup>[3](https://technav.ieee.org/topic/expert-systems/)</sup> |
| 推理策略 | 前向链接从已知事实出发推导新事实；后向链接从目标出发，反向寻找满足该目标的条件<sup>[3](https://technav.ieee.org/topic/expert-systems/)</sup> |
| 奠基性系统 | DENDRAL（1965—1983），用于分子结构解析；MYCIN（1972—1976），用于细菌感染诊断与抗生素建议<sup>[4](https://www.geschichte-der-informatik.de/articles/expert_systems_and_the_first_ai_winter/)</sup> |
| 商业化里程碑 | 数字设备公司的XCON，1980年交付时约有750条规则，后增长至数千条，到1986年估计每年为DEC节省1800万至2000万美元<sup>[5](https://onlinelibrary.wiley.com/doi/10.1609/aimag.v5i4.460)</sup><sup> • </sup><sup>[6](https://tcm.computerhistory.org/CHMfiles/Expert%20Systems%20Wall%201985-1986.pdf)</sup> |
| 兴衰 | 到1985年，美国企业每年在AI上的支出约为十亿美元，其中大部分用于专家系统；自1987年起，手写知识的维护成本压倒了其价值，该行业随之崩溃<sup>[7](https://shapeofintelligence.com/timeline/1980-xcon/)</sup> |
| 现代遗产 | 基于规则的临床决策支持系统仍是医学中最成熟、应用最广泛的AI应用之一，并日益与机器学习结合为混合架构<sup>[8](https://pubmed.ncbi.nlm.nih.gov/41035592/)</sup><sup> • </sup><sup>[9](https://pubmed.ncbi.nlm.nih.gov/37355025/)</sup> |

## 架构

专家系统将系统“知道什么”与它“如何推理”分离开来。知识库存储事实、启发式规则以及捕捉人类专家对该领域所知内容的规则；推理引擎读取这些规则，将其应用于观察到的事实以得出结论。<sup>[3](https://technav.ieee.org/topic/expert-systems/)</sup> 这种分离是决定性的设计选择：领域知识可以在不重写程序逻辑的情况下添加或修正。<sup>[10](https://www.byteplus.com/en/what-is/expert-system?product=BytePlus+ModelArk)</sup> 对基于规则系统的完整描述还包括：用于捕获规则的知识获取设施、数据库或工作内存、用户界面，以及知识工程师用以开发和维护系统的知识库编辑器。<sup>[11](https://www.sciencedirect.com/topics/engineering/domain-expert)</sup><sup> • </sup><sup>[12](https://www.sciencedirect.com/topics/computer-science/expert-system)</sup>

**推理策略。** 在前向链接（数据驱动的推理）中，引擎将规则的条件部分与已知事实进行匹配，触发条件得到满足的规则，生成新事实，直至得出结论。在后向链接（目标驱动的推理）中，系统从一个假设性结论出发，搜索能够证明它的规则和证据；MYCIN的规则通常以这种后向方式调用，在每条规则链的末端向医生询问所需的事实。<sup>[3](https://technav.ieee.org/topic/expert-systems/)</sup><sup> • </sup><sup>[13](https://ai.stanford.edu/~nilsson/QAI/qai.pdf)</sup> 当不同任务天然适合数据驱动或目标驱动时，两种策略可以结合使用。<sup>[11](https://www.sciencedirect.com/topics/engineering/domain-expert)</sup>

**解释功能。** 第三个组件——解释设施——让系统能够阐明自己为何得出某一结论，这在医学和金融等受监管领域至关重要。<sup>[3](https://technav.ieee.org/topic/expert-systems/)</sup> MYCIN已经展示了这一点：当用户询问系统为何要问某种生物的形态是否为杆状时，它用英语回答说，它是在试图确定该生物的身份是否为[拟杆菌属](https://www.edgepedia.org/zh/bacteroides)。<sup>[13](https://ai.stanford.edu/~nilsson/QAI/qai.pdf)</sup>

## 知识表示与不确定性

早期系统使用简单的产生式规则，事实证明这种格式的可读性足以供领域专家审阅和验证。随后出现了表达力更强的形式化方法，包括语义网络、框架和描述逻辑；对工业应用的研究表明，表示方法的选择直接影响知识库的可维护性以及不确定性下的推理质量。<sup>[3](https://technav.ieee.org/topic/expert-systems/)</sup>

不确定性处理是一个长期存在的挑战，因为经典规则系统假定真值是明确的，而现实的诊断任务往往涉及不完整或相互冲突的信息。<sup>[3](https://technav.ieee.org/topic/expert-systems/)</sup> MYCIN的解决方案是确信度，即为每条规则附加一个特设数值，衡量专家对结论的相信程度。MYCIN的一条规则以0.6的确信度得出结论：若某生物为革兰氏阴性、杆状且厌氧，则其为拟杆菌属；爱德华·肖特利夫（Edward Shortliffe）主张，这种相信程度并非概率，因为提供该规则的专家并不认为该生物不是拟杆菌属的概率为0.4。<sup>[13](https://ai.stanford.edu/~nilsson/QAI/qai.pdf)</sup> 20世纪80年代中后期，将贝叶斯推理引入专家系统的工作——由当时在斯坦福、后来成为[微软研究院](https://www.edgepedia.org/zh/microsoft-research)概率AI领域领军研究者的医生兼计算机科学家埃里克·霍维茨（Eric Horvitz）描述——构成了参与者所称的AI“概率革命”的一部分。<sup>[14](https://archive.computerhistory.org/resources/access/text/2018/03/102738236-05-01-acc.pdf)</sup>

## 起源：DENDRAL与MYCIN

专家系统的概念于20世纪60年代在斯坦福大学（Stanford）成形，主导者是曾在[卡内基梅隆大学](https://www.edgepedia.org/zh/carnegie-mellon-university)（Carnegie Mellon）师从赫伯特·西蒙（Herbert Simon）的计算机科学家[爱德华·费根鲍姆](https://www.edgepedia.org/zh/edward-feigenbaum)（Edward Feigenbaum）。费根鲍姆的洞见在于：通用智能或许太难构建，但狭窄而深入的专门知识也许可以通过捕捉经验丰富的专家所运用的决策规则并对其机械推理来实现。<sup>[4](https://www.geschichte-der-informatik.de/articles/expert_systems_and_the_first_ai_winter/)</sup>

**DENDRAL**（1965—1983）是概念验证。当输入未知有机化合物的质谱数据时，DENDRAL通过将专家质谱分析师的推理方式表达为显式规则来推断分子结构，在它所针对的那类化合物上，其表现可与执业化学家媲美。其参与者后来将其描述为第一个在特定智力任务上被判定优于大多数人类从业者的程序。<sup>[4](https://www.geschichte-der-informatik.de/articles/expert_systems_and_the_first_ai_winter/)</sup> 该项目作者罗伯特·K·林赛（Robert K. Lindsay）、[布鲁斯·G·布坎南](https://www.edgepedia.org/zh/bruce-g-buchanan)（Bruce G. Buchanan）、爱德华·A·费根鲍姆和[约书亚·莱德伯格](https://www.edgepedia.org/zh/joshua-lederberg)（Joshua Lederberg）在1993年的一篇回顾中记载，DENDRAL是最早将详细的、任务特定的知识用作启发式来源的大规模程序之一。<sup>[15](https://www.sciencedirect.com/science/article/pii/000437029390068M)</sup>

**MYCIN**（1972—1976）由当时在斯坦福的医生兼计算机科学家爱德华·肖特利夫开发，用于诊断引起严重脑膜炎和菌血症的细菌感染并推荐抗生素治疗。<sup>[4](https://www.geschichte-der-informatik.de/articles/expert_systems_and_the_first_ai_winter/)</sup> 它是一个咨询系统，与提供患者具体信息的医生用户进行交互。原系统有200条规则；到1978年已接近500条，后来对咨询版本的描述提到，该版本约有450条规则和一千条医学事实，其中大多关于脑膜炎。<sup>[13](https://ai.stanford.edu/~nilsson/QAI/qai.pdf)</sup><sup> • </sup><sup>[16](https://i.stanford.edu/pub/cstr/reports/cs/tr/82/926/CS-TR-82-926.pdf)</sup> MYCIN由三个相互关联的子程序组成：咨询系统、解释系统（用简单的英语回答提问以证明其决策的合理性）以及规则获取系统（接受专家提供的新规则）。<sup>[17](https://www.researchgate.net/publication/234816828_MYCIN_A_Rule-Based_Computer_Program_For_Advising_Physicians_Regarding_Antimicrobial_Therapy_Selection)</sup>

## 商业化：XCON与80年代的热潮

使该领域走向商业化的系统是R1，后更名为XCON（“专家配置器”），由当时在卡内基梅隆大学任研究助理的约翰·麦克德莫特（John McDermott）用OPS产生式系统语言为[数字设备公司](https://www.edgepedia.org/zh/digital-equipment-corporation)（Digital Equipment Corporation，DEC）编写。它扩展并验证VAX-11计算机的客户订单，并配置组件在设备机柜中的摆放位置，这项工作此前由技术编辑完成，已成为瓶颈。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1609/aimag.v5i4.460)</sup> 最初的XCON于1980年交付给DEC，约有750条规则。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1609/aimag.v5i4.460)</sup>

XCON持续增长：《AI Magazine》的一篇报道称有2500条规则，可配置美国制造的所有VAX-11系统，<sup>[5](https://onlinelibrary.wiley.com/doi/10.1609/aimag.v5i4.460)</sup> 而1987年一篇关于其后续版本的AAAI论文报告称，七年间XCON已增长至6200条规则，其中每年约有50%发生变更。<sup>[18](https://www.aiinternational.org/Library/AAAI/1987/aaai87-148.php)</sup> 节省金额的估计也因来源和日期而异：DEC的产品经理在1986年引用每年约1800万至2000万美元的制造成本节省，<sup>[6](https://tcm.computerhistory.org/CHMfiles/Expert%20Systems%20Wall%201985-1986.pdf)</sup> 后来的历史著作则引用公司估计的每年2500万美元。<sup>[7](https://shapeofintelligence.com/timeline/1980-xcon/)</sup>

这一成功引发了迅速的商业化。公司纷纷成立，以构建系统、销售外壳（预构建的推理引擎，开发者可向其加载特定问题的知识）以及运行它们的Lisp机；到1985年，美国企业每年在AI上的支出约为十亿美元，其中大部分用于专家系统。<sup>[7](https://shapeofintelligence.com/timeline/1980-xcon/)</sup> DEC自身也开发了相关系统，如XSEL——一个销售助手，将客户特定的约束传递给XCON——并认识到维护专家系统需要经过专门培训的人员，因为其最初的维护团队在挑选时并不具备AI专业知识，也不熟悉OPS-4语言。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1609/aimag.v5i4.460)</sup>

## 衰落与维护问题

证明XCON价值的同一增长也暴露了该领域的核心弱点。没有人能预见到规则之间会如何相互影响，到80年代末，DEC不得不雇佣相当规模的人员，仅仅是为了在产品演进过程中保持系统的一致性；维护手写知识的费用被称为专家系统领域的致命弱点，而始于1987年的行业低迷构成了第二次AI寒冬。<sup>[7](https://shapeofintelligence.com/timeline/1980-xcon/)</sup> 1987年AAAI对XCON-in-RIME（DEC用一种旨在简化维护的新规则语言进行的重写）的评估指出，虽然XCON的性能令人满意，但它变得越来越难以修改。<sup>[18](https://www.aiinternational.org/Library/AAAI/1987/aaai87-148.php)</sup> 知识获取与表示很早就被认定为专家系统开发的主要瓶颈。<sup>[19](https://academic-publishing.org/index.php/ejkm/article/view/784)</sup> 曾将自己定位为AI供应商的公司要么转向传统软件开发，要么倒闭。<sup>[4](https://www.geschichte-der-informatik.de/articles/expert_systems_and_the_first_ai_winter/)</sup> 费根鲍姆本人后来对1965—1970年时期的“AI寒冬”说法提出异议，指出那正是专家系统诞生的时期，并观察到当90年代对专家系统的兴趣消退时，机器学习研究回归了。<sup>[20](https://archive.computerhistory.org/resources/access/text/2020/05/102781122-05-01-acc.pdf)</sup>

## 今日的专家系统

基于规则的推理作为一种实用技术存续下来，往往不再冠以专家系统之名。业务规则管理系统让企业能够以独立于应用代码的“如果—那么”规则来定义、存储和执行决策逻辑，这是知识库与推理引擎分离的直接后裔。<sup>[21](https://www.ibm.com/think/topics/business-rules-management-system)</sup>

在医学领域，2025年的一项范围综述将基于规则的临床决策支持系统描述为最成熟、应用最广泛的AI应用之一，通过规则引擎提供警报、诊断建议和治疗推荐。在纳入的28项研究中，美国占46.42%，约30%的应用集中于糖尿病护理，可衡量的改善包括不良药物事件减少30%，尽管互操作性和临床医生的采纳仍是挑战。<sup>[8](https://pubmed.ncbi.nlm.nih.gov/41035592/)</sup> 2024年一项对美国数字自我分诊系统的综述区分了基于规则的分诊系统（将临床知识编码为决策树或知识图谱，提供完全的可配置性和可解释性）与基于机器学习、在患者数据上训练的系统（其推理更难解释）。<sup>[22](https://www.nature.com/articles/s41746-024-01367-3)</sup>

当前研究日益将两种方法结合起来。2023年一项关于混合临床架构的范围综述识别出五种结合规则与机器学习的模式，其中将规则嵌入机器学习最为常用。<sup>[9](https://pubmed.ncbi.nlm.nih.gov/37355025/)</sup> 对工业和工程应用的综述同样描述了使用基于规则推理、基于案例推理和知识图谱的专家系统，认为它们非常适合那些由定义明确的规则和启发式方法主导决策逻辑的领域，并指出人们对将透明的基于规则组件与数据驱动预测器配对的混合模型重燃兴趣。<sup>[23](https://doi.org/10.1016/J.JECT.2024.08.005)</sup><sup> • </sup><sup>[24](https://www.sciencedirect.com/science/article/pii/S0098135425002406)</sup>

## References

1. [Expert system, EPFL Graph Search](https://graphsearch.epfl.ch/en/concept/10136)
2. [What is an Expert System?, Stanford HAI](https://hai.stanford.edu/ai-definitions/what-is-an-expert-system)
3. [Expert systems, IEEE Technology Navigator](https://technav.ieee.org/topic/expert-systems/)
4. [Expert Systems and the First AI Winter, Geschichte der Informatik](https://www.geschichte-der-informatik.de/articles/expert_systems_and_the_first_ai_winter/)
5. [John McDermott, R1 and Beyond: AI Technology Transfer at DEC, AI Magazine 5(4), 1984](https://onlinelibrary.wiley.com/doi/10.1609/aimag.v5i4.460)
6. [Artificial Intelligence Enters the Mainstream, High Technology, July 1986, Computer History Museum](https://tcm.computerhistory.org/CHMfiles/Expert%20Systems%20Wall%201985-1986.pdf)
7. [XCON goes into production at DEC, The Shape of Intelligence](https://shapeofintelligence.com/timeline/1980-xcon/)
8. [Alnattah et al., Artificial Intelligence in Clinical Decision-Making: A Scoping Review of Rule-Based Systems and Their Applications in Medicine, Cureus 17(8), 2025](https://pubmed.ncbi.nlm.nih.gov/41035592/)
9. [Taxonomy of hybrid architectures involving rule-based reasoning and machine learning in clinical decision systems, PubMed, 2023](https://pubmed.ncbi.nlm.nih.gov/37355025/)
10. [What is Expert System?, BytePlus](https://www.byteplus.com/en/what-is/expert-system?product=BytePlus+ModelArk)
11. [Domain Expert, ScienceDirect Topics](https://www.sciencedirect.com/topics/engineering/domain-expert)
12. [Expert System, ScienceDirect Topics](https://www.sciencedirect.com/topics/computer-science/expert-system)
13. [Nils J. Nilsson, The Quest for Artificial Intelligence, Cambridge University Press, 2010](https://ai.stanford.edu/~nilsson/QAI/qai.pdf)
14. [Artificial Intelligence History: Expert Systems, Computer History Museum oral history, 2017](https://archive.computerhistory.org/resources/access/text/2018/03/102738236-05-01-acc.pdf)
15. [Lindsay, Buchanan, Feigenbaum, Lederberg, DENDRAL: a case study of the first expert system for scientific hypothesis formation, Artificial Intelligence 61(2), 1993](https://www.sciencedirect.com/science/article/pii/000437029390068M)
16. [Randall Davis, Report No. STAN-CS-82-926, Stanford University, 1982](https://i.stanford.edu/pub/cstr/reports/cs/tr/82/926/CS-TR-82-926.pdf)
17. [Shortliffe, MYCIN: A Rule-Based Computer Program for Advising Physicians Regarding Antimicrobial Therapy Selection, 1976](https://www.researchgate.net/publication/234816828_MYCIN_A_Rule-Based_Computer_Program_For_Advising_Physicians_Regarding_Antimicrobial_Therapy_Selection)
18. [Soloway, Bachant, Jensen, Assessing the Maintainability of XCON-in-RIME, AAAI-87](https://www.aiinternational.org/Library/AAAI/1987/aaai87-148.php)
19. [Issues in Structuring the Knowledge-base of Expert Systems, Electronic Journal of Knowledge Management](https://academic-publishing.org/index.php/ejkm/article/view/784)
20. [AI: Expert Systems Pioneer Meeting, Session 2, Computer History Museum, 2019](https://archive.computerhistory.org/resources/access/text/2020/05/102781122-05-01-acc.pdf)
21. [What is Business Rules Management?, IBM](https://www.ibm.com/think/topics/business-rules-management-system)
22. [Naved and Luo, Contrasting rule and machine learning based digital self triage systems in the USA, npj Digital Medicine 7:381, 2024](https://www.nature.com/articles/s41746-024-01367-3)
23. [AI-based decision support systems in Industry 4.0, a review, ScienceDirect, 2024](https://doi.org/10.1016/J.JECT.2024.08.005)
24. [Building hybrid AI models in chemical engineering: A tutorial review, Computers & Chemical Engineering, 2025](https://www.sciencedirect.com/science/article/pii/S0098135425002406)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Applied AI, people, and society › Applied AI and AI in society overview

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/expert-system

English original: https://www.edgepedia.org/expert-system
