ΨPsychology, Built

Act V · Thinking

Part 19 of 62

Working Memory

Psych 101 and the majorstarts at this level53 min of film15 chaptersprerequisites: none

How much can you hold in mind at once, and what is the limit made of?

George Miller was persecuted by an integer, seven, and showed that span counts chunks, not bits: recoded in threes, eighteen binary digits fit in six. Sperling's tone reveals a large visual store that fades in a second. Three consonants are forgotten in eighteen seconds, but not on the first trial: the cause is crowding by earlier memories, as a log-time model shows. Working memory becomes a system with a phonological loop that holds two seconds of speech. Sternberg's scanning is linear, and a parallel search with shared capacity draws the same line. Without rehearsal people hold about four items, counted by a formula that assumes slots; then continuous report shows precision falling smoothly with load, and four models fitted to seven thousand open trials pick variable precision. A ring of neurons holds a bump that diffuses. Working memory tracks reasoning, and an industry promised to raise both; against a placebo control, the far transfer is not there.

What you need. Part 1's reaction-time stages, Part 3's reliability and attenuation, Part 12's hits and false alarms and Part 18's attention. Exponentials, logarithms, and maximum likelihood as in Part 16.

Hook
the magical number seven
Ideas, models and mathematics
span and chunks, absolute judgment as a channel, partial report, Brown-Peterson forgetting and temporal distinctiveness, the multicomponent model and the word-length effect, memory scanning and parallel mimicry, change detection and K derived, slots against resources fitted to open data, ring attractors and silent synapses, working memory and reasoning, brain training
Psyche gains
a phonological loop, SIMPLE, scanning models, mixture, swap and four process models, a ring attractor
On you
change detection: your K

What you will be able to do

Psych 101 and the major

  • Explain span, chunks and recoding, and why span overestimates capacity.
  • Describe partial report, the Brown-Peterson task and the multicomponent model.
  • Explain the word-length effect and articulatory suppression.

Graduate

  • Derive Cowan's and Pashler's K from a slot model with guessing.
  • Show that limited-capacity parallel search mimics serial exhaustive search.
  • Fit mixture, swap and process models to continuous-report data and compare them by AIC.

Research

  • Weigh slots against variable precision, and persistent against silent codes.
  • Explain why a mixture model's guess rate need not measure guessing.

Practice

  • Design forms, codes and read-backs around a four-chunk limit.
  • Evaluate a brain-training claim: the control group, near and far transfer.

Contents

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

  1. 0Persecuted by an integerPsych 101 and the major3 min
  2. 1The magical number sevenPsych 101 and the major3 min
  3. 2More than you can reportPsych 101 and the major3 min
  4. 3Forgetting in eighteen secondsPsych 101 and the major3 min
  5. 4A system, not a storePsych 101 and the major4 min
  6. 5Searching what you holdPsych 101 and the major3 min
  7. 6Four, not sevenPsych 101 and the major3 min
  8. 7Slots or resourcesResearch8 min
  9. 8How neurons hold a thoughtResearch4 min
  10. 9Working memory and reasoningPsych 101 and the major2 min
  11. 10Can you train it?Psych 101 and the major4 min
  12. 11The LedgerPsych 101 and the major3 min
  13. 12In practice: forms, read-backs, testsPractice3 min
  14. 13Frontier: what is the limit for?Research3 min
  15. Recap, problems, and the road aheadAll tracks3 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.

Persecuted by an integerPsych 101 and the major3 min

Before anything else, a test you can take right now. Digits will appear one a second. When they stop, say them back, out loud, in order. Five digits first.

Now seven. And nine. Most adults get five digits right. Seven is about where people start to fail: a typical adult's digit span, the longest list repeated correctly half the time, is around seven. Nine is beyond most people, unless they do something clever with the digits, and we'll see what. Hold on to your own result. By the end of this part you'll know what it measured, and what it didn't.

In 1956 the psychologist George Miller opened a paper with a confession. My problem is that I have been persecuted by an integer. The integer was seven, and it kept turning up. The number of digits a person can repeat back is about seven; the number of binary digits, about nine; the number of words, about five. The number of pitches a listener can label without errors is about six, a little over two and a half bits of information. Miller's real point was subtler than the slogan it became. The span is not a fixed amount of information. It is a fixed number of chunks, and a chunk can hold a lot. And seventy years later the integer itself looks wrong. The best estimate is closer to four, and there's a serious case that the limit is not a number of things at all.

This part is about the small, fast, fragile memory you just used. How much of what you see reaches a brief store, and how quickly does it fade? Why can you forget a three-letter string in eighteen seconds: is it time, or other memories getting in the way? Is the limit a number of slots, or a resource that is spread thinner the more you hold? How does a network of neurons keep a thought alive once the thing itself is gone? And can practice raise the limit, as a whole industry has promised?

This is Part 19 of Psychology, Built, the second part of Act Five, on thinking: working memory. We'll start with Miller's seven, and perform the trick that let one man repeat forty binary digits. Then a visual store that holds more than you can report, for a fraction of a second. Then forgetting in eighteen seconds, and a small model that explains why the first trial shows none. Then working memory as a system with parts, and how you search it. Then the evidence that the number is four, not seven, with the formula for counting it. Then the deepest argument in the field, slots against resources, settled as far as it can be by fitting four models to an open dataset of seven thousand trials. Then a network that holds a thought, and an industry that promised to make it bigger.

What it does: Digit span on you; Miller's seven; the questions; objectives

1The magical number sevenPsych 101 and the major3 min

Miller's paper began somewhere unexpected: with judgments, not memory. Play someone a tone and ask them to label its pitch with a number from one to n. With two or three tones, nobody makes mistakes. By five or six tones, mistakes start, and beyond that adding more tones adds nothing: errors rise as fast as the choices do. Measured in bits, the information the labels carry about the stimulus climbs along the diagonal and then levels off. Psyche's version is a single noisy percept, labelled by the nearest category, and the curve is computed exactly as the mutual information between stimulus and label. With noise about four percent of the range, it levels off near bits, about categories, which is Miller's number. Loudness, position on a line, the saltiness of water all gave a ceiling of two to three bits. Information theory had found a channel with a capacity.

Then Miller turned to memory span, and the channel analogy broke. If short-term memory held a fixed amount of information, it would hold far more binary digits than words. A binary digit carries one bit; a word from a vocabulary of a thousand carries about ten. But the spans were about binary digits, seven decimal digits, and words. The number of items stays roughly the same while the bits vary five-fold. So the unit of the limit is not the bit. Miller called it a chunk: any unit you already know, however much it contains. A letter, a word, a familiar phrase or a date can each be one chunk.

Chunks can be made on purpose. Here are eighteen binary digits. Read once, at one a second, they are far beyond a span of about . Now read them in threes. Each triple is one octal digit: one, zero, one is five; zero, zero, zero is zero; one, zero, zero is four; and so on. Eighteen binary digits become six octal digits, comfortably inside the span, and to recall them you translate back. Miller reported that his colleague Sidney Smith drilled this until it was automatic, in groups of up to five, and could repeat about binary digits. Expertise does the same thing without the drill: a chess master glancing at a position from a real game sees a few familiar configurations, not twenty-five pieces, and recalls it almost perfectly, but does barely better than a novice when the pieces are placed at random. Chunks are knowledge. Which is why a span of seven digits says something about what you know about digits, as well as what you can hold.

What it does: Absolute judgment as a channel, computed; span counts chunks; recoding performed

2More than you can reportPsych 101 and the major3 min

Here is a glance. Twelve letters, for a twentieth of a second. Ready. How many could you name? In 1960 George Sperling, a graduate student at Harvard, ran this many thousands of times. Asked to write down every letter, people managed about , almost regardless of how many letters there were or how long the flash was. And yet they insisted they had seen more: that the letters had been there, clearly, and had faded while they were writing the first few down. Was that an illusion, or a store bigger than report could show?

Sperling's answer was to sample. After the flash, a tone sounded: high for the top row, middle for the middle, low for the bottom, chosen at random, and people reported only that row. They got about three of its four letters. Since they couldn't know in advance which row would be asked for, about three quarters of every row must have been available when the tone sounded: about nine of the twelve letters. It is the logic of an exam that tests a random chapter. That is twice the letters of whole report. The limit on whole report was not in what was seen, but in getting it out before it faded.

Then Sperling delayed the tone. Within a few hundred milliseconds the advantage melts away, and by about a second partial report is no better than whole report. The curve drawn here is Psyche's: a cued letter is read from a fading image with a probability that decays exponentially, with a time constant of a quarter of a second, or else it is reported only if it was among the four and a half letters already moved into a lasting store. Ulric Neisser named the fading image iconic memory. A bright field after the flash wipes it out; a dark one prolongs it. It is large and very brief, and it is not working memory. It is the raw material that attention selects from, the subject of the last part. What survives the selection is the subject of this one.

What it does: Whole report; partial report; the icon fading, on Psyche

3Forgetting in eighteen secondsPsych 101 and the major3 min

Short-term memory is short. But how short, and why? In 1958 John Brown in Britain, and a year later Lloyd and Margaret Peterson in Indiana, found a way to stop people rehearsing. Hear three consonants, then a number, and immediately start counting backwards by threes from it, aloud, until a light tells you to recall the consonants. Three consonants is far below span, and yet after three seconds of counting about were recalled, and after eighteen seconds about . The obvious reading, and the Petersons', was decay: a trace fades with time unless rehearsal refreshes it, and counting prevents rehearsal. The curve here is a model that says something quite different, and we'll build it in a minute.

