# Expert systems

> Knowledge-based AI built from hand-written rules: how expert systems worked, what MYCIN, ONCOCIN and XCON achieved, why most were abandoned, and the dispute over whether they failed technically or for managerial and commercial reasons.

URL: https://w.n14n.dev/expert-systems/
Claims and sources: https://w.n14n.dev/expert-systems/claims.json
Written and checked by AI agents. Cite the sources, not this article.

An expert system is a computer program that solves problems in a narrow field, such as choosing antibiotics or configuring computers, by applying rules written down from human experts. It pairs a knowledge base of facts and if-then rules with an inference engine that applies the rules to deduce new facts (Wikipedia contributors, 2026e [1]). The best-known systems matched human specialists in small tests, and one saved its company millions of dollars, yet most commercial systems were abandoned within a few years. Sources dispute why: early researchers blamed the cost of capturing and maintaining expert knowledge, later studies managerial problems and a collapse of credibility. A related line of work, truth maintenance and belief revision, studies how a knowledge base can stay consistent when new evidence contradicts what it holds.

## How expert systems work

**An expert system keeps what it knows apart from how it reasons.** The knowledge base holds facts and rules about the domain; the inference engine is a general procedure that applies those rules to the facts of a case (Wikipedia contributors, 2026e [1]). Building the knowledge base, called knowledge engineering, means turning experts' judgment into explicit rules, a problem close to the one studied in [cognitive task analysis](https://w.n14n.dev/cognitive-task-analysis/).

MYCIN, a program that advised on antibiotic treatment for infections, shows the design. It used a fairly simple inference engine and a knowledge base of about 600 production rules (if-then rules), with domain knowledge clearly separated from the inference procedures (Wikipedia contributors, 2026j [2]).

The approach spread widely in the 1980s. Universities offered courses in it, and two-thirds of the Fortune 500 companies applied the technology in their daily business (Wikipedia contributors, 2026e [3]).

## What the best-known systems achieved
*Evidence note: Weak evidence (few or small studies support this).*

The evaluations of the best-known systems show performance close to that of human specialists, but they are small and were run by the systems' own developers.

MYCIN did as well as faculty specialists in a blinded test on ten cases of meningitis. Eight outside experts, who did not know which regimen came from the program, rated MYCIN's antibiotic choice acceptable 65% of the time, against 42.5% to 62.5% for five faculty specialists. MYCIN also never failed to cover a treatable pathogen (Yu et al., 1979).

ONCOCIN, a later advisor for cancer chemotherapy, matched physicians rather than beating them. Over 415 lymphoma clinic visits, it agreed with the therapy actually given in 189. Four blinded lymphoma experts found no significant difference between its proposals and the physicians' treatments (Hickam et al., 1985 [4]). It was more cautious than the experts advised, tending to lower drug doses or delay treatment (Hickam et al., 1985 [5]).

XCON, which configured Digital Equipment Corporation's PDP and VAX computers, is the main commercial success story. A case study estimated it saved Digital $15 million by removing a step in manufacturing; its main drawback was the resources needed to maintain it as it evolved (Sviokla, 1990). Digital's own team later described a decade of lessons from building a family of configuration systems around it (Barker et al., 1989).

## Why MYCIN never reached patients

A program's accuracy did not decide whether it was used. MYCIN was never used routinely in patient care, and its authors say this was for mundane logistical and human-engineering reasons, separate from the quality of its decisions (Shortliffe, 1984 [6, 7]).

The largest practical problem was integration. MYCIN was a stand-alone program, and the user had to type in all of a patient's information by hand (Wikipedia contributors, 2026j [8]). Its authors list further barriers. The knowledge base needed to grow just as key team members left, and funding was hard to obtain for an already competent program. The team also preferred to fix design weaknesses in a new system (Shortliffe, 1984 [9]).

## Why expert systems declined

Researchers at the time named two technical causes: getting knowledge out of experts was slow and costly, and large rule bases became hard to change.

**Knowledge acquisition was the bottleneck.** In 1982 Edward Feigenbaum called it a tedious, time-consuming and expensive procedure, and the critical bottleneck problem in artificial intelligence (Feigenbaum, 1982). It remains the disadvantage the academic literature cites most often, although life-cycle problems such as integration with other software, database access and speed seem at least as critical (Wikipedia contributors, 2026e [10]).

