Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs)...

48
Memory: What’s it good for? •Solving problems •Functions need memory (must hold inputs and outpu •Function themselves must be stored somewhere •Turing machine •Strip of paper •Rules or procedures •State memory •Neural networks •Activation of nodes •Connections between nodes *

Transcript of Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs)...

Page 1: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Memory: What’s it good for?

•Solving problems

•Functions need memory (must hold inputs and outputs)•Function themselves must be stored somewhere

•Turing machine•Strip of paper•Rules or procedures•State memory

•Neural networks•Activation of nodes•Connections between nodes *

Page 2: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

A B C D

Page 3: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Problems that take Memory

• Raven’s Progressive Matrices• Towers of Hanoi• Spatial relations problems• Mental arithmetic• Syllogisms• Understanding complicated sentences

There is a sewer near our home who makes terrific suits.

Page 4: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Problems that take Memory

• Raven’s Progressive Matrices• Towers of Hanoi• Spatial relations problems• Mental arithmetic• Syllogisms• Understanding complicated sentences

The horse raced past the barn fell.

Page 5: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Problems that take Memory

• Raven’s Progressive Matrices• Towers of Hanoi• Spatial relations problems• Mental arithmetic• Syllogisms• Understanding complicated sentences

The cat hiding under the bed yawned.

Page 6: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Problems that take Memory

• Raven’s Progressive Matrices• Towers of Hanoi• Spatial relations problems• Mental arithmetic• Syllogisms• Understanding complicated sentences

There is a correlation between how well people do on different tests

There is a negative correlation between test results and age

Controlling for memory, there is no correlation between testresults and age!

Page 7: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Memory test

Page 8: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Memory test

recall

position in list

primacyeffectrecencyeffect

Page 9: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

The Structure of Memory

Working and Long-Term Memory: Double Dissociation

recall

position in list

primacyeffect

recencyeffect

Lengthen wait before recall: influences R.E., not P.E.

Speed presentation:influences P.E., not R.E.

Page 10: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

The Structure of Memory

Working and Long-Term Memory: Double Dissociation

Behavioral Studies:

Patients: H.M. can store things in W.M., but not L.T.M. K.F. can store things in L.T.M., but not W.M.

anterogradeamnesia

….example study: Free Recall Task….

Page 11: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Computational Models and Memory

Symbolic Models: ProductionMemory

DeclarativeMemory

WorkingMemory

storageretrieval matchexecution

perception action

Neural Network Models:

working memory

long-term memory

Page 12: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Working Memory

Baddeley’s Theory

CentralExecutive

PhonologicalLoop

VisuospatialBuffer

Page 13: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Dissociating Visual and Phonological...

Visual Task: Remember the figure, mentally trace it, and say “yes” when you come to a corner at the top or bottom, and “no” at other corners

*

Page 14: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Dissociating Visual and Phonological...

Visual Task: Remember the figure, mentally trace it, and say “yes” when you come to a corner at the top or bottom, and “no” at other corners

*

yes

Page 15: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Dissociating Visual and Phonological...

Visual Task: Remember the figure, mentally trace it, and say “yes” when you come to a corner at the top or bottom, and “no” at other corners

*

yes yes

Page 16: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Dissociating Visual and Phonological...

Visual Task: Remember the figure, mentally trace it, and say “yes” when you come to a corner at the top or bottom, and “no” at other corners

*

yes yes no

Page 17: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Dissociating Visual and Phonological...

Visual Task: Remember the figure, mentally trace it, and say “yes” when you come to a corner at the top or bottom, and “no” at other corners

*

yes yes no no no no no no yes yes(answers are spoken or pointd to)

Verbal Task: Remember the sentence, and say whether each word, left to right, is a noun or not.

Page 18: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Dissociating Visual and Phonological...

Visual Task: Remember the figure, mentally trace it, and say “yes” when you come to a corner at the top or bottom, and “no” at other corners

*

yes yes no no no no no no yes yes(answers are spoken or pointd to)

Verbal Task: Remember the sentence, and say whether each word, left to right, is a noun or not.

Billy ate the cat for dessert.

yes no no yes no yes(spoken or pointed to)

Page 19: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Dissociating Visual and Phonological...

Visual Task: Remember the figure, mentally trace it, and say “yes” when you come to a corner at the top or bottom, and “no” at other corners

*

yes yes no no no no no no yes yes(answers are spoken or pointd to)

Verbal Task: Remember the sentence, and say whether each word, left to right, is a noun or not.

Billy ate the cat for dessert.

yes no no yes no yes(spoken or pointed to)

Verbal response: FASTSpatial response: SLOW

Verbal response: SLOWSpatial response: FAST

Page 20: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Working Memory

CentralExecutive

PhonologicalLoop

VisuospatialBuffer

Page 21: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Working Memory

CentralExecutive

PhonologicalLoop

VisuospatialBuffer

• Phonological Representation Evidence: phonological confusion, articulatory suppression• Limited Capacity 7±2 chunks grouping by “chunks” helps