The Petersons had averaged over a whole session. In 1962 Geoffrey Keppel and Benton Underwood looked at the trials one at a time. On the very first trial of a session there was almost no forgetting, even after eighteen seconds of counting. Forgetting appeared on the second trial and grew over the next few. That is fatal for pure decay. Time passes just as surely on the first trial as on the tenth. What differs is how many similar items came before: proactive interference, the old crowding the new. And Delos Wickens found that if you switch the kind of item, from letters to digits say, recall on the next trial jumps back up. The crowding is between similar things.

Here is a model that explains both findings with a single idea. Gordon Brown, Ian Neath and Nick Chater's model, called SIMPLE, places every memory on a line of how long ago it was studied, on a logarithmic scale, like the receding telegraph poles seen from a train. The similarity of two memories falls off exponentially with their distance on that line, and an item can be recalled to the extent that it stands out from the others: one over the sum of its similarities, Luce's choice rule again. Three seconds after study, the new trigram is far from the earlier trials' items, which are tens of seconds old. Eighteen seconds after study, on a log scale, it has slid most of the way toward them, and becomes hard to pick out. On the first trial there's nothing to be confused with, so the item is perfectly distinct at any delay: no forgetting, exactly as Keppel and Underwood found. Forgetting, in this view, is not caused by time. It's caused by the ratio of ages, by how much the past crowds the present.

What it does: The Brown-Peterson task; the first trial; SIMPLE derived

4A system, not a storePsych 101 and the major4 min

By the late 1960s the pieces had been assembled into one diagram. Richard Atkinson and Richard Shiffrin's model, the modal model, has information flow from brief sensory registers into a short-term store of a few items, and from there into a long-term store. Rehearsal keeps items alive in the short-term store, and the longer they stay there, the better they're learned. The short-term store is the gateway to everything lasting. Then came a patient. K.F. had injured the left side of his brain in a motorcycle accident, and his span for spoken digits was about . If the short-term store is the gateway, he should have learned nothing new. But Elizabeth Warrington and Tim Shallice found that he learned word lists and paired associates normally. H.M., in Part 7, had the opposite pattern: a normal span, and no new long-term memories. Two patients, two dissociations, and a gateway that isn't one.

Alan Baddeley and Graham Hitch asked a different question in 1974. Not how much the store holds, but what it's for. If the short-term store is the mind's workspace, filling it with six digits should wreck reasoning. It didn't: people verifying sentences about the order of two letters while repeating six digits slowed down, but kept their accuracy. So they replaced the store with a system. A central executive that directs attention, served by slave systems: a phonological loop that holds sounds and refreshes them by inner speech, and a visuospatial sketchpad for shapes and places. A verbal load interferes with a verbal task much more than with a visual one, and the other way round. In 2000 Baddeley added an episodic buffer that binds the pieces into episodes and talks to long-term memory. The phonological loop is the best understood part, and it makes a prediction you can test on yourself.

Try these two lists. Five short words, and five long ones. People recall fewer long words than short ones, and Baddeley, Neil Thomson and Mary Buchanan showed in 1975 that it's spoken duration that matters, even when the words have the same number of syllables. Psyche's loop has one assumption: each item's trace fades in about two seconds unless inner speech says it again, and one pass of inner speech takes as long as the list takes to say. The curves show the chance of recalling a whole list against its length. Now the test you can run on yourself: say the the the, aloud, over and over, while you try to hold the list. Inner speech is busy, the loop can't refresh anything, and the word-length effect disappears. What is left is a small store that doesn't care how long the words are. In the model, the span for short words is , for long words , and under suppression for both.

The loop predicts more than a difference between two lists. Plot span against how fast the words can be read aloud, and it rises in a straight line. Baddeley's summary is that the loop holds about as much as you can say in two seconds. It follows that fast talkers have longer spans, and so do languages whose number words are short. Digit span is longer in Chinese, where each digit is one quick syllable, than in English, and longer in English than in Welsh, where the digits take longer to say. Part of what a span measures is the speed of your inner voice.

What it does: The modal model and K.F.; Baddeley and Hitch; the word-length effect and suppression; span and speech rate

5Searching what you holdPsych 101 and the major3 min

Once something is held, how do you use it? In 1966 Saul Sternberg at Bell Labs gave people a short list of digits to hold, then a single probe digit, and asked: was it in the list? Yes or no, as fast as you can. Reaction time rose in a perfectly straight line with the number of digits held, about milliseconds for each extra digit, starting from about milliseconds. A straight line through the means explained percent of their variance. And the surprising part: the slope was the same whether the answer was yes or no.

Sternberg's interpretation was elegant. Suppose the probe is compared with the held digits one at a time. If you stop as soon as you find a match, a yes needs, on average, only half of the comparisons, so the yes line should rise at half the slope of the no line. A no always requires checking everything. The slopes were equal, so Sternberg concluded that the search is serial and exhaustive: every digit is checked, even after a match has been found. That sounds wasteful, but at forty milliseconds a comparison, it may be cheaper to finish than to stop and decide after each one.

There is a catch, and it is one of the deepest lessons of reaction-time modelling. Suppose instead that all the comparisons run at once, in parallel, and you answer when the slowest finishes. With unlimited capacity each comparison runs at full speed, and the time of the slowest grows like one plus a half plus a third and so on: a curve, not a line. That model is ruled out. But suppose the comparisons share a fixed capacity. With j left, each runs at one j-th of the full rate, and the first of them finishes after the minimum of j exponential times, which is exponential at the full rate. Then the freed capacity is shared among the rest. Add it up, and every stage is identical to one serial comparison. The parallel model predicts the same line, and not just the same means: the same distribution of reaction times. James Townsend proved this in 1972. A straight line, even a perfect one, cannot tell serial from parallel. Part 48 returns to models that mimic one another.

What it does: Sternberg's task; exhaustive against self-terminating; Townsend's mimicry derived

6Four, not sevenPsych 101 and the major3 min

Digit span overestimates capacity, because people rehearse and chunk. To measure the raw limit you need a task that defeats both. In 1997 Steven Luck and Edward Vogel flashed an array of coloured squares for a tenth of a second, then a blank of nearly a second, then the array again, with one square perhaps changed. Same or different? The colours are too brief to name and there are too many to rehearse. Accuracy was nearly perfect with up to three or four squares, then fell steadily: a capacity of about . And when each object had four features, a colour, an orientation, a size and a gap, people held four objects about as well as four colours. They concluded the limit counts objects, not features, though later work found the features are not quite free.

How do you get a number from accuracy? With a model, and the model here is about as simple as they come. Suppose K of the N items are stored. On a change trial, if the changed item is among the stored ones, the change is detected; otherwise you guess different with some probability g. So the hit rate is K over N plus the rest times g. On a no-change trial, a stored item is correctly seen as the same, and otherwise you guess, so the false-alarm rate is the unstored share times g. Subtract, and the guessing cancels: K equals N times hits minus false alarms. That is Nelson Cowan's formula for a test that probes one item. When the whole display reappears, Harold Pashler's version divides by one minus the false-alarm rate. Applied to Psyche, whose true K is three and a half, the formula recovers it at every set size above three. Remember this derivation's assumption, that an item is either stored perfectly or not at all. The next chapter puts it on trial.

Others had been finding the same number from different directions. In 2001 Nelson Cowan reviewed every task he could find that blocks rehearsal and chunking. Change detection, running span where a list stops unpredictably, the number of items in the recency part of a free-recall curve, how many dots can be counted at a glance: the estimates clustered between three and five. Cowan's summary was , plus or minus one. Seven, on this view, was a span with help: rehearsal, chunking, and everything you know about digits. Even counting has a break near four: up to about four dots, the number is seen at a glance; beyond, you count. But every one of these estimates comes through a model in which an item is held perfectly or not at all. What if that's wrong?

What it does: Change detection; Cowan's K derived; the magical number four

7Slots or resourcesResearch8 min

Change detection asks whether you remember an item. In 2004 Patrick Wilken and Wei Ji Ma, and then many others, asked how well. Show a few coloured squares, take them away, then mark one of the locations. The observer clicks the colour they remember on a wheel, and the error is an angle: zero for perfect, a hundred and eighty degrees for the opposite colour. Every trial gives a number, not a yes or no. We'll use one dataset throughout: Paul Bays, Raquel Catalao and Masud Husain's experiment from 2009, observers and trials, with one, two, four or six squares. Bays has shared the trial-by-trial data openly, and every model in this chapter is fitted to it.

Here are the errors, pooled over observers. With one square, a narrow peak at zero: a circular spread of about degrees. With two, ; with four, ; with six, , a low hump on a wide base. There are two ways to read the six. A slot model says the hump is the items that got a slot and the flat base is guessing, for the items that didn't. A resource model says there are no guesses at all: a fixed resource is spread over six items, each is remembered imprecisely, and imprecision can be very large. Both ideas can be written down as probability distributions and fitted to every trial. That's how the argument has been fought.

The first tool is a description, not a theory. Weiwei Zhang and Steven Luck, in 2008, fitted each set size with a mixture: with probability one minus g, a von Mises distribution, the circular cousin of the normal, centred on the true colour; with probability g, a flat floor of guesses. Fitted by maximum likelihood to the Bays data, the guess rate is , , and , and the spread of the remembered items is , , and degrees. Read as slots, this is a tidy picture. The spread grows from one square to four and then stops: once the items outnumber the slots, each stored item has one slot and a fixed precision. Below capacity, spare slots can hold extra copies of the same item and average them, which is Zhang and Luck's slots-plus-averaging model. And the number of items stored, N times one minus g, comes out near with six squares: a capacity of about three. It all looks like slots. Hold that thought.

