ΨPsychology, Built

Act V · Thinking

Part 20 of 62

Memory I: Storing and Finding

Psych 101 and the majorstarts at this level63 min of film17 chaptersprerequisites: none

When you remember, what is being searched, and with what?

In 1885 Hermann Ebbinghaus, his own only subject, learns invented syllables and measures what remains by the time saved relearning them; three laws fitted to his seven numbers show forgetting fast and then ever slower, like the odds that a memory will be needed. Free recall of 3,528 open lists shows primacy, recency, a start at the end, and contiguity that leans forward, in almost every person. What is done at study and the match at test decide what comes back; the famous underwater context effect did not replicate in sixteen divers whose data are open. SAM's rehearsal buffer gives both ends of the curve but symmetric contiguity; a slowly drifting context, derived step by step and fitted by maximum likelihood, gives recency, contiguity and its forward lean, predicts each next word far better than position alone, explains why a delay ends recency, and fails the continual-distractor test that shows what it lacks. A Hopfield network completes a memory from a fragment, up to about 0.14 memories per unit. Amnesia separates systems of memory, recognition splits into familiarity and recollection, and the hippocampus indexes and separates.

What you need. Part 12's ROCs and z-ROCs, Part 19's SIMPLE and choice rule, and Part 5's Hebbian learning. Vectors and dot products, logarithms, and maximum likelihood as in Parts 16 and 19.

Hook
Ebbinghaus alone with his syllables, 1885
Ideas, models and mathematics
savings and forgetting laws, ACT-R activation, serial position and contiguity measured on open data, levels of processing and generation, encoding specificity and the divers replicated from open data, SAM, the temporal context model derived and fitted by maximum likelihood, Hopfield networks and capacity, memory systems and H.M., familiarity and recollection, the hippocampus as an index
Psyche gains
SAM, a context model fitted to 3,528 lists, a Hopfield network, ACT-R activation, ROCs, pattern separation
On you
free recall: your serial-position and lag-CRP curves

What you will be able to do

Psych 101 and the major

  • Describe savings, the serial-position curve, contiguity, levels of processing and encoding specificity.
  • Explain what Glanzer and Cunitz's and Bjork and Whitten's experiments show about recency.
  • Describe H.M., the memory-systems taxonomy, and recognition by familiarity and recollection.

Graduate

  • Compute a lag-CRP with its denominators, and the serial-position and first-recall curves.
  • Derive the drift of context and the similarity of contexts at lag k.
  • Fit the context model by maximum likelihood and compare it with a baseline on held-out data.

Research

  • Weigh buffer models against context models, and one memory system against many.
  • Derive a Hopfield network's energy argument and the crosstalk that limits its capacity.

Practice

  • Design a recall question or an interview around cues, context and landmarks.
  • Read a word-list test's learning curve, delayed recall and recognition in the clinic.

Contents

Each chapter has a home level. Choose a track to see what to read and watch: Psych 101 and the major 37 min · Graduate 41 min · Research 63 min · Practice 41 min.

  1. 0One subject, 2,300 syllablesPsych 101 and the major4 min
  2. 1Savings and the first curvePsych 101 and the major4 min
  3. 2First and lastPsych 101 and the major3 min
  4. 3One word leads to the nextPsych 101 and the major5 min
  5. 4What you do with itPsych 101 and the major4 min
  6. 5The cue and the tracePsych 101 and the major5 min
  7. 6Searching associative memoryResearch3 min
  8. 7A context that driftsResearch5 min
  9. 8Fitting the context modelResearch5 min
  10. 9Memories as valleysResearch3 min
  11. 10One memory or many?Psych 101 and the major3 min
  12. 11Knowing and rememberingPsych 101 and the major3 min
  13. 12The hippocampus as an indexResearch4 min
  14. 13The LedgerPsych 101 and the major3 min
  15. 14In practice: interviews, surveys, the clinicPractice3 min
  16. 15Frontier: from lists to livesResearch3 min
  17. Recap, problems, and the road aheadAll tracks4 min

Also on this page: Lecture · Key results · Try it · Lab · Problems · Notes and sources · Build the film.

Lecture

The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film. A dashed box stands for a number the film computes when it is rendered (hover over it to see what is computed); the README's figures for each chapter, where it lists them, follow the chapter's text.

One subject, 2,300 syllablesPsych 101 and the major4 min

In the early 1880s, in Berlin, a young philosopher named Hermann Ebbinghaus set out to do what most of his colleagues thought impossible: to measure memory. He needed material that carried no meaning, so that what he already knew could not help him. So he made it up: about two thousand three hundred syllables, a consonant, a vowel and a consonant, that are not words. He read a list of thirteen of them aloud, at a steady pace, again and again, until he could recite it without a mistake, and timed how long that took. Then he waited, from twenty minutes to a month, and learned the same list again. The second learning was faster, and the time he saved, as a share of the first, was his measure of what remained. Savings is a remarkable idea. A day later he could recite almost none of a list, and yet it was still in him: he learned it again in two thirds of the time. Memory is more than what you can call up.

Ebbinghaus was his own subject. Today, you are mine. Find a pen and a piece of paper. Sixteen words will appear, one every second and a half. Just watch them. When they stop, write down every word you can remember, in any order, in the order they come to you. Here they come.

Now write down every word you remember, in the order they come to mind. Pause the video, and take as long as you need. When you're done, number your words: one for the first you wrote, two for the second, and so on. Keep the paper. We'll score it together, and by the end of the hour your sheet will show three of the most reliable regularities in all of psychology.

This part is about long-term memory, and above all about how you find something in it. How quickly is a memory lost, and what law does the loss follow? Why do people remember the first and the last words of a list best, and why do they recall them in the order they do? What does it matter what you were doing while you learned, and where you were? We'll build two models of the search, and fit one of them to three and a half thousand lists recalled by real people. And we'll see memory as a valley that a network of neurons rolls into, and the brain systems that make it.

This is Part 20 of Psychology, Built, the third part of Act Five, on thinking: memory, storing and finding. We'll start with Ebbinghaus's curve and fit three laws to it, and meet an equation that turns forgetting into a statement about the world. Then the shape and the order of free recall, measured on an open dataset from more than a hundred people. Then what happens at learning and at retrieval, including a famous experiment with divers and its replication. Then the two great models of the search, ending with one in which a slowly drifting context does almost all the work, derived and fitted. Then memories as the valleys of a network, the systems of memory in the brain, the two ways of recognising a face, and the hippocampus as an index to the rest.

What it does: Ebbinghaus's method and savings; free recall on you; the questions; objectives

1Savings and the first curvePsych 101 and the major4 min

Here are Ebbinghaus's seven numbers, the savings after twenty minutes, an hour, nine hours, a day, two days, six days and a month, plotted against time on a logarithmic scale. After twenty minutes he saved percent of the work, after an hour only ; by a month percent remained, and that remainder was going very slowly. Ebbinghaus fitted his own formula, in which savings fall with a power of the logarithm of time. Refitted by least squares its two constants come out close to his, and . A plain power law, savings proportional to time raised to a small negative power, does nearly as well with two constants of its own. An exponential, which loses the same share of what's left in every hour, cannot. It has to choose between the fast early loss and the slow late one, and gets both wrong. That shape, fast and then ever slower, is the first law of memory, and it has been found again and again, most recently by Jaap Murre's own replication of Ebbinghaus in 2015. Part 21 looks at why the curve has that shape.

Ebbinghaus's curve has a modern descendant inside a whole theory of the mind. In ACT-R, John Anderson's cognitive architecture, every memory has an activation. Each time the memory was used, it left a trace, and each trace fades as a power of its age. The activation is the logarithm of the sum of the traces. The probability of recall is a threshold on activation, softened by noise. A fact used once fades within days. Used three times it lasts longer, and used ten times longer still, and the same equation gives both the practice curve and the forgetting curve. The power law of forgetting isn't put in by hand here. It comes from summing traces that each fade as a power of their age.

Why should memory fade as a power of time, rather than any other way? In 1991 Anderson and Lael Schooler looked for the answer outside the head. They took the headlines of the New York Times and asked, for each word, how likely it was to appear tomorrow, given how many days ago it had last appeared. They did the same for the words parents say to young children, and for the senders of the email one researcher received. In all three, the odds that an item will be needed fall as a power of the time since it was last needed. So a memory that fades like a power law is matched to the world it serves. Forgetting is not simply failure: it keeps ready the things most likely to be wanted. Anderson called this the rational analysis of memory. Ask first what problem memory is solving, and then how well it solves it. We'll meet the same style of argument again, in vision and in decision making.

What it does: Three laws fitted; ACT-R's activation; Anderson and Schooler's environment

2First and lastPsych 101 and the major3 min

Take out your sheet. Here is the list again, in the order you saw it. Tick each word you wrote down, and count three things: how many of the first four you got, how many of the middle eight, and how many of the last four. If you're like most people, you got more of the first four than of the middle, and more of the last four than of anything. Now look at the first word you wrote. For nearly half of people it's the very last word of the list, and for most of the rest it's one of the last few. Your recall started where the list ended.

In 1962 Bennet Murdock gave people lists of ten to forty words at one or two seconds a word, and drew the probability of recalling each word against its position in the list. The same curve, measured today in open data. These are three thousand five hundred lists of sixteen words, recalled by people in the Kahana lab's Penn Electrophysiology of Encoding and Retrieval Study. The curve has three parts. The first word is recalled more often than the middle ones: that's primacy. The middle is a long flat stretch. And the last few are recalled best of all: recency. On the right, the word people recalled first. It's overwhelmingly the last one, and almost never a word from the middle. Murdock found that lengthening the list lowers the middle but leaves the last half-dozen positions almost untouched.

Why are the two ends special? The answer of the 1960s was that they have different causes. In 1966 Murray Glanzer and Anita Cunitz had people count aloud for thirty seconds between the last word and recall. Recency vanished. The first and middle words were recalled as well as ever. And presenting the words more slowly helped the early and middle part of the curve, but not its end. Two manipulations, each touching one end and not the other: a dissociation, the logic of Part 7. Dewey Rundus then asked people to rehearse aloud while they studied, and found that the early words were rehearsed more often than any others, and the number of rehearsals tracked primacy. So the textbook story was two stores. The last few words are still in the short-term store of Part 19 when recall begins, and spill out first. The first few got extra rehearsal, which moved them into long-term memory. It's a tidy story. The next chapter shows a result that it cannot explain.

What it does: Scoring your sheet; serial position and first recall on open data; two stores

3One word leads to the nextPsych 101 and the major5 min

