1 Knowledge Representation CS 171/CS 271. 2 How to represent reality? Use an ontology (a formal representation of reality) General/abstract domain Specific.

Slides:



Advertisements
Similar presentations
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Advertisements

Knowledge Representation
Artificial Intelligence Knowledge Representation
Artificial Intelligence Chapter 21 The Situation Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
PROBABILITY. Uncertainty  Let action A t = leave for airport t minutes before flight from Logan Airport  Will A t get me there on time ? Problems :
Knowledge Representation
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
For Monday Finish chapter 12 Homework: –Chapter 13, exercises 8 and 15.
Introduction to Statistics & Measurement
Knowledge Representation AIMA 2 nd Ed. Chapter 10.
For Friday Finish chapter 10 No homework (get started on program 2)
Chapter 1.1: What is Statistics?
Artificial Intelligence Knowledge-based Agents Russell and Norvig, Ch. 6, 7.
© Franz Kurfess Knowledge-Based Systems CSC 480: Artificial Intelligence Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Knowledge Representation COMP 151 March 28, 2007 Based slides by B.J. Dorr as modified by Tom Lenaerts.
THE PROCESS OF SCIENCE. Assumptions  Nature is real, understandable, knowable through observation  Nature is orderly and uniform  Measurements yield.
Semantics For the Semantic Web: The Implicit, the Formal and The Powerful Amit Sheth, Cartic Ramakrishnan, Christopher Thomas CS751 Spring 2005 Presenter:
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 1 Chicago School of Professional Psychology.
Dr. Samy Abu Nasser Faculty of Engineering & Information Technology Artificial Intelligence.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
Introduction to Statistics What is Statistics? : Statistics is the sciences of conducting studies to collect, organize, summarize, analyze, and draw conclusions.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
110/19/2015CS360 AI & Robotics AI Application Areas  Neural Networks and Genetic Algorithms  These model the structure of neurons in the brain  Humans.
Probability and Statistics Dr. Saeid Moloudzadeh Fundamental Concepts 1 Contents Descriptive Statistics Axioms of Probability Combinatorial.
Chapter 1 Introduction to Statistics. Statistical Methods Were developed to serve a purpose Were developed to serve a purpose The purpose for each statistical.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
1 Chapter 10 Knowledge Representation. 2 KR previous chapters: syntax, semantics, and proof theory of propositional and first-order logic Chapter 10:
Big Ideas Differentiation Frames with Icons. 1. Number Uses, Classification, and Representation- Numbers can be used for different purposes, and numbers.
LOGIC AND ONTOLOGY Both logic and ontology are important areas of philosophy covering large, diverse, and active research projects. These two areas overlap.
Copyright © Cengage Learning. All rights reserved. CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS THE LOGIC OF QUANTIFIED STATEMENTS.
Two types of Observation Qualitative – Quality – like your senses Quantitative – n for numbers.
Unit 1 – Intro to Statistics Terminology Sampling and Bias Experimental versus Observational Studies Experimental Design.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
1 CS 2710, ISSP 2610 Chapter 12 Knowledge Representation.
Michael A. Hitt C. Chet Miller Adrienne Colella Slides by R. Dennis Middlemist Michael A. Hitt C. Chet Miller Adrienne Colella Chapter 4 Learning and Perception.
Part II: Measuring Psychological Variables In the last section, we discussed reasons why scientific approaches to understanding psychology may be useful.
Artificial Intelligence 2004 Non-Classical Logics Non-Classical Logics Specific Language Constructs added to classic FOPL Different Types of Logics.
MDA & RM-ODP. Why? Warehouses, factories, and supply chains are examples of distributed systems that can be thought of in terms of objects They are all.
Chapter 11 Where Do Data Come From?. Chapter 12 Thought Question 1 From a recent study, researchers concluded that high levels of alcohol consumption.
Lecture 7-2CS250: Intro to AI/Lisp Building Knowledge Bases Lecture 7-2 February 18 th, 1999 CS250.
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
1 PAUF 610 TA 1 st Discussion. 2 3 Population & Sample Population includes all members of a specified group. (total collection of objects/people studied)
Ontology Applying logic to the real world. D Goforth - COSC 4117, fall Real world knowledge general knowledge / common sense reasoning domain expertise.
Lecture 8-1CS250: Intro to AI/Lisp FOPL, Part Deux Lecture 8-1 November 16 th, 1999 CS250.
For Monday after Spring Break Finish chapter 12 Homework –Chapter 12, exercise 7.
1 CS 2710, ISSP 2160 Chapter 12, Part 1 Knowledge Representation.
1 UNIT-3 KNOWLEDGE REPRESENTATION. 2 Agents that reason logically(Logical agents) A Knowledge based Agent The Wumpus world environment Representation,
MAT 2720 Discrete Mathematics Section 3.3 Relations
Lecture 8-2CS250: Intro to AI/Lisp What do you mean, “What do I mean?” Lecture 8-2 November 18 th, 1999 CS250.
Ontologies, Conceptualizations, and Possible Worlds Revisiting “Formal Ontologies and Information Systems” 10 years later Nicola Guarino CNR Institute.
Knowledge Representation. So far... The previous chapters described the technology for knowledge-based agents: – the syntax, semantics, and proof theory.
Artificial Intelligence Knowledge Representation.
1 CS 2710, ISSP 2160 Chapter 12 Knowledge Representation.
Modular 1. Introduction of the Course Structure and MyLabsPlus.
Artificial Intelligence Logical Agents Chapter 7.
Introduction to Statistics
Pharmaceutical Statistics
What is Information? "Information is produced when data are processed so that they are placed within some context in order to convey meaning to a recipient."
Knowledge Representation
Ontology From Wikipedia, the free encyclopedia
Chapter 5 STATISTICS (PART 1).
Knowledge Representation
Ontology.
The Nature of Probability and Statistics
Knowledge Representation
Knowledge Representation
Habib Ullah qamar Mscs(se)
Presentation transcript:

