Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

© C. Kemke Knowledge Representation 1 COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Semantics Static semantics Dynamic semantics attribute grammars
1 Default Reasoning Q: How many wheels does John’s car have? A: Four (by default) The conclusion is withdrawn if one is supplied with the information that.
Default Reasoning the problem: in FOL, universally-quantified rules cannot have exceptions –  x bird(x)  can_fly(x) –bird(tweety) –bird(opus)  can_fly(opus)
Frame-based expert systems
Knowledge Representation
Intelligent systems Lection 7 Frames, selection of knowledge representation, its combinations.
Frame-Based Expert Systems
Frame Based Expert System
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
For Friday Finish chapter 10 No homework (get started on program 2)
CSM6120 Introduction to Intelligent Systems Knowledge representation.
OOP - Object Oriented Programming Object Oriented Programming is an approach to programming that was developed to make large programs easier to manage.
Intelligent systems Lecture 6 Rules, Semantic nets.
Knowledge Engineering
Chapter 12: Expert Systems Design Examples
Production Rules Rule-Based Systems. 2 Production Rules Specify what you should do or what you could conclude in different situations. Specify what you.
Frame-based expert systems
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
BACS 287 Basics of Object-Oriented Programming 1.
Frame-Based Representation Frame: stereotypical knowledge knowledge of some concept. Bird Frame Name Properties CLASS FRAME Tweety Frame Name Properties.
Knowledge representation methods جلسه سوم. KR is AI bottleneck The most important ingredient in any expert system is knowledge. The power of expert systems.
Rule-Based Expert Systems. Expert Systems  Acknowledge that computers do not posses general knowledge (common sense)  Attempt to train computer in a.
Knowledge Acquisition. Concepts of Knowledge Engineering Knowledge engineering The engineering discipline in which knowledge is integrated into computer.
General Knowledge Dr. Claudia J. Stanny EXP 4507 Memory & Cognition Spring 2009.
Knowledge Representation Semantic Network dan Frame.
1 Understanding Inheritance COSC 156 C++ Programming Lecture 8.
13: Inference Techniques
Representing variables according to the ISO/IEC standard.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Alternative representations: Semantic networks
Knowledge Representation CPTR 314. The need of a Good Representation  The representation that is used to represent a problem is very important  The.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Artificial Intelligence Knowledge Representation.
A Declarative Similarity Framework for Knowledge Intensive CBR by Díaz-Agudo and González-Calero Presented by Ida Sofie G Stenerud 25.October 2006.
@Anupam Basu Frames Lecture Basu What is a Frame? A frame is a prototype of a concept –Denoting the attributes of the concept –The class of.
CMSC 471 Spring 2014 Class #22 Thursday, April 17 Knowledge Representation Professor Marie desJardins,
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
Week III  Recap from Last Week Review Classes Review Domain Model for EU-Bid & EU-Lease Aggregation Example (Reservation) Attribute Properties.
Semantic Nets, Frames, World Representation CS – W February, 2004.
Object Oriented Analysis: Associations. 2 Object Oriented Modeling BUAD/American University Class Relationships u Classes have relationships between each.
CSCI-383 Object-Oriented Programming & Design Lecture 10.
Intelligent Control Methods Lecture 7: Knowledge representation Slovak University of Technology Faculty of Material Science and Technology in Trnava.
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Of 29 lecture 15: description logic - introduction.
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Definition and Technologies Knowledge Representation.
16 April 2011 Alan, Edison, etc, Saturday.. Knowledge, Planning and Robotics 1.Knowledge 2.Types of knowledge 3.Representation of knowledge 4.Planning.
1 Software Requirements Descriptions and specifications of a system.
Knowledge Representation. A knowledge base can be organised in several different configurations to facilitate fast inferencing Knowledge Representation.
Knowledge Representation
Knowledge Representation Techniques
Artificial Intelligence
Analysis Classes Unit 5.
OOP - Object Oriented Programming
ece 720 intelligent web: ontology and beyond
Distribution and components
Knowledge Representation
Knowledge Representation
Knowledge Representation
Understanding Inheritance
Issues in Knowledge Representation
Weak Slot-and-Filler Structures
Semantic Nets and Frames
Presentation transcript:

