MGLAIR Modal Grounded Layered Architecture with Integrated Reasoning

Slides:



Advertisements
Similar presentations
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona USA Modeling Social Cognition in a Unified Cognitive Architecture.
Advertisements

Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California USA
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California USA
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona A Cognitive Architecture for Integrated.
Pat Langley Institute for the Study of Learning and Expertise Palo Alto, California A Cognitive Architecture for Complex Learning.
Formal Semantics for an Abstract Agent Programming Language K.V. Hindriks, Ch. Mayer et al. Lecture Notes In Computer Science, Vol. 1365, 1997
An F-Measure for Context-Based Information Retrieval Michael Kandefer and Stuart C. Shapiro University at Buffalo Department of Computer Science and Engineering.
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.
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.
A Categorization of Contextual Constraints Michael Kandefer and Stuart C. Shapiro University at Buffalo Department of Computer Science and Engineering.
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 Development of a Cognitive Agent Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science.
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.
Research in Knowledge Representation, Reasoning, and Acting Stuart C. Shapiro Professor, CSE Affiliated Professor, Linguistics, Philosophy.
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.
Theories of Mind: An Introduction to Cognitive Science Jay Friedenberg Gordon Silverman.
S.C. Shapiro Symbol Anchoring in a Grounded Layered Architecture with Integrated Reasoning Stuart C. Shapiro Department of Computer Science.
Research in Knowledge Representation, Reasoning, and Acting Stuart C. Shapiro Professor, CSE Director, Center for Cognitive Science Director,
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.2 [P]: Agent Architectures and Hierarchical.
AI: Trends and Directions Stuart C. Shapiro Professor, CSE Affiliated Professor, Linguistics, Philosophy Director, SNePS Research Group ACM.
Research in Knowledge Representation, Reasoning, and Acting Stuart C. Shapiro Professor, CSE Affiliated Professor, Linguistics, Philosophy.
S.C. Shapiro An Introduction to SNePS 3 Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science State.
Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.
Inference Graphs: A Roadmap Daniel R. Schlegel and Stuart C. Department of Computer Science and Engineering L A – Logic of Arbitrary.
Panel Discussion I: Brainstorm on Language, Embodiment and the Critical minass of Intelligence Moderator: Alexei Samsonovich Panelists: Kenneth De Jong,
Concurrent Reasoning with Inference Graphs Daniel R. Schlegel and Stuart C. Shapiro Department of Computer Science and Engineering University at Buffalo,
An Implementable Architecture for Conscious Machines
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.
KNOWLEDGE BASED SYSTEMS
Chapter 10. The Explorer System in Cognitive Systems, Christensen et al. Course: Robots Learning from Humans On, Kyoung-Woon Biointelligence Laboratory.
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?
Artificial Intelligence Chapter 23 Multiple Agents Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Concurrent Reasoning with Inference Graphs Daniel R. Schlegel Stuart C. Shapiro Department of Computer Science and Engineering Problem Summary Rise of.
Definition and Technologies Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
OPERATING SYSTEMS CS 3502 Fall 2017
Service-Oriented Computing: Semantics, Processes, Agents
Learning Fast and Slow John E. Laird
Artificial Intelligence Chapter 25 Agent Architectures
Artificial Intelligence Lecture No. 4
Logical Agents.
EA C461 – Artificial Intelligence Logical Agent
Seven Principles of Synthetic Intelligence
Intelligent Agents Chapter 2.
Learning and Knowledge Acquisition
Building an mglair Agent a tutorial
Service-Oriented Computing: Semantics, Processes, Agents
Class #9– Thursday, September 29
Artificial Intelligence Chapter 23. Multiple Agents
MGLAIR Modal Grounded Layered Architecture with Integrated Reasoning
Subsuption Architecture
Service-Oriented Computing: Semantics, Processes, Agents
Artificial Intelligence Chapter 25. Agent Architectures
EA C461 – Artificial Intelligence Logical Agent
Department of Computer Science Abdul Wali Khan University Mardan
Knowledge Representation I (Propositional Logic)
Artificial Intelligence Chapter 25 Agent Architectures
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
CMSC 471 Fall 2011 Class #10 Tuesday, October 4 Knowledge-Based Agents
Henning Schulzrinne Columbia University
Logical Agents Prof. Dr. Widodo Budiharto 2018
Presentation transcript:

MGLAIR Modal Grounded Layered Architecture with Integrated Reasoning Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science University at Buffalo, The State University of New York

