Cognitive Capability

31
Episodic Memory and Cognitive Capabilities Andrew Nuxoll 24 May 2007

Transcript of Cognitive Capability

Page 1: Cognitive Capability

Episodic Memory and

Cognitive Capabilities

Andrew Nuxoll24 May 2007

Page 2: Cognitive Capability

2

Outline

� Review and Introduction� Definitions� Research Goals� TankSoar Domain

� Demonstrating Cognitive Capabilities� Action Modeling� Virtual Sensors� Learning from Past Success and Failure

Page 3: Cognitive Capability

3

Long Term Memory

Memory

Long TermMemory

Short TermMemory

SemanticMemory

DeclarativeMemory

ProceduralMemory

EpisodicMemory

� Episodic Memory� Memories of

specific events in your past

Page 4: Cognitive Capability

4

Long-term Procedural MemoryProduction Rules

Current Implementation

EncodingInitiation?

Storage

Retrieval

When the agent takes an action.

Input

Output Cue

Retrieved

Working Memory

Page 5: Cognitive Capability

5

Long-term Procedural MemoryProduction Rules

Current Implementation

EncodingInitiationContent?

Storage

Retrieval

A portion of working memory is stored in the episode

Input

Output Cue

Retrieved

Working Memory

Page 6: Cognitive Capability

6

Long-term Procedural MemoryProduction Rules

Current Implementation

EncodingInitiationContent

StorageEpisode Structure?

Retrieval

Episodes are stored in a separate memory

Input

Output Cue

Retrieved

Working Memory

EpisodicMemory

EpisodicLearning

Page 7: Cognitive Capability

7

Long-term Procedural MemoryProduction Rules

Current Implementation

EncodingInitiationContent

StorageEpisode Structure

RetrievalInitiation/Cue?

Cue is placed in an architecture specific buffer.

Input

Output Cue

Retrieved

Working Memory

EpisodicMemory

EpisodicLearning

Page 8: Cognitive Capability

8

EpisodicMemory

Long-term Procedural MemoryProduction Rules

Current Implementation

EncodingInitiationContent

StorageEpisode Structure

RetrievalInitiation/CueRetrieval

The closest partial match is retrieved.

Input

Output Cue

Retrieved

Working Memory

EpisodicLearning

Page 9: Cognitive Capability

9

Research Goals

� Explore the cognitive capabilities granted to an agent with an episodic memory

� Explore what’s necessary to build an effective episodic memory for a general cognitive architecture� Domain independence� Performance

� Take inspiration from cognitive psychology

Page 10: Cognitive Capability

10

Cognitive Capabilities:

How do we use Episodic Memory?

� Sensing� Detecting Repetition� Virtual Sensing� Noticing Unusual Input� Sense of Identity

� Reasoning� Action Modeling� Recording Previous

Successes/Failures� Modeling the Environment� Managing Long Term

Goals

� Learning� Retroactive Learning� Reanalyzing with new

Knowledge� Explaining Behavior� “Boosting” other Learning

Mechanisms

Page 11: Cognitive Capability

11

TankSoar Domain

� Tanks in a maze� Sub-goals

� Shoot other tanks� Don’t get shot� Don’t run out of

� Energy� Missiles

� Multiple sensors and actions

Page 12: Cognitive Capability

Action Modeling

Page 13: Cognitive Capability

13

Cognitive Capability: Action Modeling

� Action Modeling� Definition: Learning the

immediate effect of an action� Analog: Case-Based

Reasoning

� Task: Conserve Energy� Selecting proper radar setting

to minimize energy consumption

Page 14: Cognitive Capability

14

Agent Implementation

EpisodicRetrieval

Evaluation Result:Radar Setting: 5

Agent’s State

Creat

e

Memory

Cue

Radar Setting: 1

Radar Setting: 2

Radar Setting: max…X=11

Y=3Dir=south

X=11Y=3

Dir=south

X=11Y=3

Dir=south

Agent Confirms Location

and Direction

Match

Page 15: Cognitive Capability

15

Initial Performance

Radar Tank Performance

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

1 101 201 301 401 501 601 701 801 901

Radar Settings (time)

Fra

ctio

n C

orre

ct

Random

Page 16: Cognitive Capability

16

Nuggets Coal

� Episodic memory is an effective medium for action modeling

� Requires agent have knowledge of whether a retrieved episode is useful

Page 17: Cognitive Capability

Virtual Sensors

Page 18: Cognitive Capability

18

Cognitive Capability: Virtual Sensors

� Virtual Sensors� Definition: Retrieving past

sensing that is relevant to the current task

� Task: Locate the Battery� Using episodic memories to

construct a path

?

Page 19: Cognitive Capability

19

Agent Implementation

EpisodicRetrieval

Evaluation Result:Move North

Agent’s State

Create

Memory

Cue

Move North

Move West

Move East

Page 20: Cognitive Capability

20

Performance

Energy Search Time

1

10

100

1000

1 2 3 4 5 6 7 8 9 10 11 12

Searches

Num

ber

of M

oves

Random

Ep. Mem.

Page 21: Cognitive Capability

21

Paths to Battery

Page 22: Cognitive Capability

22

Nuggets Coal

� Episodic memory can be used as a virtual sensor

� Limited investigation of integration of episodic and semantic memory

Page 23: Cognitive Capability

Learning from Past Success

and Failure

Page 24: Cognitive Capability

24

Cognitive Capability: Learning from Past

Success and Failure

� Learning from Past Success and Failure� Definition: Using past

performance to guide future behavior

� More emphasis on long term

� Task: Combat� Using episodic memory to

determine best tactics in the “attack” subgoal

Page 25: Cognitive Capability

25

Agent Implementation

EpisodicRetrieval

Retrieve theNext Memoryin Sequence

Evaluation Result:Move Forward + Fire = 2 points

Agent’s State Create

Memory Cue

CompareMemories

In the Sequence

Move Forward

Move Forward + Fire Missile

Turn Right

…Retrieve theNext Memoryin Sequence

Page 26: Cognitive Capability

26

Performance

-60

-50

-40

-30

-20

-10

0

10

20

1 11 21 31 41 51 61 71 81 91 101 111 121 131 141 151 161

Successive Games

Mar

gin

of V

icto

ry

Page 27: Cognitive Capability

27

Tactics Learned

� Fight or flight� Back away and shoot� Dodging

Page 28: Cognitive Capability

28

Without Heuristic Cue

Performance without Heuristic Cue Selection

-60

-50

-40

-30

-20

-10

0

10

20

1 11 21 31 41 51 61 71 81 91 101 111 121 131 141 151 161

Successive Games

Ave

rage

Mar

gin

of V

icto

ry

Page 29: Cognitive Capability

29

Without Discount Factor

No Discount Factor

-60

-50

-40

-30

-20

-10

0

10

20

1 12 23 34 45 56 67 78 89 100 111 122 133 144 155 166 177

Successive Games

Ave

rage

Mar

gin

of V

icto

ry

Page 30: Cognitive Capability

30

Nuggets Coal

� Episodic memory can be effective at learning long term tactics

� Requires the use of a discount factor

� Requires heuristic cue selection

Page 31: Cognitive Capability

31

Summary

� Episodic memory enables multiple cognitive capabilities including:� Action modeling� Virtual sensing� Learning from past success and failure