S.C. Shapiro Development of a Cognitive Agent Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

First-Order Logic Chapter 8.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California USA
An F-Measure for Context-Based Information Retrieval Michael Kandefer and Stuart C. Shapiro University at Buffalo Department of Computer Science and Engineering.
Semantics (Representing Meaning)
SPECIFYING MODALITIES IN THE MGLAIR ARCHITECTURE Stuart C. Shapiro and Jonathan P. Bona Department of Computer Science and Engineering And Center for Cognitive.
S.C. Shapiro Knowledge Representation and Reasoning Stuart C. Shapiro Professor, CSE Director, SNePS Research Group Member, Center for Cognitive.
Research in Knowledge Representation and Reasoning Stuart C. Shapiro Department of Computer Science & Engineering Center for MultiSource Information.
Artificial Intelligence Knowledge-based Agents Russell and Norvig, Ch. 6, 7.
The GLAIR Architecture for Cognitive Robotics Stuart C. Shapiro Department of Computer Science & Engineering and Center for Cognitive Science.
The GLAIR Cognitive Architecture and Prospects for Consciousness Stuart C. Shapiro Department of Computer Science & Engineering and Center.
The GLAIR Cognitive Architecture Stuart C. Shapiro and Jonathan P. Bona Department of Computer Science & Engineering Center for Cognitive Science.
The GLAIR Architecture for Cognitive Robots Stuart C. Shapiro Department of Computer Science & Engineering and Center for Cognitive Science.
Knowledge Representation for Self-Aware Computer Systems Stuart C. Shapiro Department of Computer Science and Engineering, and Center for Cognitive.
S.C. Shapiro Endowing Agents with a Personal Sense of Time Haythem O. Ismail & Stuart C. Shapiro Department of Computer Science and Engineering.
S.C. Shapiro Knowledge Representation for Natural Language Competence Stuart C. Shapiro Department of Computer Science and Engineering and.
Cassie as a Self-Aware SNePS/GLAIR Agent Stuart C. Shapiro Department of Computer Science and Engineering, and Center for Cognitive Science.
S.C. Shapiro Knowledge Representation and Reasoning Stuart C. Shapiro Professor, CSE Director, SNePS Research Group Member, Center for Cognitive.
S.C. Shapiro An Intelligent Interface to a GIS Stuart C. Shapiro Professor, CSE Director, SNePS Research Group Member, Center for Cognitive.
Semantics of a Propositional Network Stuart C. Shapiro Department of Computer Science & Engineering Center for MultiSource Information Fusion.
S.C. Shapiro Symbol-Anchoring in Cassie Stuart C. Shapiro and Haythem O. Ismail Department of Computer Science and Engineering and Center for.
A Logic of Arbitrary and Indefinite Objects Stuart C. Shapiro Department of Computer Science and Engineering, and Center for Cognitive Science.
Chapter Seven The Network Approach: Mind as a Web.
Knowledge Acquisition by an Intelligent Acting Agent Michael Kandefer and Stuart Shapiro Department of Computer Science and Engineering, Center for Cognitive.
S.C. Shapiro Knowledge Representation and Reasoning Stuart C. Shapiro Professor, CSE Director, SNePS Research Group Member, Center for Cognitive.
S.C. Shapiro Symbol Anchoring in a Grounded Layered Architecture with Integrated Reasoning Stuart C. Shapiro Department of Computer Science.
SNePS 3 for Ontologies Stuart C. Shapiro Department of Computer Science and Engineering, and Center for Cognitive Science University at Buffalo,
S.C. Shapiro The SNePS Approach to Cognitive Robotics Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive.
Research in Knowledge Representation, Reasoning, and Acting Stuart C. Shapiro Professor, CSE Director, Center for Cognitive Science Director,
A Logic of Arbitrary and Indefinite Objects Stuart C. Shapiro Department of Computer Science and Engineering, and Center for Cognitive Science.
S.C. Shapiro An Introduction to SNePS 3 Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science State.
Zubanov Alexei, 2006 Aug 07 – Sep 28 QtROOT package extension with Coin3D lib.
Artificial Intelligence: Definition “... the branch of computer science that is concerned with the automation of intelligent behavior.” (Luger, 2009) “The.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
A Cognitive Substrate for Natural Language Understanding Nick Cassimatis Arthi Murugesan Magdalena Bugajska.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Inference Graphs: A Roadmap Daniel R. Schlegel and Stuart C. Department of Computer Science and Engineering L A – Logic of Arbitrary.
110/19/2015CS360 AI & Robotics AI Application Areas  Neural Networks and Genetic Algorithms  These model the structure of neurons in the brain  Humans.
A Procedural Model of Language Understanding Terry Winograd in Schank and Colby, eds., Computer Models of Thought and Language, Freeman, 1973 발표자 : 소길자.
NATURAL LANGUAGE UNDERSTANDING FOR SOFT INFORMATION FUSION Stuart C. Shapiro and Daniel R. Schlegel Department of Computer Science and Engineering Center.
Pattern-directed inference systems
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
S. C. Shapiro SNePS: A Logic for Natural Language Understanding and Commonsense Reasoning Stuart C. Shapiro Department of Computer Science.
A Common Ground for Virtual Humans: Using an Ontology in a Natural Language Oriented Virtual Human Architecture Arno Hartholt (ICT), Thomas Russ (ISI),
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 17, 2012.
The SNePS Research Group Semantic Network Processing System The long-term goal of The SNePS Research Group is the design and construction of a natural-language-using.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Chapter 1 –Defining AI Next Tuesday –Intelligent Agents –AIMA, Chapter 2 –HW: Problem.
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Section 1.1 Propositions and Logical Operations. Introduction Remember that discrete is –the study of decision making in non-continuous systems. That.
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
An argument-based framework to model an agent's beliefs in a dynamic environment Marcela Capobianco Carlos I. Chesñevar Guillermo R. Simari Dept. of Computer.
1 Chapter 13 Artificial Intelligence and Expert Systems.
Artificial Intelligence Logical Agents Chapter 7.
Chapter 7. Propositional and Predicate Logic
Cognitive Language Processing for Rosie
Knowledge Representation using First-Order Logic
CS 4700: Foundations of Artificial Intelligence
The function of knowledge representation scheme is
CS 4700: Foundations of Artificial Intelligence
Introduction to Prolog
EA C461 – Artificial Intelligence Logical Agent
MGLAIR Modal Grounded Layered Architecture with Integrated Reasoning
MAT 3100 Introduction to Proof
Chapter 7. Propositional and Predicate Logic
Knowledge Representation I (Propositional Logic)
Truth tables.
Habib Ullah qamar Mscs(se)
Presentation transcript:

