Knowledge Representation

Slides:



Advertisements
Similar presentations
Expert System Seyed Hashem Davarpanah
Advertisements

1 Knowledge Representation Introduction KR and Logic.
Semantic Networks and Frames
Alternate Representational Methods CS 531: LUMS Lahore Dr. M M Awais Frames Graphical Representation: Semantic Nets.
Knowledge Representation
Intelligent systems Lection 7 Frames, selection of knowledge representation, its combinations.
Frame-Based Expert Systems
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
CPSC 322 Introduction to Artificial Intelligence November 5, 2004.
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
CSM6120 Introduction to Intelligent Systems Knowledge representation.
Knowledge Engineering
 Contrary to the beliefs of early workers in AI, experience has shown that Intelligent Systems cannot achieve anything useful unless they contain a large.
Lahore University of Management Sciences, Lahore, Pakistan Dr. M.M. Awais- Computer Science Department Lecture 6 Knowledge Representation Non-Formal Method.
The Semantic Web – WEEK 5: RDF Schema + Ontologies The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse]
Data and Knowledge Representation Lecture 6 Qing Zeng, Ph.D.
Knowledge Representation
Knowledge Representation Reading: Chapter
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
Knowledge representation methods جلسه سوم. KR is AI bottleneck The most important ingredient in any expert system is knowledge. The power of expert systems.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Knowledge Representation Semantic Network dan Frame.
Knowledge representation
Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the.
Some Thoughts to Consider 1 What is so ‘artificial’ about Artificial Intelligence? Just what are ‘Knowledge Based Systems’ anyway? Why would we ever want.
Alternative representations: Semantic networks
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
Knowledge Representation CPTR 314. The need of a Good Representation  The representation that is used to represent a problem is very important  The.
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
LOGIC AND ONTOLOGY Both logic and ontology are important areas of philosophy covering large, diverse, and active research projects. These two areas overlap.
Artificial Intelligence Knowledge Representation.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Semantic Nets, Frames, World Representation CS – W February, 2004.
Intelligent Control Methods Lecture 7: Knowledge representation Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Chapter 2: The Representation of Knowledge
Knowledge Representation
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
Knowledge Representation. Keywordsquick way for agents to locate potentially useful information Thesaurimore structured approach than keywords, arranging.
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.
Of 29 lecture 15: description logic - introduction.
Artificial Intelligence Knowledge Representation.
Knowledge Representation
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.
Lecture 14. Recap Problem Solving GA Simple GA Examples of Mutation and Crossover Application Areas.
Artificial Intelligence Logical Agents Chapter 7.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 16 Description Logic.
Knowledge Representation
Knowledge Representation Techniques
Artificial Intelligence
ece 720 intelligent web: ontology and beyond
Knowledge Representation
Knowledge Representation
Knowledge Representation
ARTIFICIAL INTELLIGENCE
Knowledge Representation
Knowledge Representation
Knowledge Representation and Inference
ARTIFICIAL INTELLIGENCE
KNOWLEDGE REPRESENTATION
Weak Slot-and-Filler Structures
Knowledge Representation
Semantic Nets and Frames
Subject : Artificial Intelligence
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Representations & Reasoning Systems (RRS) (2.2)
Habib Ullah qamar Mscs(se)
Presentation transcript:

Knowledge Representation

KNOWLEDGE REPRESENTATION AND INFERENCE What is knowledge What is knowledge representation (KR) Knowledge representation languages Approaches to KR Semantic networks Frames Predicate Logic Production Rules

Epistemology: theory of knowledge What is knowledge? Is genuine knowledge attainable at all? What are the limits of knowledge? From what faculties of the mind does knowledge originate? Which method should be used to obtain valid knowledge?

The AI view of knowledge Knowledge consists of models that attempt to represent the environment in such a way as to maximally simplify problem-solving. It is assumed that no model can ever hope to capture all relevant information

Basic assumption in Artificial Intelligence Intelligent behavior can be achieved through the manipulation of symbol structures (representing bits of knowledge). This is based on the physical symbol system hypothesis, proposed by Newell and Simon 1976

Main questions How we can represent knowledge as symbol structures ? How we can use that knowledge to intelligently solve problems ?

