Cognitive Capability
-
Upload
santanusankar -
Category
Documents
-
view
681 -
download
0
Transcript of Cognitive Capability
Episodic Memory and
Cognitive Capabilities
Andrew Nuxoll24 May 2007
2
Outline
� Review and Introduction� Definitions� Research Goals� TankSoar Domain
� Demonstrating Cognitive Capabilities� Action Modeling� Virtual Sensors� Learning from Past Success and Failure
3
Long Term Memory
Memory
Long TermMemory
Short TermMemory
SemanticMemory
DeclarativeMemory
ProceduralMemory
EpisodicMemory
� Episodic Memory� Memories of
specific events in your past
4
Long-term Procedural MemoryProduction Rules
Current Implementation
EncodingInitiation?
Storage
Retrieval
When the agent takes an action.
Input
Output Cue
Retrieved
Working Memory
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
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
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
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
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
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
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
Action Modeling
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
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
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
16
Nuggets Coal
� Episodic memory is an effective medium for action modeling
� Requires agent have knowledge of whether a retrieved episode is useful
Virtual Sensors
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
?
19
Agent Implementation
EpisodicRetrieval
Evaluation Result:Move North
Agent’s State
Create
Memory
Cue
Move North
Move West
Move East
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.
21
Paths to Battery
22
Nuggets Coal
� Episodic memory can be used as a virtual sensor
� Limited investigation of integration of episodic and semantic memory
Learning from Past Success
and Failure
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
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
…
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
27
Tactics Learned
� Fight or flight� Back away and shoot� Dodging
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
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
30
Nuggets Coal
� Episodic memory can be effective at learning long term tactics
� Requires the use of a discount factor
� Requires heuristic cue selection
31
Summary
� Episodic memory enables multiple cognitive capabilities including:� Action modeling� Virtual sensing� Learning from past success and failure