CPSC 322 Introduction to Artificial Intelligence November 5, 2004.

Slides:



Advertisements
Similar presentations
1 Knowledge Representation Introduction KR and Logic.
Advertisements

ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Database Systems: Design, Implementation, and Management Tenth Edition
Knowledge Representation
Chapter 4 Knowledge Representation Artificial Intelligence ดร. วิภาดา เวทย์ประสิทธิ์ ภาควิชาวิทยาการคอมพิวเตอร์ คณะ วิทยาศาสตร์ มหาวิทยาลัยสงขลานครินทร์
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
Representations One of the major distinctions between ordinary software and AI is the need to represent domain knowledge (or other forms of worldly knowledge)
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System modeling 2.
 Contrary to the beliefs of early workers in AI, experience has shown that Intelligent Systems cannot achieve anything useful unless they contain a large.
Artificial Intelligence Lecture No. 12 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
CPSC 322 Introduction to Artificial Intelligence October 29, 2004.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 System models.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
CPSC 322 Introduction to Artificial Intelligence November 10, 2004.
UML CASE Tool. ABSTRACT Domain analysis enables identifying families of applications and capturing their terminology in order to assist and guide system.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
CPSC 322 Introduction to Artificial Intelligence November 3, 2004.
Chapter 12: Intelligent Systems in Business
Knowledge Representation Reading: Chapter
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
Scene Based Reasoning Cognitive Architecture Frank Bergmann, Brian Fenton,
Semantic Networks The idea behind a semantic network is that knowledge is often best understood as a set of concepts that are related to one another. The.
PROCESSING APPROACHES
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
Artificial Intelligence CIS 479/579 Bruce R. Maxim UM-Dearborn.
Chapter 4 System Models A description of the various models that can be used to specify software systems.
Knowledge representation
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Memory. Interesting Video  Color Changing Card Trick Color Changing Card Trick.
1 Artificial Intelligence GholamReza GhassemSani Fall 1383.
Early Work Masterman: 100 primitive concepts, 15,000 concepts Wilks: Natural Language system using semantic networks Shapiro: Propositional calculus based.
Chapter 7 System models.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Knowledge, Representation, and Reasoning CSC 244/444: Logical Foundations of Artificial Intelligence Henry Kautz.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Semantic Nets, Frames, World Representation CS – W February, 2004.
CSCI-383 Object-Oriented Programming & Design Lecture 10.
1 Lectures on Artificial Intelligence (CS 364) 1 Khurshid Ahmad Professor of Artificial Intelligence Centre for Knowledge Management September 2001.
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?
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
Of An Expert System.  Introduction  What is AI?  Intelligent in Human & Machine? What is Expert System? How are Expert System used? Elements of ES.
Artificial Intelligence
Forward and Backward Chaining
Naming – Concept – Sense – Reference. In semantics, there are two major ways to find out the meaning of a word which then becomes the two major branches.
Artificial Intelligence Hossaini Winter Outline book : Artificial intelligence a modern Approach by Stuart Russell, Peter Norvig. A Practical Guide.
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.
Module 5 Other Knowledge Representation Formalisms
Knowledge Representation & Logic
Knowledge Representation Techniques
Artificial Intelligence
What is cognitive psychology?
Chapter 5: Representing Knowledge
Knowledge Representation
Knowledge Representation
Knowledge Representation
Strong Slot-and-Filler Structures
Introduction Artificial Intelligent.
Entity Relationship Diagrams
Strong Slot-and-Filler Structures
KNOWLEDGE REPRESENTATION
CPSC 322 Introduction to Artificial Intelligence
Weak Slot-and-Filler Structures
Structured Knowledge Representation
Subject : Artificial Intelligence
Presentation transcript:

CPSC 322 Introduction to Artificial Intelligence November 5, 2004

Primitive relations vs. derived relations Does a bird fly? Does a canary fly? Does an ostrich fly? vertebrate ^ | is-a | | has-part | / wings | / reproduction | / egg-laying | / body-temp | / warm-blooded bird--< no. of legs ^ ^ ^ \ / | \ \ covering is-a / | \ \ feathers / | \ \ movement color / | \ \ flight yellow canary | \ size / | is-a \ is-a small -----/ | \ movement | ostrich run movement | \ size swim penguin \ big

Primitive relations vs. derived relations It’s called inheritance (or property inheritance) AI people were using inheritance long before the object-oriented programming world appropriated it Cognitive psychology was explaining memory organization with inheritance long before AI stole it The is_a attributes/arcs are special -- they’re what tells the reasoning system that the class at the start of the arc can inherit from the superclass at the end of the arc

