History of AI
Expert Systems: AI Built From If-Then Rules
Before neural networks took over, expert systems used if-then rules to copy the decisions of human experts. How they worked and where they began.
An expert system is a computer system that copies the decision-making of a human expert. Wikipedia says expert systems solve complex problems by reasoning through a body of knowledge, written mainly as if-then rules, rather than as ordinary program code.
An example of a rule
A made-up rule, not from Wikipedia or any other source: IF the pet has feathers AND lays eggs THEN it is probably a bird. An expert system holds many rules like this, written with the help of people who know the subject.
How it began
In the late 1950s researchers began to experiment with computers that copied human decision-making. Early medical systems took symptoms and lab results as input and gave a diagnosis. Wikipedia says expert systems were formally introduced around 1965 by the Stanford Heuristic Programming Project, led by Edward Feigenbaum. Their work focused on areas where expertise was valuable and complex, such as advising on infectious disease treatment (Mycin) and identifying unknown organic molecules (Dendral). Other medical systems were Internist-I and, in the mid-1980s, CADUCEUS.
MYCIN, from its own authors
The MYCIN team described their program in a 1975 paper (Shortliffe, Davis, Axline, Buchanan, Green and Cohen, in the journal Computers and Biomedical Research). They say MYCIN was an interactive program, written in a dialect of the LISP language, that used the decision criteria of infectious disease experts to advise physicians on choosing antimicrobial drugs for hospital patients with bacterial infections. Its knowledge was stored as decision rules, and it had three parts: a consultation system, an explanation system that answered simple English questions about why it gave its advice, and a rule acquisition system that let an expert add new rules. In that paper a sample knowledge base of 200 decision criteria could give appropriate advice for many patients with bacteremia, which means bacteria in the blood. The authors say it would be offered for clinical evaluation only after its reliability approached that of infectious disease experts. So the primary source describes MYCIN as an advisor on drug choice, which is narrower than "diagnosing diseases".
A successful kind of AI
Wikipedia says expert systems were among the first truly successful forms of AI software. They were created in the 1970s, spread in the 1980s, and were then widely regarded as the future of AI, before successful artificial neural networks arrived.
How it differs from an LLM
An expert system follows rules that people wrote. A large language model learns patterns from huge amounts of text. See what is a large language model, and the ELIZA program, another rule-following early program. The story of AI's ups and downs is in AI winters explained.