Bays and his colleagues noticed something about the guesses. Many of them weren't random. They landed near the colour of one of the other squares. So they added a third component to the mixture, centred on the non-target colours. These are swaps: the right colour, reported for the wrong place. Not a failure of storage, but of binding colour to location, the problem from the last part. Fitted to these data, with six squares about of responses are swaps and about are uniform. Some of what the two-component mixture called forgetting is confusion.

To get past descriptions, write down processes. Four of them. Slots: K slots, an item gets one with probability K over N and is then remembered with a fixed precision; otherwise it's a guess. Slots plus averaging: the K slots are shared out, and an item with s slots has s times the precision. Equal precision: no slots, every item is stored, and a fixed resource divided among N items gives each a precision that falls as a power of N. Variable precision, from Ronald van den Berg, Wei Ji Ma and colleagues in 2012: the same, except that precision itself varies from item to item and trial to trial, drawn from a gamma distribution. Precision has a precise meaning here: the Fisher information that a noisy memory carries about the true colour, which for a von Mises is kappa times a ratio of Bessel functions. Each model is fitted separately to each of the twelve observers, by maximum likelihood over every trial, and compared with the Akaike information criterion, which charges two points per parameter.

Here is the result, observer by observer. Each dot is how much worse a model's AIC is than the best model for that observer; zero is the winner. Variable precision wins for of the observers. Summed over observers, slots plus averaging is worse by points, slots by , and equal precision by . Differences of ten are usually called decisive. Van den Berg, Awh and Ma reached the same conclusion across ten datasets from six laboratories in 2014: the resource models with variable precision fit best. Two caveats keep the argument open. None of these four models includes swaps, which we just saw are real. And hybrid models, with a small number of slots holding variable-precision memories, fit nearly as well. The winner is a family, not a single answer.

One more experiment, on Psyche, shows why the descriptions couldn't settle the question. Take the variable-precision model fitted to the median observer, and let Psyche be that observer. By construction, Psyche never guesses: every item is stored, just with a precision that varies. Fit the mixture model to Psyche's errors, and it reports guess rates of with four squares and with six. Turn those into a capacity, N times one minus g, and you get about slots, read off a model that has none, and the spread of the 'stored' items levels off, just as it did in the real data. The picture that looked like slots is what a slotless observer produces. A memory held with very low precision is nearly flat, and in the tails it looks exactly like a guess. A parameter in a descriptive model is not a process in the head. Part 48 makes this a general method: simulate from each model, fit the others, and see what can be told apart.

What it does: Continuous report on open data; mixture and swaps; four process models; the verdict; the mimic

8How neurons hold a thoughtResearch4 min

Where is the thing being held? In 1989 Shintaro Funahashi, Charles Bruce and Patricia Goldman-Rakic trained monkeys to fixate a central spot while another spot flashed somewhere in the periphery. After a delay of a few seconds, the fixation spot went out and the monkey moved its eyes to where the flash had been. Many neurons in the dorsolateral prefrontal cortex kept firing through the delay, with nothing on the screen, but only when the flash had been in one region of space, their memory field. The drawing is a schematic of that pattern. And on trials where the monkey went to the wrong place, the delay activity was weaker. Something was holding the location in activity. How can a circuit do that, with neurons whose own activity dies away in tens of milliseconds?

Here is the classic answer, built and run. Ninety-six model neurons sit on a ring, each preferring one angle: one direction, or one colour. Each excites its neighbours and, through the uniform term, inhibits the rest. Connection strength depends only on the difference between preferred angles: a cosine. A brief cue at one angle starts a bump of activity there. When the cue is switched off, the bump doesn't decay: the neurons in it keep each other going, and the inhibition keeps it from spreading. Each neuron forgets in twenty milliseconds; the circuit remembers for seconds. Because the connections depend only on differences, the bump is equally stable at every position. The circuit has a continuous line of resting states, and it can hold any angle. That is an attractor, and it has a weakness.

The weakness is the same property that makes it work. Since every position is equally stable, a little noise nudges the bump, and nothing pushes it back. Over a delay, the remembered angle takes a random walk along the ring. Here are twelve trials, all cued at zero. Across three hundred trials, the variance of the remembered angle grows in a straight line with the delay, which is the signature of diffusion. After two seconds the spread is about degrees. In 2014 Klaus Wimmer, Duane Nykamp, Christos Constantinidis and Albert Compte showed that monkeys' errors grow with delay in just this way, and that trial-by-trial drift in the reported location could be read from the tuning of prefrontal firing during the delay. Load several items into one such network and their bumps compete and interfere, which is one way a circuit could produce precision that falls as more is held.

Persistent firing is not the only candidate. In some studies the information about a remembered item can't be decoded from activity during parts of the delay, and yet it's recalled perfectly afterwards. Gianluigi Mongillo, Omri Barak and Misha Tsodyks proposed in 2008 that the memory can sit in the synapses: a burst of firing leaves the connections among the active neurons temporarily strengthened, by short-term facilitation, for a second or more. Occasional bursts refresh the trace, and a nonspecific input can read it out. In 2016 Nathan Rose, Bradley Postle and colleagues found that a pulse of transcranial magnetic stimulation could briefly bring back a decodable trace of an item that was being held but was not the current focus. One reconciliation: the item in the focus of attention is held in firing, and the others are held silently, in the weights. Which one is right is still argued, and we'll come back to it at the frontier.

What it does: Delay activity; a ring attractor computed; diffusion; silent synapses

9Working memory and reasoningPsych 101 and the major2 min

If working memory is a workspace for thinking, the capacity that matters should be the capacity to hold while doing something else. In 1980 Meredyth Daneman and Patricia Carpenter had students read sentences aloud and remember the last word of each, in sets of increasing size. This reading span predicted reading comprehension and verbal SAT scores much better than a plain word span did. A meta-analysis by Daneman and Philip Merikle in 1996 put the correlation with comprehension at about . The version on screen, operation span, alternates arithmetic with letters, and is the most used today. Randall Engle and his colleagues argue that what these tasks really measure is executive attention: the ability to keep a goal active while something else competes for it.

Complex span also predicts something broader. In 2005 Michael Kane, David Hambrick and Andrew Conway re-analysed fourteen studies that measured working memory capacity and fluid intelligence, the ability to solve new problems, each with several tasks. The correlation between the two underlying factors was about . Phillip Ackerman and his colleagues, looking at single tasks, put it nearer . The two numbers are not in conflict: a single task is an unreliable measure of a factor, and Part 3 showed how unreliability attenuates a correlation. Both camps agreed the two are related but not the same thing. And a correlation across people says nothing about whether raising one would raise the other. That is an experiment, and an industry ran it.

What it does: Complex span; working memory and fluid intelligence

10Can you train it?Psych 101 and the major4 min

In 2008 a paper in the Proceedings of the National Academy of Sciences made a striking claim. Susanne Jaeggi, Martin Buschkuehl, John Jonides and Walter Perrig trained young adults on the dual n-back task: a square lights up on a grid while a letter is spoken, and you press a key whenever the place, or the letter, matches the one n steps back. As you improve, n goes up, so the task never gets easy. Groups trained for , , or days, and their gains on a test of fluid reasoning grew with the amount of training. Training working memory, the authors concluded, could improve fluid intelligence. The design had weaknesses that matter: the comparison group simply had no contact between tests, the reasoning tests were shortened and timed, and the groups were small. It also arrived at the right moment for a new business.

The replications came quickly. In 2013 Thomas Redick and his colleagues gave people sessions of dual n-back, and compared them both with a group that did sessions of an adaptive visual search game, a placebo that feels like training, and with a no-contact group. Everyone improved at what they practised. Nobody improved on the measures of reasoning, memory capacity, multitasking and speed. The active control matters because people who believe they've been trained expect to improve, and try harder at the post-test. A no-contact group can't control for that. By 2016 Monica Melby-Lervåg, Redick and Charles Hulme could meta-analyse publications with comparisons. Training produced reliable gains on similar memory tasks, near transfer, and, against active controls, no convincing far transfer to reasoning, reading or arithmetic. And how much a person's memory improved didn't predict how much anything else did, which is what transfer would require.

Psyche can show why the control group decides the answer. In this simulation the truth is known: training improves the trained kind of task by six tenths of a standard deviation, improves reasoning by exactly nothing, and anyone who believes they were trained gains a quarter of a standard deviation on any test, from effort and expectation. Each trial has forty people a group. Against a no-contact control, the average effect on reasoning is about , and of trials find an effect larger than a typical published one. Against an active control, who also believe they were trained, the expectation cancels and the average is . And with forty people a group, single trials scatter widely either way. Which trials get published, and talked about, is the subject of Part 4.

The argument moved outside the laboratory. In 2014 about seventy scientists, organised by the Stanford Center on Longevity and the Max Planck Institute for Human Development, signed a statement that claims for brain games were frequently exaggerated and at times misleading. Weeks later more than a hundred others signed a reply arguing that some forms of training do have benefits. In 2016 Daniel Simons and six colleagues reviewed the studies the companies themselves cited. They found plenty of evidence that people improve on the trained tasks, less that they improve on closely related tasks, and little that training improves everyday cognition. In January 2016 the Federal Trade Commission settled with the makers of Lumosity over its advertising: two million dollars in refunds, with a fifty million dollar judgment suspended. The order forbids claims about cognitive benefits without competent and reliable scientific evidence, which is a sentence the Ledger would happily adopt.

What it does: Dual n-back; active controls; the meta-analysis; Psyche's trials; the consensus and the FTC

11The LedgerPsych 101 and the major3 min