2 seconds you remember fewer long words

phonological buffer rehearsal

double dissociation….. again…. (pp 240-241)

Page 22: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Working Memory

CentralExecutive

PhonologicalLoop

VisuospatialBuffer

• Phonological Representation Evidence: phonological confusion, articulatory suppression• Limited Capacity 7±2 chunks grouping by “chunks” helps

2 seconds you remember fewer long words

phonological buffer rehearsal

double dissociation….. again…. (pp 240-241)

• Visual Representation Evidence: uses visual brain areas, rotation and distance on memory representations influence response times

Page 23: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Working Memory

CentralExecutive

PhonologicalLoop

VisuospatialBuffer

• Phonological Representation Evidence: phonological confusion, articulatory suppression• Limited Capacity 7±2 chunks grouping by “chunks” helps

2 seconds you remember fewer long words

phonological buffer rehearsal

double dissociation….. again…. (pp 240-241)

• Visual Representation Evidence: uses visual brain areas, rotation and distance on memory representations influence response times

?

Page 24: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Chunking in Working Memory

• Memory slots are in “chunks”

• Chunks can be many different format

Page 25: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

In-Class Demo

• F BIV IPG NPC BSCIA

• FBI VIP GNP CBS CIA

• “1225ATFFBI31415”

Page 26: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Evidence for Chunking: SF

• Trained to chunk

• Used race times to chunk

• Digit Span of about 80

Page 27: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Experimental Evidence for Chunking

• Chase and Simon studied memory for chess• Start with a “snapshot” of a game in play,

quick glance, then memory test• Grand masters much higher memory score• But wait - aren’t these guys smart? (Big

memories)• Used random positions -- no advantage for

masters

Page 28: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Working Memory: Single Cell Recording

Sample

Delay

Choice

Page 29: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Cell-Recording -- Neurons in Inferior Temporal Cortex

• After training - responded only to “red”

• Responded only during delay

• Stopped responding when trial end

Page 30: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

More Evidence of Working Memory Neurons

• Cool-down inferior temporal neurons

• This impairs monkey’s performance on this task

Page 31: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Semantic Memory: Concepts

Geometric Approach: Concepts and items are representedas points in a high-dimensional space. Similarity between itemsis the inverse of distance between the points. Categorization isthe task of finding which concept point is closest to the point thatrepresents the item in question (i.e. “is it a cat?” is a question ofwhether the point representing “it” is close to the “cat” point than any other point in the space).

• cat• dog• horse

• pig

• duck

closer together =

more similar

Page 32: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Semantic Memory: Concepts

Geometric Axioms:

• Minimality: Similarity between an object and itself is always maximum ( d[A,A] = 0 )

• Symmetry: Similarity between A and B is the same as between B and A ( d[A,B] = d[B,A] )

