For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.

Slides:



Advertisements
Similar presentations
Artificial Intelligence Knowledge Representation
Advertisements

Logic Programming Automated Reasoning in practice.
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)
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
Converting formulas into a normal form Consider the following FOL formula stating that a brick is an object which is on another object which is not a pyramid,
WFSX programming Prolog programming style, but with the WFSX semantics Requires: –A new proof procedure (different from SLDNF), complying with WFS, and.
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Logic.
Knowledge Representation
Knowledge Representation
Knowledge Representation and Reasoning (KR): A vibrant subfield of AI Jia You.
For Monday Finish chapter 12 Homework: –Chapter 13, exercises 8 and 15.
Knowledge Representation Formalization of facts about the real world Used for reasoning Ad-hoc or systematic? Comprehensiveness Completeness Ease of use.
For Friday Finish chapter 10 No homework (get started on program 2)
CSM6120 Introduction to Intelligent Systems Knowledge representation.
 Contrary to the beliefs of early workers in AI, experience has shown that Intelligent Systems cannot achieve anything useful unless they contain a large.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
1 Reasoning in Uncertain Situations 8a 8.0Introduction 8.1Logic-Based Abductive Inference 8.2Abduction: Alternatives to Logic 8.3The Stochastic Approach.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
Production Rules Rule-Based Systems. 2 Production Rules Specify what you should do or what you could conclude in different situations. Specify what you.
Chapter 3: Methods of Inference Expert Systems: Principles and Programming, Fourth Edition.
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
KNOWLEDGE REPRESENTATION, REASONING AND DECLARATIVE PROBLEM SOLVING Chitta Baral Arizona State University Tempe, AZ
NONMONOTONIC LOGIC AHMED SALMAN MALIK. OVERVIEW Monotonic Logic Nonmonotonic Logic Usage and Applications Comparison with other forms of logic Related.
For Wednesday Read chapter 12, sections 3-5 Program 2 progress due.
Knowledge Representation Semantic Network dan Frame.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Alternative representations: Semantic networks
Events Events are abstractions. They represent time related objects in space and time. Events can be treated as similar to ”ordinary” objects, but when.
Knowledge Representation CPTR 314. The need of a Good Representation  The representation that is used to represent a problem is very important  The.
1 Chapter 10 Knowledge Representation. 2 KR previous chapters: syntax, semantics, and proof theory of propositional and first-order logic Chapter 10:
Logical Agents Logic Propositional Logic Summary
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
Structured Knowledge Chapter 7. 2 Logic Notations Does logic represent well knowledge in structures?
1 Knowledge Representation CS 171/CS How to represent reality? Use an ontology (a formal representation of reality) General/abstract domain Specific.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Semantic Nets, Frames, World Representation CS – W February, 2004.
1 CS 2710, ISSP 2610 Chapter 12 Knowledge Representation.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
For Friday Read Homework: –Chapter 10, exercise 22 I strongly encourage you to tackle this together. You may work in groups of up to 4 people.
Artificial Intelligence 2004 Non-Classical Logics Non-Classical Logics Specific Language Constructs added to classic FOPL Different Types of Logics.
Ch. 12 – Knowledge Representation Supplemental slides for CSE 327 Prof. Jeff Heflin.
Uncertainty in AI. Birds can fly, right? Seems like common sense knowledge.
1 Lectures on Artificial Intelligence (CS 364) 1 Khurshid Ahmad Professor of Artificial Intelligence Centre for Knowledge Management September 2001.
Knowledge Representation
For Friday Read Chapter 11, sections 1 and 2 Homework: –Chapter 10, exercises 1 and 5.
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.
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
For Monday after Spring Break Finish chapter 12 Homework –Chapter 12, exercise 7.
1 CS 2710, ISSP 2160 Chapter 12, Part 1 Knowledge Representation.
Review: What is a logic? A formal language –Syntax – what expressions are legal –Semantics – what legal expressions mean –Proof system – a way of manipulating.
Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.
1 Frame Theory A vague paradigm - to organize knowledge in high-level structures “A Framework for Representing Knowledge” - Minsky, 1974 Knowledge is encoded.
Knowledge Representation
Definition and Technologies Knowledge Representation.
1 CS 2710, ISSP 2160 Chapter 12 Knowledge Representation.
Events Events are abstractions. They represent time related objects in space and time. Events can be treated as similar to ”ordinary” objects, but when.
Chapter 3: Methods of Inference
Limitations of First-Order Logic
Knowledge Representation
Knowledge Representation
Chapter 3: Methods of Inference
Knowledge Representation
Knowledge Representation and Inference
Frame systems and semantic networks
Weak Slot-and-Filler Structures
Logical reasoning systems
Logical reasoning systems
Presentation transcript:

