AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias [email protected].

28
AI – CS364 AI – CS364 Knowledge Acquisition Knowledge Acquisition Knowledge Acquisition Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias [email protected]
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    216
  • download

    0

Transcript of AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias [email protected].

Page 1: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

Knowledge AcquisitionKnowledge Acquisition

12th September 2006

Dr Bogdan L. [email protected]

Page 2: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 2

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

ContentsContents• Defining Knowledge Acquisition

• Interviewing for Knowledge Acquisition

• Case Study

• Terminology

Page 3: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 3

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

Knowledge AcquisitionKnowledge Acquisition• Knowledge acquisition can be regarded as a method by which a

knowledge engineer gathers information mainly from experts, but also from text books, technical manuals, research papers and other authoritative sources for ultimate translation into a knowledge base, understandable by both machines and humans.

• The person undertaking the knowledge acquisition, the knowledge engineer, must convert the acquired knowledge into an electronic format that a computer program can use.

Page 4: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 4

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

The Process of Knowledge AcquisitionThe Process of Knowledge Acquisition• In the process of Knowledge Acquisition for an Expert System

Project, the knowledge engineer basically performs four major tasks in sequence:

– First, the engineer ensures that he or she understands the aims and objectives of the proposed expert system to get a feeling for the potential scope of the project.

– Second, the engineer develops a working knowledge of the problem domain by mastering it's terminology by looking up technical dictionaries and terminology data bases. For this task the key sources of knowledge are identified: textbooks, papers, technical reports, manuals, codes of practice, users and domain experts.

Page 5: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 5

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

The Process of Knowledge AcquisitionThe Process of Knowledge Acquisition– Third, the knowledge engineer interacts with experts via meetings

or interviews to acquire, verify and validate their knowledge.

– Fourth, the knowledge engineer produces a "document knowledge base"; a document or group of documents (nowadays in electronic format) which form an intermediate stage in the translation of knowledge from source to computer program. This comprises:

• the interview transcripts,

• the analysis of the information they contain

• and a full description of the major domain entities (e.g. tasks, rules and objects).

Page 6: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 6

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

Interviewing Techniques for KAInterviewing Techniques for KA• The Informal or Overview Interview

– To familiarise the knowledge engineer with the domain and the particular problem which the proposed expert system is intended to solve.

• The Focused Interview– Focused interviews are similar to ordinary "chat show" conversations or

discussions where the interviewer is interested in a topic of which the interviewee is knowledgeable.

– It is normally conducted by following a pre-determined agenda. The interviewee is initially prompted with the first topic or question, but is given a great deal of freedom of expression thereafter.

Page 7: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 7

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

Interviewing Techniques for KAInterviewing Techniques for KA• The Structured Interview

– Structured interviews normally occur well into the knowledge acquisition phase.

– They are used when information is required in much greater depth and detail than the other techniques can offer and is more interrogative than conversational.

• 'Think aloud' Protocols– A technique used by cognitive psychologists to study the strategies with

which people solve problems. Case studies are advantageous because the end results are already known so the expert should repeat the strategy he used for that problem when describing his solution.

Page 8: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 8

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

Interviewing Techniques – Do's and Don'tsInterviewing Techniques – Do's and Don'ts• It is essential to record and transcribe all the (video/audio-taped)

interviews.

• Transcripts should be clearly cross-referenced to (video/audio-tape) recorder counter numbers.

• Include all the sketches, photocopies or reproductions of diagrams, tables or the like, that were referred to during the interview(s).

• Once completed a copy should be sent to the interviewee for comments, corrections and criticism. There is always the possibility of misunderstanding by the knowledge engineer when interpreting a statement or explanation.

• By involving the expert in validating his or her own transcript it reduces the chance of erroneous information appearing in the prototype's knowledge base.

Page 9: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 9

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

Knowledge Acquisition TasksKnowledge Acquisition Tasks

Domain Terminology

Salient domain features

ReviseLearn

Scope of the problem

Knowledge Sources

Outline Constrain

Problem-solving tasks

Domain objectsSpecify Verify

Paper Knowledge Base

Rules and HeuristicsProduce Validate

Overview Interview

Focussed Interviews Literature Review

Structured Interview

Rule Animation

Objectives Revision PhaseDiscovery Phase Technique Used

Consult Textbooks

Page 10: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 10

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study in Interview-based KAA Case Study in Interview-based KA• Project PLAIM (Platform Lifetime Assessment through Analysis,

Inspection and Maintenance) was sponsored by the European Union during 1988-89.

• The project had two major objectives: first to collate, analyze and archive the inspection and maintenance related data. And, the second aim is to establish a computer program which will:

– allow access, and guide the user to the appropriate data (or data files);