Six rows today. The first: right after a brief display, a cued part of it can be reported far better than whole report suggests, and the advantage fades within about a second. The original: Sperling, 1960. The record: Max Coltheart's 1980 review gathered two decades of partial-report studies. The advantage is large for cues that pick a location, and absent for cues that pick a category, such as report the digits. What the store holds, and how much of it reaches awareness, is argued. Replicated.

The second: without rehearsal, three consonants are mostly forgotten within eighteen seconds, because their trace decays. The original: Peterson and Peterson, 1959. The record: Keppel and Underwood, 1962, who looked at the first trial. The forgetting is real and reproduces; the cause in the textbook account does not survive the first trial. A story and a record: the finding stands, the explanation attached to it was wrong.

The third: span is shorter for words that take longer to say, and suppression removes the difference. The original: Baddeley, Thomson and Buchanan, 1975. The record: the effect of word length reproduces easily, but Peter Lovatt and his colleagues found, with two-syllable words that differ only in spoken duration, no reliable effect for some word sets. So whether duration itself is the cause, or something that travels with it in the classic word lists, is argued. Replicated, with the cause under review.

The fourth: deciding whether a probe is in a short list takes time that rises linearly with the list, equally for yes and no. The original: Sternberg, 1966. The record: Sternberg's own review in 1975 found linear functions for digits, letters, words and faces, with slopes that depend on the material. The line reproduces; its reading as a serial search does not follow from it, as Townsend showed. Replicated.

The fifth: without rehearsal or chunking, people hold about three or four items. The original: Luck and Vogel, 1997. The record: Cowan's review found three to five across many tasks, and van den Berg, Awh and Ma's comparison of thirty-two models across ten datasets found precision falling continuously with load. The number reproduces wherever rehearsal is blocked; what it counts is the open question. Replicated.

And the sixth: training working memory raises fluid intelligence. The original: Jaeggi and colleagues, 2008. The record: Redick and colleagues' placebo-controlled trial in 2013, and Melby-Lervåg, Redick and Hulme's meta-analysis of a hundred and forty-five comparisons in 2016. Practice improves what is practised. The far transfer that would matter is not found against placebo training. Failed.

What it does: Partial report; Brown-Peterson; word length; scanning; four; training

12In practice: forms, read-backs, testsPractice3 min

A limit of about four chunks shows up all over design. Sixteen digits in a row are beyond anyone's span. In groups of four they are four chunks of four, which is why card numbers, phone numbers and one-time passcodes are printed in groups. Forms that make you carry a code or a reference number from one screen to another are asking for a working-memory feat; show it where it has to be typed. Miller's seven is often quoted as a limit on the length of menus. That's a misreading: a menu is in front of you, and the limit is on what has to be held without it. Interruptions are expensive for the same reason. They evict whatever you were holding, and getting back to the task means rebuilding it. And in teaching, cognitive load theory designs lessons around the workspace, for instance with worked examples that leave room for learning. Part 54 examines how well that holds up.

Aviation learned this the hard way. An air traffic clearance can carry three or four numbers, an altitude, a heading, a frequency, heard once over a noisy radio, which is right at the limit. So the pilot reads it back, putting their memory where the controller can check it; the controller listening for errors is the hear-back. A classic error is substitution: a number from the previous clearance, or from another aircraft's, which is exactly a swap error, the right value bound to the wrong slot. Checklists, and clearances sent as text, move the load from memory to paper or a screen. Hospitals adopted the same logic for verbal orders and critical test results: say it back. Part 51 takes up this kind of design in general.

Spans are also measurements of people. Digit span, forwards and backwards, is part of the Wechsler intelligence scales, and of many neuropsychological batteries. Backwards span is harder, because the digits must be held and reordered: a small complex span. Spans grow through childhood, peak in early adulthood, and decline slowly after that, which Part 31 examines. Low working-memory scores are common in ADHD and in many learning difficulties, Part 41. But a span score is not a pure measure of capacity: as this part has shown, speed of speech, strategy, knowledge of the material and effort all enter it. And a score that ranks people reliably can be a poor one for detecting change within a person, a problem Part 59 calls the reliability paradox.

What it does: Chunked codes and forms; read-backs and checklists; span as a measure

13Frontier: what is the limit for?Research3 min

Where the field stands. Settled: a brief, large visual store feeds a small workspace. Most short-term forgetting is interference, not decay. Without rehearsal people hold about three or four items. Precision falls continuously as more is held. And practice on memory tasks does not transfer far. Open: whether the limit has slots at all, or variable precision with a few slots. Whether items are held in firing, in silent synapses, or both. Whether the executive is one thing. And the deepest question: why is the workspace so small?

One answer treats the limit not as a flaw but as a budget. Information theory's rate-distortion result says that for a Gaussian quantity, each extra bit spent on encoding halves the error's standard deviation. Suppose working memory has a fixed number of bits, shared equally among the items. Fitted to the Bays data, the budget is about bits, and one item alone is held to about degrees. The four observed spreads fall near the curve, with only two parameters for four set sizes. Go one step further and make the budget itself a choice: information costs metabolic energy, so a rational system spends precision where it pays, and fewer bits when the reward for accuracy is small. Chris Sims, Robert Jacobs and David Knill proposed working memory as such an efficient channel in 2012, and van den Berg and Ma's resource-rational model of 2018 derived the set-size effect itself as an optimum. That idea, the brain as an efficient code, is Part 58.

Three threads to follow from here. Many researchers now distinguish a focus of attention, perhaps a single item held in an especially active state, from a wider set of items held more quietly, which may be the silent synapses of chapter eight. In 2018 Klaus Oberauer and a large group of colleagues published a list of benchmark findings that any model of working memory should explain, an attempt to turn a field of rival boxes into a field of tested theories. Some argue that working memory is not a separate store at all, but the currently activated part of long-term memory, which is where Part 20 picks up. And the machines of Part 60 are a strange contrast. A language model attends over a context of thousands of words with no small workspace at all. Whether our four items are a limitation to engineer around, or a constraint that forces compression and abstraction, is one of the questions that part takes up.

What it does: Settled and open; a shared information budget fitted; attention, memory and machines

Recap, problems, and the road aheadAll tracks3 min

Part nineteen in ten lines. Span counts chunks, not bits, so recoding makes it grow. A large visual icon fades within a second, and reporting, not seeing, is the bottleneck. Forgetting in seconds is mostly crowding by similar memories, which is why the first trial forgets almost nothing. Working memory is a system, and its phonological loop holds about two seconds of speech. Scanning it takes time in a straight line, which a parallel model can draw just as well. Without rehearsal, people hold about four items, counted by a formula that assumes slots. Precision falls continuously with load, and variable precision fits the open data best. A ring of neurons can hold a bump of activity, which diffuses, so memories blur with time. Working memory tracks reasoning across people, but training it does not raise reasoning. And the small size of the workspace may be a budget well spent, rather than a defect.

Kant's wager. The first objection, that mathematics can't apply to the mind, met a contest between four likelihoods, each fitted to seven thousand judgments of colour, with a winner. And the second, that the mind can't be experimented on, met Sperling's tone: a way to sample what someone saw without asking them to report it all.

Where this comes back. Long-term memory, and the idea that working memory is its active part, are Parts 20 and 21. Working memory across the lifespan and in ADHD are Parts 31 and 41. Its relation to intelligence is Part 32. Models that mimic each other, and how to tell them apart, are Part 48. Read-backs, checklists and cognitive load are Parts 51 and 54. The limit as an efficient code is Part 58. And small workspaces against large contexts is Part 60.

Seven problems, with full solutions in this part's README. One does Smith's arithmetic. One derives both K formulas. One proves Townsend's mimicry. One computes SIMPLE's discriminability by hand. One computes the precision of a von Mises. One uses Psyche to see when a model comparison can be trusted. And the last, with the star, asks you to design the training study that would convince a sceptic. Pause here if you'd like to try them.

The books and papers behind this part are listed here and in the README. Alan Baddeley's Working Memory, Thought, and Action is the classic account by the model's author; Ma, Husain and Bays's review is the clearest introduction to precision and resources.

Working memory holds a few things for a few seconds. Everything else you know is somewhere else. In 1885 Hermann Ebbinghaus, working alone, made up two thousand three hundred nonsense syllables and spent years learning and relearning them, to measure how memory is stored and lost. It's Part 20: memory, storing and finding.

Where it goes next. Long-term memory is Parts 20 and 21, the lifespan and ADHD Parts 31 and 41, intelligence Part 32, model recovery Part 48, read-backs and cognitive load Parts 51 and 54, the limit as an efficient code Part 58, and small workspaces against large contexts Part 60.

Key results

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

Cowan's K\(\displaystyle K = N\,(H - F)\)
Precision of a von Mises\(\displaystyle J = \kappa\,\frac{I_1(\kappa)}{I_0(\kappa)}\)
SIMPLE's discriminability\(\displaystyle D_i = \Big(\sum_j e^{-c\,|\log T_i - \log T_j|}\Big)^{-1}\)
Variable precision\(\displaystyle J \sim \text{Gamma}\big(\text{mean } J_1 N^{-\alpha},\ \text{scale } \tau\big)\)
A shared information budget\(\displaystyle \sigma_N = \sigma_1\,2^{\,R - R/N}\)

Try it

Lab 19 · Working memory: span, forgetting, scanning, capacity and precision

Measure the capacity of absolute judgment in bits; run the phonological loop and abolish the word-length effect; see why the first Brown-Peterson trial forgets nothing; show that a parallel search can draw Sternberg's line; recover K from hits and false alarms; fit slots, averaging, equal and variable precision to real continuous-report data; and watch a ring attractor's memory diffuse.