For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due

Program 2 Any questions?

Defining a category Necessary and sufficient conditions

Think-Pair-Share What is a chair?

Prototypes

In Logic Are categories predicates or objects?

Important Terms Inheritance Taxonomy

What does ISA mean?

Categories Membership Subset or subclass Disjoint categories Exhaustive Decomposition Partitions of categories

Other Issues Physical composition Measurement Individuation –Count nouns vs. mass nouns –Intrinsic properties vs. extrinsic properties

Question 3 How do we talk about changes?

When an agent performs actions, the situation the agent is in changes. Sometimes need to reason about the situation. Planning

Axioms for Actions Can we do the action? What changes? What stays the same? –The frame problem

An Answer Identify changes to the situation and assume everything else remains the same. Effect axioms become lists of changes.

More than One Agent Keep track of events rather than situations. Have to deal with intervals of time. Have to deal with processes. How do processes differ from discrete events? Objects and their relation to events.

Question 4 How do we talk about belief?

Reification Turning propositions into objects. Why would we want (need?) to do this?

Consider the following: Jack thinks that the President is still Bill Clinton. When I was in Washington, D.C. last year, I got to meet the President.

This is the issue of referential transparency vs. referential opaqueness.

Special rules for handling belief: –If I believe something, I believe that I believe it. –Need to still provide a way to indicate that two names refer to the same thing.

Knowledge and Belief How are they related? Knowing whether something is true Knowing what

And Besides Logic? Semantic networks Frames

Semantic Networks Use graphs to represent concepts and the relations between them. Simplest networks are ISA hierarchies Must be careful to make a type/token distinction: Garfield isa Cat Cat(Garfield) Cat isa Feline  x (Cat (x)  Feline(x)) Restricted shorthand for a logical representation.

Semantic Nets/Frames Labeled links can represent arbitrary relations between objects and/or concepts. Nodes with links can also be viewed as frames with slots that point to other objects and/or concepts.

First Order Representation Rel(Alive,Animals,T) Rel(Flies,Animals,F) Birds  Animals Mammals  Animals Rel(Flies,Birds,T) Rel(Legs,Birds,2) Rel(Legs,Mammals,4) Penguins  Birds Cats  Mammals Bats  Mammals Rel(Flies,Penguins,F) Rel(Legs,Bats,2) Rel(Flies,Bats,T) Opus  Penguins Bill  Cats Pat  Bats Name(Opus,"Opus") Name(Bill,"Bill") Friend(Opus,Bill) Friend(Bill,Opus) Name(Pat,"Pat")

Inheritance Inheritance is a specific type of inference that allows properties of objects to be inferred from properties of categories to which the object belongs. –Is Bill alive? –Yes, since Bill is a cat, cats are mammals, mammals are animals, and animals are alive. Such inference can be performed by a simple graph traversal algorithm and implemented very efficiently. However, it is basically a form of logical inference  x (Cat(x)  Mammal(x))  x (Mammal(x)  Animal(x))  x (Animal(x)  Alive(x)) Cat(Bill) |- Alive(Bill)

Backward or Forward Can work either way Either can be inefficient Usually depends on branching factors

Semantic of Links Must be careful to distinguish different types of links. Links between tokens and tokens are different than links between types and types and links between tokens and types.

Link Types

Inheritance with Exceptions Information specified for a type gives the default value for a relation, but this may be over­ridden by a more specific type. –Tweety is a bird. Does Tweety fly? Birds fly. Yes. –Opus is a penguin. Does Opus fly? Penguin's don't fly. No.

Multiple Inheritance If hierarchy is not a tree but a directed acyclic graph (DAG) then different inheritance paths may result in different defaults being inherited. Nixon Diamond

Nonmonotonicity In normal monotonic logic, adding more sentences to a KB only entails more conclusions. if KB |- P then KB  {S} |- P Inheritance with exceptions is not monotonic (it is nonmonotonic) –Bird(Opus) –Fly(Opus)? yes –Penguin(Opus) –Fly(Opus)? no

Nonmonotonic logics attempt to formalize default reasoning by allow default rules of the form: –If P and concluding Q is consistent, then conclude Q. –If Bird(X) then if consistent Fly(x)

Defaults with Negation as Failure Prolog negation as failure can be used to implement default inference. fly(X) :­ bird(X), not(ab(X)). ab(X) :­ penguin(X). ab(X) :­ ostrich(X). bird(opus). ? fly(opus). Yes penguin(opus). ? fly(opus). No