• Triangle Inequality: If A is similar to B and B is similar to C, then A can’t be too dissimilar to C. ( d[A,C] d[A,B + d[B,C] )

S(apple,apple) > S(pomogranite, pomogranite)

Familiar things are moresimilar to themselves thanunfamiliar things.

Unfamiliar things are moresimilar to familiar things than vice-versa.

S(pomogranite,apple) > S(apple, pomogranite)

Things can be similarto for different reasons.

(Jamaica, Cuba, North Korea example)

DON’T WORK FOR PEOPLE!!!...

Page 33: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Semantic Memory: Concepts

Featural Approach: Concepts and items are representedas lists of features. Similarity between items is given by:

S(A,B) = a features(A&B) - b features(AnotB) - c features(BnotA)

So similarity increases as two items have more in common,and decreases as each has it’s own non-shared features.

Notice there can be biases: coefficients a, b, and c can beweighted differently, so that features in each category canhave different effects.

So, this model can account for the violations of the metric axioms...

Page 34: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Semantic Memory: Concepts

Feature apple orange banana pomograniteedible + + + +has a skin + + + +round + + +red + +edible skin +edible seeds + +good for pies +good for juice + +

Suppose the equation is: S(A,B) = 1*(A&B) - 1*(A~B) - 0.5*(B~A)

S(apple,apple) = 7-0-0 = 7S(pomagranite,pomagranite) = 5-0-0 = 5

S(apple,pomogranite) = 4-3-0.5*1 = 0.5S(pomograntite,apple) = 4-1-0.5*3 = 1.5

violation of minimality

violation of symmetry

Page 35: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Semantic Memory: Concepts

How can we implement the featural model in a network?• Units represent concepts and features, with links for connecting concepts that are related, and features that describe them.• Assume spreading activation: when one unit is activated, it automatically spreads to all of the connected units over time• Assume the fan effect: the more units activation has to spread across, the weaker it becomes.

When we compare two things, both units are activated, and activation spreads outward from them. Their similarity isinversely proportional to how long it takes for a certain amountof activation from the two sources to overlap.

Page 36: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Semantic Memory: Concepts

How can we implement the featural model in a network?• Units represent concepts and features, with links for connecting concepts that are related, and features that describe them.• Assume spreading activation, and the fan effect.

apple pomogranite

ediblehas a skinroundrededible skinedible seedsgood for piesgood for juices

Units not shared decrease overlapping

activation, by spreading it thinner

(fan effect)

The more units are shared,

the more activation will overlap

Page 37: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Semantic Memory: Concepts

This model can also account for categorization andtypicality effects:• Categorization: It takes longer to verify “A dog is an animal” than “A dog is a mammal”, because it has farther to travel.

• Weights between units can indicate how typical an instance is of a superordinate category, changing how strongly activation from one is spread to the other.

animal

birdmammal

dog cat

animal

birdmammal

robinpenguin

Page 38: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Semantic Memory: Concepts

What do feature lists leave out?• Causal relations (e.g. the fact that fertilizer tends to grow plants)• Relational dependencies (e.g. the fact that only small birds sing)• In short: Feature lists leave out structured information.

We recall from our discussion of Episodic Memory, this problemca be solved with the use of schemata: complex structured frameworks.

Thus, schemata can be used to semantic memory, too, to tell uswhat kinds of items are typically found in offices, what kinds ofevents typically happen in a restaurant, and so on.

Page 39: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Modeling Schemata?Challenge for the future: How to represent structuredrelational information in a network?• Relational information (e.g. “Chris loves Pat”) has a problemin networks with distributed representation, similar to thebinding problem: the catastrophic superposition problem.

Suppose this pattern:and this pattern:and this pattern:and this pattern:and this pattern:

Then this pattern:and this pattern:and this pattern:

represents “Chris”represents “Pat”represents “Harry”represents “Sally”represents “loves”

represents “Chris loves Pat”represents “Pat loves Chris”represents “Harry loves Sally”

There is no way to tell the difference!

Page 40: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Modeling Schemata?

One Answer: Temporal synchrony•

Suppose this pattern:

and this pattern:

and this pattern:

represents “Chris”

represents “Sally”

represents “loves”

But how do we distinguish between “Chris loves Sally” and “Sally loves Chris”?•

Page 41: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Modeling Schemata?

Need to combine structural and semantic information

LISA (Learning and Inference with Schemas and Analogies) – Hummel & Holyoak

Binds semantic information (e.g. “Chris”) to roles (e.g., “loves” Agent)

Can then make inferences like we do

Chris loves Mary. Chris gives flowers to MaryBill likes Sally. Bill gives candy to ??? Sally

Page 42: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Procedural Memory

Memory for procedures, rather than facts.• Skill Memory / Skill Learning• Knowing How (rather than “knowing that”)• Muscle Memory / Motor Memory• Implicit Memory / Implicit Knowledge

All of these are different terms of a third kind of memory.

How do we know it’s a separate kind of memory?

• You can read all the facts about how to do something and still not be good at it• H.M. completely lost semantic and episodic memory, but still had procedural.

Page 43: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Practice and the Power Law

Page 44: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

Stages of Skill Learning

• Declarative Stage: You know what to do, like a list of instructions. You rely mostly on declarative memory. You are slow and make a lot of errors.

• Knowledge Compilation Stage: You have developed some procedures, but action is still divided into small individual steps, and is not fluid. You still rely some on declarative memory. You improve in speed and accuracy.

• Procedural Stage: Individual procedures and actions get streamlined and fluid, make less and less errors and get faster. Almost no reliance on declarative knowledge. As a result, it is hard to explain what you are doing, and hard to pick up again if you are interrupted (because movement is fluid).

proced

uralization

Page 45: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

ACT*

ProductionMemory

DeclarativeMemory

WorkingMemory

storageretrieval matchexecution

perception action

I’m driving!

Stop sign!

Page 46: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

ACT*

WorkingMemory

storageretrieval matchexecution

perception action

I’m driving!

Stop sign!

Pressing the brake slows the carThe brake is to the left of the gasTo stop you have to slow downYou have to stop at a stop sign…...

IF at stop sign THEN subgoal: slow the car.IF subgoal to slow the car AND foot is over gas, move foot leftIF subgoal to slow the car AND foot is over brake, press!!

Page 47: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

ACT*

WorkingMemory

storageretrieval matchexecution

perception action

I’m driving!

Stop sign!

Pressing the brake slows the carThe brake is to the left of the gasTo stop you have to slow downYou have to stop at a stop sign…...

IF at stop sign THEN subgoal: slow the car.IF subgoal to slow the car AND foot is over gas, move foot leftIF subgoal to slow the car AND foot is over brake, press!!

CHUNKING!

Page 48: Memory: What’s it good for? Solving problems Functions need memory (must hold inputs and outputs) Function themselves must be stored somewhere Turing machine.

ACT*

WorkingMemory

storageretrieval matchexecution

perception action

I’m driving!

Stop sign!

Pressing the brake slows the carThe brake is to the left of the gasTo stop you have to slow downYou have to stop at a stop sign…...

IF at stop sign THEN brake!