Collaborators Henry Hexmoor Josephine Anstey Deepak Kumar Haythem O. Ismail Michael Kandefer Jonathan Bona Johan Lammens Trupti Devdas Nayak Dave Pape Vikranth Rao 11/15/2018 S. C. Shapiro AGI 2013

Outline Motivations Some (M)GLAIR Agents The MGLAIR Architecture and its Layers An Introduction to SNePS 2.8 Symbol Grounding Modalities 11/15/2018 S. C. Shapiro AGI 2013

Motivations Add acting and sensing to a reasoning agent. Layers First person reasoning; on-line acting & sensing. Layers Motivated by mind/body connections/distinctions. Let same mind be plugged into different bodies. Embodiment Origin of beliefs in sensation & proprioception. First-person privileged knowledge of own body. Situatedness Has a sense of where it is in the world. Symbol grounding In body-layer structures. Symbol as pivot between various modalities. 11/15/2018 S. C. Shapiro AGI 2013

Motivations for Modalities Independent but limited resources Sensors and effectors are the resources Different modalities can be used independently Single modality has limited use 11/15/2018 S. C. Shapiro AGI 2013

Cassie, the FEVAHR (Foveal ExtraVehicular Activity Helper-Retriever) [Supported by NASA, 1994-96] 11/15/2018 S. C. Shapiro AGI 2013

FEVAHR/Cassie in the Lab 11/15/2018 S. C. Shapiro AGI 2013

NL Capable Robots Showing Self-Awareness & Deixis Who am I? 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? I talked to Stu and I am talking to you. 11/15/2018 S. C. Shapiro AGI 2013

Recognizing Indistinguishable Objects 11/15/2018 S. C. Shapiro AGI 2013

Wumpus World Agent : perform get(gold) No breeze here. No stench here. Exploring the cave... Found a safe room... [Shapiro & Kandefer, IJCAI-05 Workshop on Nonmonotonic Reasoning, Action, & Change] 11/15/2018 S. C. Shapiro AGI 2013

GLAIR Agents in Intermedia Performances As part of UB’s Intermedia Performance Studio Supported by: UB IRCAF, 2003-04 UB IRDF, 2006-07 Robert and Carol Morris Fund for Artistic Expression and Performing Arts, 2007-09 11/15/2018 S. C. Shapiro AGI 2013

Patofil and Filopat from “The Trial, The Trail” A VR drama by Josephine Anstey et al. [Artificial Intelligence and Interactive Digital Entertainment (AIIDE) 2005] 11/15/2018 S. C. Shapiro AGI 2013

The Trial The Trail & Human Trials [E-Poetry Symposium, Buffalo, NY, April 1, 2006] 11/15/2018 S. C. Shapiro AGI 2013

Lights/Rats [365 Days/365 Plays by Suzan-Lori Parks, Week 24, Buffalo, NY, April, 26-27, 2007] 11/15/2018 S. C. Shapiro AGI 2013

Workers of the World [Buiffalo Infringement Festival, 2008 Maker Faire, Travis County, TX, 2008] 11/15/2018 S. C. Shapiro AGI 2013

WoyUbu, “Dramaturgs” [Buffalo, NY, March, 2009] 11/15/2018 S. C. Shapiro AGI 2013

WoyUbu, “Robot War” [Buffalo, NY, March, 2009] 11/15/2018 S. C. Shapiro AGI 2013

WoyUbu, “The Bear” 11/15/2018 S. C. Shapiro AGI 2013

The Delivery Agent 11/15/2018 S. C. Shapiro AGI 2013

MGLAIR Architecture 11/15/2018 S. C. Shapiro AGI 2013

Sensori-Actuator Layer Sensor and effector controllers 11/15/2018 S. C. Shapiro AGI 2013

Perceptuo-Motor Layer PMLa PMLs PMLb PMLc 11/15/2018 S. C. Shapiro AGI 2013

PMLc Abstracts sensors & effectors Body’s behavioral repertoire Specific to body implementation 11/15/2018 S. C. Shapiro AGI 2013

PMLb Translation & Communication Between PMLa/s & PMLc Highest layer that knows body implementation 11/15/2018 S. C. Shapiro AGI 2013

PMLs Grounds KL symbols Registers for Embodiment & Situatedness Perceptual structures Lowest layer that knows KL terms Registers for Embodiment & Situatedness Deictic Registers Modality Registers 11/15/2018 S. C. Shapiro AGI 2013