1 Knowledge Representation CS 171/CS 271

2 How to represent reality? Use an ontology (a formal representation of reality) General/abstract domain Specific domains Goal is to incorporate an ontology in a computer system such that the system seems to know the domain

3 Using Logic for Knowledge Representation Propositional and First-Order Logic describe the technology for knowledge-based agents What gets into these knowledge bases? Categories, objects, substances Agent actions, situations, events Beliefs Uncertain information Dynamic information

4 Categories Intelligent system -> a system that seems to “reason” Human reasoning is based largely on categories Presence of a certain object from perceptual input Category membership inferred from perceived properties Predictions can be made about that said object

5 Categories Example: You observe the presence of a certain something (perceptual input) Green, mottled skin, large size, ovoid shape (perceived properties from perceptual input) Conclusion: that something is a Watermelon Watermelon is a fruit Prediction? Watermelon is good for fruit salad

6 Categories Example: You observe the presence of a certain something (perceptual input) Average height, brown skin, familiar hair, Dardar shape (perceived properties from perceptual input) Conclusion: that something is Dardar Dardar is a friend Dardar is a good choice to ask food from

7 Categories Test: Is there a difference between property and category?

8 Categories Representing categories As predicates: Singer( Madonna) As objects: Member( Madonna, Singers ) or Madonna  Singers

9 Categories Basketball(b) Member(b,Basketball) b  Basketball Subset(Basketballs, Balls) Balls  Basketballs

10 Categories A category being a set of its members A complex object that has Member and Subset relations defined to it

11 Categories To simplify the knowledge base, inheritance may be used whenever applicable Inheritance in objects involving categories Think of inheritance in object oriented programing What examples of inheritance can you think of?

12 Categories Related notions Subclasses/subcategories (  ) Categories versus properties Categories of categories