Figure produced by Lab 19: Working memory: span, forgetting, scanning, capacity and precision
Produced by the lab below, seed 0, in 7.4 s.
python -m videos.psychology.labs 19 needs numpy, scipy, matplotlib · download lab19.py · source on GitHub
information transmitted (bits) with 2, 4, 6, 10, 20 categories                1.00, 2.00, 2.49, 2.59, 2.67
binary digits held with 7 chunks, grouping 1 to 5                             7, 14, 21, 28, 35
span for 0.3 s words: loop, suppressed                                        6.23, 2.38
span for 0.8 s words: loop, suppressed                                        3.03, 2.33
letters available at cue delays 0, 150, 300, 500, 1000 ms (whole report 4.5)  9.1, 7.1, 5.9, 5.1, 4.6
Brown-Peterson recall after 3 and 18 s, trial 1                               1.00, 1.00
Brown-Peterson recall after 3 and 18 s, trial 2                               0.92, 0.72
Brown-Peterson recall after 3 and 18 s, trial 3                               0.88, 0.58
Brown-Peterson recall after 3 and 18 s, trial 10                              0.79, 0.09
serial scanning, yes trials: slope (ms per item)                              38.2
self scanning, yes trials: slope (ms per item)                                18.7
parallel scanning, yes trials: slope (ms per item)                            11.0
limited scanning, yes trials: slope (ms per item)                             37.9
change detection, 2 items: H, F, Cowan's K                                    1.00, 0.00, 2.00
change detection, 4 items: H, F, Cowan's K                                    0.94, 0.06, 3.49
change detection, 6 items: H, F, Cowan's K                                    0.79, 0.21, 3.50
change detection, 8 items: H, F, Cowan's K                                    0.72, 0.28, 3.46
continuous-report data                                                        Bays et al. (2009)
mixture fit, 1 item (pooled)                                                  g = 0.01, s.d. = 14 deg
mixture fit, 2 items (pooled)                                                 g = 0.09, s.d. = 18 deg; swaps 0.03
mixture fit, 4 items (pooled)                                                 g = 0.28, s.d. = 21 deg; swaps 0.10
mixture fit, 6 items (pooled)                                                 g = 0.44, s.d. = 22 deg; swaps 0.27
one observer: AIC above the best, slots / averaging / equal / variable        55 / 7 / 42 / 0
ring attractor: memory s.d. at 0.5 and 2 s (deg); variance ratio              5.3, 11.2; 4.4
far transfer d, mean over 200 trials: no-contact control, active control      0.34, -0.01

The judgment channel saturates near 2.7 bits; recoding multiplies binary span. Suppression abolishes the word-length effect. The first Brown-Peterson trial forgets nothing. Limited-capacity parallel scanning has the serial slope. Cowan's K recovers the slots. On the open data, precision falls continuously and variable precision usually wins. The ring's variance grows linearly with delay. Expectation looks like transfer only against a no-contact control.
The code (121 lines; it asserts its own result)
"""Lab 19: absolute judgment as a channel; the phonological loop with and without suppression; Sperling's partial
report; Brown-Peterson forgetting under SIMPLE, trial by trial; Sternberg's scanning and Townsend's mimicry; slots and
the K formula; continuous report with mixture, swap and process models, fitted to Bays, Catalao and Husain's open data
(or, offline, to Psyche); a ring attractor's diffusion; and a brain-training trial against two kinds of control."""

import numpy as np

from videos.coursekit import labs
from explainer.psychology import opendata
from explainer.psychology.psyche import wm

TITLE = "Working memory: span, forgetting, scanning, capacity and precision"
GOAL = ("Measure the capacity of absolute judgment in bits; run the phonological loop and abolish the word-length "
        "effect; see why the first Brown-Peterson trial forgets nothing; show that a parallel search can draw "
        "Sternberg's line; recover K from hits and false alarms; fit slots, averaging, equal and variable precision "
        "to real continuous-report data; and watch a ring attractor's memory diffuse.")
TASKS = [
    "In `wm.loop_span`, find the word duration at which the loop's span falls to the suppressed span. What does the "
    "model then predict for the word-length effect at faster and slower speech?",
    "Simulate a slots observer (`wm.simulate_report('slots', (3, 15), ...)`) with 50, 200 and 800 trials per set size "
    "and fit both the slots and the variable-precision models. How many trials does AIC need to pick the truth?",
    "Halve the ring attractor's noise. By what factor does the variance of the memory at 2 s change, and why?",
]


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

    # 1. absolute judgment and recoding
    n = np.array([2, 4, 6, 10, 20])
    out.row("information transmitted (bits) with 2, 4, 6, 10, 20 categories",
            ", ".join(f"{v:.2f}" for v in wm.absolute_judgment(n)))
    out.row("binary digits held with 7 chunks, grouping 1 to 5", ", ".join(f"{wm.recoded_span(g):.0f}" for g in range(1, 6)))

    # 2. the loop
    for dur in (0.3, 0.8):
        a, b = wm.loop_span(dur, n=4000, rng=rng), wm.loop_span(dur, suppress=True, n=4000, rng=rng)
        out.row(f"span for {dur} s words: loop, suppressed", f"{a['span']:.2f}, {b['span']:.2f}")

    # 3. partial report
    r = wm.partial_report([0, 150, 300, 500, 1000])
    out.row("letters available at cue delays 0, 150, 300, 500, 1000 ms (whole report 4.5)",
            ", ".join(f"{v:.1f}" for v in r["available"]))

    # 4. forgetting, trial by trial
    d = np.array([3.0, 18.0])
    for t in (1, 2, 3, 10):
        out.row(f"Brown-Peterson recall after 3 and 18 s, trial {t}", ", ".join(f"{v:.2f}" for v in wm.brown_peterson(d, t)))
    assert wm.brown_peterson([18.0], 1)[0] > 0.95 > wm.brown_peterson([18.0], 3)[0]  # no forgetting on trial 1 only

    # 5. scanning
    k = np.arange(1, 7)
    for m in ("serial", "self", "parallel", "limited"):
        y = [wm.sternberg_rts(int(s), True, m, n=4000, rng=rng).mean() for s in k]
        out.row(f"{m} scanning, yes trials: slope (ms per item)", f"{np.polyfit(k, y, 1)[0]:.1f}")

    # 6. slots and K
    for N in (2, 4, 6, 8):
        c = wm.change_detection(N, K=3.5, n=20000, rng=rng)
        assert abs(wm.k_cowan(c["H"], c["FA"], N) - min(N, 3.5)) < 0.2  # the formula recovers the slots
        out.row(f"change detection, {N} items: H, F, Cowan's K", f"{c['H']:.2f}, {c['FA']:.2f}, "
                f"{wm.k_cowan(c['H'], c['FA'], N):.2f}")

    # 7. continuous report: open data if it can be fetched, else Psyche
    if opendata.available("bays_2009"):
        b = opendata.bays_2009()
        e, N, s, ne = b["error"], b["set_size"], b["subject"], b["nontarget_error"]
        source = "Bays et al. (2009)"
    else:
        N = np.repeat([1, 2, 4, 6], 600)
        e = wm.simulate_report("variable", (25.0, 1.0, 15.0), N, rng)
        s, ne = np.ones(len(N), int), np.full((len(N), 5), np.nan)
        source = "Psyche (offline: the open data could not be fetched)"
    out.row("continuous-report data", source)
    mix = {}
    for n_ in (1, 2, 4, 6):
        m = N == n_
        f = wm.fit_mixture(e[m])
        mix[n_] = f
        line = f"g = {f['g']:.2f}, s.d. = {np.degrees(f['sd']):.0f} deg"
        if n_ > 1 and np.isfinite(ne[m]).any():
            sw = wm.fit_swap(e[m], ne[m])
            line += f"; swaps {sw['pN']:.2f}"
        out.row(f"mixture fit, {n_} item{'s' if n_ > 1 else ''} (pooled)", line)
    first = s == s.min()
    fits = {mo: wm.fit_model(mo, e[first], N[first]) for mo in wm.MODELS}
    best = min(f["aic"] for f in fits.values())
    out.row("one observer: AIC above the best, slots / averaging / equal / variable",
            " / ".join(f"{fits[mo]['aic'] - best:.0f}" for mo in wm.MODELS))

    # 8. the ring attractor
    ring = wm.ring_attractor(delay=2000, trials=80, rng=rng)
    var = np.var(ring["angle"], 0)
    i1, i2 = np.searchsorted(ring["t"], 500), len(ring["t"]) - 1
    assert 2.0 < var[i2] / var[i1] < 7.0  # about linear growth: diffusion
    out.row("ring attractor: memory s.d. at 0.5 and 2 s (deg); variance ratio",
            f"{np.degrees(np.sqrt(var[i1])):.1f}, {np.degrees(np.sqrt(var[i2])):.1f}; {var[i2] / var[i1]:.1f}")

    # 9. training
    tr = {c: [wm.training_trial(40, control=c, rng=rng)["far"] for _ in range(200)] for c in ("passive", "active")}
    out.row("far transfer d, mean over 200 trials: no-contact control, active control",
            f"{np.mean(tr['passive']):.2f}, {np.mean(tr['active']):.2f}")

    out.note = ("The judgment channel saturates near 2.7 bits; recoding multiplies binary span. Suppression abolishes "
                "the word-length effect. The first Brown-Peterson trial forgets nothing. Limited-capacity parallel "
                "scanning has the serial slope. Cowan's K recovers the slots. On the open data, precision falls "
                "continuously and variable precision usually wins. The ring's variance grows linearly with delay. "
                "Expectation looks like transfer only against a no-contact control.")

    fig, ax = labs.figure(2, size=(11, 4.2))
    edges = np.linspace(-np.pi, np.pi, 37)
    for n_, col in zip((1, 2, 4, 6), (labs.PINK, labs.BLUE, labs.GREEN, labs.GOLD)):
        h, _ = np.histogram(e[N == n_], edges, density=True)
        ax[0].step(np.degrees(edges[:-1]), h, where="post", color=col, lw=1.4, label=f"{n_} items")
    ax[0].set(title=f"Continuous-report errors: {source}", xlabel="error, degrees", ylabel="density")
    ax[0].legend(fontsize=8)
    ax[1].plot(ring["t"] / 1000, np.degrees(np.sqrt(var)), color=labs.BLUE, lw=1.8)
    ax[1].set(title="Ring attractor: the memory blurs", xlabel="delay, s", ylabel="s.d. of the memory, degrees")
    out.fig = fig
    return out