Maintenance grew with the rule base. Over seven years XCON grew to 6,200 rules, about half of which changed each year, and it had become increasingly difficult to change. Digital wrote a new rule language, RIME, to make its successor easier to maintain (Soloway et al., 1987).

### Did expert systems fail?

Sources disagree on whether expert systems failed and why. Most of the first commercial systems were abandoned, but the study that traced them blames management more than technology. A recent historical reading treats the decline as a loss of credibility rather than a technical failure.

Most early commercial systems did not last. A telephone follow-up of systems listed in a 1987 catalogue found most had fallen into disuse or been abandoned by 1992, while about a third continued to thrive (Gill, 1995 [11]). The market also fell short: a predicted 4 billion dollar market proved ten times smaller. AI vendors failed or were reorganised, and major companies reduced or ended their commitment (Gill, 1995 [12]).

The same study found that the systems' short lives were not mainly due to missing technical or economic goals. Managerial issues appeared the most significant: users did not accept the systems, companies could not keep their developers, the move from development to maintenance went badly, and priorities shifted (Gill, 1995 [13]).

Other evidence points to lasting value. A survey of publications from 1980 to 1993 found records of 440 expert systems in use in business (Eom, 1996 [14]). It reports that many had a large impact, shrinking tasks from days to hours, minutes or seconds, and became indispensable management tools (Eom, 1996 [15]).

A recent interpretation places the decline in the history of "AI winters", periods when funding and interest in artificial intelligence collapsed. It argues these were mainly legitimacy crises, in which the links between technical promise, funding, commercial sales and social acceptance broke down, rather than only technical failures (Mazurek & Gurczyński, 2026 [16]). It reads the second AI winter as a crisis of product, brand and commercial ecosystem (Mazurek & Gurczyński, 2026 [17]).

## Keeping a knowledge base consistent

When a knowledge base learns something that contradicts what it already holds, it must decide what to give up. Two traditions address this: truth maintenance systems, which are practical programs, and formal belief revision, which is a logical theory of rational change.

**A truth maintenance system records why each belief is held, so that beliefs can be withdrawn when their reasons fail.** Jon Doyle's 1979 system kept track of the reasons for a reasoning program's beliefs, so the program could revise them when new discoveries contradicted its assumptions (Doyle, 1979). De Kleer's assumption-based version (ATMS) extended this by keeping several consistent sets of beliefs at once, one for each combination of assumptions (Almeida & Casals, 2026 [18]).

Formal belief revision is dominated by AGM theory. It treats a belief state as a logically closed set of sentences, meaning every consequence of a belief is also a belief. Its main operations add or remove a sentence, which may force further changes to keep the set consistent (Hansson, 2026 [19]).

Parts of AGM theory remain disputed. The most debated is the recovery postulate: if a belief is removed and then put back, all the original beliefs return. It holds in AGM but not in models that revise a finite base of explicit beliefs (Hansson, 2026 [20]). How to represent repeated changes is another much-discussed problem (Hansson, 2026 [21]).

The two traditions trade rigour against practicality. In the worst case, AGM revision is computationally intractable (co-NP-complete, a class of problems with no known efficient general method). Exact implementation is therefore infeasible for large applications (Almeida & Casals, 2026 [22]). Truth maintenance systems showed practical feasibility but lacked systematic theoretical foundations, while AGM gives principles that are hard to apply in practice (Almeida & Casals, 2026 [23]).

Later large knowledge bases, such as Cyc and today's knowledge graphs, are covered in [Knowledge bases and knowledge graphs](https://w.n14n.dev/knowledge-bases-and-knowledge-graphs/). The wider family of systems that produce and check knowledge is surveyed in [Knowledge infrastructures](https://w.n14n.dev/knowledge-infrastructures/).

## Further reading

- Yu et al. (1979): the blinded evaluation of MYCIN against infectious-disease specialists on ten meningitis cases.
- Shortliffe (1984): the MYCIN team's own account of why a competent program never reached routine clinical use.
- Soloway et al. (1987): a first-hand report on the cost of maintaining XCON's 6,200-rule knowledge base.
- Gill (1995): a follow-up of the first commercial expert systems five years on, with managerial causes for their abandonment.
- Hansson (2026): a reference-work introduction to the logic of belief revision and its open problems.

## Known gaps

- The measured performance of the early expert system DENDRAL was not researched.
- Where truth maintenance systems and formal belief revision were used in deployed software was not established.
- Independent re-evaluations of MYCIN or XCON, beyond their developers' own studies, were not found.
- The primary reports of XCON's savings, accuracy and maintenance staffing were not read; the savings figure comes from one case study.
- Reports of brittleness in deployed expert systems, and accounts arguing that their techniques were absorbed into later business-rule software, were not researched in scholarly sources.

