What is an expert system?

An expert system is software that holds human expert knowledge for a specific domain in a rule base and produces decisions or recommendations by applying those rules with an inference engine.

It is also called a knowledge-based system. Its relation to symbolic AI is that of specific to general: symbolic AI names the approach, while an expert system applies it to one domain such as medicine, chemistry or insurance. It differs from a knowledge base by its inference engine; a knowledge base only stores knowledge.

Topic
Core concepts
Also known as
Knowledge-based system, rule-based system
Origin
1965, the DENDRAL project at Stanford

How an expert system works

  1. Knowledge engineers interview experts and turn domain knowledge into IF condition THEN result rules and facts.
  2. The inference engine matches the user's inputs against these rules and reaches a conclusion by forward or backward chaining.
  3. An explanation module shows which rules and facts led to the recommendation.
  4. The rule base is updated by hand as the domain changes; since rules interact, maintenance gets harder as the base grows.

In more detail

Working memory and the two chaining directions

A classic expert system comprises four core components: a knowledge base (rules and facts), a working memory holding case-specific inputs, an inference engine and an explanation and knowledge acquisition interface. Forward chaining starts from known facts and fires rules toward a conclusion (data-driven), whereas backward chaining starts from a candidate hypothesis and searches backward for supporting facts (goal-driven).

Uncertainty and rule conflicts

Real-world domains rarely consist of crisp true or false facts alone. Systems such as MYCIN introduced certainty factors, numerical confidence weights combined across rule chains, while later implementations used fuzzy logic or conflict-resolution policies (specificity, rule priority, recency) to handle cases where multiple rules match simultaneously.

The knowledge acquisition bottleneck and brittleness

Historically, expert systems stalled at the knowledge acquisition bottleneck: domain experts often rely on tacit intuition that is hard to articulate as formal rules. Moreover, rule bases suffer from brittleness at domain boundaries, failing abruptly on unforeseen edge cases where statistical machine learning models degrade more gracefully.

A validation layer between the LLM and the rule engine

In contemporary enterprise architectures, pairing LLMs with rule engines (such as Drools or DMN) requires strict JSON schema validation, confidence gating and evidence citation for every extracted fact. Without verifying the LLM-to-fact-base translation step, an extraction error silently propagates through deterministic rules with false authority.

Commonly confused terms

TermHow it differs
Neuro-symbolic AIA traditional expert system executes deterministic or uncertainty-weighted rules authored by humans, whereas a neuro-symbolic system pairs neural models (like LLMs) with symbolic rule engines so unstructured inputs can be safely governed by verifiable rules.

Why an expert system matters for on-premises AI

Because expert systems can show the reasoning behind a decision at rule level, they are still used in processes that need compliance evidence, such as credit pre-screening, claims pre-assessment or drug interaction checks. In on-premise AI projects old rule engines are often kept: a language model structures free text and the existing rule engine makes the decision. This preserves the decision's explainability.

ON-PREMISES EXAMPLE

A hospital runs drug interaction checks with an expert system: known interactions are entered as rules and when a prescription is written the system shows conflicting drugs with the reason.

Common questions

How does an expert system differ from a machine learning system?

Experts write the rules of an expert system. A machine learning model derives its rules from data itself.

Are expert systems still used today?

Yes. Rule engines are common in medicine, insurance and banking processes that need explainability and auditability, often working alongside language models.

Sources

In the glossary: Glossary, D to L

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.