Now change it

  1. In `wm.loop_span`, find the word duration at which the loop's span falls to the suppressed span. What does the model then predict for the word-length effect at faster and slower speech?
  2. Simulate a slots observer (`wm.simulate_report('slots', (3, 15), ...)`) with 50, 200 and 800 trials per set size and fit both the slots and the variable-precision models. How many trials does AIC need to pick the truth?
  3. Halve the ring attractor's noise. By what factor does the variance of the memory at 2 s change, and why?

Problems, with solutions

Try each problem before opening its solution.

1. Smith's arithmetic. Smith recoded binary digits in groups of five. With a span of 8 chunks, how many binary digits could he hold, and how many bits is that per chunk?

Solution

With groups of five binary digits recoded into one chunk and a span of 8 chunks, Smith could hold 8 × 5 = 40 binary digits: 5 bits a chunk, 40 bits in all, against 9 bits without recoding. The span in chunks barely changed; the information per chunk did.

2. The two K formulas. Derive Cowan's \(K = N(H - F)\) from a slot model with guessing, and Pashler's \(K = N(H - F)/(1 - F)\) for a whole-display test.

Solution

A single probe: on a change trial the changed item is stored with probability K/N and detected; otherwise "different" is guessed with probability g, so H = K/N + (1 − K/N) g. On a no-change trial, a stored probe is called "same" and an unstored one "different" with probability g, so F = (1 − K/N) g. Then H − F = K/N, K = N(H − F). With the whole display back and one item changed, a stored changed item is detected; a "same" display is called different only by guessing on unstored items, F = g (Pashler's assumption that guessing happens when the change is not seen), and H = K/N + (1 − K/N) g, so H − F = (K/N)(1 − g) and K = N(H − F)/(1 − F).

3. Townsend's mimicry. Show that \(j\) exponential comparisons each at rate \(1/(jc)\) finish first after an exponential time of mean \(c\), and hence that limited-capacity parallel search mimics serial search.

Solution

If j comparisons each finish after an exponential time with rate 1/(jc), the first of them finishes after an exponential time with rate j · 1/(jc) = 1/c (the minimum of independent exponentials has the sum of their rates), whose mean is c. By the memoryless property the remaining j − 1 comparisons start afresh, now each at rate 1/((j − 1)c). Summing the stages, the total is a sum of k exponentials of mean c: exactly the serial exhaustive model with exponential comparisons, in mean, variance and distribution.

4. SIMPLE by hand. In SIMPLE with \(c = 1\), find the discriminability of an item 3 s old among items 30 and 60 s old, and of the same item at 18 s.

Solution

With c = 1, the similarity of ages a and b is exp(−|log a − log b|) = min(a, b)/max(a, b). At 3 s among items 30 and 60 s old: D = 1/(1 + 0.1 + 0.05) = 0.87. At 18 s: D = 1/(1 + 0.6 + 0.3) = 0.53. Waiting fifteen seconds moved the item two-thirds of the way toward its neighbours on the log scale, and its distinctiveness fell by almost half, without any decay.

5. A von Mises's precision. Compute the Fisher information \(J\) of a von Mises with \(\kappa = 5\), and the circular s.d. of the same distribution.

Solution

J = κ I1(κ)/I0(κ). At κ = 5, I1(5)/I0(5) = 0.8934, so J = 4.47. The circular s.d. is √(−2 log 0.8934) = 0.475 radians, 27 degrees; for large κ, J ≈ κ − 1/2 and the s.d. ≈ 1/√κ.

6. When can AIC be trusted? With explainer.psychology.psyche.wm: simulate a slots observer, fit the variable-precision model, and report which model AIC prefers as the number of trials grows.

Solution

Simulating a slots observer with K = 3 and J = 15 at set sizes 1, 2, 4 and 6 and fitting both models, AIC picked slots in 20 of 20 runs at 50, 200 and 800 trials per set size: a flat floor of true guesses beside sharply remembered items is hard for variable precision to fake, because it would need many items with almost no precision and the rest with a lot. The reverse is the hard direction: chapter seven's mimic shows a variable-precision observer producing a mixture fit that looks like slots, and recovering variable precision needs more trials. Parameter and model recovery, in both directions, are Part 48's subject.

7. ★ A convincing training study. Design a training study whose far-transfer result could convince a sceptic, and say what its control group must believe.

Solution

Randomize enough people to detect d = 0.2 on a pre-registered composite of several reasoning tests (about 400 a group for 80% power); give the control group an adaptive, engaging placebo they believe is training, and measure expectations in both groups; blind the testers; test at follow-up as well as immediately; and require that individual gains on the trained task predict gains on reasoning. A control group that does not believe it was trained cannot rule out expectation.

Notes and sources

Where it comes back

Long-term memory, and working memory as its active part: Parts 20 and 21. The lifespan and ADHD: Parts 31 and 41. Intelligence: Part 32. Model and parameter recovery: Part 48. Read-backs and checklists: Part 51; cognitive load: Part 54. The limit as an efficient code: Part 58. Small workspaces and large contexts: Part 60. Psyche's wm module supplies the K formulas, the precision models and the ring attractor those parts extend.

Sources

Books. A. Baddeley, Working Memory, Thought, and Action (Oxford, 2007). N. Cowan, Working Memory Capacity (Psychology Press, 2005). M. J. Kahana, Foundations of Human Memory (Oxford, 2012).

Papers. G. A. Miller, The magical number seven, plus or minus two, Psychol. Rev. 63 (1956) 81–97. G. Sperling, The information available in brief visual presentations, Psychol. Monogr. 74 (1960) no. 11. M. Coltheart, Iconic memory and visible persistence, Percept. Psychophys. 27 (1980) 183–228. J. Brown, Some tests of the decay theory of immediate memory, Q. J. Exp. Psychol. 10 (1958) 12–21. L. R. Peterson and M. J. Peterson, Short-term retention of individual verbal items, J. Exp. Psychol. 58 (1959) 193–198. G. Keppel and B. J. Underwood, Proactive inhibition in short-term retention of single items, J. Verbal Learn. Verbal Behav. 1 (1962) 153–161. D. D. Wickens, Encoding categories of words, Psychol. Rev. 77 (1970) 1–15. G. D. A. Brown, I. Neath and N. Chater, A temporal ratio model of memory, Psychol. Rev. 114 (2007) 539–576. R. C. Atkinson and R. M. Shiffrin, Human memory: a proposed system and its control processes, Psychology of Learning and Motivation 2 (1968) 89–195. E. K. Warrington and T. Shallice, The selective impairment of auditory verbal short-term memory, Brain 92 (1969) 885–896. T. Shallice and E. K. Warrington, Independent functioning of verbal memory stores, Q. J. Exp. Psychol. 22 (1970) 261–273. A. D. Baddeley and G. Hitch, Working memory, Psychology of Learning and Motivation 8 (1974) 47–89. A. D. Baddeley, The episodic buffer, Trends Cogn. Sci. 4 (2000) 417–423. A. D. Baddeley, N. Thomson and M. Buchanan, Word length and the structure of short-term memory, J. Verbal Learn. Verbal Behav. 14 (1975) 575–589. P. Lovatt, S. E. Avons and J. Masterson, The word-length effect and disyllabic words, Q. J. Exp. Psychol. 53A (2000) 1–22. S. Sternberg, High-speed scanning in human memory, Science 153 (1966) 652–654. S. Sternberg, Memory scanning: new findings and current controversies, Q. J. Exp. Psychol. 27 (1975) 1–32. J. T. Townsend, Some results concerning the identifiability of parallel and serial processes, Br. J. Math. Stat. Psychol. 25 (1972) 168–199. S. J. Luck and E. K. Vogel, The capacity of visual working memory for features and conjunctions, Nature 390 (1997) 279–281. N. Cowan, The magical number 4 in short-term memory, Behav. Brain Sci. 24 (2001) 87–185. H. Pashler, Familiarity and visual change detection, Percept. Psychophys. 44 (1988) 369–378. P. Wilken and W. J. Ma, A detection theory account of change detection, J. Vis. 4 (2004) 1120–1135. W. Zhang and S. J. Luck, Discrete fixed-resolution representations in visual working memory, Nature 453 (2008) 233–235. P. M. Bays and M. Husain, Dynamic shifts of limited working memory resources in human vision, Science 321 (2008) 851–854. P. M. Bays, R. F. G. Catalao and M. Husain, The precision of visual working memory is set by allocation of a shared resource, J. Vis. 9(10):7 (2009). R. van den Berg et al., Variability in encoding precision accounts for visual short-term memory limitations, PNAS 109 (2012) 8780–8785. R. van den Berg, E. Awh and W. J. Ma, Factorial comparison of working memory models, Psychol. Rev. 121 (2014) 124–149. W. J. Ma, M. Husain and P. M. Bays, Changing concepts of working memory, Nat. Neurosci. 17 (2014) 347–356. S. Funahashi, C. J. Bruce and P. S. Goldman-Rakic, Mnemonic coding of visual space in the monkey's dorsolateral prefrontal cortex, J. Neurophysiol. 61 (1989) 331–349. K. Wimmer, D. Q. Nykamp, C. Constantinidis and A. Compte, Bump attractor dynamics in prefrontal cortex explains behavioral precision in spatial working memory, Nat. Neurosci. 17 (2014) 431–439. G. Mongillo, O. Barak and M. Tsodyks, Synaptic theory of working memory, Science 319 (2008) 1543–1546. N. S. Rose et al., Reactivation of latent working memories with transcranial magnetic stimulation, Science 354 (2016) 1136–1139. M. Daneman and P. A. Carpenter, Individual differences in working memory and reading, J. Verbal Learn. Verbal Behav. 19 (1980) 450–466. M. Daneman and P. M. Merikle, Working memory and language comprehension: a meta-analysis, Psychon. Bull. Rev. 3 (1996) 422–433. M. J. Kane, D. Z. Hambrick and A. R. A. Conway, Working memory capacity and fluid intelligence are strongly related constructs, Psychol. Bull. 131 (2005) 66–71. P. L. Ackerman, M. E. Beier and M. O. Boyle, Working memory and intelligence: the same or different constructs?, Psychol. Bull. 131 (2005) 30–60. S. M. Jaeggi et al., Improving fluid intelligence with training on working memory, PNAS 105 (2008) 6829–6833. T. S. Redick et al., No evidence of intelligence improvement after working memory training, J. Exp. Psychol. Gen. 142 (2013) 359–379. M. Melby-Lervåg, T. S. Redick and C. Hulme, Working memory training does not improve performance on measures of intelligence or other measures of far transfer, Perspect. Psychol. Sci. 11 (2016) 512–534. D. J. Simons et al., Do "brain-training" programs work?, Psychol. Sci. Public Interest 17 (2016) 103–186. C. R. Sims, R. A. Jacobs and D. C. Knill, An ideal observer analysis of visual working memory, Psychol. Rev. 119 (2012) 807–830. R. van den Berg and W. J. Ma, A resource-rational theory of set size effects in human visual working memory, eLife 7 (2018) e34963. K. Oberauer et al., Benchmarks for models of short-term and working memory, Psychol. Bull. 144 (2018) 885–958.

About this partfrom its README

George Miller was persecuted by an integer, seven. This part follows the limit on what can be held in mind from Miller's chunks to a contest between four likelihoods fitted to seven thousand open trials, and from a box in a diagram to a ring of neurons whose memory diffuses, and it asks what an industry promising to enlarge the limit actually delivered.

Digit span on you; absolute judgment as a channel of about 2.6 bits, computed; span counts chunks, not bits, and recoding performed; Sperling's partial report and a fading icon; the Brown-Peterson task, Keppel and Underwood's first trial, and SIMPLE's temporal distinctiveness derived; the modal model and patient K.F.; Baddeley and Hitch's multicomponent model, the phonological loop run on Psyche with the word-length effect and articulatory suppression, and span against speech rate; Sternberg's memory scanning, self-terminating against exhaustive search, and Townsend's proof that limited-capacity parallel search mimics serial search; change detection, Cowan's and Pashler's K derived, and Cowan's four; continuous report on Bays, Catalao and Husain's open data with mixture and swap fits, four process models fitted to every observer, and a variable-precision observer who never guesses but looks as if it does; delay activity, a ring attractor computed and its diffusion; complex span and fluid intelligence; dual n-back, active controls, the meta-analyses and the FTC. The practice chapter is chunked codes, forms, interruptions, read-backs and span as a clinical measure; the frontier is why the limit is small, with a shared information budget fitted to the data.

What is computed and built
  • explainer/psychology/psyche/wm.py: absolute judgment as a channel; recoding; the phonological loop with suppression; partial report; SIMPLE and the Brown-Peterson task; Sternberg scanning under serial, self-terminating, unlimited-parallel and limited-capacity-parallel models; change detection and the K formulas; von Mises precision; the mixture and swap models; slots, slots plus averaging, equal and variable precision fitted by maximum likelihood and compared by AIC; a ring attractor; brain-training trials; a shared information budget. Tested in tests/psychology/test_wm.py against closed forms (Fisher information, harmonic numbers, the exponential minimum), recovery of known parameters, and the signatures each model is built to show.
  • explainer/psychology/opendata.py: open trial-level data fetched on first use into .cache/psychology_data/ and checked by SHA-256; Bays, Catalao and Husain (2009) is the first.
  • The Battery's task 5 (change detection) now runs on Psyche.
  • The Ledger gains six rows; the Archive twenty-three datasets.
  • The course's interactive is change detection: forty-eight trials at four set sizes, and the reader's own K.
Chapter notes
# Chapter What it does
0 Persecuted by an integer Digit span on you; Miller's seven; the questions; objectives
1 The magical number seven Absolute judgment as a channel, computed; span counts chunks; recoding performed
2 More than you can report Whole report; partial report; the icon fading, on Psyche
3 Forgetting in eighteen seconds The Brown-Peterson task; the first trial; SIMPLE derived
4 A system, not a store The modal model and K.F.; Baddeley and Hitch; the word-length effect and suppression; span and speech rate
5 Searching what you hold Sternberg's task; exhaustive against self-terminating; Townsend's mimicry derived
6 Four, not seven Change detection; Cowan's K derived; the magical number four
7 Slots or resources Continuous report on open data; mixture and swaps; four process models; the verdict; the mimic
8 How neurons hold a thought Delay activity; a ring attractor computed; diffusion; silent synapses
9 Working memory and reasoning Complex span; working memory and fluid intelligence
10 Can you train it? Dual n-back; active controls; the meta-analysis; Psyche's trials; the consensus and the FTC
11 The Ledger Partial report; Brown-Peterson; word length; scanning; four; training
12 In practice: forms, read-backs, tests Chunked codes and forms; read-backs and checklists; span as a measure
13 Frontier: what is the limit for? Settled and open; a shared information budget fitted; attention, memory and machines
Recap, problems, and the road ahead Ten lines; the first two objections; payoffs; problems; references; Part 20
NotesWhere the numbers come from
What Source
Spans of about 9 binary digits, 7 decimal digits and 5 words; absolute judgment of about 2.6 bits; Smith's recoding to about 40 binary digits; "persecuted by an integer" Miller (1956), from secondary summaries and quotations
The judgment channel: transmitted information against categories, levelling off at 2.70 bits (noise 4% of the range) Psyche (wm.absolute_judgment), item judgment
About 4.5 letters by whole report; about 9 of 12 available by partial report at once Sperling (1960), from secondary summaries; the monograph's tables not read
Partial report against cue delay: 9.2 letters at 0 ms, 5.9 at 300, 4.6 at 1,000 Psyche (wm.partial_report, i = 0.62, τ = 250 ms), item sperling
About 80% recalled after 3 s of counting and about 10% after 18 s Peterson and Peterson (1959), from secondary summaries
SIMPLE: late trials 78, 62, 44, 27, 16 and 10% at 3 to 18 s; at 18 s, 100% on trial 1, 75% on trial 2, 64% on trial 3 Psyche (wm.brown_peterson, c = 1, a soft threshold at D = 0.5), item forgetting; Keppel and Underwood (1962) for the pattern
K.F.'s digit span of about 2 with normal long-term learning Warrington and Shallice (1969), Shallice and Warrington (1970), from secondary summaries
The loop: spans of 6.2 (0.3 s words) and 3.0 (0.8 s words), 2.4 and 2.3 under suppression; span against reading rate Psyche (wm.loop_span), item loop; Baddeley, Thomson and Buchanan (1975) for the pattern and the two seconds
Sternberg's 37.9 ms per item from 397.2 ms, r² = 0.994 Sternberg (1966), from a hosted copy of the paper
Scanning models: serial 38.3 ms per item; self-terminating half the slope on yes trials; unlimited parallel curved; limited-capacity parallel identical to serial Psyche (wm.sternberg_rts), item sternberg
Capacity of about 4 objects; objects with four features held as well as single features Luck and Vogel (1997), from the abstract
Change detection with K = 3.5 slots, and Cowan's K recovering it Psyche (wm.change_detection, wm.k_cowan), item change
4 ± 1 Cowan (2001), from memory and reviews
7,271 trials from 12 observers; set sizes 1, 2, 4 and 6; sample durations 100, 500 and 2,000 ms Bays, Catalao and Husain (2009), the data file itself (osf.io/c2yx5), fetched by explainer.psychology.opendata and checked by SHA-256
Error spreads (circular s.d.) of about 16, 29, 49 and 63 degrees computed from the open data, item bays
Mixture fits: g = 0.01, 0.09, 0.28, 0.44; s.d. 14, 18, 22, 22 degrees; swaps at six squares 27%, uniform 18% fitted to the open data (wm.fit_mixture, wm.fit_swap), item bays
Four process models fitted to each observer: variable precision best for 11 of 12; summed AIC worse by 827 (slots + averaging), 948 (slots), 1,526 (equal precision) fitted to the open data (wm.fit_model), item bays; van den Berg et al. (2012, 2014) for the models and their result
The mimic: the median observer's variable-precision fit (J1 = 27.4, α = 1.20, τ = 15.8) simulated and refitted by the mixture: g = 0.34 and 0.49 at four and six, N(1 − g) = 3.05 at six Psyche (wm.simulate_report, wm.fit_mixture), item mimic
Delay activity and memory fields Funahashi, Bruce and Goldman-Rakic (1989), described; the firing curves are a schematic
The ring attractor: memory s.d. 5.1, 7.3, 10.3 and 13.9 degrees at 0.5, 1, 2 and 4 s; variance linear in delay Psyche (wm.ring_attractor, J0 = −1, J1 = 6, noise 0.06), item ring; Wimmer et al. (2014) for the evidence
Activity-silent memory; TMS reactivation Mongillo, Barak and Tsodyks (2008); Rose et al. (2016), from memory and reviews
Reading span and comprehension, r about 0.41 Daneman and Carpenter (1980); Daneman and Merikle (1996), from secondary summaries
Working memory and fluid intelligence: about 0.72 latent, about 0.45 between single tasks Kane, Hambrick and Conway (2005); Ackerman, Beier and Boyle (2005), as quoted in a later review
Dual n-back for 8, 12, 17 or 19 days Jaeggi et al. (2008), the paper's design
20 sessions against adaptive visual search and no contact; no transfer Redick et al. (2013), from the abstract
87 publications, 145 comparisons; near transfer only Melby-Lervåg, Redick and Hulme (2016), from the abstract
Simulated training trials: far-transfer d averaging 0.37 against no-contact controls (37% of trials above 0.45) and 0.00 against active controls Psyche (wm.training_trial), item training
About 70 signatories to the 2014 consensus; a reply with more than 100 the Stanford Center on Longevity's statement and press coverage
$2 million in refunds, a $50 million judgment suspended the FTC's press release of 5 January 2016
A shared budget of 2.3 bits, one item held to 15 degrees; predicted 15, 33, 50 and 57 against observed 16, 29, 49 and 63 fitted to the open data's spreads (wm.budget_sd), item budget; Sims, Jacobs and Knill (2012) and van den Berg and Ma (2018) for the idea
Notes
Finding Original Status
A cued part of a brief display is available far beyond whole report, for under a second Sperling 1960 replicated
Three consonants are forgotten in 18 s because the trace decays Peterson and Peterson 1959 story and record
Span is shorter for longer words; suppression removes the difference Baddeley, Thomson and Buchanan 1975 replicated
Memory scanning is linear, with equal slopes for yes and no Sternberg 1966 replicated
About three to four items can be held without rehearsal Luck and Vogel 1997 replicated
Working-memory training raises fluid intelligence Jaeggi et al. 2008 failed

Shown without a row, with the reason recorded in explainer/psychology/ledger.py: Miller (history and arithmetic), Shallice and Warrington (a single case), Baddeley and Hitch (a model), Zhang and Luck and van den Berg et al. (models fitted here), Bays et al. (open data, fitted), Funahashi et al. (described), Wimmer et al. and Mongillo et al. (models), Daneman and Carpenter and Kane et al. (correlations; Part 32), Simons et al. and the FTC (a review and a settlement).

Notes

Before the narrated master:

  • Miller's numbers and Smith's 40 digits are from summaries and quotations of the 1956 paper.
  • Sperling's "about 9 of 12" and "about 4.5" are the commonly quoted figures; read the monograph's tables.
  • Peterson and Peterson's 80% and 10% are from secondary summaries (one says under 10% at 18 s).
  • K.F.'s span of about two, and Baddeley and Hitch's reasoning-with-digits result, are from summaries.
  • Sternberg's 1.2 s per digit and 2 s delay, and Luck and Vogel's 100 ms and 900 ms timings, are from memory.
  • The Chinese, English and Welsh digit spans are from memory of Ellis and Hennelly (1980) and Stigler et al. (1986).
  • Jaeggi et al.'s sample sizes, the consensus signatory counts (about 70; 127 or 133 in the reply) and Wimmer et al.'s findings are from abstracts and press coverage.

Companion material in this repository

The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
  1. Hook: digit span on you (5, 7 and 9 digits); Miller's confession; the questions; objectives.
  2. Absolute judgment as a channel, computed (a noisy percept labelled by the nearest category levels off near 2.7 bits, about six categories); span counts chunks, not bits (about 9 binary digits, 7 decimal, 5 words); recoding performed (eighteen binary digits as six octal ones; Smith's 40); chess and chunks.
  3. Sperling (1960): whole report about 4.5 letters, partial report about 9 of 12; the icon fading on Psyche (i = 0.62, τ = 250 ms); Neisser's iconic memory.
  4. Brown, and Peterson and Peterson (1959): about 80% at 3 s, 10% at 18 s; Keppel and Underwood (1962): no forgetting on the first trial; release from proactive interference (Wickens); SIMPLE's temporal distinctiveness derived (Brown, Neath and Chater 2007) and run trial by trial.
  5. The modal model (Atkinson and Shiffrin 1968) and patient K.F. (a span of about two, normal learning); Baddeley and Hitch (1974): dual-task logic, the loop, the sketchpad, the executive, the episodic buffer (2000); the word-length effect (Baddeley, Thomson and Buchanan 1975) and articulatory suppression on Psyche's loop (spans 6.2 and 3.0, 2.4 under suppression); span against speech rate, and digit spans across languages.
  6. Sternberg's memory scanning (1966: 37.9 ms per item from 397 ms); exhaustive against self-terminating search; an unlimited parallel search curves, and a limited-capacity parallel search reproduces the serial line and its distribution exactly (Townsend 1972), derived.
  7. Four, not seven: change detection (Luck and Vogel 1997); Cowan's and Pashler's K derived and recovered on Psyche (K = 3.5); Cowan (2001), 4 ± 1; subitizing.
  8. Slots or resources on Bays, Catalao and Husain's open data (2009; 12 observers, set sizes 1 to 6): error spreads of 16 to 63 degrees; the mixture model (Zhang and Luck 2008: g from 0.01 to 0.44, s.d. 14 to 22 degrees, levelling off); swap errors (27% at six squares); slots, slots plus averaging, equal and variable precision fitted to every observer (variable precision best for 11 of 12; van den Berg et al. 2012, 2014); a variable-precision observer who never guesses yields g = 0.49 and K ≈ 3.05 from the mixture.
  9. Delay activity (Funahashi, Bruce and Goldman-Rakic 1989); a ring attractor computed: a bump that holds and diffuses, s.d. 5 to 14 degrees over 0.5 to 4 s, variance linear in delay (Wimmer et al. 2014); activity-silent memory (Mongillo, Barak and Tsodyks 2008; Rose et al. 2016).
  10. Complex span (Daneman and Carpenter 1980; r about 0.41 with comprehension); working memory and fluid intelligence (about 0.72 latent, about 0.45 between tasks; Kane et al. 2005), with Part 3's attenuation.
  11. Dual n-back (Jaeggi et al. 2008); an active control (Redick et al. 2013); the meta-analysis (Melby-Lervåg et al. 2016: 87 publications, 145 comparisons); Psyche's 400 trials against two controls; the 2014 consensus and reply; Simons et al. (2016); the FTC and Lumosity ($2 million, $50 million suspended).
  12. The Ledger. 12. In practice: chunked codes, forms and interruptions; read-backs and checklists; span as a clinical measure. 13. Frontier: settled and open; a shared information budget fitted to the open data (2.3 bits; Sims et al. 2012; van den Berg and Ma 2018; Part 58); the focus of attention, Oberauer's benchmarks, small workspaces and large contexts (Part 60).

Psyche: wm: absolute judgment as a channel; the phonological loop with suppression; partial report; SIMPLE; memory scanning, serial and parallel; slots and the K formulas; von Mises precision, the mixture and swap models and four process models fitted by maximum likelihood; a ring attractor; brain-training trials; a shared information budget. opendata: Bays et al. (2009), fetched on first use and checked by SHA-256. On you: digit span in the film; Battery task 5 (change detection) runs on Psyche; the interactive is change detection, with the reader's K at four set sizes. Ledger: partial-report superiority (replicated); forgetting in eighteen seconds by decay (story and record); the word-length effect (replicated); linear memory scanning (replicated); capacity near four (replicated); working-memory training raises intelligence (failed). Shown without rows, with reasons: Miller, Shallice and Warrington, Baddeley and Hitch, Zhang and Luck, Bays et al., Funahashi et al., Wimmer et al., Mongillo et al., Daneman and Carpenter, Kane et al., Simons et al., the FTC. In practice: chunked codes and forms, interruptions, read-backs and checklists, cognitive assessment; the brain-training market as a case study in evidence. Frontier: slots against resources is not closed; persistent against silent codes; whether capacity limits are a bug or an optimal trade (Part 58). Reading: Miller 1956; Sperling 1960; Baddeley & Hitch 1974; Cowan 2001; Luck & Vogel 1997; Zhang & Luck 2008; Bays, Catalao & Husain 2009; van den Berg et al. 2012; Ma, Husain & Bays 2014; Oberauer et al. 2018 (benchmarks); Simons et al. 2016.

Build the film

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

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

Build it
python -m videos.psychology.psych19.compute            # every number (two minutes; fetches the open data once)
python tools/qa_scene.py psych19 Precision             # one chapter, silent, at 480p, with a contact sheet
EXPLAINER_TTS=silent python tools/build.py psych19 -q l   # the whole part, silent preview
python tools/build.py psych19                          # 1080p30 with narration
python tools/qa_scene.py psych19 Neurons --lang zh     # the Chinese edition of one chapter
python tools/make.py psych19                           # both editions, with the checks a long build needs
python -m videos.psychology.labs 19                    # the lab: span, forgetting, scanning, capacity, precision
python tools/check_ledger.py psych19                   # every study shown has its Ledger row, or a reason
python -m pytest tests/psychology                      # Psyche's working-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.