Serial position tells you which words come back. The order they come back in tells you more. Here is one made-up recall: sixteen, fifteen, fourteen, then one, two, then nine. Each step from one recall to the next has a lag: the position of the next word minus the position of this one. Fifteen after sixteen is a lag of minus one; two after one, plus one. Michael Kahana's measure, the lag-conditional response probability, counts how often each lag was taken, and divides by how often it could have been taken: the lag must lead to a word that exists and hasn't been recalled yet. That denominator matters. After recalling fifteen, a lag of plus one would lead to sixteen, which was already used, so it doesn't count as a chance. Without it, any analysis would find that words in the middle of a list are followed by their neighbours, simply because they have more of them.

Here is the lag-conditional response probability for the three and a half thousand lists. It's a sharp peak. Of all the words still available, the next one recalled is most likely to be a neighbour of the one just recalled. And the peak leans forward: plus one has a probability of , minus one . Having recalled the word you studied at some moment, you tend to recall next the word you studied just after it. Remember that these are unrelated words in a random order. Neighbours share nothing but a moment in time, and still each one brings back the next. This is the temporal contiguity effect, and it's the second law of free recall.

An average curve can hide people who do something quite different, so it's worth looking at people one at a time. Each dot is one of the participants: their own probability of a lag of plus one, against their own lag of minus one. of them lie above the diagonal, leaning forward. And recall the last word more often than their own middle words. Using all of PEERS, Kahana and Karl Healey made this test systematically in 2014. How people begin their recall varies: some start from the end, some from the beginning, some a few words back. But the serial-position curve and the contiguity curve appeared, recognisably, in almost every person. These are laws of the system, not a blend of strategies.

Now the result the two-store story can't explain. In 1974 Robert Bjork and William Whitten filled the gap after every word with arithmetic, including after the last, so that by the time recall began even the last word had been pushed out of any short-term store. On the two-store story, recency should have been gone, as it was for Glanzer and Cunitz. And yet recency came back: the last words were again recalled best. What matters is not the delay itself but its ratio to the spacing of the list. Spread the words out and a long delay barely matters; it's the last items' place relative to the rest that counts. The same holds on the scale of months. Baddeley and Hitch asked rugby players to name the teams they had played that season. They remembered the most recent games best, and the decline was set by the number of games in between, not by the weeks. Marc Howard and Kahana showed in 1999 that contiguity survives the arithmetic too: words separated by seconds of arithmetic still bring back their neighbours. Recency and contiguity, at the scale of seconds and of seasons, with no short-term store to explain them. They call for one mechanism that works on every time scale, and the next chapters look for it.

What it does: The lag-CRP derived; contiguity and its lean; 126 people one at a time; long-term recency

4What you do with itPsych 101 and the major4 min

If memory is a store, what goes into it should depend on whether you try to put it there. In 1972 Fergus Craik and Robert Lockhart proposed instead that memory is a by-product of processing: of what you do with the thing at the time. Craik and Endel Tulving tested it with one word at a time and a question about it. Is the word in capital letters? Does it rhyme with weight? Does it fit the sentence, he met a blank in the street? Then, without warning, a recognition test. Words judged for their case were recognised about fifteen percent of the time; for their rhyme, forty-eight; for their meaning, eighty-one. In another experiment people were told in advance that there would be a test. It helped the shallow questions a little, and the meaning question not at all. Trying to remember matters much less than what you do while you try. But deep is not simply better. In 1977 Donald Morris, John Bransford and Jeffery Franks tested memory by asking which test words rhymed with studied words. On that test, words studied for their rhyme won. Memory works best when the processing at test matches the processing at study, a principle called transfer-appropriate processing. It's the first sign of the idea this part keeps returning to: remembering is a match between a cue and a trace.

A second way to change what you remember is to make the word yourself. In 1978 Norman Slamecka and Peter Graf had people either read a pair, rapid and fast, or generate the second word from a clue, rapid and a word beginning with f that means the same. Generated words were remembered better. The advantage was not just more time spent on the word, and it appeared in recognition, cued recall and free recall. It has been tested hundreds of times since. Sharon Bertsch and her colleagues combined effect sizes from studies in 2007: a mean advantage of about standard deviations, real and moderate. It's smallest in free recall, where generating each word on its own seems to cost the links between them. It belongs with the testing effect of Part 21: work you put into producing a memory is work well spent.

The oldest technique of all is said to go back to the Greek poet Simonides. Take a route you know well, your house say, and leave each thing you have to remember at a place along it, as a vivid picture: a candle burning at the door, a horse in the hall, a pencil on the stairs. To recall, walk the route again. In 2017 Martin Dresler and his colleagues studied twenty-three of the world's best memory athletes. After twenty minutes they recalled of words on average, against about for matched controls. Then they trained novices: thirty minutes a day for forty days. Their recall rose far more than that of two control groups, one of which trained working memory instead, and it was still higher four months later. And the way their brain regions worked together came to resemble the athletes'. The athletes, it seems, weren't born different; they practised. Notice why it works. The route supplies a fixed sequence of cues, one for each item. The method of loci is context, built on purpose, and by chapter seven you'll see why that is exactly what memory needs.

What it does: Levels of processing; transfer-appropriate processing; generation; the method of loci

5The cue and the tracePsych 101 and the major5 min

What makes a good cue? The obvious answer is a strong association: white is a much better reminder of black than train is. In 1973 Tulving and Donald Thomson had people study words beside weak associates: train, then black, in capitals. At test, the strong associate, white, often failed to bring the word back; people sometimes failed even to recognise black when they saw it again. The weak cue they had studied, train, brought it back. Tulving called this the encoding specificity principle. A cue helps to the extent that it was part of what was stored, whatever its strength in general. The trace is not a word in a filing cabinet, found by its subject heading. It is a record of a moment, and it's found again by things that were part of that moment.

If the trace holds the moment, the place you were in should be a cue. In 1975 Duncan Godden and Alan Baddeley tested this with student divers, near Oban on the west coast of Scotland. The divers heard lists of thirty-six words, either on the beach or about seven metres under the sea. Four minutes later they wrote down what they remembered, in the same place or the other one, and every diver did all four combinations. Words learned on land were best recalled on land; words learned under water, under water. About percent more words when the places matched. It's one of the most famous experiments in psychology, in every introductory textbook. It had never been repeated.

In 2021 Jaap Murre in Amsterdam ran it again. Sixteen divers, the same design: lists of thirty-six words heard on land or under water, and recall four minutes later in one place or the other. There were differences: the water was a heated pool less than two metres deep, not the cold open sea, and all four conditions were run in one session rather than over four days. His data are open, so these bars are computed from them. Words learned on land were remembered better than words learned under water, wherever they were recalled. But the effect the study was about isn't there. Here is each diver's own context effect: the average recall in the same place, minus the average in the other. The mean is words, slightly the wrong way. An exact test that flips the sign of each diver's effect in all sixty-five thousand ways gives a p of , for an effect in the opposite direction to 1975's four words. Does that mean context doesn't matter? No. Steven Smith and Edward Vela combined dozens of studies in 2001, and environmental context effects are real but small, around a quarter of a standard deviation. They shrink when other cues are strong, and they shrink again when people at test are asked to picture the room where they learned. Imagining yourself back does much of the work of going back. That fact is the basis of a police interview technique, in chapter fourteen.

The place you're in is one part of the context. Your own state is another. In 1969 Donald Goodwin and his colleagues found that what people learned after drinking was recalled better when they had been drinking again than when sober: state-dependent memory. Eric Eich's review in 1980 found a telling pattern. State effects show up in free recall, when the person has to supply their own cues, and disappear when a good cue is supplied. Mood works the same way, weakly. So here's the lesson of the chapter. Remembering is a match between a cue and a trace, and the cue that is present every time, whether you like it or not, is your own state of mind at that moment. That suggests a model. Suppose a slowly changing internal state is stored along with everything you experience. Then the chapters ahead almost write themselves.

What it does: Encoding specificity; the divers; Murre's replication from open data; state dependence

6Searching associative memoryResearch3 min

The first great model of the search grew straight out of the two-store story. Jeroen Raaijmakers and Richard Shiffrin called it the search of associative memory, SAM, in 1981. At study, words pass through a rehearsal buffer with room for about four. Each new word enters; when the buffer is full, a word chosen at random leaves to make room. Every moment a word spends in the buffer strengthens its association to the context of the list, and to every other word sharing the buffer with it. The first words have the buffer to themselves for a while before it fills, so they stay longest and grow strongest: that's primacy, Rundus's extra rehearsal, as a mechanism. And the last words are still in the buffer at the end, ready to be reported first: recency.

At test, SAM first reports whatever is still in the buffer. Then it searches long-term memory, using two cues at once: the context of the list, and the word it has just recalled. A word is sampled with a probability proportional to the product of its strengths to the two cues, and once sampled it is recovered, or not, with a probability that grows with the same strengths. After a run of failures, the search stops. It's a beautiful machine. With a handful of parameters it gives the serial-position curve, a reason why one word leads to the next, and a reason why people stop.

Let's run it, with parameters set by hand, on four thousand lists of sixteen words. It produces primacy and recency, both from the buffer, and a flat middle. It produces contiguity too: words that shared the buffer are linked, so one leads to the next. But look at the shape. SAM's links are made by being in the buffer together, and that is a symmetric relation. Its curve is as high at minus one as at plus one. People's is not. And remember Bjork and Whitten. Arithmetic after every word means the buffer is always emptied, so SAM predicts that recency should vanish, and that contiguity should vanish with it. Neither does. Something other than a buffer is producing them.

What it does: SAM's buffer, search and stopping; simulated against the data

7A context that driftsResearch5 min

Here is the idea that replaced the buffer. Suppose that at every moment there is a state of mind, a context, which changes slowly. Represent it as a vector of unit length. When a word arrives, it brings an input of its own, and the context takes a step of size beta toward that input. To keep the vector at length one, the old context has to shrink by a factor rho, and requiring the length to be one gives rho exactly. For unrelated words, each input is orthogonal to the context before it, and rho is simply the square root of one minus beta squared. Each step, a fixed share of the old context fades, and the newest word's contribution is added. Marc Howard and Michael Kahana called this the temporal context model in 2002. Sean Polyn, Kenneth Norman and Kahana extended it, in 2009, into the context maintenance and retrieval model, CMR, which is the version Psyche runs.

Unroll the recursion. The context at word i is a weighted sum of every input so far, each one shrunk by a factor rho for every step since it arrived. So the contexts of two words are similar in proportion to rho raised to the number of steps between them. Here is that similarity for every pair of words in a sixteen-word list, in the model fitted in the next chapter. Words near each other in time have similar contexts; words far apart, different ones. Averaged by lag, the similarity falls off on both sides, geometrically. Nothing about the words themselves is shared. Neighbours are similar only because they were experienced in nearly the same state of mind.