Features A knowledge representation (KR) : a substitute for the thing itself, used to enable an entity to determine consequences by thinking rather than acting It is a set of ontological commitments, i.e. an answer to the question: In what terms should I think about the world?

Knowledge representation and other fields of study Logic provides the formal structure and rules of inference Ontology defines the kinds of things that exist in the application domain Computation supports the applications that distinguish knowledge representation from pure philosophy

Knowledge Representation Languages High level representation formalisms, that can in principle be implemented using programming languages. should support inference. inference - any way to get new expressions from old.

Requirements Representational Adequacy: should allow to represent the knowledge we need Inferential Adequacy: ability to infer new knowledge from a basic set of facts Inferential Efficiency Clear Syntax and Semantics: what the allowable expressions are and what they mean Naturalness: natural and easy to use

Knowledge Representation and Data structures A KR is not a data structure In KR: a correspondence between its constructs and things in the external world KR - implemented by means of data structures

Approaches to Knowledge Representation in AI Declarative vs procedural knowledge Declarative representations: Logic Semantic networks and Frames Production Rules

First Order Predicate Logic FOPL has a well defined syntax and semantics, It is concerned with truth preserving inference. Problems : time, beliefs and uncertainty are difficult to represent

Semantic Nets and Frames Represent factual knowledge about classes of objects and their properties Not formal systems. Basic inference mechanism: inheritance of properties Problems: quantifiers, representing disjunction and negation

Production rules Production systems: a set of if-then rules - typically state that if certain conditions hold, then some action should be taken. If -then relation: If high_temperature then prescribe aspirin Production systems use a working memory - represents the facts (as semantic nets or frames) that are currently believed to hold.

Semantic Nets A semantic net is represented as a graph, where the nodes in the graph represent concepts, and the arcs represent binary relationships between concepts. Nodes represent objects, attributes and values Links represent attributes and relationships between nodes Labels attached to links: the name of the corresponding attribute or relation

animal Is_a reptile mammal head Has part elephant Clyde Is_instance_of

Types of Relations depending on the application. (e.g. has_parts, likes, etc) Important relations: subclass / member Is a / is instance of

Inheritance of Information More specific (sub)classes inherit (get) properties from more general (super)classes through is_a / is_instance_of links Example: Inferring facts not explicitly represented: Clyde has a head

Representational and Inferential Adequacy Problems with representing quantifiers, (such as ``every dog in town has bitten the constable'') May have 2 arguments only Cannot represent disjunction and negation

Applications ontologies, relational networks Example: http://www.troubleshooters.com/tpromag/199907/_model.htm Using Semantic Nets to Model Troubleshooting's Knowledge

Frames Proposed in 1968 by Marvin Minsky http://web.media.mit.edu/~minsky All the information relevant to a particular concept is stored in a single complex entity, called a frame. Frames support inheritance. Frames can be viewed as a structural representation of semantic nets.

Example Mammal subclass: Animal warm_blooded: yes Elephant subclass: Mammal * colour: grey * size: large Clyde instance: Elephant color: pink owner: Fred

Components of a Frame Entity Name - correspond to a node in a semantic net Attributes or slots filled with particular values E.G. in the frame for Clyde, instance is the name of a slot, and elephant is the value of the slot. Names of slots correspond to the links in semantic nets Values of slots correspond to nodes. Hence each slot can be another frame.

Example Size: instance: Slot single_valued: yes range: Size-set Owner: single_valued: no range: Person Fred: instance: Person occupation: Elephant-breeder

Representational Power Necessary attributes Typical attributes (``*'' ) Type constraints and default values of slots, Overriding values. Slots and procedures: a slot may have a procedure to compute its value of the slot, if needed e.g. object area, given the size

Inheritance If a slot is not defined for a given frame, we look at the parent-class slot with the same name Simple if single parent-class several parent classes : multiple inheritance problem (e.g., Clyde is both an elephant and a circus-animal) Choose which parent to inherit from first.

Applications Classifying new instances of familiar entities (objects/events/places/tasks Anticipating the attributes of such instances Inferring the presence and properties of their parts or participants