PMLa Grounds KL symbols Registers for Embodiment & Situatedness Implementation of primitive actions Lowest layer that knows KL terms Registers for Embodiment & Situatedness Deictic Registers Modality Registers 11/15/2018 S. C. Shapiro AGI 2013

The Knowledge Layer Implemented in SNePS Agent’s Beliefs Representations of conceived of entities Semantic Memory Episodic Memory Quantified & conditional beliefs Plans for non-primitive acts Plans to achieve goals Beliefs re. preconditions & effects of acts Policies: Conditions for performing acts Self-knowledge Meta-knowledge 11/15/2018 S. C. Shapiro AGI 2013

Afferent Modalities Sensors to Perceptual Structures to Perception to KL Terms 11/15/2018 S. C. Shapiro AGI 2013

Efferent Modalities KL Primitive Acts to PMLa Methods to act Impulses to Effectors 11/15/2018 S. C. Shapiro AGI 2013

SNePS 2.8 A KRR system Every non-atomic expression is simultaneously An expression of SNePS logic An assertional frame A node in a propositional graph Every SNePS expression is a term Denoting a mental entity 11/15/2018 S. C. Shapiro AGI 2013

Ontology of Mental Entities Entity Proposition Agent can believe it or its negation Includes quantified & conditional beliefs Act Agent can perform it Policy Condition-act rule agent can adopt Thing Action: What some agent can perform on some object(s) Category: A category/class of entities Other entities: individuals, properties, times, etc. 11/15/2018 S. C. Shapiro AGI 2013

Some Atomic Propositions ProperName(b4, Stu) Height(b4, 68) Isa(“New York State”, PopulatedPlace) Isa(3.14, Number) Ako(Dog, Mammal) hypernym(|dog%1:05:00|, |canine%1:06:00|) 11/15/2018 S. C. Shapiro AGI 2013

Some Non-Atomic Propositions For any proposition, p, p1, …, pn: ~p and{p1, …, pn} p1 and … and pn or{p1, …, pn} p1 or … or pn nand{p1, …, pn} nor{p1, …, pn} xor{p1, …, pn} iff{p1, …, pn} p1 <=> … <=> pn 11/15/2018 S. C. Shapiro AGI 2013

Two Generalizations For any propositions, p, integers, i<=j<=n: andor(i,j){p1, …, pn} thresh(i,j){p1, …, pn} 11/15/2018 S. C. Shapiro AGI 2013

Some More Non-Atomic Propositions For any integers n, m: For any propositions, p1, …, pn, q1, …, qm: {p1, …, pn} => {q1, …, qm} {p1, …, pn} v=> {q1, …, qm} {p1, …, pn} &=> {q1, …, qm} {p1, …, pn} i=> {q1, …, qm} 11/15/2018 S. C. Shapiro AGI 2013

Some More Non-Atomic Propositions For any propositions, p, q: For any integers i, j, k, n, m, i<=j<=k: all(x1, …, xn}(p) nexists(i,j,k)(x1,…,xn)(p1,…,pn : q1,…,qm} nexists(_,j,_)(x1,…,xn)(p1,…,pn : q1,…,qm} nexists(i,_,k)(x1,…,xn)(p1,…,pn : q1,…,qm} 11/15/2018 S. C. Shapiro AGI 2013

Reasoning Natural Deduction Derivations Forward, Backward, Bi-directional, Focused Reasoning Retain derived formulas for later use --- Lemmas Paraconsistent ATMS-style Belief Revision / Truth Maintenance Manual (“Assisted”) or Automatic BR User (Agent Architect) can specify epistemic entrenchment ordering function 11/15/2018 S. C. Shapiro AGI 2013

Types of Acts I External Acts Mental Acts Control Acts affect the environment supplied by agent designer Mental Acts affect the knowledge layer believe, disbelieve adopt, unadopt Control Acts sequence, selection, loop, etc. 11/15/2018 S. C. Shapiro AGI 2013

Types of Acts II Primitive Acts Composite Acts Defined Acts Implemented as part of SNePS or by agent designer in PMLa Composite Acts Structured by control acts Defined Acts Defined by ActPlan(α, p) belief 11/15/2018 S. C. Shapiro AGI 2013

Propositions About Acts Precondition(α, φ) ActPlan(α1, α2) GoalPlan(φ, α) Effect(α, φ) 11/15/2018 S. C. Shapiro AGI 2013

Policies Reasoning Acting Forward Reasoning whendo(φ, α) wheneverdo(φ, α) Backward Reasoning ifdo(φ, α) 11/15/2018 S. C. Shapiro AGI 2013