Now bind each word to its context. At study, an association matrix from context to words learns the outer product of the word and the context it was studied in. At test, the context at that moment is the cue. Its match to word i is the similarity of the two contexts, which falls as rho to the power of the steps since word i. The words compete through a choice rule, as in Part 19's SIMPLE model, and the last word, whose context is closest to now, wins most often. Recency, and the tendency to start at the end, with no short-term store at all. Add thirty seconds of counting before recall, and the context drifts away from all of the words, so the last one loses its special advantage over the others and over the other cues. Recency fades, as Glanzer and Cunitz found. But fill the gaps after every word with arithmetic, and the words are spread apart by the same kind of drift that pushes the last one back. The choice rule only cares about ratios, so the last word can stand out from its neighbours again, as Bjork and Whitten found. That's the argument for the ratio rule, on any time scale. An argument isn't yet a model, though: in the next chapter we fit one, and test it on exactly these two experiments.

And now the order of recall. When a word is recalled, the model retrieves context with it, through a second set of associations, from words to context. What comes back is a mixture: a share of the word's own features, and a share gamma of the context the word was studied in. The word's features entered the context just after the word was studied, and lingered, shrinking by rho each step. So they match the words that followed it, and not the words before. On their own they make the next recall jump forward. The retrieved study context is the state of mind just before the word arrived. It matches the words on both sides, and if anything leans backward, toward the word before. The mixture gives contiguity that leans forward, which is what the data show. Recency, the start at the end, contiguity and its asymmetry: all from one slowly drifting state of mind. Whether it also survives distraction is the next chapter's test.

What it does: The drift derived; context similarity; recency and the ratio argument; contiguity's forward lean

8Fitting the context modelResearch5 min

A model this specific can be fitted properly. Take one person's recall of one list: sixteen, fifteen, fourteen, one, two, then stop. Run the model along that exact sequence. At each step, ask what probability it gave the word the person actually said, given everything said so far. Stopping is data too: the model has a probability of stopping after each recall, and the sequence ends with one. The product of all those probabilities, over all the lists, is the likelihood. We fit on half the lists, every other one, and keep the other half aside to test. There are nine parameters, held in their ranges by a logistic transform, and the simplex method of Nelder and Mead finds the values that make the observed sequences most probable. This uses every single transition people made, not just three summary curves, and it's exact, with no simulation noise. It's how the context model is fitted in current research.

Here are the nine numbers. The drift at study is large: beta is , so rho is , and most of the context is renewed with each word. Recency in immediate recall is steep, and the model has to make it so. Gamma, the share of study context in what a recall brings back, is . Most of what comes back is the word's own features, the forward-leaning part. The first words carry a large extra strength that falls away within a few positions, the model's stand-in for Rundus's extra rehearsal. And the stopping rule grows steeply with each recall. None of these numbers was chosen to make a picture. They are the values that make three and a half thousand recall sequences most probable.

Now the test. These are the lists held out from the fit. The serial-position curve, the probability of first recall, and the lag-conditional response probability, in the data and in the fitted model, simulated. The model starts recall at the end of the list as people do, reproduces the U shape, and gives a lag curve that peaks at plus one and leans forward. A sharper test uses every held-out recall. For each word a person said, how much did each account expect it? Measured in bits, lower is better. Choosing at random among the words left costs bits per recall. Knowing only the serial-position curve, . The context model, : it predicts which word comes next far better than position alone can. And it's honest to say what it misses. It gives the first words too little advantage, the peak at plus one too little height, and the middle of the list a little too much. The full versions of the model add each word's meaning, so that related words cue each other, and a separate context for the task at study; they close much of that gap.

Finally, the two experiments that broke the two-store story. A distractor task, in the model, is a drift toward new context that belongs to no word. Put a long stretch of it between the last word and recall. Recency goes, and recall now tends to start at the beginning of the list: Glanzer and Cunitz's result, with no short-term store to empty. Now put the same distraction after every word. If the ratio argument of the last chapter held in this model, the last words would stand out again. They don't. Our fitted model fails Bjork and Whitten's test. The reason is instructive. Once every word is far away, what's left is the pull back to the start of the list and the first word's extra strength, and they don't shrink with the rest, so they win. The versions of the model that pass this test, beginning with Per Sederberg, Howard and Kahana's in 2008, let the words race against noise, so that what matters is how much a word stands out from its neighbours. A model fitted to one kind of experiment and tested on another is how you find what it is missing.

What it does: The likelihood; the fitted parameters; the held-out test in bits; tested on two other designs

9Memories as valleysResearch3 min

The context model describes what memory does. How might neurons do it? In 1982 the physicist John Hopfield wrote down a network that stores memories and recalls them from fragments. It has N units, each either on or off, plus or minus one, and every unit is connected to every other, with the same weight in both directions. To store a set of patterns, use Hebb's rule from Part 5: strengthen the connection between two units whenever they agree in a pattern, and weaken it when they disagree. To recall, update the units one at a time: each takes the sign of the weighted input from the others. Hopfield showed that this rule can only lower a quantity he called the energy, or leave it unchanged. So the network can't wander forever; it has to come to rest. And the stored patterns sit at the bottoms of valleys of that energy. Start the network near one of them, and it rolls down into it.

Here it is with a hundred units on a ten by ten grid, storing eight patterns. One of them is a ring; the other seven are random. Cue the network with the ring corrupted, a third of its units flipped. Now let it run. Each unit, in turn, takes the sign of its input. Watch the energy on the right fall with every sweep, and the picture clean itself up. Within one sweep through the units, the ring is back, and the energy stops falling. This is content-addressable memory. There's no address, no file name, no index card: a part of the memory is the cue that recovers the whole, just as a smell or a fragment of a tune brings back a scene. A computer looks memories up by where they are. A Hopfield network looks them up by what they contain.

How many memories can such a network hold? Set the network to a stored pattern and look at the input to one unit. It splits in two. The first part is the pattern itself, pulling the unit toward the right value. The second is crosstalk from every other stored pattern, and for random patterns it's noise whose variance is about P over N, the number of patterns per unit. With few patterns, the signal wins everywhere. As P over N grows, some units start to flip, and each flipped unit makes the noise worse for the others. Daniel Amit, Hanoch Gutfreund and Haim Sompolinsky worked out the limit exactly in 1985, with the tools of statistical physics. Recall collapses suddenly near 0.138 patterns per unit. Here's the collapse computed, in a network of two hundred units. The idea has had a second life. Modern Hopfield networks, with a sharper energy, store vastly more, and their update rule turns out to be the attention of a transformer. That story is told in AI, Built.

What it does: A Hopfield network; recall by settling; capacity derived and computed

10One memory or many?Psych 101 and the major3 min

Part 7 introduced Henry Molaison, known for fifty years as the patient H.M. In , to stop his seizures, the surgeon William Scoville removed the inner part of both temporal lobes, including most of the hippocampus. The seizures eased. But from then on he could not form new memories of facts or events. He met Brenda Milner, who studied him for decades, as a stranger every time. A great deal was untouched: his intelligence, his language, memories from long before the operation, and his span, which was normal. Holding a few digits for a few seconds was fine; it was laying down anything lasting that had gone. And Milner found something else. Asked to trace a star while watching his hand in a mirror, he improved over three days like anyone else, while saying each day that he had never done it before. Two splits at once: short-term from long-term memory, and knowing that from knowing how.

Patients like H.M. led to a map. In 1972 Endel Tulving separated episodic memory, for events you were there for, from semantic memory, for facts you know without remembering learning them. Larry Squire's taxonomy puts both under declarative memory, which depends on the hippocampus and the medial temporal lobe and can be brought to mind. Under non-declarative memory go skills, priming and conditioning, which show themselves in performance and live in the basal ganglia, the cerebellum and the cortex itself. But remember the warning from Part 7. A dissociation, in which a patient fails one test and passes another, is evidence for separate systems, not proof. One system tested in two different ways can produce the same pattern, if one test is simply more sensitive than the other. The next example shows how carefully that has to be checked.

In 1970 Elizabeth Warrington and Lawrence Weiskrantz found that amnesic patients, who could not recall a list of words, were helped by fragments of those words as much as anyone. Peter Graf, Larry Squire and George Mandler made the test exact in 1984. After studying a list including motel, people saw the first three letters of words, M O T. Told to complete each stem with the first word that came to mind, amnesic patients produced studied words as often as healthy people did: the list had primed them. Told to complete the same stems with words from the list, the healthy people improved and the patients did not. Same words, same cues, same patients; only the instruction changes, from use to remember. That's about as clean a dissociation as there is, and it's the strongest case that remembering and being influenced by the past rest on different systems.

What it does: H.M.; a map of memory systems; priming in amnesia

11Knowing and rememberingPsych 101 and the major3 min

So far we've asked people to recall. Recognising is different, and George Mandler gave the classic example. You see a man on a bus, and his face is familiar. You know you know him, and that is all you know. Then it comes to you: he's the butcher from the shop on the corner. Two things happened. First familiarity, a graded feeling of having met something before, which arrives quickly. Then recollection: the episode itself, where and when, comes back, all at once or not at all. Tulving found in 1985 that people can report which they have. Asked about each word they recognise, they can say I remember seeing it, or I just know it was there. Recall needs recollection. Recognition, it seems, can run on either.

Can you see two processes in the data? Part 12 drew receiver operating characteristics for recognition, by asking for confidence. Andrew Yonelinas's dual-process model treats recollection as a threshold: some studied items are simply remembered, and the rest are judged by familiarity, a graded signal of the kind Part 12 described. That lifts the left end of the curve, because recollection produces hits without any false alarms. The rival model has only one graded strength, but studied items vary more in strength than new ones, the unequal-variance model, whose z-transformed slope of about 0.8 Part 12's Ledger entered as replicated. Draw both, and in ROC space they are almost the same curve. Transform to z scores and the difference shows: a straight line for one process, and a slight bend for two. A slight bend is hard to measure. Telling the models apart needs many confidence levels and many trials, and this is one of the longest-running arguments in memory research.

The argument extends into the brain. On one view, the hippocampus does recollection and the perirhinal cortex beside it signals familiarity. Some patients whose damage is limited to the hippocampus seem to have lost recollection while keeping familiarity. On the other view, argued by John Wixted and Larry Squire, the hippocampus supports both, and remembering, as opposed to knowing, is simply what strong memory feels like. They point out that remember and know judgments behave very much like high and low confidence on a single scale. The lesson is the one from the last chapter. A dissociation is only as good as the match between the two tests. And the tool is the one from Part 12: a model of the decision, which turns a debate about words into one about curves.