S.C. Shapiro Development of a Cognitive Agent Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science State University of New York at Buffalo

S.C. Shapiro Outline Introduction Intensional Representation Logic for NLU and Commonsense Reasoning Discussing Propositions and Sentences Symbol-Grounding by Perception and Action Representation and Use of Indexicals A Personal Sense of Time Summary

S.C. Shapiro Goal A computational cognitive agent that can: –Understand and communicate in English; –Discuss specific, generic, and “rule-like” information; –Reason; –Discuss acts and plans; –Sense; –Act; –Remember and report what it has sensed and done.

S.C. Shapiro Embodied Cassie A computational cognitive agent –Embodied in hardware –or Software-Simulated –Based on SNePS and GLAIR.

S.C. Shapiro SNePS Knowledge Representation and Reasoning –Propositions as Terms SNIP: SNePS Inference Package –Bi-Directional Inference SNeBR: SNePS Belief Revision SNeRE: SNePS Rational Engine Interface Languages –SNePSUL: Lisp-Like –SNePSLOG: Logic-Like –GATN for Fragments of English.

S.C. Shapiro GLAIR Architecture Knowledge Level Perceptuo-Motor Level Sensory-Actuator Level NL Vision Sonar Motion Proprioception Grounded Layered Architecture with Integrated Reasoning SNePS

S.C. Shapiro Interaction with Cassie English (Statement, Question, Command) (Current) Set of Beliefs [SNePS] (Updated) Set of Beliefs [SNePS] Actions [SNeRE] (New Belief) [SNePS] English sentence expressing new belief answering question reporting actions Answer [SNIP] GATN Parser GATN Generator Reasoning Clarification Dialogue Looking in World Reasoning

S.C. Shapiro Cassie, the FEVAHR

S.C. Shapiro Cassie in the Lab

