Skip to content
Glossary

Rule-Based System

A system that uses predefined, human-crafted rules to interpret and process information for decision-making in AI.
Definition

A rule-based system in computing and artificial intelligence is a software system that uses a set of human-crafted "if-then" rules to derive conclusions or make decisions based on input data. These systems are designed to mimic the decision-making process of human experts in specific domains by applying logical rules to the knowledge base to infer new information or make decisions.

The core components of a rule-based system include a knowledge base (containing the facts and rules), an inference engine (which applies the rules to the known facts and deduces new facts), and a working memory (which stores the information currently being used by the system).

Rule-based systems are particularly effective in domains where the decision-making process can be clearly defined by a set of logical rules and are widely used in expert systems, diagnostic systems, and certain types of intelligent agents.

Examples/Use Cases:

An example of a rule-based system is a medical diagnosis expert system where the knowledge base contains medical knowledge encoded as rules (e.g., "If the patient has a fever and a sore throat, then consider the possibility of strep throat"). The inference engine applies these rules to the patient's symptoms (facts) to suggest potential diagnoses, treatments, or further tests.

Another application is in customer service chatbots, where rule-based systems can guide interactions with users based on predefined conversation rules, providing answers to frequently asked questions or escalating issues to human agents when the conversation goes beyond the scope of the rules.

These systems demonstrate how rule-based logic can be applied to automate decision-making processes and provide intelligent responses based on a structured set of guidelines.

Related Terms
← Back to Glossary

Need human evaluators for your AI research? Scale annotation with expert AI Trainers.