What it does: Familiarity and recollection; two ROC models; where the two processes are

12The hippocampus as an indexResearch4 min

How does the hippocampus fit in? An influential answer is that it doesn't store the memory at all, only an index to it. An episode, the butcher's face, his voice, the shop, the smell of the place, is represented across many areas of the cortex. On Timothy Teyler and Pascal DiScenna's indexing theory, the hippocampus stores a small, sparse pattern that points to all of those pieces at once, binding them into one event. Later, a cue reactivates a part of the pattern. The index lights up, and drives the rest of the cortex back into the state it was in. The completion step looks like chapter nine. A region of the hippocampus called CA3 is full of connections from its own cells back onto each other, the anatomy of an attractor network, as David Marr proposed in 1971.

An index has a problem. Where you parked this morning and where you parked yesterday are almost the same memory: same car park, same car, same time of day. If their indexes overlap too much, one will overwrite the other, and you'll walk to yesterday's space. The dentate gyrus, the entrance to the hippocampus, seems built to prevent this. It has many more cells than the region that feeds it, and only a few percent are active at a time. Here's what that architecture does in a small simulation: two hundred input units projecting to two thousand cells, of which only the most strongly driven two percent fire. Pairs of inputs that overlap a little get codes that barely overlap at all, and even very similar inputs get codes that are much less alike. Inputs sharing eighty percent of their active units get codes sharing . In rats, small changes to a familiar room change the firing of dentate gyrus cells much more than they change the room. So the hippocampus needs both: separation, to store similar events apart, and completion, to recall a whole event from a part. The two pull against each other, and how the circuit balances them is an active question.

If memory search runs on a drifting context, the brain should contain one. In 2011 Christopher MacDonald, Howard Eichenbaum and their colleagues recorded from the hippocampus of rats waiting through an empty delay. Cells fired one after another, each at its own moment, like place cells for time. A population that changes slowly and steadily is exactly the kind of signal a drifting context needs. The same year, Jeremy Manning, Kahana and their colleagues recorded from electrodes implanted in patients being treated for epilepsy, while they did free recall. Just before a word was recalled, the pattern of brain activity resembled the pattern from when that word was studied, and also the patterns of its neighbours in the list. That is context reinstatement, the model's central claim, seen in the brain. And Part 5's engram experiment showed that reactivating the cells active during learning, by light, brings back a memory in mice. What those cells hold, the thing remembered or its context, nobody yet knows.

What it does: Indexing theory; pattern separation computed; time cells, reinstatement and engrams

13The LedgerPsych 101 and the major3 min

Six rows today. The first: in free recall the first and the last few items of a list are recalled best, and recall usually starts at the end. The original: Murdock, 1962. The record: Glanzer and Cunitz's dissociation, Bjork and Whitten's long-term recency, and the PEERS data we measured today, where Healey and Kahana found the curve in almost every person. The shape is not in question. Its explanation moved from two stores to a drifting context. Replicated.

The second: after recalling one item, people tend to recall next an item studied near it, more often forward than backward. The original: Kahana, 1996. The record: Howard and Kahana, under continual distraction; Healey and Kahana, person by person; and a 2019 review by Healey, Nicole Long and Kahana that finds it across tasks, materials and time scales. It is weaker in some people and some designs, and strong almost everywhere. Replicated.

The third: words processed for meaning are remembered better than words processed for sound or appearance. The original: Craik and Tulving, 1975. The record: the effect has been found in countless studies, and Morris, Bransford and Franks showed its limit: a test that asks about sound reverses it. The effect is solid. Depth as a theory was criticised for having no measure of depth except the memory it was meant to explain. Replicated.

The fourth: words people generate are remembered better than words they read. The original: Slamecka and Graf, 1978. The record: Bertsch and colleagues' meta-analysis of eighty-six studies, and a larger one by Matthew McCurdy and colleagues in 2020. About half a standard deviation on average, and smallest in free recall, where it depends most on the design. Replicated.

The fifth: a cue helps retrieval when it was part of what was encoded, and words can be recalled to a weak cue that were not recognised when seen. The original: Tulving and Thomson, 1973. The record: Tulving and Wiseman's analysis of the many studies of recognition failure, which follow a lawful relation between recognition and recall. The phenomenon is robust; how general the principle is, and whether it can be tested without circularity, has been argued since. Replicated.

And the sixth: divers recall words better in the environment where they learned them, on land or under water. The original: Godden and Baddeley, 1975. The record: Smith and Vela's meta-analysis of environmental context effects, and Murre's direct replication in 2021. Context effects in general are real and small. The large underwater effect was not found again, in a replication that differed in important ways: a shallow, warm pool and a single session. Contested.

What it does: Serial position; contiguity; levels; generation; encoding specificity; the divers

14In practice: interviews, surveys, the clinicPractice3 min

In the 1980s Ronald Fisher and Edward Geiselman set out to build a police interview for witnesses out of what the laboratory had learned about recall. It has four main instructions. Reinstate the context: picture the place, the light, how you felt. Report everything, even what seems trivial. Go through the events in a different order. And describe them from another person's point of view. Each is a chapter of this part: context as a cue, many cues instead of one, and a search that starts from somewhere new. Günter Köhnken and his colleagues combined studies in 1999. The cognitive interview drew many more correct details than a standard interview, an effect of standard deviations, and a small increase in errors as well. Because both rose, accuracy hardly changed: percent of details correct, against . More is remembered, and what is remembered is no less reliable. Versions of it are used by police in Britain and elsewhere, and Part 56 takes it into the courtroom.

Surveys depend on recall all the time: how many times did you see a doctor last year, were you a victim of a crime? A well-known error is telescoping. People remember events as more recent than they were, and pull them into the period being asked about, so they report too much. Elizabeth Loftus and Wesley Marburger found that anchoring the question to a landmark, an event everyone remembers, reduces it: the period then has an edge that memory can find. The lesson from encoding specificity is direct. A date is a poor cue, because dates are rarely part of what was stored. Events are good cues. So good questionnaires first ask about the period, its landmarks and routines, and then about what happened in it. Calendars and diaries used in research work the same way: the cue that works is part of the episode.

And the clinic. Almost every neuropsychological assessment includes a word-list test like the one you took today. A list of fifteen words is read aloud and recalled, five times over; then a second list is read, to interfere; then the first is recalled again, after a delay, and finally recognised. The Rey test and the California test are the best known. Each stage asks a different question: how fast does the person learn, how much is lost to interference, how much survives the delay? The pattern matters. If recall fails but recognition is fine, the trouble is in the search; if both fail, the memory was never stored. Even the serial-position curve is used. In early Alzheimer's disease, recall of the first words, which depends on long-term storage, falls before recall of the last few. It's chapter two's curve, read for one person, against norms for their age.

What it does: The cognitive interview; telescoping and landmarks; word-list tests

15Frontier: from lists to livesResearch3 min

Three open questions. The first is whether memory is one system or many. The systems view rests on dissociations like Graf, Squire and Mandler's: amnesia spares priming, so priming must use a different store. But Christopher Berry, David Shanks and Richard Henson showed in 2008 that a model with a single memory strength, read out by two tests that differ only in how noisy they are, reproduces those dissociations, and makes quantitative predictions that the systems view does not. The way to decide is to fit both kinds of model to the same people's priming and recognition, trial by trial, as we fitted the context model today. At stake is whether the boxes in the textbook diagram are parts of the brain, or ways of testing one memory.

The second question is whether laws found with lists of words describe a life. Everything today came from lists studied for a minute and recalled at once. In 2019 Mitchell Uitvlugt and Karl Healey asked people to recall news stories from the previous months. Stories that broke close together in time were recalled together, even when they had nothing else in common. Contiguity seems to have no preferred time scale: it appears from seconds to months. But is the context of a life a single drifting vector, or a hierarchy of them, one for this hour, one for this year? And what happens at a boundary, walking through a door, starting a new job, moving to a new city? Those are some of the most active questions in memory research.

And the third question comes from an unexpected place. Large language models contain attention heads called induction heads. Having just seen a token, one looks back for an earlier occurrence of the same token, and predicts whatever came after it. Seen from memory research, that's a lag-conditional response probability: a strong lean to plus one from the matched item. In 2024 Li Ji-An, Corey Zhou, Marcus Benna and Marcelo Mattar showed that some of these heads behave like the context maintenance and retrieval model, and that the model can be rewritten as a kind of attention head. Add chapter nine, where attention turned out to be a Hopfield network's update, and the machinery of human memory search has turned up, twice, inside the machines. Is that a coincidence, or is it what any good memory for sequences has to do? Nobody knows yet.

What it does: One system or many; context from lists to lives; a context model inside language models

Recap, problems, and the road aheadAll tracks4 min

Part twenty in ten lines. Savings show memory that recall cannot, and forgetting is fast and then ever slower, like the odds that a memory will be needed. Recall favours the first and the last words of a list, and starts at the end. One word brings back its neighbour, forward more than backward, in almost every person. What you do while studying, and how well the test matches it, decide what comes back. Context helps a little, and the famous divers did not replicate. SAM's buffer gives both ends of the curve, but symmetric contiguity and no long-term recency. A drifting context gives recency, contiguity and its forward lean, and explains why a delay ends recency. Fitted by maximum likelihood, it predicts each next word far better than position alone, and fails one test that tells us what it lacks. A Hopfield network completes a memory from a part of it, up to about 0.14 memories per unit. And memory has systems, or one system tested in many ways, with the hippocampus as the index that separates and binds.

Kant's wager. The first objection, that mathematics can't apply to the mind, met a model of memory search with nine parameters, fitted to every recall of three and a half thousand lists, and checked on lists it had never seen. And the second, that the mind can't be experimented on, met divers on a beach and under the sea, and then, forty-six years later, the experiment done again.

Where this comes back. Forgetting, consolidation and false memories are Part 21. Semantic memory and concepts are Part 22. Memory across the lifespan is Part 31. Fitting and comparing models like the ones today is Part 48. Spacing, testing and the classroom are Part 54. Witnesses and interviews are Part 56. And memory in machines is Part 60.

Seven problems, with full solutions in this part's README. One computes a saving. One works a lag-CRP by hand. One derives the drift of context. One shows why a choice rule ignores a common factor, and what that says about recency. One proves that a Hopfield network must settle. One redoes the divers' test and asks how much power it had. And the last, with the star, asks you to design the experiment that could settle one memory against many. Pause here if you'd like to try them.

The books and papers behind this part are listed here and in the README. Michael Kahana's Foundations of Human Memory is the best single book on the models of this part; Baddeley, Eysenck and Anderson's Memory is the broadest introduction.