S.C. Shapiro Garnet Simulation World

S.C. Shapiro Outline Introduction Intensional Representation Logic for NLU and Commonsense Reasoning Discussing Propositions and Sentences Symbol-Grounding by Perception and Action Representation and Use of Indexicals A Personal Sense of Time Summary

S.C. Shapiro Entities, Terms, Symbols, Objects Cassie’s mental entity: a person named Bill SNePS term: B5 Object in world:

S.C. Shapiro Intensional Representation Intensional entities are distinct even if coreferential. “The morning star is the evening star.” “George IV wondered if Scott was the author of Waverly.”

S.C. Shapiro McCarthy’s Telephone Number Problem Mary's telephone number is Mike's telephone number. I understand that Mike's telephone number is Mary's telephone number. Pat knew Mike's telephone number. I understand that Pat knew Mike's telephone number. Pat dialed Mike's telephone number. I understand that Pat dialed Mike's telephone number.

S.C. Shapiro Answering the Telephone Number Problem Did Pat dial Mary's telephone number? Yes, Pat dialed Mary's telephone number. Did Pat know Mary's telephone number? I don't know.

S.C. Shapiro Outline Introduction Intensional Representation Logic for NLU and Commonsense Reasoning Discussing Propositions and Sentences Symbol-Grounding by Perception and Action Representation and Use of Indexicals A Personal Sense of Time Summary

S.C. Shapiro Logic for NLU & Commonsense Reasoning Either Pat is a man or Pat is a woman or Pat is a robot. I understand that Pat is a robot or Pat is a woman or Pat is a man. Pat is a woman. I understand that Pat is a woman. What is Pat? Pat is a woman and Pat is not a robot and Pat is not a man.

S.C. Shapiro Representation in FOPL? Man(Pat)  Woman(Pat)  Robot(Pat) but don’t want inclusive or Man(Pat) Woman(Pat) Robot(Pat) + + T T T F T So don’t want exclusive or either

S.C. Shapiro andor andor(i, j){P i,..., P n } True iff at least i, and at most j of the P i are True

S.C. Shapiro Outline Introduction Intensional Representation Logic for NLU and Commonsense Reasoning Discussing Propositions and Sentences Symbol-Grounding by Perception and Action Representation and Use of Indexicals A Personal Sense of Time Summary

S.C. Shapiro Discussing Propositions That Bill is sweet is Mary's favorite proposition. I understand that Mary's favorite proposition is that Bill is sweet. Mike believes Mary's favorite proposition. I understand that Mike believes that Bill is sweet.

S.C. Shapiro Discussing Sentences Hamlet said `To be or not to be'. I understand that Hamlet said `To be or not To be'. Polonius said `Neither a borrower nor a lender be'. I understand that Polonius said `Neither a borrower nor a lender be'. Who said `To be or not to be'? Hamlet said `To be or not To be'.

S.C. Shapiro Representing Propositions and Sentences Propositions and sentences must be First-class entities of the domain Represented by terms

S.C. Shapiro Outline Introduction Intensional Representation Logic for NLU and Commonsense Reasoning Discussing Propositions and Sentences Symbol-Grounding by Perception and Action Representation and Use of Indexicals A Personal Sense of Time Summary

S.C. Shapiro Symbol Grounding by Perception and Action Agent can demonstrate understanding –Of properties and descriptions By locating correct objects in the world –Of verbs By acting properly in the world

S.C. Shapiro Symbol-Grounding 1 Go to the green robot.

S.C. Shapiro Go to the green robot. I went to the green robot. I am near the green robot. Symbol-Grounding 2

S.C. Shapiro Alignment Terms at GLAIR KR level Aligned with Descriptions and procedures At GLAIR PM level

S.C. Shapiro Outline Introduction Intensional Representation Logic for NLU and Commonsense Reasoning Discussing Propositions and Sentences Symbol-Grounding by Perception and Action Representation and Use of Indexicals A Personal Sense of Time Summary

S.C. Shapiro Representation and Use of Indexicals Words whose meanings are determined by occasion of use E.g. I, you, now, then, here, there Deictic Center *I : SNePS term representing Cassie *YOU: person Cassie is talking with *NOW: current time.