– provide an 'intelligent' interface to mathematical models, industry-standard simulation programs and empirical equations

– acquire, formalise and disseminate the experiential (and previously undocumented) knowledge of inspecting and maintaining off-shore structures.

Page 11: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 11

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – The InterviewsA Case Study – The Interviews• A total of three knowledge elicitation interviews were conducted

lasting over 5 hours and covering a broad range of topics relevant to the target problem:– The first interview provided the overview.

– The second being much more focused on domain description and terminology.

– The third interview was the only formally conducted, structured interview.

• Regular prototype revision meetings were conducted in a similar interrogative style inspired by a demonstration of the prototype and review of the current knowledge base.

• All but one of the interviews were recorded using a video-cassette recorder; all were transcribed and, where considered useful, the transcripts were sent to or discussed with the interviewee.

Page 12: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 12

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – The InterviewsA Case Study – The Interviews

Interviewee Subjects Covered Interview TechniqueDepartmental Manager, AME Ltd Overview and explanation of

idea behind PLAIMOverview Interview

  How an expert system is expected to fit in and what it was expected to do.

(followed by structured interviews at prototype demonstrations)

Departmental Manager, AME Ltd. General introduction to terminology, design practice;

Focused

  design for fatigue, classification of members, nodes, joint types, construction, practice, welding and fabrication.

Think aloud

Senior Structural Engineer, UK Offshore Operator

Current inspection, repair and maintenance. Assessment of AME proposed approach to IRM; Opinion of where expert systems would be useful generally and specifically to the operator practice.

Structured

Page 13: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 13

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Overview InterviewA Case Study – Overview Interview• The overview interview requires the preparation of a well targeted set

of questions. The interviewee, the PLAIM project manager, was video taped and a transcript of his interview was produced.– The interview began with a discussion of a 'flow chart' for conducting

fatigue analysis of offshore structures.

• The interviewer, who already had access to a variety of contract documents related to PLAIM, asked the expert to explain the 'flow chart'. This led to a set of well focused questions such as:– Please outline algorithms, data input and output, data requirements.– What sort of knowledge and expertise is expected to be included in this

prototype?– Please give your view on judgments on accuracy and calibration with real

data?– How do you tell from residual strength and reliability index the lifetime of

the structure or cracked joint? i.e. how long before the crack causes failure?

– Please suggest further information sources.

Page 14: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 14

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Overview InterviewA Case Study – Overview Interview• The result of the overview interview led to the identification of the

broad scope of the project and in cataloguing important technical documentation as textual knowledge sources.

• The preparation of the questionnaire for the interview helped the knowledge engineer to learn much about the expert's impression of the problem and his understanding of how an expert system could be applied.

• Some key phrases of the domain terminology were also introduced and explained.

• A number of knowledge sources were identified by the domain experts ranging from research papers in learned journals to textbooks and repair and maintenance manuals.

Page 15: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 15

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Focused InterviewA Case Study – Focused Interview• The purpose of this interview was to cover two broad topics. Firstly, to

describe a typical oil production platform and secondly to outline fatigue damage design, analysis and repair practices. The help of a second domain expert, who has hands-on experience of designing such structures, was enlisted. His reply comprised the following topics (The numbers on the right are video-recorder counters):

000 Major Components of a Typical Platform (Figure 1)063 A Barge Launched Jacket (Figure 2)125 Fatigue Problem Areas140 Pile Sleeves 157 Nodes170 Importance of Various Members in a Jacket222 Scour problems254 Anodes and Corrosion Protection273 Defects313 Fatigue Analysis: Procedure and Calculations357 Wave Data

Page 16: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 16

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Focused InterviewA Case Study – Focused Interview• 000 Major components of a Typical rig (Diagram 1)

– The diagram shows the topside, consisting of the cellar deck to support the drilling rig, accommodation module, helideck etc. Also shown are the flare boom and other crane booms. The jacket supports the topside fixing it securely to the sea-bed above the level of the highest waves likely to be encountered in the North Sea. Piles are driven through guides in the legs of the jacket into the bed rock to ensure the rig position is solid. As the jacket structure is a group of frames made up of tubular steel sections and linked together by other frames, a method of identifying individual members and nodes at which groups of members coincide is required. The convention used on engineering drawings to identify the frame structure in plan view at each level or staging is shown below. This particular jacket was lifted into place using a crane.

Page 17: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 17

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Focused InterviewA Case Study – Focused Interview

1 2 3

B

A

Topside

Jacket

Cellar Deck

Sea bed

Sea level

Piles

GRID SYSTEM

Rows

Faces

Diagram 1. Major components of a Typical rig