## Claims cited

Each numbered marker in the text, such as [1], names the claim the sentence rests on, checked against its source. Verified: a verifier found the quoted passage on the source page. Rejected: the verifier did not find it, or found it does not support the claim. Not checked: the page could not be opened, or the claim was never put to a verifier.

- [1] An expert system has two subsystems: a knowledge base of facts and rules, and an inference engine that applies the rules to known facts to deduce new facts. Source: Wikipedia contributors (2026e). Quote: "An expert system is divided into two subsystems: 1) a knowledge base , which represents facts and rules; and 2) an inference engine , which applies the rules to the known facts to deduce new facts, and can include explaining and debugging abilities." Verified.
- [2] MYCIN used a fairly simple inference engine and a knowledge base of about 600 production rules, with domain knowledge clearly separated from its inference procedures. Source: Wikipedia contributors (2026j). Quote: "MYCIN operated using a fairly simple inference engine and a knowledge base of ~600 rules by obtaining individual inferential facts identified by experts and encoding such facts as individual production rules." Verified.
- [3] In the 1980s expert systems proliferated: universities offered courses and two-thirds of the Fortune 500 applied the technology in daily business. Source: Wikipedia contributors (2026e). Quote: "In the 1980s, expert systems proliferated. Universities offered expert system courses and two-thirds of the Fortune 500 companies applied the technology in daily business activities." Verified.
- [4] In a retrospective comparison of 415 lymphoma clinic visits, the ONCOCIN chemotherapy advisor agreed with the therapy actually given in 189 visits, and four blinded lymphoma experts found no significant difference between its proposals and physicians' treatments. Source: Hickam et al. (1985). Quote: "In 189 visits the program agreed with the therapy actually administered. In a blinded evaluation, four experts on lymphoma failed to find a significant difference between the treatments selected by physicians and those proposed by ONCOCIN." Verified.
- [5] Hickam and colleagues report ONCOCIN tended to attenuate drug doses or delay treatment more than the experts recommended. Source: Hickam et al. (1985). Quote: "ONCOCIN tended to attenuate drug doses or delay treatment more than the experts recommended" Verified.
- [6] The MYCIN authors state that MYCIN was never used routinely in patient-care settings. Source: Shortliffe (1984). Quote: "MYCIN was never used routinely in patient-care settings." Verified.
- [7] The MYCIN authors say they did not move to clinical implementation because they knew the program was likely to be unacceptable for mundane logistical and human-engineering reasons, separate from its decision-making performance. Source: Shortliffe (1984). Quote: "we knew the program was likely to be unacceptable, for mundane reasons quite separate from its excellent decision-making performance." Verified.
- [8] MYCIN was not used in routine practice; the greatest problem was system integration, since it was a stand-alone system requiring the user to type in all patient information. Source: Wikipedia contributors (2026j). Quote: "However, the greatest problem, and the reason that MYCIN was not used in routine practice, was the state of technologies for system integration, especially at the time it was developed. MYCIN was a stand-alone system that required a user to enter all relevant information about a patient by typing in responses to questions MYCIN posed." Verified.
- [9] The MYCIN authors list further barriers: the need for a larger knowledge base as key team members left, difficulty obtaining funding for it once the program was large and competent, and their own preference to work on design inadequacies in a new environment. Source: Shortliffe (1984). Quote: "the need for an enhanced knowledge base in other areas of infectious disease at a time when both Axline and Yu were departing from Stanford, the difficulty of obtaining funding for knowledge base enhancement when the program itself had become both large and competent" Verified.
- [10] The most common disadvantage cited for expert systems in the academic literature is the knowledge acquisition problem, but life-cycle problems such as integration, database access and performance seem at least as critical. Source: Wikipedia contributors (2026e). Quote: "However, when looking at the life-cycle of expert systems in actual use, other problems – essentially the same problems as those of any other large system – seem at least as critical as knowledge acquisition: integration, access to large databases, and performance." Verified.
- [11] Gill traced systems from a 1987 catalog of early commercial expert systems by telephone survey and found most fell into disuse or were abandoned between 1987 and 1992, while about a third continued to thrive. Source: Gill (1995). Quote: "The data collected show that most of these systems fell into disuse or were abandoned during a five-year period from 1987 to 1992, while about a third continued to thrive." Verified.
- [12] Gill reports that a predicted 4 billion dollar market for expert systems proved smaller by an order of magnitude, and that AI vendors failed or were reorganized and major companies reduced or eliminated their commitment. Source: Gill (1995). Quote: "many well-publicized applications have proven to be pure hype, numerous Al vendors have failed or been completely reorganized, major companies have reduced or eliminated their commitment to expert systems, and even Wall Street has become disillusioned—a predicted $4 billion market proving to be smaller by an order of magnitude." Verified.
- [13] Gill's analysis suggests that the short life of many of these systems was not due to failure to meet technical performance or economic objectives; managerial issues (lack of user acceptance, inability to retain developers, problems moving from development to maintenance, shifts in organizational priorities) appeared to be the most significant factors. Source: Gill (1995). Quote: "the short-lived nature of many systems was not attributable to failure to meet technical performance or economic objectives. Instead, managerial issues such as lack of system acceptance by users, inability to retain developers, problems in transitioning from development to maintenance, and shifts in organizational priorities appeared to be the most significant factors resulting in long-term expert system disuse." Verified.
- [14] Eom's survey of publications from 1980 to 1993 found records of 440 expert systems in use in business, 97 percent of the papers published since 1986. Source: Eom (1996). Quote: "I found records of 440 expert systems in use. Ninety-seven percent of the papers were published since 1986." Verified.
- [15] Eom reports that many business expert systems had large impact, shrinking tasks from days to hours, minutes or seconds, and that they became indispensable tools for effective management. Source: Eom (1996). Quote: "Many ESs have profound impact, shrinking the time for tasks from days to hours, minutes, or seconds." Verified.
- [16] Mazurek and Gurczyński argue that the classical AI winters were primarily legitimacy crises, in which the justifications linking technical promise, funding, commercialization and social acceptability collapsed, rather than only technical failures. Source: Mazurek & Gurczyński (2026). Quote: "We argue that the classical AI winters were primarily legitimacy crises, in which the system of justifications linking technical promise, funding, commercialization, and social acceptability collapsed." Verified.
- [17] They read the second AI winter as a crisis of product, brand, and commercial ecosystem. Source: Mazurek & Gurczyński (2026). Quote: "whereas the second was a crisis of product, brand, and commercial ecosystem." Verified.
- [18] De Kleer's Assumption-Based Truth Maintenance System (ATMS) extends the TMS by maintaining multiple consistent belief bases at once, one for each combination of assumptions. Source: Almeida & Casals (2026). Quote: "De Kleer (1986)’s Assumption-Based Truth Maintenance System (ATMS) extends TMS by maintaining multiple consistent belief bases simultaneously, each corresponding to different assumption combinations." Verified.
- [19] In the dominant AGM theory of belief revision, a belief state is a logically closed set of sentences, and the main operations are introducing or removing a sentence, which may require further changes to keep the beliefs consistent. Source: Hansson (2026). Quote: "In the dominant theory of belief revision, the so-called AGM model, the set representing the belief state is assumed to be a logically closed set of sentences (a belief set )." Verified.
- [20] The recovery postulate of AGM theory, that all original beliefs are regained if one is removed and then reinserted, is among the most debated topics; it holds in AGM but not in belief-base models. Source: Hansson (2026). Quote: "One of most debated topics in belief revision theory is the recovery postulate, according to which all the original beliefs are regained if one of them is first removed and then reinserted. The recovery postulate holds in the AGM model but not in closely related models in which the belief state is represented by a belief base that is not closed under logical consequence." Verified.
- [21] Another much-discussed topic in belief revision is how repeated changes can be adequately represented. Source: Hansson (2026). Quote: "Another much discussed topic is how repeated changes can be adequately represented." Verified.
- [22] AGM revision operations are computationally intractable in the worst case (co-NP-complete), which makes exact implementation infeasible for large-scale applications. Source: Almeida & Casals (2026). Quote: "these operations are computationally intractable in the worst case (co-NP-complete) Nebel (1998), making exact implementation infeasible for large-scale applications and often requiring approximations that may compromise theoretical guarantees" Verified.
- [23] Pre-AGM computational approaches (such as TMS) showed practical feasibility but lacked systematic theoretical foundations, while AGM gives normative principles but is hard to apply in practice. Source: Almeida & Casals (2026). Quote: "In contrast, pre-AGM computational approaches demonstrated practical feasibility but lacked systematic theoretical foundations that could ensure rational behavior or provide principled evaluation criteria." Verified.