Today memory was a search, and a good one. But a search that reconstructs can also invent. In 1974 Elizabeth Loftus showed people a film of a car crash and asked how fast the cars were going when they hit each other, or when they smashed into each other. A week later, those who heard smashed were more likely to remember broken glass. There was none. It's Part 21: memory, forgetting and inventing.

Where it goes next. Forgetting, consolidation and false memories are Part 21, semantic memory Part 22, the lifespan Part 31, model fitting and comparison Part 48, spacing and testing Part 54, witnesses and interviews Part 56, and memory in machines Part 60.

Key results

The part's results in one place, for revision.

Savings\(\displaystyle \text{savings} = \frac{T_{\text{first}} - T_{\text{again}}}{T_{\text{first}}}\)
Lag-CRP\(\displaystyle \text{CRP}(\ell) = \frac{\#\,\text{transitions of lag } \ell}{\#\,\text{times lag } \ell \text{ was possible}}\)
The drift of context\(\displaystyle \mathbf{c}_i = \rho_i\,\mathbf{c}_{i-1} + \beta\,\mathbf{c}^{\text{IN}}_i\)
Context similarity\(\displaystyle \mathbf{c}_i \cdot \mathbf{c}_j \approx \rho^{\,|i-j|}, \quad\allowbreak \rho = \sqrt{1 - \beta^2}\)
ACT-R's activation\(\displaystyle B = \ln \sum_j t_j^{-d}\)
Hopfield's rule and energy\(\displaystyle W = \tfrac{1}{N}\sum_\mu \xi^\mu \xi^{\mu\top}, \quad\allowbreak E = -\tfrac{1}{2}\,\mathbf{s}^\top W \mathbf{s}\)

Try it

Lab 20 · Memory: forgetting, free recall, context, attractors

Fit three forgetting laws to Ebbinghaus's savings; measure serial position and contiguity on real free recall; see SAM's buffer give symmetric contiguity and a drifting context give a forward lean; score the context model's likelihood on held-out lists against serial position alone; redo the divers' test exactly; and find where a Hopfield network runs out of room.

Figure produced by Lab 20: Memory: forgetting, free recall, context, attractors
Produced by the lab below, seed 0, in 1.7 s.
python -m videos.psychology.labs 20 needs numpy, scipy, matplotlib · download lab20.py · source on GitHub
ebbinghaus law: parameters, residual SS                                  1.82, 1.21; 18.8
power law: parameters, residual SS                                       82.5, 0.131; 25.5
exponential law: parameters, residual SS                                 40, 4.82e+04; 580.2
free-recall data                                                         PEERS (Kahana lab), as packaged with psifr: 3528 lists
serial position 1, 8, 16                                                 0.82, 0.56, 0.92
first recall from position 16                                            0.45
lag-CRP at -3..+3                                                        0.08, 0.11, 0.26, -, 0.45, 0.12, 0.09
SAM: CRP at -1, +1                                                       0.20, 0.24
CMR (fitted values): CRP at -1, +1                                       0.24, 0.37
bits per held-out recall: serial position alone, context model           3.20, 2.63
Murre (2021): mean context effect (words), exact sign-flip p             -1.25, 0.055
Godden and Baddeley (1975): same minus other place (words)               +3.95
Hopfield, N = 200: share recalled at P/N = 0.05, 0.10, 0.14, 0.18, 0.25  1.00, 0.95, 0.75, 0.20, 0.05
overlap of codes for inputs overlapping 20, 50, 80%                      0.02, 0.13, 0.37

Power and Ebbinghaus's laws fit his savings; an exponential cannot. Real recall shows primacy, recency, a start at the end and a forward-leaning contiguity. SAM's contiguity is symmetric; the context model's leans forward, and it predicts each next held-out word better than serial position alone. Murre's divers show no context effect. A Hopfield network fails near 0.14 patterns per unit; a sparse expansion makes similar inputs less alike.
The code (108 lines; it asserts its own result)
"""Lab 20: Ebbinghaus's savings with three laws; serial position, first recall and the lag-CRP on the PEERS open data
(or, offline, on Psyche's context model); SAM's symmetric contiguity against CMR's forward lean; the context model's
exact likelihood, with a held-out comparison against serial position alone; Murre's divers with an exact sign-flip
test; a Hopfield network's capacity; and pattern separation by a sparse expansion."""

import numpy as np

from videos.coursekit import labs
from explainer.psychology import archive, opendata
from explainer.psychology.psyche import memory as M

TITLE = "Memory: forgetting, free recall, context, attractors"
GOAL = ("Fit three forgetting laws to Ebbinghaus's savings; measure serial position and contiguity on real free "
        "recall; see SAM's buffer give symmetric contiguity and a drifting context give a forward lean; score the "
        "context model's likelihood on held-out lists against serial position alone; redo the divers' test exactly; "
        "and find where a Hopfield network runs out of room.")
TASKS = [
    "Compute the lag-CRP of the sequence 16, 15, 14, 1, 2, 9 by hand, then check it with `memory.lag_crp`.",
    "Set `gamma_fc` to 0 and then to 0.9 in `memory.cmr_simulate`. What happens to the forward lean of the lag-CRP, "
    "and why?",
    "With Murre's per-diver effects, how many divers would a test need for 80% power to detect the 1975 effect of "
    "four words, at his spread?",
]

# CMR at the values Part 20 fitted to half of PEERS (videos/psychology/psych20, item `cmr`)
FITTED = {"B_enc": 0.9494, "B_rec": 0.916, "B_start": 0.0443, "gamma_fc": 0.1067, "phi_s": 8.5093, "phi_d": 1.5536,
          "tau": 1.1928, "stop_s": 0.0071, "stop_r": 0.2987}


def run(seed=0):
    out = labs.Lab()
    rng = np.random.default_rng(seed)

    # 1. Ebbinghaus
    e = archive.EBBINGHAUS_1885.data
    f = M.fit_forgetting(e["minutes"], e["saving"])
    for law in ("ebbinghaus", "power", "exponential"):
        out.row(f"{law} law: parameters, residual SS", ", ".join(f"{v:.3g}" for v in f[law]["params"])
                + f"; {f[law]['sse']:.1f}")
    assert f["power"]["sse"] < f["exponential"]["sse"]  # fast, then slow: not exponential

    # 2. free recall: the open data if it can be fetched, else the context model
    if opendata.available("peers_free_recall"):
        R = opendata.peers_free_recall()["recalls"]
        source = "PEERS (Kahana lab), as packaged with psifr"
    else:
        R = M.cmr_simulate(16, 3000, FITTED, rng)
        source = "Psyche's context model (offline: the open data could not be fetched)"
    s = M.recall_summary(R, 16, max_lag=3)
    out.row("free-recall data", f"{source}: {len(R)} lists")
    out.row("serial position 1, 8, 16", f"{s['spc'][0]:.2f}, {s['spc'][7]:.2f}, {s['spc'][15]:.2f}")
    out.row("first recall from position 16", f"{s['pfr'][15]:.2f}")
    out.row("lag-CRP at -3..+3", ", ".join("-" if np.isnan(v) else f"{v:.2f}" for v in s["crp"]))
    assert s["spc"][15] > s["spc"][7] and s["crp"][4] > s["crp"][2]  # recency; a forward lean

    # 3. SAM against CMR
    sam = M.recall_summary(M.sam_simulate(16, 2000, rng=rng), 16, max_lag=1)
    cmr = M.recall_summary(M.cmr_simulate(16, 2000, FITTED, rng), 16, max_lag=1)
    out.row("SAM: CRP at -1, +1", f"{sam['crp'][0]:.2f}, {sam['crp'][2]:.2f}")
    out.row("CMR (fitted values): CRP at -1, +1", f"{cmr['crp'][0]:.2f}, {cmr['crp'][2]:.2f}")

    # 4. the likelihood on held-out lists: CMR against serial position alone
    fit_half, test_half = R[::2], R[1::2][:600]
    cm = M.cmr_loglik(FITTED, test_half, 16, parts=True)
    base = M.position_choice_loglik(M.spc(fit_half, 16), test_half, 16)
    bits_c, bits_p = (-x["choice"] / x["recalls"] / np.log(2) for x in (cm, base))
    out.row("bits per held-out recall: serial position alone, context model", f"{bits_p:.2f}, {bits_c:.2f}")
    assert bits_c < bits_p  # the context model predicts the next word better

    # 5. the divers
    if opendata.available("murre_2021"):
        S = opendata.murre_2021()["scores"]
        eff = (S[:, 0] + S[:, 3]) / 2 - (S[:, 1] + S[:, 2]) / 2
        signs = ((np.arange(2 ** len(eff))[:, None] >> np.arange(len(eff))) & 1) * 2 - 1
        p = np.mean(np.abs((signs * eff).mean(1)) >= abs(eff.mean()) - 1e-12)
        out.row("Murre (2021): mean context effect (words), exact sign-flip p", f"{eff.mean():+.2f}, {p:.3f}")
    gb = archive.GODDEN_BADDELEY_1975.data["means"]
    out.row("Godden and Baddeley (1975): same minus other place (words)",
            f"{(gb[0] + gb[3] - gb[1] - gb[2]) / 2:+.2f}")

    # 6. Hopfield capacity
    h = M.hopfield_capacity(200, [0.05, 0.10, 0.14, 0.18, 0.25], trials=20, rng=rng)
    out.row("Hopfield, N = 200: share recalled at P/N = 0.05, 0.10, 0.14, 0.18, 0.25",
            ", ".join(f"{v:.2f}" for v in h["recalled"]))
    assert h["recalled"][0] > h["recalled"][-1]

    # 7. pattern separation
    sep = M.pattern_separation([0.2, 0.5, 0.8], pairs=20, rng=rng)
    out.row("overlap of codes for inputs overlapping 20, 50, 80%", ", ".join(f"{v:.2f}" for v in sep))

    out.note = ("Power and Ebbinghaus's laws fit his savings; an exponential cannot. Real recall shows primacy, "
                "recency, a start at the end and a forward-leaning contiguity. SAM's contiguity is symmetric; the "
                "context model's leans forward, and it predicts each next held-out word better than serial position "
                "alone. Murre's divers show no context effect. A Hopfield network fails near 0.14 patterns per unit; "
                "a sparse expansion makes similar inputs less alike.")

    fig, ax = labs.figure(2, size=(11, 4.2))
    x = np.arange(1, 17)
    ax[0].plot(x, s["spc"], color=labs.GOLD, lw=1.8, marker="o", ms=3, label="recalled")
    ax[0].bar(x, s["pfr"], color=labs.BLUE, alpha=0.6, label="recalled first")
    ax[0].set(title=f"Serial position: {source.split(' (')[0]}", xlabel="position in the list", ylabel="probability")
    ax[0].legend(fontsize=8)
    lg = s["lags"]
    for side in (lg < 0, lg > 0):
        ax[1].plot(lg[side], s["crp"][side], color=labs.GOLD, lw=1.8, marker="o", ms=3)
    ax[1].set(title="Lag-CRP: one word leads to the next", xlabel="lag", ylabel="conditional probability")
    out.fig = fig
    return out

Now change it

  1. Compute the lag-CRP of the sequence 16, 15, 14, 1, 2, 9 by hand, then check it with `memory.lag_crp`.
  2. Set `gamma_fc` to 0 and then to 0.9 in `memory.cmr_simulate`. What happens to the forward lean of the lag-CRP, and why?
  3. With Murre's per-diver effects, how many divers would a test need for 80% power to detect the 1975 effect of four words, at his spread?

Problems, with solutions

Try each problem before opening its solution.

1. A saving. Ebbinghaus took 1,156 s to learn a list and 780 s to relearn it a day later. What is the saving, and what does his formula predict for 24 hours?

Solution

(1,156 − 780)/1,156 = 32.5%. His formula at t = 1,440 minutes: log10 1,440 = 3.158, raised to 1.25 is 4.21, and 100 × 1.84/(4.21 + 1.84) = 30.4%, which is his own calculated value for a day; the observed saving in his table was 33.7%.

2. A lag-CRP by hand. For the recall sequence 16, 15, 14, 1, 2, 9 of a 16-word list, count the actual and possible transitions at lags \(+1\) and \(-1\), and give both CRPs.

Solution

The transitions are 16→15 (−1), 15→14 (−1), 14→1 (−13), 1→2 (+1), 2→9 (+7). Lag −1 was possible after 16, 15 and 14 (to 15, 14 and 13, none yet recalled) and taken twice: CRP(−1) = 2/3. Lag +1 was possible after 1 (to 2) and after 2 (to 3), but not after 16 (no 17), 15 or 14 (16 and 15 already recalled), and taken once: CRP(+1) = 1/2. memory.lag_crp agrees (tests/psychology/test_memory.py).

3. The drift of context. Show that for orthogonal inputs the drift keeps \(\|\mathbf{c}\| = 1\) with \(\rho = \sqrt{1 - \beta^2}\), and that \(\mathbf{c}_i \cdot \mathbf{c}_j \to \rho^{|i-j|}\) for a long list.

Solution

With ‖c_{i−1}‖ = 1, ‖c^IN‖ = 1 and c_{i−1}·c^IN = 0, ‖ρc_{i−1} + βc^IN‖² = ρ² + β², which is 1 when ρ = √(1 − β²); the general formula reduces to this when the dot product is zero. Unrolling, c_i = ρ^i c_0 + β Σ_{k≤i} ρ^{i−k} c^IN_k, and for orthogonal inputs c_i·c_j (j > i) = ρ^{i+j} + β² Σ_{k≤i} ρ^{i−k} ρ^{j−k} = ρ^{j−i}[ρ^{2i} + β²(1 − ρ^{2i})/(1 − ρ²)] = ρ^{j−i}, exactly, since β² = 1 − ρ².

4. A choice rule ignores a common factor. Show that a choice rule \(a_i^{1/\tau} / \sum_k a_k^{1/\tau}\) is unchanged when every \(a_i\) is multiplied by the same constant, and use it to explain long-term recency.

Solution

(ka_i)^{1/τ}/Σ_k (ka_k)^{1/τ} = k^{1/τ}a_i^{1/τ}/(k^{1/τ} Σ_k a_k^{1/τ}), and k^{1/τ} cancels. A delay that moves the test context away from all the words multiplies their matches by about the same factor, so among the words the competition is unchanged; recency fades only against cues that do not shrink with the rest (the pull to the start of the list, a baseline, noise). Distraction after every word also makes the neighbours of the last word much less similar to it, so it stands out among them again: the ratio rule. Chapter 8 shows that our fitted version, whose start-of-list cue does not shrink, still fails this test.

5. A Hopfield network must settle. Prove that an asynchronous update of a Hopfield network with symmetric weights and zero diagonal never raises \(E = -\tfrac{1}{2}\mathbf{s}^\top W \mathbf{s}\).

Solution

Updating unit i changes s_i by Δs_i and E by ΔE = −Δs_i Σ_j W_ij s_j (the symmetric W counts the pair twice, cancelling the ½, and W_ii = 0 leaves no self-term). The update sets s_i to the sign of h_i = Σ_j W_ij s_j, so Δs_i is zero or has the sign of h_i, and ΔE = −Δs_i h_i ≤ 0. E is bounded below on a finite set of states, so the network reaches a state that no update changes.

6. The divers' test and its power. With `explainer.psychology.opendata': redo Murre's sign-flip test, then find the power to detect a context effect of 4 words with 16 divers and his spread.

Solution

Murre's per-diver effects have mean −1.25 words and s.d. 2.32; the exact sign-flip test over all 65,536 patterns gives p = 0.055, two-sided. An effect of four words, the size of 1975's, is d = 4/2.32 = 1.73 at that spread; a paired t test at α = 0.05 has 80% power with five divers and essentially 100% with sixteen. The replication was not too small; the question is whether a warm, shallow pool in one session is the same experiment.

7. ★ One system or two. Design an experiment that could tell a single-system account of priming and recognition from a two-system account, and say what each predicts.

Solution

Measure priming (identification speed or stem completion) and recognition for the same items in the same people, with recognition confidence. A single-system model, one strength read by two noisy tests, predicts that priming is larger for items recognised with higher confidence, and that a patient's or a condition's dissociation shrinks when the two tests are matched for reliability. A two-system model allows priming for items judged new to equal priming for items judged old. Fit both models to every trial and compare them on held-out people, as chapter 8 did for recall; Berry, Shanks and Henson's papers do this.

Notes and sources

Where it comes back

Forgetting, consolidation and false memories: Part 21. Semantic memory and concepts: Part 22. Memory across the lifespan: Part 31. Fitting and comparing models of behaviour: Part 48. Spacing, testing and the classroom: Part 54. Witnesses and the cognitive interview: Part 56. Memory in machines: Part 60. Psyche's memory module supplies the forgetting laws, the context model and its likelihood, and the Hopfield network those parts extend.

Sources

Books. M. J. Kahana, Foundations of Human Memory (Oxford, 2012). A. Baddeley, M. W. Eysenck and M. C. Anderson, Memory (3rd ed., Routledge, 2020). H. Ebbinghaus, Memory: A Contribution to Experimental Psychology (transl. H. A. Ruger and C. E. Bussenius, 1913).

Forgetting and its environment. H. Ebbinghaus, Über das Gedächtnis (1885). J. R. Anderson and L. J. Schooler, Reflections of the environment in memory, Psychol. Sci. 2 (1991) 396–408. J. R. Anderson and C. Lebiere, The Atomic Components of Thought (1998). J. M. J. Murre and J. Dros, Replication and analysis of Ebbinghaus' forgetting curve, PLoS ONE 10 (2015) e0120644.

Free recall. B. B. Murdock, The serial position effect of free recall, J. Exp. Psychol. 64 (1962) 482–488. M. Glanzer and A. R. Cunitz, Two storage mechanisms in free recall, J. Verbal Learn. Verbal Behav. 5 (1966) 351–360. D. Rundus, Analysis of rehearsal processes in free recall, J. Exp. Psychol. 89 (1971) 63–77. R. A. Bjork and W. B. Whitten, Recency-sensitive retrieval processes in long-term free recall, Cogn. Psychol. 6 (1974) 173–189. A. D. Baddeley and G. Hitch, Recency reexamined, in Attention and Performance VI (1977). M. J. Kahana, Associative retrieval processes in free recall, Mem. Cognit. 24 (1996) 103–109. M. W. Howard and M. J. Kahana, Contextual variability and serial position effects in free recall, J. Exp. Psychol. Learn. Mem. Cogn. 25 (1999) 923–941. M. K. Healey and M. J. Kahana, Is memory search governed by universal principles or idiosyncratic strategies?, J. Exp. Psychol. Gen. 143 (2014) 575–596. M. K. Healey, N. M. Long and M. J. Kahana, Contiguity in episodic memory, Psychon. Bull. Rev. 26 (2019) 699–720. N. W. Morton, Psifr: analysis and visualization of free recall data, J. Open Source Softw. (2020).

Encoding and cues. F. I. M. Craik and R. S. Lockhart, Levels of processing, J. Verbal Learn. Verbal Behav. 11 (1972) 671–684. F. I. M. Craik and E. Tulving, Depth of processing and the retention of words in episodic memory, J. Exp. Psychol. Gen. 104 (1975) 268–294. C. D. Morris, J. D. Bransford and J. J. Franks, Levels of processing versus transfer appropriate processing, J. Verbal Learn. Verbal Behav. 16 (1977) 519–533. N. J. Slamecka and P. Graf, The generation effect, J. Exp. Psychol. Hum. Learn. Mem. 4 (1978) 592–604. S. Bertsch et al., The generation effect: a meta-analytic review, Mem. Cognit. 35 (2007) 201–210. M. Dresler et al., Mnemonic training reshapes brain networks to support superior memory, Neuron 93 (2017) 1227–1235. E. Tulving and D. M. Thomson, Encoding specificity and retrieval processes in episodic memory, Psychol. Rev. 80 (1973) 352–373. D. R. Godden and A. D. Baddeley, Context-dependent memory in two natural environments, Br. J. Psychol. 66 (1975) 325–331. S. M. Smith and E. Vela, Environmental context-dependent memory, Psychon. Bull. Rev. 8 (2001) 203–220. J. M. J. Murre, The Godden and Baddeley (1975) experiment on context-dependent memory on land and underwater: a replication, R. Soc. Open Sci. 8 (2021) 200724. D. W. Goodwin et al., Alcohol and recall: state-dependent effects in man, Science 163 (1969). J. E. Eich, The cue-dependent nature of state-dependent retrieval, Mem. Cognit. 8 (1980) 157–173.

Models. J. G. W. Raaijmakers and R. M. Shiffrin, Search of associative memory, Psychol. Rev. 88 (1981) 93–134. M. W. Howard and M. J. Kahana, A distributed representation of temporal context, J. Math. Psychol. 46 (2002) 269–299. S. M. Polyn, K. A. Norman and M. J. Kahana, A context maintenance and retrieval model of organizational processes in free recall, Psychol. Rev. 116 (2009) 129–156. P. B. Sederberg, M. W. Howard and M. J. Kahana, A context-based theory of recency and contiguity in free recall, Psychol. Rev. 115 (2008) 893–912. J. J. Hopfield, Neural networks and physical systems with emergent collective computational abilities, PNAS 79 (1982) 2554–2558. D. J. Amit, H. Gutfreund and H. Sompolinsky, Storing infinite numbers of patterns in a spin-glass model of neural networks, Phys. Rev. Lett. 55 (1985) 1530–1533. H. Ramsauer et al., Hopfield networks is all you need (2020).

Systems, recognition and the hippocampus. W. B. Scoville and B. Milner (1957). E. Tulving, Episodic and semantic memory (1972). L. R. Squire, Memory systems of the brain, Neurobiol. Learn. Mem. 82 (2004) 171–177. E. K. Warrington and L. Weiskrantz, Amnesic syndrome: consolidation or retrieval?, Nature 228 (1970) 628–630. P. Graf, L. R. Squire and G. Mandler, The information that amnesic patients do not forget, J. Exp. Psychol. Learn. Mem. Cogn. 10 (1984) 164–178. G. Mandler, Recognizing: the judgment of previous occurrence, Psychol. Rev. 87 (1980) 252–271. E. Tulving, Memory and consciousness, Can. Psychol. 26 (1985) 1–12. A. P. Yonelinas (1994). J. T. Wixted, Dual-process theory and signal-detection theory of recognition memory, Psychol. Rev. 114 (2007) 152–176. T. J. Teyler and P. DiScenna, The hippocampal memory indexing theory, Behav. Neurosci. 100 (1986) 147–154. J. K. Leutgeb et al., Pattern separation in the dentate gyrus and CA3 of the hippocampus, Science 315 (2007) 961–966. C. J. MacDonald, K. Q. Lepage, U. T. Eden and H. Eichenbaum, Hippocampal "time cells" bridge the gap in memory for discontiguous events, Neuron 71 (2011) 737–749. J. R. Manning et al., Oscillatory patterns in temporal lobe reveal context reinstatement during memory search, PNAS 108 (2011). X. Liu et al. (2012).

Practice and frontier. R. P. Fisher and R. E. Geiselman, Memory-Enhancing Techniques for Investigative Interviewing (1992). G. Köhnken, R. Milne, A. Memon and R. Bull, The cognitive interview: a meta-analysis, Psychol. Crime Law 5 (1999) 3–27. E. F. Loftus and W. Marburger, Since the eruption of Mt. St. Helens, has anyone beaten you up?, Mem. Cognit. 11 (1983) 114–120. C. J. Berry, D. R. Shanks and R. N. A. Henson, A single-system account of the relationship between priming, recognition, and fluency, J. Exp. Psychol. Learn. Mem. Cogn. 34 (2008) 97–111. M. G. Uitvlugt and M. K. Healey, Temporal proximity links unrelated news events in memory, Psychol. Sci. 30 (2019). L. Ji-An, C. Zhou, M. Benna and M. G. Mattar, Linking in-context learning in transformers to human episodic memory, NeurIPS (2024).

About this partfrom its README

In 1885 Hermann Ebbinghaus, his own and only subject, published the first experiments on memory. This part follows the search for what is remembered and how it is found, from his invented syllables to a model of a slowly drifting state of mind, fitted by maximum likelihood to 3,528 lists recalled by real people, and tested on the experiments that broke the older story.

Ebbinghaus's savings with his own formula, a power law and an exponential fitted; ACT-R's activation, and Anderson and Schooler's argument that forgetting tracks the odds of need; free recall on you; the serial-position curve and first recall on the PEERS open data, Glanzer and Cunitz's dissociation and Rundus's rehearsal; the lag-conditional response probability derived with its denominators, contiguity and its forward lean on the open data, person by person, and long-term recency; levels of processing, transfer-appropriate processing, the generation effect and the method of loci; encoding specificity; Godden and Baddeley's divers and Murre's replication from his open data, with an exact sign-flip test; state dependence; SAM's buffer and search, simulated; the drift of context derived, context similarity at lag k, recency and the ratio argument, and contiguity from reinstated context; the context model's exact likelihood, a maximum-likelihood fit to half the lists, a held-out comparison against serial position alone in bits per recall, and two tests on other designs (it passes Glanzer and Cunitz and fails Bjork and Whitten); a Hopfield network settling and its capacity derived and computed; H.M., the memory-systems map, priming in amnesia; familiarity and recollection, dual-process and unequal-variance ROCs; the hippocampus as an index, pattern separation computed, time cells, context reinstatement in the brain and engrams. The practice chapter is the cognitive interview, survey recall and word-list tests in the clinic; the frontier is one system or many, context from lists to lives, and a context model inside language models.

What is computed and built
  • explainer/psychology/psyche/memory.py: forgetting laws fitted by least squares; the serial-position curve, first recall and the lag-CRP with available-transition denominators; SAM's rehearsal buffer, sampling, recovery and stopping; the context maintenance and retrieval model without semantic or source features, with distractor drift, its exact likelihood along observed sequences and a maximum-likelihood fit; a baseline that predicts each recall from serial position alone; a Hopfield network and its capacity; ACT-R's base-level activation; dual-process and unequal-variance ROCs; pattern separation by a sparse expansion. Tested in tests/psychology/test_memory.py, including the likelihood against the model's own simulation and the worked lag-CRP.
  • explainer/psychology/opendata.py gains PEERS free recall (from the psifr wheel, both files checked by SHA-256) and Murre's divers (from his OSF workbook, read with the standard library).
  • The Ledger gains six rows; the Archive seven datasets.
  • The course's interactive is free recall: three lists of ten words, and the reader's own serial-position and lag-CRP curves.
Chapter notes
# Chapter What it does
0 One subject, 2,300 syllables Ebbinghaus's method and savings; free recall on you; the questions; objectives
1 Savings and the first curve Three laws fitted; ACT-R's activation; Anderson and Schooler's environment
2 First and last Scoring your sheet; serial position and first recall on open data; two stores
3 One word leads to the next The lag-CRP derived; contiguity and its lean; 126 people one at a time; long-term recency
4 What you do with it Levels of processing; transfer-appropriate processing; generation; the method of loci
5 The cue and the trace Encoding specificity; the divers; Murre's replication from open data; state dependence
6 Searching associative memory SAM's buffer, search and stopping; simulated against the data
7 A context that drifts The drift derived; context similarity; recency and the ratio argument; contiguity's forward lean
8 Fitting the context model The likelihood; the fitted parameters; the held-out test in bits; tested on two other designs
9 Memories as valleys A Hopfield network; recall by settling; capacity derived and computed
10 One memory or many? H.M.; a map of memory systems; priming in amnesia
11 Knowing and remembering Familiarity and recollection; two ROC models; where the two processes are
12 The hippocampus as an index Indexing theory; pattern separation computed; time cells, reinstatement and engrams
13 The Ledger Serial position; contiguity; levels; generation; encoding specificity; the divers
14 In practice: interviews, surveys, the clinic The cognitive interview; telescoping and landmarks; word-list tests
15 Frontier: from lists to lives One system or many; context from lists to lives; a context model inside language models
Recap, problems, and the road ahead Ten lines; the first two objections; payoffs; problems; references; Part 21
NotesWhere the numbers come from
What Source
Savings of 58.2, 44.2, 35.8, 33.7, 27.8, 25.4 and 21.1% after 20 minutes to 31 days; his formula with k = 1.84, c = 1.25; about 2,300 syllables Ebbinghaus (1885), ch. VII, from the 1913 translation (Archive, Part 1)
Refitted: Ebbinghaus's law k = 1.82, c = 1.21 (residual SS 18.8); power law 82.5 t^−0.131 (25.5); exponential, τ = 33.5 days (580) Psyche (memory.fit_forgetting), item forgetting
ACT-R's activation with d = 0.5, a retrieval threshold of −0.5 and noise 0.4; one, three and ten uses Psyche (memory.actr_activation, memory.actr_recall), item forgetting; the equation from Anderson's ACT-R
Need probability falling as a power of time since last use, in headlines, child-directed speech and email Anderson and Schooler (1991), from the abstract and secondary summaries
126 people, 3,528 lists of 16 words, immediate free recall PEERS (Kahana lab), as packaged with psifr 0.10.1; the CSV inside the wheel, fetched by explainer.psychology.opendata and checked by SHA-256
Serial position 82% (position 1), about 57% (the middle), 92% (position 16); 45% of recalls start at position 16; lag-CRP 0.45 at +1 and 0.26 at −1 computed from the open data, item peers
Person by person: 98% show recency and 97% primacy against their own middle; 89% lean forward computed from the open data, item persons; Healey and Kahana (2014) for the test, from the abstract
Murdock's design (lists of 10 to 40 words at 1 or 2 s); Glanzer and Cunitz's 30 s of counting; Rundus's rehearsal; Bjork and Whitten; Baddeley and Hitch's rugby players; Howard and Kahana's continual distractor the papers' designs and findings as reviewed; none of their numbers is shown
Recognition of about 15, 48 and 81% after case, rhyme and meaning questions (incidental), 23, 59 and 81% (intentional) Craik and Tulving (1975), Experiments 2 and 9, as quoted in a review
The generation effect: 86 studies, 445 effect sizes, mean 0.40 Bertsch, Pesta, Wiscott and McDaniel (2007), from the PubMed abstract
Memory athletes 70.8 and controls 39.9 of 72 words after 20 minutes; 40 sessions of 30 minutes Dresler et al. (2017), from the paper at PubMed Central
Godden and Baddeley's means: 13.5 (land, land), 8.4 (land, water), 8.6 (water, land), 11.4 (water, water) of 36 words as transcribed by Murre in the workbook of his 2021 replication; the 1975 paper was not read
Murre's sixteen divers: 9.25, 9.81, 6.94 and 5.00 words; the per-diver context effect −1.25 words (s.e. 0.58); exact sign-flip p = 0.055; a heated pool 1.8 m deep, one session the workbook itself (osf.io/q2vjk), fetched and checked by SHA-256, item divers; the paper at PubMed Central
Environmental context effects of about d = 0.25 Smith and Vela (2001), as Murre summarises them
SAM with a buffer of 4, a = b = 0.1, eight failures to stop: serial position 0.75 to 1.00, lag-CRP 0.24 at +1 and 0.20 at −1 Psyche (memory.sam_simulate), item sam, 4,000 lists, parameters set by hand
The fitted context model: β_enc 0.95, β_rec 0.92, β_start 0.04, γ 0.10, φ_s 8.9, φ_d 1.66, τ 1.19, s_0 0.007, s_r 0.30; ρ = 0.31; log-likelihood −39,697 on 1,764 lists Psyche (memory.fit_cmr_ml), item cmr, fitted to every other list of PEERS
Held out (the other 1,764 lists, 18,632 recalls): 3.30 bits per recall by chance among the words left, 3.23 by serial position alone, 2.67 by the context model Psyche (memory.cmr_loglik, memory.position_choice_loglik), item cmr
A delay (drift 0.99 to new context): recency 86% to 70%, first recalls from position 1 rising from 8% to 24%; distraction after every word: no long-term recency Psyche (memory.cmr_simulate), item cmr; Sederberg, Howard and Kahana (2008) for the model that passes
Context similarity of 0.31 at lag 1; support from retrieved context, forward 1.00 against backward 0.37 Psyche, items drift and reinstate
A ring stored with seven random patterns in 100 units, cued with 30% flipped, back within one sweep Psyche, item hopfield
Recall collapsing between 0.14 and 0.18 patterns per unit in 200 units; 0.138 N in the limit Psyche (memory.hopfield_capacity), item hopfield; Amit, Gutfreund and Sompolinsky (1985)
H.M.'s operation in 1953 and mirror tracing Scoville and Milner (1957); Milner (1962) (Archive, Part 7)
Dual-process ROC with recollection 0.3 and familiarity d′ = 1; unequal-variance ROC with d = 1.2 and s.d. 1.25 Psyche (memory.dual_process_roc, memory.uvsd_roc), item recognition
Inputs overlapping 80% give codes overlapping 38% (200 inputs to 2,000 cells, 2% active) Psyche (memory.pattern_separation), item separation
The cognitive interview: 42 studies, 55 comparisons, nearly 2,500 people; d = 0.87 for correct details, about 0.24 for errors; 85% against 82% accurate Köhnken, Milne, Memon and Bull (1999), from the abstract and summaries
Induction heads that behave like CMR Ji-An, Zhou, Benna and Mattar (2024), from the abstract
Notes
Finding Original Status
The first and last few items are recalled best, and recall starts at the end Murdock 1962 replicated
Recalling one item brings back its neighbours in time, forward more than backward Kahana 1996 replicated
Words processed for meaning are remembered better than for sound or appearance Craik and Tulving 1975 replicated
Generated words are remembered better than read ones Slamecka and Graf 1978 replicated
A cue helps when it was part of what was encoded Tulving and Thomson 1973 replicated
Divers recall best in the environment where they learnt Godden and Baddeley 1975 contested

Shown without a row, with the reason recorded in explainer/psychology/ledger.py: Ebbinghaus (Part 21's row), Anderson and Schooler (an analysis of the environment), Raaijmakers and Shiffrin and Hopfield (models), H.M. and Milner (a single case, Part 7), the memory-systems taxonomy and the priming dissociations (a framework and its evidence, Part 7's lesson), Mandler and Tulving's remember-know and the recognition debate (Part 12's ROC row and an open argument), Marr and Teyler and DiScenna (theories), time cells, Manning et al. and the engram (neuroscience findings reported, Part 5), Dresler et al. (a single training study), Köhnken et al. (Part 56), Loftus and Marburger (a survey method), Berry et al. and Ji-An et al. (frontier models).

Notes

Before the narrated master:

  • Craik and Tulving's proportions are as quoted in a review of the paper (Experiments 2 and 9).
  • Godden and Baddeley's means are Murre's transcription in his workbook; read the 1975 paper.
  • Smith and Vela's d of about 0.25 is Murre's summary of their meta-analysis.
  • The designs of Murdock, Glanzer and Cunitz, Rundus, Bjork and Whitten, Baddeley and Hitch and Howard and Kahana are from reviews; none of their numbers is shown.
  • Köhnken et al.'s error effect is 0.24 in the abstract and 0.28 in one summary.
  • The PEERS subset is the one psifr ships (lists without an encoding task); its exact selection should be confirmed against the PEERS documentation.

Companion material in this repository

The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
  1. Hook: Ebbinghaus's method and savings; free recall of a sixteen-word list on you; the questions; objectives.
  2. Ebbinghaus's seven savings with three laws fitted (his formula k = 1.82, c = 1.21; a power law; an exponential that cannot bend both ways); ACT-R's base-level activation (one, three and ten uses); Anderson and Schooler (1991): forgetting tracks the odds of need.
  3. Scoring your sheet; serial position and first recall on PEERS (126 people, 3,528 lists: 82%, about 57%, 92%; 45% of recalls start at the last word); Murdock (1962); Glanzer and Cunitz (1966) and Rundus (1971): two stores.
  4. The lag-CRP derived with its denominators (a worked sequence); contiguity on PEERS (+1 0.45, −1 0.26); person by person (89% lean forward, 98% show recency; Healey and Kahana 2014); long-term recency (Bjork and Whitten 1974; Baddeley and Hitch's rugby players; Howard and Kahana 1999).
  5. Levels of processing (Craik and Lockhart 1972; Craik and Tulving 1975: about 15, 48 and 81% recognised); transfer- appropriate processing (Morris, Bransford and Franks 1977); the generation effect (Slamecka and Graf 1978; Bertsch et al. 2007, d = 0.40); the method of loci (Dresler et al. 2017).
  6. Encoding specificity (Tulving and Thomson 1973); the divers (Godden and Baddeley 1975: 13.5, 8.4, 8.6, 11.4) and Murre's replication from his open data (2021: per-diver effect −1.25 words, exact sign-flip p = 0.055; a warm pool, one session); Smith and Vela (2001); state dependence (Goodwin et al. 1969; Eich 1980).
  7. SAM (Raaijmakers and Shiffrin 1981): the rehearsal buffer, sampling, recovery, stopping, simulated; symmetric contiguity and no long-term recency.
  8. The temporal context model derived (Howard and Kahana 2002; CMR, Polyn, Norman and Kahana 2009): the drift and ρ = √(1 − β²); context similarity ρ^|i−j|; recency from a choice rule and the ratio argument; contiguity's forward lean from reinstated context.
  9. CMR fitted by maximum likelihood to every other PEERS list (nine parameters; ρ = 0.31, γ = 0.10); checked on the other half (2.67 bits per recall against 3.23 for serial position alone and 3.30 for chance); tested on two other designs: it reproduces Glanzer and Cunitz and fails Bjork and Whitten (Sederberg, Howard and Kahana 2008 pass).
  10. Memories as attractors: the Hopfield network (1982), its energy argument, a ring recovered from a corrupted cue, capacity derived from crosstalk and computed (0.138 N; Amit, Gutfreund and Sompolinsky 1985); modern Hopfield networks and attention (AI, Built).
  11. Memory systems: H.M. again (Scoville and Milner 1957; Milner 1962); episodic and semantic (Tulving 1972); Squire's taxonomy; priming in amnesia (Warrington and Weiskrantz 1970; Graf, Squire and Mandler 1984); what dissociations can show (Part 7).
  12. Recognition: the butcher on the bus (Mandler 1980), remember and know (Tulving 1985); dual-process and unequal- variance ROCs and z-ROCs (Yonelinas 1994; Part 12); where the two processes are (Yonelinas et al. 2002; Wixted 2007; Squire et al. 2007).
  13. The hippocampus as an index (Marr 1971; Teyler and DiScenna 1986); pattern separation computed (inputs sharing 80% give codes sharing 38%; Leutgeb et al. 2007); time cells (MacDonald et al. 2011), context reinstatement in the brain (Manning et al. 2011), engrams (Part 5).
  14. The Ledger. 14. In practice: the cognitive interview (Köhnken et al. 1999: d = 0.87, 85% against 82% accurate); telescoping and landmarks in surveys (Loftus and Marburger 1983); word-list tests in the clinic. 15. Frontier: one system or many (Berry, Shanks and Henson 2008); from lists to lives (Uitvlugt and Healey 2019); induction heads that behave like CMR (Ji-An et al. 2024).

Psyche: memory: forgetting laws; the serial-position curve, first recall and the lag-CRP; SAM; CMR with distractor drift, its exact likelihood and a maximum-likelihood fit, against a serial-position baseline; a Hopfield network and its capacity; ACT-R's activation; dual-process and unequal-variance ROCs; pattern separation. opendata: PEERS free recall (from the psifr wheel) and Murre's divers (from his OSF workbook), fetched on first use and checked by SHA-256. On you: free recall of a sixteen-word list in the film; the interactive is free recall (three lists of ten), with the reader's serial-position and lag-CRP curves. Ledger: serial position (replicated); contiguity (replicated); levels of processing (replicated); the generation effect (replicated); encoding specificity (replicated); underwater context dependence (contested). Shown without rows, with reasons: Ebbinghaus (Part 21), Anderson and Schooler, SAM and Hopfield (models), H.M., the systems taxonomy and priming dissociations, recognition's two processes, indexing theory, time cells and the engram, Dresler et al. (Part 54), Köhnken et al. (Part 56), Loftus and Marburger, Berry et al., Ji-An et al. In practice: the cognitive interview, survey recall and landmarks, memory assessment in the clinic. Frontier: one memory system or many; whether context models scale from lists to lives; context models inside language models. Reading: Ebbinghaus 1885; Murdock 1962; Tulving & Thomson 1973; Raaijmakers & Shiffrin 1981; Howard & Kahana 2002; Polyn, Norman & Kahana 2009; Hopfield 1982; Kahana, Foundations of Human Memory; Baddeley, Eysenck & Anderson, Memory.

Build the film

python -m videos.psychology.psych20.compute        # the part's numbers, into .cache/psych20
python tools/build.py psych20                  # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py psych20 Hook   # one chapter, silent, with a contact sheet

Scenes: videos/psychology/psych20. Setup: see the course page. Source of these notes: the README and the scenes' narration.

Build it
python -m videos.psychology.psych20.compute            # every number (four minutes; fetches the open data once)
python tools/qa_scene.py psych20 Fit                   # one chapter, silent, at 480p, with a contact sheet
EXPLAINER_TTS=silent python tools/build.py psych20 -q l   # the whole part, silent preview
python tools/build.py psych20                          # 1080p30 with narration
python tools/qa_scene.py psych20 Context --lang zh     # the Chinese edition of one chapter
python tools/make.py psych20                           # both editions, with the checks a long build needs
python -m videos.psychology.labs 20                    # the lab: forgetting, free recall, context, attractors
python tools/check_ledger.py psych20                   # every study shown has its Ledger row, or a reason
python -m pytest tests/psychology                      # Psyche's memory module, the Ledger, the Archive

The Chinese edition is zh_lines.py (the narration, line by line) and the series table videos/psychology/psychology_text_zh.json (the text on screen); the terms are in PSYCHOLOGY_ZH_GUIDE.md.