S.C. Shapiro Analysis of Indexicals (in input) First person pronouns: *YOU Second person pronouns: *I “here”: location of *YOU.

S.C. Shapiro Generation of Indexicals *I : First person pronouns *YOU : Second person pronouns *NOW : used to determine tense.

S.C. Shapiro Come here. Use of Indexicals 1

S.C. Shapiro Come here. I came to you, Stu. I am near you. Use of Indexicals 2

S.C. Shapiro Who am I? Your name is ‘Stu’ and you are a person. Who have you talked to? I am talking to you. Talk to Bill. I am talking to you, Bill. Come here. Use of Indexicals 3

S.C. Shapiro Come here. I found you. I am looking at you. Use of Indexicals 4

S.C. Shapiro Come here. I came to you. I am near you. I found you. I am looking at you. Use of Indexicals 5

S.C. Shapiro Who am I? I talked to Stu and I am talking to you. Your name is ‘Bill’ and you are a person. Who are you? I am the FEVAHR and my name is ‘Cassie’. Who have you talked to? Use of Indexicals 6

S.C. Shapiro Outline Introduction Intensional Representation Logic for NLU and Commonsense Reasoning Discussing Propositions and Sentences Symbol-Grounding by Perception and Action Representation and Use of Indexicals A Personal Sense of Time Summary

S.C. Shapiro A Personal Sense of Time *NOW contains SNePS term representing current time. *NOW moves when Cassie acts.

S.C. Shapiro B6 Representation of Time find lex action object B1 ! agent act event time NOW !! beforeafterbeforeafter ????????????? I

S.C. Shapiro Movement of Time t1 t2! beforeafter t3! beforeafter NOW

S.C. Shapiro Performing a Punctual Act t1 t3! beforeafter NOW t2! beforeafter ! time event

S.C. Shapiro Performing a Durative Act t1 NOW ! beforeafter t2 ! time event NOW t3 ! supint subint

S.C. Shapiro Keeping Track of Time 1 Who are you looking at? I am looking at you, Stu. Come here.

S.C. Shapiro Keeping Track of Time 2 Who are you looking at? I am looking at you. Come here. I came to you. I am near you. Who are you looking at? I am looking at you.

S.C. Shapiro Keeping Track of Time 3 Find Bill. I found Bill. I am looking at Bill. Who are you looking at? I looked at you and I am looking at Bill. Who are you talking to? I am talking to you.

S.C. Shapiro Keeping Track of Time 4 Follow a red robot. I found a red robot. I am looking at a red robot.

S.C. Shapiro Keeping Track of Time 5 I went to a red robot. I am near a red robot. I am following a red robot. Follow a red robot. I found a red robot. I am looking at a red robot.

S.C. Shapiro Keeping Track of Time 6 Who are you talking to? I am talking to you. Who am I? Your name is ‘Stu’ and you are a person. Stop. I stopped.

S.C. Shapiro Keeping Track of Time 7 Who are you looking at? I looked at you and I looked at Bill and I looked at a red robot. Who are you following? I followed a red robot. Who are you talking to? I am talking to you.

S.C. Shapiro Outline Introduction Intensional Representation Logic for NLU and Commonsense Reasoning Discussing Propositions and Sentences Symbol-Grounding by Perception and Action Representation and Use of Indexicals A Personal Sense of Time Summary

S.C. Shapiro Goal A computational cognitive agent/robot That can communicate in natural language.

S.C. Shapiro Intensional Representation SNePS terms represent mental entities. May assert that two entities are coreferential. Relations/acts may be declared transparent.

S.C. Shapiro Logic for NLU and Commonsense Reasoning Designed logical connectives and rules of inference More appropriate than in standard FOPC.

S.C. Shapiro Discussing Propositions and Sentences Propositions and sentences are first-class entities.

S.C. Shapiro Symbol-Grounding by Perception and Action Use of GLAIR architecture to connect entities with descriptions/functions used by sensors and effectors.

S.C. Shapiro Representation and Use of Indexicals Use of Deictic Center for parser to interpret indexicals as current referents And for generator to generate indexicals from current referents.

S.C. Shapiro A Personal Sense of Time *NOW is current time. Updated when Cassie acts.

S.C. Shapiro For More Information Personnel Manual Tutorial Bibliography ftp’able SNePS source code etc.