Relational networks work great for nouns......but for representing individual verbs, the relational network as just described hasn’t been as helpful Many symbolic approaches to language understanding have adopted an approach of representing verbs as the composition of some number of primitive actions such as physical transfer of an object from point A to point B abstract transfer of possession of something form entity A to entity B mental transfer of information from entity A to entity B (these are just a few examples...there are others)

Slot-filler representation John ordered a Big Mac. is represented by the following John mtrans to the cashier

Slot-filler representation John ordered a Big Mac. is represented by the following John mtrans to the cashier cashier ptrans bigmac to John + cashier atrans bigmac to John + John ptrans money to cashier + John atrans money to cashier

Slot-filler representation Each of these primitive actions can be represented as a collection of labeled slots and fillers (not unlike attributes and values) John mtrans to the cashier cashier ptrans bigmac to John + cashier atrans bigmac to John + John ptrans money to cashier + John atrans money to cashier

Slot-filler representation Each of these primitive actions can be represented as a collection of labeled slots and fillers (not unlike attributes and values) [action = ptrans, actor = cashier, object = bigmac, from = cashier, to = John] + [action = atrans, actor = cashier, object = bigmac, from = cashier, to = John] + [action = ptrans, actor = John, object = money, from = John, to = cashier] + [action = atrans, actor = John, object = money, from = John, to = cashier]

Slot-filler representation The representation for the sentence itself also becomes a slot-filler representation... [action = mtrans, actor = John, object =, from = John, to = cashier] [action = ptrans, actor = cashier, object = bigmac, from = cashier, to = John] + [action = atrans, actor = cashier, object = bigmac, from = cashier, to = John] + [action = ptrans, actor = John, object = money, from = John, to = cashier] + [action = atrans, actor = John, object = money, from = John, to = cashier]

Slot-filler representation...with all the fillers (except for the action slot) being pointers into a semantic network... [action = mtrans, actor = John, object =, from = John, to = cashier] [action = ptrans, actor = cashier, object = bigmac, from = cashier, to = John] + [action = atrans, actor = cashier, object = bigmac, from = cashier, to = John] + [action = ptrans, actor = John, object = money, from = John, to = cashier] + [action = atrans, actor = John, object = money, from = John, to = cashier]

Slot-filler representation...that could look like this, but this is far too simple all things animate things inanimate things animals food humans bird hamburger fries John Mary cashier canary ostrich bigmac is_a is_a is_a is_a is_a is_a is_a is_a is_a

Representing Knowledge What is a knowledge representation scheme? a set of conventions about how to describe a class of things a description makes use of the conventions of a representation to describe some particular thing within that class of things a given representation needs a set of symbols (vocabulary) with some understood mapping between the symbols and primitives in the world being represented (objects, attributes, relationships) the representation also needs some rules or conventions for how to order or combine symbols into more complex expressions which then become descriptions (these rules are a grammar for the representation language) a set of operators or procedures which permit the creation and manipulation of descriptions this should sound vaguely familiar - it’s a discussion of the second R in RRS (reasoning and representation system)

Good News and Bad News The good news is that once a problem is described using the appropriate representation, the problem is almost solved...the needed processing will be apparent The bad news is that describing the knowledge correctly is really hard -- why? Like we said before: it’s voluminous it’s hard to characterize accurately it’s constantly changing it’s organized in different ways depending on how it’s used

Desirable attributes of a knowledge representation approach capture generalities in the world being modeled easily modifiable to reflect changes so that new knowledge can be derived from old knowledge transparent - understandable by people who provide the knowledge as well as those who look at it later usable even if not entirely accurate or complete explicitly represent important objects and relationships natural constraints on how one object or relation influences another should be obvious irrelevant detail should be suppressed (abstracted away) complete -- everything that needs to be represented can be represented concise -- what needs to be said can be said efficiently fast -- you can store and retrieve information quickly computable -- enables reasoning to proceed easily with known procedures (doesn’t rely on bizarre coding tricks)

Or more succinctly, we want... representational adequacy - the ability to represent all the kinds of knowledge that are needed in the domain inferential adequacy - the ability to manipulate the structures in such a way as to derive new structures corresponding to new knowledge inferred from old inferential efficiency - the ability to incorporate into the knowledge structure additional information that can be used to focus the attention of the inference mechanisms in the most promising directions acquisitional efficiency - the ability to acquire new information easily (from “Artificial Intelligence” by Elaine Rich and Kevin Knight)

What your book wants you to know AI is a software engineering enterprise...there are lots of questions that you need answers to before you start hacking Many of these questions have to do with how to represent the knowledge in your system Some representations are qualitatively better than others depending on the problem you’re trying to solve Semantic (relational) networks and slot-filler representations are useful and flexible approaches to knowledge representation You should read chapter 5, where you’ll find different questions to be answered, including...