Top Banner
cse@buffalo S.C. Shapiro Endowing Agents with a Personal Sense of Time Haythem O. Ismail & Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science State University of New York at Buffalo
36

Endowing Agents with a Personal Sense of Time

Jan 01, 2016

Download

Documents

Endowing Agents with a Personal Sense of Time. Haythem O. Ismail & Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science State University of New York at Buffalo {hismail | shapiro}@cse.buffalo.edu. Outline. Introduction Subjective Time - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Endowing Agents with a Personal Sense of Time

cse@buff

alo

S.C. Shapiro

Endowing Agents with a Personal Sense of Time

Haythem O. Ismail & Stuart C. Shapiro

Department of Computer Science and Engineering

and Center for Cognitive Science

State University of New York at Buffalo

{hismail | shapiro}@cse.buffalo.edu

Page 2: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Outline

• Introduction

• Subjective Time

• Time and Bodily Knowledge

• Time and External States

• Summary

Page 3: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Uses of Timeby a Cognitive Agent

• Reason about time• Talk about time• Reason and act in time• Decide to act in timely fashion• Remember acts and when done• Sense current states• Be informed of current states• Be informed of past/future states• Understand & generate NL with correct tense & aspect.

Page 4: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Cassie

• A Computational Cognitive Agent

• Based on SNePS– Logic-based– Network-based– Knowledge representation, reasoning, and acting.

Page 5: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Embodied Cassie

• A Cognitive Robot– Hardware– or Software-Simulated

• Separate, but aligned– Body– Mind.

Page 6: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

GLAIR Architecture

Knowledge Level

Perceptuo-Motor Level

Sensory-Actuator Level

NL

Vision

Sonar

Motion

Proprioception

Grounded Layered Architecture with Integrated Reasoning

SNePS

Page 7: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Symbol Grounding: Alignmentrobot

green

!

lex lexclassmod classhead

member

class

find lex

actionobject

“Find the green robot.”

B6

Page 8: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Outline

• Introduction

• Subjective Time

• Time and Bodily Knowledge

• Time and External States

• Summary

Page 9: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Deictic Center

• <I, YOU, NOW>• Variables whose values are SNePS terms

• Aspects of embodiedness

• *I: SNePS term representing Cassie

• *YOU: person Cassie is talking with

• *NOW: current time.

Page 10: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Subjective Time

• NOW contains SNePS term representing current time.

• NOW moves when Cassie acts or perceives a change of state.

Page 11: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

B6

Representation of Time

find

lex

action object

B1

!

agentact

state time

NOW

!!before after before after

?????????????

I

Page 12: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Movement of Time v.1t1 t2!before after t3!before after

NOW NOW NOW

Page 13: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

The Pacemaker

• PML process periodically increments variable COUNT.

• *COUNT = some PML integer.

• Reset to 0 when NOW moves.

• Provides bodily “feel” of passing time.

Page 14: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Quantizing Time

Cannot conceptualize fine distinctions in time intervals.

So quantize, e.g. into half orders of magnitude (Hobbs, 2000).

Page 15: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Movement of Time with Pacemaker

NOW COUNT n

hom

0

KL

PML

t1 t2q

!before after

time duration!

Page 16: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Outline

• Introduction

• Subjective Time

• Time and Bodily Knowledge

• Time and External States

• Summary

Page 17: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Modality Variables• Similar to Deictic Center.• E.g.: VISION, AUDITION, WHEELS, ARMS• *VISION = Holds(Lookat(Cassie, Stu), t3)

– if vision currently occupied by looking at Stu– t3 denotes the time during which Cassie will be

looking at Stu– *NOW is during t3

• Set at PML when bodily state starts/ceases.• One state may occupy multiple modalities.

Page 18: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Knowing What You’re Doing

• When NOW moves– For each modality variable v– s.t. *v = Holds(s, t)– Make *NOW a subinterval of t

• So the agent believes it is now doing everything it is, in fact, doing.

Page 19: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

When you stop

• When state s ceases– For each modality variable vi– s.t. *vi = Holds(s, ti)

• Set vi to nil

– Move NOW– Believe each ti is before *NOW.

Page 20: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

When you start

• When state s starts– For each modality v that s occupies– set v to Holds(s, ti)– Move NOW.

Page 21: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Outline

• Introduction

• Subjective Time

• Time and Bodily Knowledge

• Time and External States

• Summary

Page 22: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

The Problem of the Fleeting Now

How can you reason about “now”

if it never stands still?

Page 23: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Motivating Joke

9:30:00 AM (Door-to-Door Salesman): May I interest you in a

brush?

9:30:02 AM (Homeowner): Not now.

9:30:03 AM (Salesman): Now?

Page 24: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Fleeting Now Example 1

9:15:00: If the walk light is on now, cross the street.

= If the walk light is on at 9:15:00,

cross the street.9:15:01: Turn to look at walk light.9:15:02: The walk light is on at 9:15:02.

Should you cross the street?Yes, but why?

Page 25: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Fleeting Now Example 2

12:15:00: “Is John having lunch now?”

12:15:02: Agent walks to John’s office.

12:17:00: Agent sees John at his desk, eating.

12:19:00: Agent reports “yes”.

Appropriate granularity.

Page 26: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Fleeting Now Example 3

12:15:00: “Is John having lunch now?”

Agent knows John is at home without a phone.

Agent contemplates driving to John’s home.

Don’t bother---inappropriate granularity.

Page 27: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

The Vagueness of “now”

I’m now giving a talk.I’m now teaching a course.I’m now visiting Houston.I’m now living in Buffalo.The agent is now walking to John’s office.The agent is now seeing if John is eating lunch.

Multiple now’s at different granularities.

Page 28: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

NOW-MTF

NOW

Semi-lattice of times, all of which contain *NOW,any of which could be meant by “now”Finite---only conceptualized times of conceptualized states

Maximal Temporal Frame based on *NOW

Page 29: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Moving NOW with MTF

NOW

Page 30: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Typical Durations

“If the walk light is on now, cross the street.”Relevant duration is typical duration of walk lights.

“Is John having lunch now?”Relevant duration is typical duration of lunch.

Use quantized typical durations when updating NOW-MTFs.

Page 31: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Using Appropriate Granularity

NOW

Lunch time

Lunch? Lunch!

Yes!

Page 32: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Outline

• Introduction

• Subjective Time

• Time and Bodily Knowledge

• Time and External States

• Summary

Page 33: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

Summary• Distinguish body & mind, but align them.• Body (PML):

– What people and things look like.

– Primitive and routine actions.

– Time intervals.

– Pacemaker: Feel for elapsing time.

– Deictic Center variables.

– Modality variables.

• Mind:– Conceptualized people, things, actions, times, states.

Page 34: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

When Inquire about States

Put them into MTF

According to their typical duration.

Page 35: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

When NOW Moves

• Use Pacemaker to measure old NOW.• Include current actions in MTF.

• Include other states according to their typical durations.

Page 36: Endowing Agents with a Personal Sense of Time

S.C. Shapiro

cse@buff

alo

For More Information

http://www.cse.buffalo.edu/sneps/