Expert Systems
What an expert system is: an AI program that emulates a human specialist's judgement through a knowledge base of IF-THEN rules and an inference engine. Its golden age with DENDRAL and MYCIN, and why machine learning displaced it.
An expert system is an artificial intelligence program built to emulate the decision-making of a human specialist within a narrow, well-defined domain —diagnosing an infection, interpreting a chemical spectrum or approving a loan—. Rather than learning from examples, it reasons over a body of knowledge handed to it by flesh-and-blood experts and encoded as explicit rules.
Expert systems are the most visible face of so-called symbolic AI, the tradition that for decades treated intelligence as the manipulation of symbols and logical rules. Its promise was crisp: if you can capture in writing what a professional knows, a machine can reproduce that judgement consistently, tirelessly and in a way you can audit.
Architecture: knowledge base and inference engine
Every classic expert system deliberately separates two parts. The knowledge base stores the facts of the domain and, above all, IF-THEN rules («if the fever is high and the culture is gram-negative, then suspect a specific bacterium»), elicited through long interviews with specialists conducted by the so-called knowledge engineer. The inference engine is the mechanism that applies those rules to derive new conclusions.
The engine can reason in two directions. Forward chaining starts from the available facts and fires rules until it reaches a conclusion; it is the data-driven approach. Backward chaining starts from a hypothesis —the goal— and works backwards to the evidence that would confirm it, much as a diagnosis does. This separation of knowledge from control is the hallmark of the paradigm.
DENDRAL, MYCIN and the golden age
The golden age of expert systems was the 1970s and 1980s, and its cradle was Stanford University. DENDRAL, begun around 1965 by Edward Feigenbaum, Joshua Lederberg and Bruce Buchanan, inferred molecular structures from mass-spectrometry data and enshrined a founding idea —«knowledge is power», the shift from general search toward domain expertise. MYCIN, developed between 1972 and 1976 by Buchanan and Edward Shortliffe, diagnosed bacterial infections and recommended antibiotics using some six hundred rules and backward chaining, with accuracy comparable to that of physicians. Neither was ever used routinely at the bedside, but they proved the approach was real.
Limits and why machine learning displaced them
Their decline had honest causes. The first was the knowledge acquisition bottleneck, a phrase Feigenbaum himself made famous: extracting an expert's know-how by hand and translating it into rules is slow, costly and artisanal. The second was brittleness: outside the narrow domain they were programmed for, these systems fail without grace, because they have no common sense and no way to say «this is beyond me». The third, and decisive, is that they do not learn from data; every new rule must be written by hand.
That is the contrast with today's machine learning, which flips the premise: instead of being handed the rules, it infers them implicitly from large volumes of examples. This ability to learn on its own is why machine learning displaced expert systems as the frontier of AI. Even so, the paradigm never vanished: it lives on, in good health, inside the business rule engines that govern approvals, pricing and validations across banking, insurance and logistics.
Pieces using this term
- The Importance of Symbolic Logic in AGI (2023-05-09)
- History of Artificial Intelligence: From Early Automata to AGI (2023-05-09)
- The Technological Singularity and the Future of General AI (2023-05-09)
- The Role of General AI in Medicine and Healthcare (2023-05-09)
- The Relationship Between General AI and Narrow AI (2023-05-09)
This article was produced with artificial intelligence under human editorial oversight.