20
cse@buffalo Cassie as a Self-Aware SNePS/GLAIR Agent Stuart C. Shapiro Department of Computer Science and Engineering, and Center for Cognitive Science University at Buffalo, The State University of New York 201 Bell Hall, Buffalo, NY 14260-2000 [email protected] http://www. cse .buffalo. edu /~ shapiro /

Cassie as a Self-Aware SNePS/GLAIR Agent

Embed Size (px)

DESCRIPTION

Cassie as a Self-Aware SNePS/GLAIR Agent. Stuart C. Shapiro Department of Computer Science and Engineering, and Center for Cognitive Science University at Buffalo, The State University of New York 201 Bell Hall, Buffalo, NY 14260-2000 [email protected] - PowerPoint PPT Presentation

Citation preview

Page 1: Cassie as a Self-Aware SNePS/GLAIR Agent

cse@buff

alo

Cassie as aSelf-Aware SNePS/GLAIR Agent

Stuart C. Shapiro Department of Computer Science and Engineering,

and Center for Cognitive Science

University at Buffalo, The State University of New York

201 Bell Hall, Buffalo, NY 14260-2000

[email protected]

http://www.cse.buffalo.edu/~shapiro/

Page 2: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 2

cse@buff

alo

What is it?• 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;– Maintain a model of itself;– Remember and report what it has sensed and done.

Page 3: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 3

cse@buff

alo

Cassie, the FEVAHR

Page 4: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 4

cse@buff

alo

Simulated FEVAHR

Cassie

Page 5: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 5

cse@buff

alo

UXO Remediation

CassieCorner flag

NonUXO object

Corner flag

UXO

Batterymeter

Corner flag

Drop-off zone

Field

Safe zone

RechargingStation

Page 6: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 6

cse@buff

alo

Crystal Cassie

First Person Perspective Views

Page 7: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 7

cse@buff

alo

Princess from “The Trial, The Trail”A VR drama by Josephine Anstey

Page 8: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 8

cse@buff

alo

Patofil and Filopat

Page 9: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 9

cse@buff

alo

Magellan ProTM Mobile Robotfrom

iRobot

Page 10: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 10

cse@buff

alo

GLAIR Architecture

Knowledge Level

Perceptuo-Motor Level

Sensory-Actuator Level NL

Vision

Sonar

MotionProprioception

Grounded Layered Architecture with Integrated Reasoning

SNePSMind

Body

World

deictic & modality registers& primitive-action procedures IP Sockets

Page 11: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 11

cse@buff

alo

SNePS• A logic-based KR system

• using reified propositions

• with special constructs for acts

• and an acting executive

• as well as an inference engine

• with an ATMS.

• From a Wumpus World agent:– all(r)(Isa(r,room)

=> whendo(In(r), believe(~Contains(r,pit)))).

Page 12: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 12

cse@buff

alo

Kinds of Self-Awarenessin Cassie

• Static beliefs (non-fluents) about herself Knows and recognizes her name.

– My name is `Cassie’.

• Has first-person, privileged knowledge of ,

remembers, and can tell what she’s done.

Has a sense of time, including “now”.

Knows whom she is conversing with.– I talked to Bill and I am talking to you.

• Has self-perception of what she says.

Page 13: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 13

cse@buff

alo

Basic Approach toEssential Self-Awareness

• Beliefs about self at KL (mind)

inserted by PML (body).

Page 14: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 14

cse@buff

alo

How It’s Implementedat the KL

• SNePS term denoting Cassie– Used in all beliefs about herself.

• SNePS terms denoting times– To relate acts/events

• Representation of acts is the same– For acts to be done by Cassie

– For acts done by Cassie

– For acts done by other agents

– For acting

– For NL interaction

Page 15: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 15

cse@buff

alo

How It’s Implementedat the PML

• Deictic Registers– I = SNePS term denoting Cassie

– NOW = SNePS term denoting current time

– YOU = SNePS term denoting conversational partner

Page 16: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 16

cse@buff

alo

How It’s Implementedat the PML

• Modality Registers– For current acts

• Vision modality register– KL term of entity Cassie’s currently looking at

Page 17: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 17

cse@buff

alo

How It’s Implementedat the PML

• Lisp implementation of KL primitive acts

• Implementation of act a inserts KL belief that

I did a NOW

and moves NOW.

= First person, privileged belief.

Page 18: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 18

cse@buff

alo

Multi-Computer VR AgentsKL

PMLa

PMLb

PMLc

SAL

IP Sockets

SNePS terms

deictic & modality registersprimitive-action

procedures

hardware drivers

Page 19: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 19

cse@buff

alo

Body-Mind FeedbackMost Difficult Issue

• When should mind move to next step of plan?

• When sense that goal of previous step has been achieved.

• For speech sequence:

when hear self over self-perception socket.

Page 20: Cassie as a Self-Aware SNePS/GLAIR Agent

April, 2004 S. C. Shapiro 20

cse@buff

alo

Next Steps

• Since awareness of acting is

added by implementation of primitive acts,

don’t yet have awareness of non-primitive acts.

• Put all this in architecture,

so agent implementers needn’t be concerned.