The knowledge of an expert is the most valuable and the hardest part of an expert system to obtain. This work is called the knowledge acquisition bottleneck.
Knowledge Acquisition
Knowledge acquisition is the process of getting knowledge from experts, books, records and data, and putting it in a form that a program can use. It is difficult because experts often cannot explain what they know, since much of their skill has become automatic. They use intuition, they speak in terms of the field that an outsider does not know, and their time is limited. The knowledge may also be uncertain or contradictory between experts.
Definition: Knowledge acquisition. The process of extracting, structuring and organising knowledge from human experts and other sources so that it can be placed in a knowledge base.
Techniques of Knowledge Acquisition
Interviews may be unstructured, where the expert talks freely, or structured, where the engineer asks planned questions. Observation watches the expert at work. Protocol analysis, or the think-aloud method, asks the expert to speak thoughts aloud while solving a case, and the record is studied. Case-based and scenario methods use real or sample cases and ask the expert to explain each decision. Questionnaires collect knowledge from many people. Card sorting has the expert sort concept cards into groups, which shows how the expert organises the field. Repertory grids compare concepts on a set of traits. Knowledge can also be taken from documents and manuals, and from data by machine learning, which is called induction.
Knowledge Engineering
Knowledge engineering is the discipline of building knowledge-based systems. The knowledge engineer is the person who works with the expert, picks the representation, builds the knowledge base and tests it. Their work is to understand the domain, to acquire the knowledge, to represent it in rules, frames or other forms, to validate it with the expert, and to maintain it. A good knowledge engineer has skills in AI, in programming and in dealing with people. Tools help in the work, for example expert system shells, which give an inference engine and an empty knowledge base, such as CLIPS, and ontology editors.
Table 3.3: Knowledge acquisition techniques
| Technique | Method | Suited to |
|---|---|---|
| Interview | Ask the expert questions | Overview of the domain |
| Observation | Watch the expert work | Practical skills |
| Protocol analysis | Expert thinks aloud | Reasoning steps |
| Card sorting | Group concept cards | Structure of concepts |
| Induction | Learn rules from data | Many examples |
Example 3.3: Choosing a technique
Problem: Which technique fits best: (a) learning how a mechanic reasons when finding an engine fault, (b) building a first list of the concepts of a new domain, (c) many past loan cases with known decisions?
Solution:
- The reasoning steps appear when the mechanic thinks aloud: protocol analysis.
- A first map of the concepts is found by an unstructured interview, then card sorting.
- Many solved cases suit induction by machine learning.
Result: (a) protocol analysis, (b) interview and card sorting, (c) induction.
Common mistakes
- Relying on a single interview with one expert.
- Believing everything that an expert says. Experts may describe what they should do rather than what they do.
- Not validating the encoded knowledge with the expert.
Key takeaways
- Knowledge acquisition is the bottleneck of expert system building.
- Techniques include interviews, observation, protocol analysis, card sorting and induction.
- The knowledge engineer builds the knowledge base with the expert.
- Shells such as CLIPS give an empty inference engine.
Practice questions
- What is knowledge acquisition?
- Name three knowledge acquisition techniques.
- What does a knowledge engineer do?
Answers to the practice questions
- Extracting and structuring knowledge from experts and other sources so that it can be put in a knowledge base.
- Interviews, protocol analysis and card sorting (also observation, induction).
- Works with the expert to acquire, represent, validate and maintain the knowledge.
Sources
- Official BCA syllabus Artificial Intelligence and Expert Systems, course code 25BCA405DS02, Unit III