Acting Reasoning Control Acts 1 snif({if(φ1, α1), …, if(φn, αn), [else(δ)]}) sniterate({if(φ1, α1), …, if(φn, αn), [else(δ)]}) withsome(x, φ(x), α(x), [δ]) withall(x, φ(x), α(x), [δ]) 11/15/2018 S. C. Shapiro AGI 2013

Control Acts 2 achieve(φ) do-all({α1, …, αn}) do-one({α1, …, αn}) snsequence(α1, α2) 11/15/2018 S. C. Shapiro AGI 2013

The Acting Executive perform(act): pre := {p | ├ Precondition(act, p)}; notyet := pre - {p | p ε pre & ├ p}; if notyet not empty then perform(snsequence( do-all({a | p ε notyet & a = achieve(p)}), act)) else {effects := {p | ├ Effect(act,p)}; if act is primitive then apply(primitive-function(act), objects(act)) else perform(do-one({p | ├ ActPlan(act,p)})); believe(effects) 11/15/2018 S. C. Shapiro AGI 2013

Entities, Terms, Symbols, Objects Agent’s mental entity: a person named Stu SNePS term: b4 Object in world: 11/15/2018 S. C. Shapiro AGI 2013

Alignment Mind (KL) Body (PML/SAL) World Thing Action PMLs structure Afferent Modality Efferent Modality Mind (KL) Thing Action Body (PML/SAL) PMLs structure PMLa method World Object/Phenomenon Action 11/15/2018 S. C. Shapiro AGI 2013

World Objects to Feature Tuples PMLs World <Height, Width, Texture, . . > 11/15/2018 S. C. Shapiro AGI 2013

Feature Tuples to KL Terms PMLs ProperName(b4, Stu) <Height, Width, Texture, . . > Alignment 11/15/2018 S. C. Shapiro AGI 2013

Incomplete PML-Descriptions KL PMLs Height(b4, b12) <Height, nil, . . > 11/15/2018 S. C. Shapiro AGI 2013

Unifying PML-Descriptions KL PMLs <x, nil, nil, ... > b20 <nil, y, nil, ... > b30 Prop Isa <nil, nil, z, ... > b31 Prop b6 <x, y, z, ... > 11/15/2018 S. C. Shapiro AGI 2013

Modality: A Nine-Tuple Name Unique name for modality Type afferent/efferent Predicates KL predicates to use Channel Data channel Access Allow/Deny agent conscious access Focus Default level; Permit/Forbid agent adjustment … Conflict Conflict handler for multiple use … Description Human readable description Relations Relations to other modalities 11/15/2018 S. C. Shapiro AGI 2013

Efferent Modality Buffers In PMLb of efferent modality Fixed capacity or expiration interval New act impulse queued or replaces old impulse When impulse arrives that can’t fit, handled by conflict handler Discarded impulses are never performed Impulses removed by buffer management process and processed in PMLc 11/15/2018 S. C. Shapiro AGI 2013

Perceptual Buffers In PMLb of afferent modality Queues perceptual (PML) structures (sensory data) Fixed capacity or expiration interval When structure arrives that can’t fit, either it or oldest structure discarded depending on conflict handler Discarded structures are never perceived Structures removed by buffer management process and given to perceptual function 11/15/2018 S. C. Shapiro AGI 2013

Afferent Modality Focus Affects frequency of execution of internal processes From “ignore” to maximal focus Initially at default setting Agent might be permitted to adjust Agent might miss perceiving phenomena in low-focused modalities So adjust relative focus of different modalilties appropriately Watching the road vs. talking on cell phone! 11/15/2018 S. C. Shapiro AGI 2013

Summary MGLAIR adds acting/sensing to reasoning agents. Layers capture Mind/Body distinction & connection. Modalities are independent, limited resources for acting and sensing. SNePS has natural constructs for reasoning and acting. Modality buffers queue act impulses & afferent structures but discard ones not processed. Focus level determines how much a modality is ignored. 11/15/2018 S. C. Shapiro AGI 2013

For More Information Shapiro SNePS Research Group Home page: http://www.cse.buffalo.edu/~shapiro Papers: http://www.cse.buffalo.edu/~shapiro/Papers Talks: http://www.cse.buffalo.edu/~shapiro/Talks SNePS Research Group Home page: http://www.cse.buffalo.edu/sneps Bibliography: http://www.cse.buffalo.edu/sneps/Bibliography 11/15/2018 S. C. Shapiro AGI 2013