36
cse@buffalo The GLAIR Architecture for Cognitive Robots Stuart C. Shapiro Department of Computer Science & Engineering and Center for Cognitive Science State University of New York at Buffalo [email protected]

Cse@buffalo The GLAIR Architecture for Cognitive Robots Stuart C. Shapiro Department of Computer Science & Engineering and Center for Cognitive Science

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

cse@buff

alo

The GLAIR Architecturefor Cognitive Robots

Stuart C. ShapiroDepartment of Computer Science & Engineering

and Center for Cognitive ScienceState University of New York at Buffalo

[email protected]

cse@buff

alo

S. C. Shapiro2

GLAIR:Grounded Layered Architecture

with Integrated ReasoningFocus of This Talk:

ConnectingReasoning Mind

withActing/Sensing Body

PCAR2010

cse@buff

alo

3PCAR2010 S. C. Shapiro

Motivations• Add acting and sensing to a reasoning agent.

– 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.

cse@buff

alo

S. C. Shapiro4

Outline

Some GLAIR Robots, Hardware & VR

The Layers

Symbol Grounding

Putting it Together: Two examples

PCAR2010

cse@buff

alo

S. C. Shapiro

Cassie, the FEVAHR(Foveal ExtraVehicular Activity Helper-Retriever)

PCAR2010 5[Supported by NASA, 1994-96]

cse@buff

alo

S. C. Shapiro

FEVAHR/Cassie in the Lab

PCAR2010 6

cse@buff

alo

Patofil and Filopatfrom “The Trial, The Trail”

A VR drama by Josephine Anstey et al.

PCAR20107

[Artificial Intelligence and Interactive Digital Entertainment (AIIDE) 2005]

S. C. Shapiro

cse@buff

alo

PCAR2010 S. C. Shapiro 8

[E-Poetry Symposium, Buffalo, NY, April 1, 2006]

The Trial The Trail& Human Trials

cse@buff

alo

Lights/Rats

PCAR2010 S. C. Shapiro 9

[365 Days/365 Plays by Suzan-Lori Parks, Week 24, Buffalo, NY, April, 26-27, 2007]

cse@buff

alo

Workers of the World

PCAR2010 S. C. Shapiro 10

[Buiffalo Infringement Festival, 2008Maker Faire, Travis County, TX, 2008]

cse@buff

alo

WoyUbu, “Robot War”

PCAR2010 S. C. Shapiro 11

[Buffalo, NY, March, 2009]

cse@buff

alo

S. C. Shapiro12

Outline

Some GLAIR Robots, Hardware & VR

The Layers

Symbol Grounding

Putting it Together: Two examples

PCAR2010

cse@buff

alo

PCAR2010 S. C. Shapiro 13

KL

PMLa

PMLb

PMLc

SAL

Mind

BodyIndependentof lower-body

implementation

Hearing

Vision

Motion

Speech WORLD

I/P s o c k e t s

GLAIR Architecture

Dependenton lower-bodyimplementation

Proprioception

cse@buff

alo

S. C. Shapiro

Sensori-Actuator Layer

• Sensor and effector controllers

PCAR2010 14

cse@buff

alo

S. C. Shapiro15

Perceptuo-Motor Layer

• PMLa• PMLb• PMLc

PCAR2010

cse@buff

alo

S. C. Shapiro

PMLc

• Abstracts sensors & effectors• Body’s behavioral repertoire

PCAR2010 16

cse@buff

alo

S. C. Shapiro

PMLb

• Translation & Communication– Between PMLa & PMLc

• Highest layer that knows body implementation

PCAR2010 17

cse@buff

alo

S. C. Shapiro

PMLa• Grounds KL symbols

– Perceptual structures– Implementation of primitive actions

• Registers for Embodiment & Situatedness– Deictic Registers– Modality Registers

PCAR2010 18

cse@buff

alo

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

PCAR2010 S. C. Shapiro 19

cse@buff

alo

S. C. Shapiro20

SNePS

• A KRR system• Every non-atomic expression is simultaneously

– An expression of SNePS logic– An assertional frame– A propositional graph

• Every SNePS expression is a term– Denoting a mental entity

PCAR2010

cse@buff

alo

S. C. Shapiro21

Ontology of Mental Entities• Entity