Page 18: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 18

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Focused InterviewA Case Study – Focused Interview• 015 A Barge Launched Jacket (Figure 2)

– The isometric view of the same jacket shows in more detail aspects of the frame structure the type of loading experienced and typical trouble spots. The increasing diameter of the leg is so that it is strong enough to be able to take the increasing axial load at the lower levels. When a wave hits the platform it causes an overturning moment which in turn causes an axial load in the leg. This is resisted by the piles, but in this example the eccentricity of the load due to the leg shape causes flexure in the short stubby diagonal braces and causes fatigue problems in their corresponding node joints. Other crossed-diagonal members also experience fatigue due to this sort of flexure but not to the same degree.

Page 19: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 19

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Focused InterviewA Case Study – Focused Interview

increasing leg diameter

conductor frame

WAVE

Short stubby members

Diagram 2. A Barge Launched Jacket

Page 20: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 20

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Analysing the DataA Case Study – Analysing the Data

OBJECT ATTRIBUTES

rig or platform topsides part of platform

cellar deck part of platform

jacket part of platform

sea-bed piles part of jacket

attached to (leg 1, 2, 3, 4) ...

number of guides

sleeve type

member part of jacket

part of level frame

type of (leg, brace, diagonal, horizontal ...)

Page 21: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 21

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Analysing the DataA Case Study – Analysing the Data• rule 1

if: jacket is barge launched

then: jacket will have extra structural members included purely for transportation and launching which become redundant once it is placed on the sea bed.

• rule 2if: a wave strikes the jacket

then: the diagonal members will take the load/shear force.

• rule 3if: a jacket has sloping legs

then: any crossed diagonal members at the lowest level will flex and cause fatigue in their corresponding node joints.

• rule …

Page 22: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 22

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Transcript CorrectionsA Case Study – Transcript Corrections• The interview transcript was sent to the expert for comments and

criticism and was duly returned with corrections. It is not easy to classify the comments, except that the expert imposed constraints on his statements or expanded on others. Some examples below are presented to highlight the point we have just made. The amendments are shown in italics:

• 000 Major components of a Typical rig– The diagram shows the topsides, consisting of the cellar deck to support

the drilling rig, accommodation module, helideck etc. Also shown is the flare boom and other crane booms. The jacket supports the topsides fixing it securely to the sea-bed above the level of the highest waves likely to be encountered in the North Sea at the site. Piles are driven through guides attached to the legs of the jacket into the sea be to ensure the rig position is …

Page 23: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 23

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

A Case Study – Structured InterviewA Case Study – Structured Interview• Based on the data collected from the previous two interviews a third

interview was prepared and then planned with the Senior Structural Engineer UK Offshore Operator.

• The main areas of the third interview was focussed on the following:– Current inspection, repair and maintenance.

– Assessment of AME proposed approach to IRM.

– Opinion of where expert systems would be useful generally and specifically to the operator practice.

Page 24: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 24

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

Specialist LanguagesSpecialist Languages• Characteristics of Specialist languages:

– Considered variants of natural language are restricted lexically, syntactically and semantically.

– Have a preponderance of open class words.

– Have single and compound noun phrases (NP). These phrases are used to name objects, events, actions and states.

– Have few adjectives and adverbs.

Page 25: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 25

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

TerminologyTerminology• Systematically organised collection of terms and their elaborations,

including definitions, grammatical categories, and related term.

• The system used is usually a conceptual one. The conceptual basis is that of the discipline and its potential application. For example:– physicists organise their subject discipline in terms of forces, energy and

mass;

– chemists focus on atoms and molecules;

– biologists organise their subject in terms of kingdoms, families and species.

Page 26: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 26

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

TerminologyTerminology• Usually nouns, few verbs, adjectives or adverbs.

• Terminology can be documented in:– paper form: terminological dictionaries; glossaries; thesauri; hierarchy

diagrams or ontology.

– electronic form: term-bases; hierarchies; ontology.

Page 27: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 27

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

Terminology and KnowledgeTerminology and Knowledge• The terminology of a specialist domain, and to some extent the details

of the problem-solving heuristics and that of the meta rules, reflect the underlying structure of the domain.

• This structure allows the members of the domain community to develop new ideas, to challenge existing wisdom, to disseminate and to learn from each other. In effect, the underlying structure provides a cohesive framework for the domain community to function as a whole.

Page 28: AI – CS364 Knowledge Acquisition 12 th September 2006 Dr Bogdan L. Vrusias b.vrusias@surrey.ac.uk.

12th September 2006 Bogdan L. Vrusias © 2006 28

AI – CS364AI – CS364Knowledge AcquisitionKnowledge Acquisition

ClosingClosing

• Questions???

• Remarks???

• Comments!!!

• Evaluation!