AI Glossary / Governance, ethics and safety / Intermediate
Expert system
Definition
An expert system is a computer program designed to apply specialized knowledge to problems within a defined domain. Classic expert systems represent knowledge explicitly, often as rules, and use an inference mechanism to draw conclusions from known facts. They are associated with knowledge-based AI and differ from systems that mainly learn statistical patterns from large datasets, although hybrid approaches can combine both.
What it means
The word expert describes the intended knowledge and problem-solving role, not a guarantee of expert-level correctness in every case. A system might recommend diagnostic checks for equipment, verify a configuration, or guide a user through a policy decision. Its usefulness depends on the knowledge encoded, the facts supplied, and the match between the problem and the supported domain. An explicit rule can be easy to inspect while still being outdated, incomplete, or inappropriate. The knowledge needs continuing review as the real environment changes.
How it works
A typical rule-based design separates a knowledge base from the facts of the current case and the inference engine that applies rules. A rule has conditions and conclusions or actions. When facts satisfy its conditions, the engine may activate it and add a new conclusion. Forward chaining starts from available facts and derives consequences. Backward chaining starts with a possible conclusion and looks for facts or rules that support it. Implementations vary, including how they handle competing rules, uncertainty, and explanations. A trace of applied rules can help users inspect reasoning, but it must be interpreted in the context of the rules' validity.
Three practical examples
- A configuration adviser checks whether selected components meet explicit compatibility rules and identifies which condition fails.
- An equipment-support tool asks structured questions and recommends the next approved inspection step based on the recorded observations.
- A policy assistant applies documented eligibility rules to a case and routes exceptions to an authorized reviewer. These are bounded knowledge applications, not claims that a rule base can replace all professional judgment.
Think of it this way
Think of a carefully maintained specialist handbook connected to a mechanism that selects relevant passages and follows their implications. The analogy is limited because an inference engine can combine many rules automatically, while a handbook reader supplies substantial interpretation. It helps distinguish stored domain knowledge from the machinery that applies it and from the quality of the facts entered.
Worked example
Consider a fictional equipment-support rule set. Rule 1 says: if the device will not start and the power indicator is off, check the external power connection. Rule 2 says: if the external connection is confirmed good and the indicator remains off, refer the case for an approved power-system inspection. The initial facts are that the device will not start and the indicator is off, so Rule 1 produces a check recommendation. The system should not jump to Rule 2 until the connection check result is known. If the user confirms that the connection is good, the second rule becomes applicable. This example demonstrates chained reasoning and the importance of missing facts. It does not diagnose a specific failed component or authorize a user to perform hazardous repairs. A real rule base would need equipment-specific expert validation and appropriate safety procedures.
Illustrative case study
Fictional case: Maple Equipment captures experienced staff's knowledge about configuring a modular product. Its expert system flags incompatible combinations and explains the rules involved. When a new component is introduced, a review discovers that an old rule is too broad and rejects a now-supported configuration. The team updates the knowledge base, checks affected cases, and retains a review route for unresolved combinations. This invented case illustrates maintenance of explicit knowledge rather than a claim of automatic learning or a measured business saving.
Common misconceptions and mistakes
An expert system does not necessarily learn from every interaction. Many classic systems require people to revise their knowledge base. A rule trace is not proof that the reasoning is correct: an incorrect rule can be followed perfectly. Missing information is also different from false information, and the handling of unknown facts must be specified. A large number of rules does not guarantee broad expertise; it can create difficult interactions and conflicts. Finally, a general-purpose chatbot that speaks confidently about a topic is not automatically a classic expert system.
Business use
Consider this approach when important knowledge can be stated explicitly and the supported problem is well bounded. Plan how experts will contribute, validate, and update rules, and who owns changes when policies or products evolve. Test ordinary cases, exceptions, missing facts, and rule conflicts. Provide explanations that help users understand the recommendation's basis without overstating certainty. Compare the maintenance burden with alternative approaches, including ordinary decision tables or hybrid systems. Keep human review available where the rule set cannot responsibly resolve a case, and make that boundary clear.
People also ask
Is an expert system a form of AI?
Yes. Knowledge-based expert systems are a longstanding approach within AI.
Does it need a neural network?
No. A classic rule-based expert system can operate without one, although systems can combine rules with learned components.
Can it explain its answers?
Many can show relevant facts and rules, but the usefulness of that explanation depends on the design and whether it accurately reflects the actual inference process.
Check your understanding
A rule requires a confirmed inspection result, but that result has not been supplied. Should the system assume the condition is satisfied?
Answer: No. It should follow its explicit policy for missing information, such as asking for the result or routing the case for review, rather than silently inventing a fact.
Related terms
- Knowledge base
- Inference engine
- Forward-chaining
- Backward-chaining
- Knowledge engineering
- rule-based system
- decision support
- symbolic AI
- explanation trace
Learn next
Write three rules for a low-stakes decision you understand, separating case facts from the rules themselves. Test a normal case, a missing fact, and a conflict. Identify where an expert must refine the knowledge rather than merely add more rules.
More in Governance, ethics and safety
- Exclusion Bias - Exclusion bias arises when relevant people, groups, or cases are left out of data collection, testing, or analysis in a way that distorts the resulting...
- Existential risk - Existential risk is the possibility of an outcome that destroys humanity or permanently and drastically limits humanity's future potential.
- Experimenter's bias - Experimenter's bias is a systematic influence on a study's procedures, observations, analysis, or interpretation arising from the researcher's expectations...
- Explainability
- Explainable AI - Explainable AI, often abbreviated XAI, is the study and practice of making AI systems and their outputs understandable to people through suitable...
- Explainable empirical risk minimization - Explainable empirical risk minimization, or EERM, is a research approach that adds a user-related explainability objective to ordinary empirical risk...
Sources
CLIPS, original project and expert-system tool overview: https://www.clipsrules.net/ Joseph C. Giarratano, CLIPS User's Guide, introduction to expert-system components: https://clipsrules.net/documentation/v642/ug642.pdf
Previous: Experimenter's bias Next: Expit