Lecture 5 Frames

Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural knowledge with some fact or group of facts. A frame is a structure for organizing knowledge with an emphasis on default knowledge (Minsky, 1975). A frame consists of a series of slots each of which represents a standard property or attribute of the element represented by the frame.

Frames New situations are interpreted on the basis of previous experience. This ability allows our knowledge to grow with each experience rather than to start from the initial condition in every case. Using a collection of knowledge consisting of a frame name and a set of attribute-value pairs, a frame represents a stereotypical situation from the world.

Frames The attributes of the attribute-value pairs are often called slots while the values are called fillers. The fillers can additionally be divided into facets: –Range –Default –If-Needed –If-Added –If-Changed

Example - 1

Frames These procedures also called demons represent a powerful concept in frames – the ability to combine procedural knowledge within the declarative knowledge structure of the frame.

Frames Procedural Information If needed procedures describe the process required to establish a value for the associated slot when a value is required. If added procedures are event driven procedures that are triggered by the fact that the associated slot has been assigned a value.

Frames Frames are used for organizing our basic understanding of the things that are typically true of some general class of elements.

Frames This frame describes a generalized subclass of automobiles, it does not need to represent all features shared by automobiles and coupes. It simply identifies those characteristics that distinguish it from a generic automobile.

Frames This frame is a specialization of COUPE which in turn a specialization of AUTOMOBILE, which in turn a specialization of VEHICLE. Most of the properties are inherited from the AUOMOBILE frame with COUPE adding the doors

Frames An important concept of frames is that properties associated with higher level, or merge general frames are considered to be fixed, while the lower level frames may vary but follow the general framework described by the higher frames. When a conflict in values occurs (penguins don’t fly but birds do), the more specialized value takes precedence over the general value.

Reasoning with Frames Reasoning with frames –Matching: retrieving the best applicable frame –Inheritance: applying general information to specific instances

Reasoning with Frames Matching Matching is a complex problem and requires complex algorithms. Description of a specific situation is matched to general description (structure match). There is the problem of establishing the default values for a frame accurately. For example for a tree most will say have leaves, but a person from north may say it has needles.

Reasoning with Frames Inheritance and defaults Organize frames in an is-a hierarchy (is generalization of, is specialization of) Compute properties and values by inheritance of predecessors in the hierarchy.

Reasoning with Frames Multiple Inheritance (advantages) Consider object from different views. Class car Knowledge about Transport objects Knowledge about law of objects Knowledge about mechanical objects

Reasoning with Frames Multiple Inheritance (problems) What in case of conflicting inheritance Republican Quaker person QuakerRepublican

Reasoning with Frames Multiple Inheritance (problems) What in case of conflicting inheritance “Nixon Diamond Problem” instance Nixon class person class quaker slot pacifist:yes class republican slot pacifist:no Is Nixon pacifist?

Multiple Inheritance (problems ) Give an ordering to the parents –Inherit only from the first parent that has a value –Fixed order (ie. From left to right) –Give weights to the links: “Nixon is mainly a republican, and only a quaker if he needed it” Make a separate node “republican-quaker”, with a IF-NEEDED demon for pacifist: Reasoning with Frames Class republican-quaker slot pacifist: IF-NEEDED: if election-year then pacifist = yes else pacifist = no end class

Reasoning with Frames Frames based systems are preferred for model based and case based reasoning. Frames can be used to implement rule based knowledge. Each rule is represented as a frame with its elements ( premise, action, certainty factor) as slots.

Advantages of Frames The advantages of frame based systems include 1.Facilitation of expectation driven processing – through the use of demons is able to specify actions that should take place when certain conditions arise during the processing of the information. 2.Organization of knowledge – information is more structured and organized. 3.Self driven – frames may be organized to determine non- applicability. Should a frame not applicable it can then suggest a frame which is more appropriate. 4.Storage of dynamic values. (especially useful for diagnostics and planning type problems)

Disadvantages of Frames The disadvantages of frame based systems include 1.Departures from prototype 2.Accommodation of new situations – frame based systems do not have prototypes built to guide the representation of new instances. 3.Detailing heuristic knowledge – difficult to describe heuristic knowledge with frames.