13 Relationships between Categories Disjoint categories Exhaustive decomposition Partition

14 Relationships between Categories Disjoint categories No members in common Exhaustive decomposition If not a member of one, must be a member of the other Partition A disjoint exhaustive decomposition

15 Relationships between Categories Disjoint categories Disjoint( {Animals, Vegetables} ) Exhaustive decomposition ExhaustiveDecomposition( {Faculty,Staff,Administrators}, UniversityPersonnel ) Partition Partition( {Males,Females}, Persons ) Look at the white board

16 Physical Composition Part-of relationship Composite objects With structural properties (e.g., car as something with wheels and other things attached to it) Transitive and Reflexive Look at the white board

17 Physical Composition “The apples in the bag weigh 2 pounds” Weight of 2 pounds ascribed to a set of apples – is this the correct way? Set is an abstract mathematical concept with elements, but not weight Concept of the BUNCH

18 Physical Composition BunchOf( {Apple1, Apple2, Apple3} ) BunchOf(Apples) BunchOf(Apples) vs. Apples

19 Measurements Measures as objects Measure: a number with units Example Length(L1) = Inches(1.5)

20 Measurements Diamater(Basketball) = Inches(9.5) LastPrice(Basketball) = $(19) d  Days -> Duration(d) = Hours(24)

21 Measurements Inches(0) vs. Centimeters(0) vs. Seconds(0) Note differences in what they represent

22 Measurements Measures are easy if they are quantitative How about qualitative measurements? Assign quantities to qualitative concepts? Is this the correct/best way?

23 Measurements Quantifying non numerical measures Unnecessary! Imagine imposing a numerical scale on beauty An important aspect of measures is not the particular numerical values but the fact that the measures can be ordered What does this mean?

24 Substances and Objects x  Butter  PartOf( y,x )  y  Butter This is true x  Dog  PartOf( y,x )  y  Dog Is this true?

25 Substances and Objects Slice butter in 2, you get 2 tangible objects, both are butter Slice a dog in 2, what do you get? Illustrates 2 important concepts: STUFF THING

26 Substances and Objects World not necessarily individuated Not always divided into distinct objects In the English language Count nouns versus mass nouns

27 Actions In the context of an agent, we need to represent actions and consequences Need to also worry about percepts, time, changing situations, and many others Situation calculus or event calculus

28 Situation Calculus Situations Fluents Eternal Predicates

29 Situation Calculus Situations Logical terms consisting of the initial situation S 0 and all situations generated by applying an action to a situation Objects/terms that stand for the states between actions carried out (initial situation and generated situations after an action) Result( a, s ) names the resulting state when action a is executed in situation s

30 Situation Calculus Fluents Predicates/functions that vary across situations Holding(G1, S 0 ) Age( Dardar, S 3 )

31 Actions in Situation Calculus Possibility Axiom It is possible to execute an action Effect Axiom What happens when a possible action is executed

32 Actions in Situation Calculus Possibility Axiom preconditions  Poss( action, situation ) Example: “can move to a square if it is adjacent” “can feed Dardar if Dardar is hungry” Effect Axiom Poss( action, situation )  changes Example: “moving updates agent position” “Feeding Dardar makes Dardar not hungry”

33 Frame Problem In the real world, most things stay the same from one situation to the next Change occurs for a tiny fraction of the fluents Note: effect action would often only note those changes Frame problem: problem of representing those that stay the same Efficiency/compactness issue Representational versus Inferential

34 Inadequacy of Situation Calculus Situation Calculus works well with Single agent involved Actions are discrete What if: Not dealing with a single agent Actions have duretion and may overlap across situations

35 Event Calculus Based on points in time instead of situations Time as objects Fluents hold at points in time Reasoning can be made over time intervals (more humanlike!) More next week

36 Other Challenges Beliefs Uncertain Information Dynamic Information