Rule-based formalisms, also known as production systems, are
system-oriented. They allow a system to "reason" over a set of "facts", such as
diagnosing disease given a set of symptoms. Rules have the form of "if
condition, then action". The condition part can be a very
complicated pattern, and rules can be strung together to form chains of
inference. The construction of complex rule-based systems requires great
expertise, and verifying that such systems act as intended is almost impossible.
Modifying rule-based systems can also be difficult, since modifications can
cause unwanted side-effects.
The knowledge in rule-based systems is
explicit..
Making knowledge explicit can be a helpful process because it forces people to
examine their practices and exposes commonalties and differences. Explicit
knowledge is powerful because it can be tested, applied and refined. But
explicit knowledge is also limited, since only a portion of an expert's
knowledge can be expressed in explicit form
[Ehn, 1989][Winograd & Flores, 1986][Suchman, 1987].
Knowledge acquisition, the process of eliciting
knowledge from an expert and encoding it into a rule-based form, is a major
bottleneck for rule-based systems. Anther problem is
Maintaining the
knowledge-base by adding new knowledge as it emerges, and removing knowledge as
it becomes obsolete. Because rule-based knowledge is formal, these tasks must
usually be preformed by a "knowledge engineer", a computer specialist.
Experience has shown that in many domains, knowledge changes faster than it can
be incorporated into a rule-based system
[Buchanan & Shortliffe, 1984].
Rule-based system need not be complex, and they need not
attempt to perform entire tasks. Spell-checkers found in word processors
illustrate that rule-based representations can be effective in performing
limited tasks. Spell-checkers are simple rule-based systems that look at each
word in a document, and if a word is not found in their dictionary, then the
spell checker takes the action of notifying the user. Spell-checkers do not
attempt to write documents for users, but instead they relieve users of a
mundane task, and allow them to concentrate on the more demanding aspects of
the writing task.