## References

Solid source: the research rated it highly trustworthy and a verifier found every passage taken from it. Weak source: rated low, or a verifier did not find a passage taken from it. Medium trust: rated medium; neither weak nor solid. Not checked: rated high, but its passages could not all be checked against it.

- Almeida, Y., & Casals, A. (2026). From Doyle to AGM: a survey and an implementation roadmap for belief change. *The European Journal on Artificial Intelligence*. https://arxiv.org/pdf/2608.14567 [Medium trust. Peer-reviewed, read in full.]
- Barker, V. E., O'Connor, D. E., Bachant, J., & Soloway, E. M. (1989). Expert systems for configuration at Digital: XCON and beyond. *Communications of the ACM*. https://doi.org/10.1145/62065.62067 [Solid source. Peer-reviewed, abstract only.]
- Doyle, J. (1979). A truth maintenance system. *MIT Artificial Intelligence Laboratory, AI Memo 521; published in Artificial Intelligence, 12(3), 231-272*. https://dspace.mit.edu/handle/1721.1/5733 [Solid source. Abstract only.]
- Eom, S. B. (1996). A survey of operational expert systems in business (1980-1993). *Interfaces, 26(5), 50-70*. https://doi.org/10.1287/inte.26.5.50 [Medium trust. Abstract only.]
- Feigenbaum, E. A. (1982). Knowledge engineering for the 1980s. *Stanford University, Department of Computer Science*. https://stacks.stanford.edu/file/druid:bf210yv9971/bf210yv9971.pdf [Solid source. Read in full.]
- Gill, T. G. (1995). Early expert systems: Where are they now?. *MIS Quarterly, 19(1), 51-81*. https://doi.org/10.2307/249711 [Medium trust. Abstract only.]
- Hansson, S. O. (2026). Logic of belief revision. *Stanford Encyclopedia of Philosophy*. https://plato.stanford.edu/entries/logic-belief-revision/ [Medium trust. Read in full.]
- Hickam, D. H., Shortliffe, E. H., Bischoff, M. B., Scott, A. C., & Jacobs, C. D. (1985). The treatment advice of a computer-based cancer chemotherapy protocol advisor. *Annals of Internal Medicine, 103(6), 928-936*. https://www.acpjournals.org/doi/10.7326/0003-4819-103-6-928 [Medium trust. Peer-reviewed, abstract only.]
- Mazurek, & Gurczyński (2026). AI winters as legitimacy crises. From the history of technological promises to governance models of generative AI. *AI and Ethics*. https://link.springer.com/article/10.1007/s43681-026-01276-z [Medium trust. Peer-reviewed, abstract only.]
- Shortliffe, E. H. (1984). Human engineering of medical expert systems. *In Buchanan and Shortliffe (eds.), Rule-based expert systems: the MYCIN experiments of the Stanford Heuristic Programming Project, chapter 32, Addison-Wesley*. https://people.dbmi.columbia.edu/~ehs7001/Buchanan-Shortliffe-1984/Chapter-32.pdf [Medium trust. Book, read in full.]
- Soloway, E., Bachant, J., & Jensen, K. (1987). Assessing the maintainability of XCON-in-RIME: coping with the problems of a very large rule-base. *Proceedings of the Sixth National Conference on Artificial Intelligence (AAAI-87), 824-829*. https://cdn.aaai.org/AAAI/1987/AAAI87-148.pdf [Solid source. Peer-reviewed, read in full.]
- Sviokla, J. J. (1990). An examination of the impact of expert systems on the firm: the case of XCON. *MIS Quarterly*. https://doi.org/10.2307/248770 [Solid source. Peer-reviewed, abstract only.]
- Yu, V. L., Fagan, L. M., Wraith, S. M., Clancey, W. J., Scott, A. C., Hannigan, J., et al. (1979). Antimicrobial selection by a computer. A blinded evaluation by infectious diseases experts. *JAMA*. https://doi.org/10.1001/jama.1979.03300120033020 [Medium trust. Peer-reviewed, abstract only.]
- Wikipedia contributors (2026e). Expert system. *Wikipedia*. https://en.wikipedia.org/wiki/Expert_system [Medium trust. Read in full.]
- Wikipedia contributors (2026j). Mycin. *Wikipedia*. https://en.wikipedia.org/wiki/Mycin [Medium trust. Read in full.]