– PropositionAgent can believe it or its negationIncludes quantified & conditional beliefs

– ActAgent can perform it

– PolicyCondition-act rule agent can adopt

– ThingOther entities: individuals, properties, times, etc.

PCAR2010

cse@buff

alo

S. C. Shapiro22

Outline

Some GLAIR Robots, Hardware & VR

The Layers

Symbol Grounding

Putting it Together: Two examples

PCAR2010

cse@buff

alo

S. C. Shapiro

Entities, Terms, Symbols, Objects

• Agent’s mental entity: a person named Stu

• SNePS term: b4

• Object in world:

23PCAR2010

cse@buff

alo

S. C. Shapiro

AlignmentMind (KL)

Body (PML/SAL)

World

KL term

PML structure

Object/Phenomenon Action

PCAR2010 24

cse@buff

alo

World Objectsto Feature Tuples

<Height, Width, Texture, . . . >

WorldPML/SAL

25S. C. ShapiroPCAR2010

cse@buff

alo

S. C. Shapiro26

Feature Tuplesto KL Terms

<Height, Width, Texture, . . . >

PML/SALKL

ProperName(b4, Stu)

Alignment

PCAR2010

cse@buff

alo

S. C. Shapiro27

Incomplete PML-Descriptions

<Height, nil, nil, . . . >

PML/SALKL

Height(b4, b12)

PCAR2010

cse@buff

alo

S. C. Shapiro28

Unifying PML-Descriptions

<x, nil, nil, ... >

PML/SALKL

b20

b30

b31

b6

<nil, y, nil, ... >

<nil, nil, z, ... >

<x, y, z, ... >

Isa

Prop

Prop

PCAR2010

cse@buff

alo

S. C. Shapiro29

Deictic Registers

For being situated in the worldPML registers hold KL terms

I term denoting agentYOU term denoting dialogue partnerNOW term denoting current time

PCAR2010

cse@buff

alo

S. C. Shapiro30

Modality Registers

For privileged first-person knowledge of what agent is doing

Register for each modality, m, holdsKL term denoting act that m is engaged in

PCAR2010

cse@buff

alo

S. C. Shapiro31

Outline

Some GLAIR Robots, Hardware & VR

The Layers

Symbol Grounding

Putting it Together: Two examples

PCAR2010

cse@buff

alo

S. C. Shapiro32

<green, nil>

PML/SALKL

b20

b30

b6

<nil, robotic>

Isa

Prop

PCAR2010

m2

Find a green robot.

(find )

cassie

m75

m76

robbie

<green, robotic>

VISION

Language-Mind-World-Mind

WORLD

cse@buff

alo

Building Episodic Memory

PCAR2010 S. C. Shapiro33

KL

PML

e1

I

a1 b1

m1!

t1 e2

a2

m2!

t2

m3!

NOW

COUNT n

hom0

qm4!

before afterevent eventtime

time

time

act act

agent

agent

duration

ACT

cse@buff

alo

S. C. Shapiro34

Summary

• GLAIR is an architecture:– To connect mind and body

• For symbol grounding– To provide first-person privileged knowledge of

• The body• What it’s doing

– To provide situatedness in the world• Via deictic registers

PCAR2010

cse@buff

alo

S. C. Shapiro35

Some References• S. C. Shapiro & H. O. Ismail, Anchoring in a Grounded Layered

Architecture with Integrated Reasoning,, Robotics and Autonomous Systems 43, 2-3 (May 2003), 97-108.

• J. Anstey, S. Bay-Cheng, D. Pape, & S. C. Shapiro, Human trials: an experiment in intermedia performance, ACM Computers in Entertainment 5, 3, Article 4 (November 2007), 17 pages.

• J. Anstey, A. P. Seyed, S. Bay-Cheng, D. Pape, S. C. Shapiro, J. Bona, & S. Hibit, The Agent Takes The Stage, International Journal of Arts and Technology (IJART) 2, 4 (2009), 277-296.

• S. C. Shapiro & J. P. Bona, The GLAIR Cognitive Architecture, International Journal of Machine Consciousness, in press.

PCAR2010

cse@buff

alo

S. C. Shapiro36

PCAR2010

Collaborators

Past and present members ofSNeRG: The SNePS Research Grouphttp://www.cse.buffalo.edu/sneps/