中文 →
Coursera · 2014 · short course 1/3

When you're stuck, walk away: a pinball machine laid over the brain, a useful metaphor for a messier organ

Barbara Oakley · Learning How to Learn (1/3: focused and diffuse)

Course Learning How to Learn (Coursera, co-taught with Terrence Sejnowski) · This part week 1: focused and diffuse modes · Year 2014 · Texts TEDxOaklandUniversity talk captions (Amara, about 18 min) + third-party transcript of her Talks at Google lecture + auto-captions of two week-1 course videos

The moment

She opens with a cartoon brain, the way you might explain anatomy to a child:

Here’s the little ears, and there’s the nose right there.— Barbara Oakley, Talks at Google

Then a whole pinball machine is pressed into that head: plunger, ball, rows of rubber bumpers, a point for every hit. The audience is Google engineers, and an engineering professor is about to explain how the brain learns with an arcade game. The course version opens even more absurdly. What do you do, she asks, when you just can't figure something out? For zombies it's simple: keep bashing their brains against the wall. Living brains are a lot more complex.

That picture holds the course's whole method and its weak spot. The method: hand people something they can grab, then fill it with science. The weak spot: what you grabbed may stay in your head more firmly than the science. This part is about the pinball machine, and the less tidy brain behind it.

The speaker, and the year

Barbara Oakley moved constantly as a child; by tenth grade she had lived in ten places. Math builds layer on layer, and by third grade she had fallen off; after that she flunked math and science through elementary, middle and high school. What she loved was language and culture. With no money for college, she enlisted straight out of high school to learn a language, learned Russian, translated on Soviet trawlers in the Bering Sea, and later worked at the South Pole station. Her line from the stage:

I had to go to the end of the Earth to meet that man.— Barbara Oakley, TEDxOaklandUniversity, 2014

The turn came in the army. She worked with West Point engineers whose calculus and physics books looked to her "like hieroglyphics," and she envied how they solved problems. When she left the military at 26 she decided to try to "change my brain" and learn that language, and she ended up an engineering professor at Oakland University. Years later a student who learned of her past asked how she had done it. She couldn't say, so she went looking, and the answer became her 2014 book A Mind for Numbers. The same year she and Terrence Sejnowski, a computational neuroscientist at the Salk Institute, turned the book into a Coursera course.

Writing in npj Science of Learning in 2019, Oakley and Sejnowski reported nearly 2.5 million registered learners in the course's first four years, making it one of the world's most popular online courses. This page draws on three texts: her roughly 18-minute TEDx talk at Oakland University in 2014, a longer lecture at Google whose first third covers this week's material, and two videos from the course's first week. They tell the same story with small differences, and each quote below says which one it comes from.

Glossary

  • Default mode network: a set of brain regions that are more active when you are lying still, not doing any task, and quiet down once you start one. Oakley groups it with other "resting state" networks and calls the lot the diffuse mode.
  • Incubation: putting an unsolved problem aside for a while, then finding it easier when you return. The psychologist Graham Wallas named it the second stage of problem solving in 1926.
  • Divergent thinking task: a task with no single answer that asks for as many ideas as possible, such as "how many uses can you find for a brick." Its opposite is an insight problem with one correct solution.
  • N1 sleep: the lightest stage after falling asleep, between waking and sleep, usually lasting only a few minutes.

The talk, in full

She starts from a question. She had asked the best teachers of hard subjects she could find how they themselves learned, and how they taught. She looked up top-rated professors of engineering, math, chemistry, physics and economics on sites like ratemyprofessors, and she sought out cognitive psychologists and neuroscientists. What she found was that their ways of learning and teaching resembled her own, though none of them knew it:

It was almost like this kind of shared fraternal handshake.— Barbara Oakley, TEDxOaklandUniversity, 2014

One of these moves embarrassed the science and engineering professors: metaphor and analogy. In the Google version she says they all used it but expected their colleagues to sneer:

But they were very embarrassed to say that, because other professors would kind of be like, oh, you’re dumbing things down.— Barbara Oakley, Talks at Google

That sentence is the course's statement of method. What follows is exactly that: a bold simplification of something complicated.

Step one: reduce the brain to two modes. She grants that the brain is enormously complex, then says:

But we can simplify its operation into two fundamentally different modes.— Barbara Oakley, TEDxOaklandUniversity, 2014

The focused mode is "just like it sounds like": you turn your attention to something and boom, it's on. The diffuse mode, she says, is a relaxed set of neural states, a number of resting states. At Google she is more specific: it relates to the default mode network and to other resting states, "some 24 or 25 so far," which she lumps together as the diffuse mode. When you learn, you move back and forth between the two.

Step two: the pinball machine. How do you understand these modes? Through analogy. In focused mode the bumpers are packed close together. If you already know multiplication and you are doing a multiplication problem, a thought takes off and runs smoothly along pathways laid down by earlier learning. In the course video she says it is like driving down a familiar, nicely paved road. Her examples of familiar patterns run from adding a few numbers to literary criticism and calculating electromagnetic flux: familiar does not mean easy, only practiced.

The trouble comes with new material. You know multiplication but have never seen division, or you meet the calculus idea of a limit for the first time. The new pattern sits somewhere else in the machine. You don't know where it is or what it looks like, and the bumpers are in the way. You need a different machine:

Look at how far apart those rubber bumpers are from one another.— Barbara Oakley, TEDxOaklandUniversity, 2014

In diffuse mode a thought can travel a long way before it hits the next bumper. You give up the careful, step-by-step reasoning, but you can at least get to the place you need to be, then return to focused mode to work out the details. She warns that this is only a picture:

And it’s just an analogy, but it’s a very good one that helps us understand.— Barbara Oakley, Talks at Google

Step three: when you're stuck, walk away. This is where the model touches the ground. In the TEDx talk she says that if you are focusing on a new concept or problem and get stuck,

you want to turn your attention away from that problem and allow the diffuse modes, those resting states, to do their work in the background.— Barbara Oakley, TEDxOaklandUniversity, 2014

The Google version is blunter:

the worst thing you could do is just keep sitting there and focusing and focusing on it.— Barbara Oakley, Talks at Google

The reason comes from the model itself: as long as your attention stays fixed on the problem, you are still in focused mode and cannot reach the wider kind of solution. So get up, go for a run, take a shower, or do anything that really takes your mind off it.

Step four: two half-asleep geniuses. Two stories give the advice a picture. The first is the surrealist painter Salvador Dalí, shown on her slide with his pet ocelot, Babou. When Dalí was stuck on a painting, he would sit back in a chair holding keys and let his mind wander. Just as he relaxed so far that he fell asleep, the keys dropped, the clatter woke him, and he carried the ideas from diffuse mode back to focused mode, where he could refine them and use them.

She anticipates the objection: fine for artists, but I'm an engineer. So the second story is Edison, sitting in a chair with ball bearings in his hands, relaxing and thinking loosely about his inventions; as he fell asleep the bearings dropped, he woke, and he took his half-dreamed ideas back into focused mode to finish his inventions. In both versions she adds the same caveat: "at least according to legend."

The stories land not on the geniuses but on you:

even if millions of other people have thought the same thoughts, or solved the same problems, for you, it's just as creative as it was for famous people like Dali and Edison— Barbara Oakley, TEDxOaklandUniversity, 2014

That line quietly renames learning. A student working a homework problem belongs, in her scheme, to the same category as an inventor hunting for a filament: both are on a road they have never walked, and both need both modes.

Step five: one side at a time. This is the model's hardest claim. At Google she says you can be in focused mode or diffuse mode but, as far as we know, unless you are an exceptionally well-trained monk, not both at once. In the course video she switches to a coin: you can see one face or the other, never both, and being in one mode seems to limit your access to the other's way of thinking. So you train both and switch.

She then shows an image of the default mode network's connections: one web for one way of working, and focused mode has a very different web. Focus alone keeps you out of the connections in the other web. At Google she adds a line that matters:

Diffused thinking is often not conscious, but it is also learning.— Barbara Oakley, Talks at Google

Step six: this takes time. Switching back and forth is not an afternoon's work. Her comparison is a weightlifter: nobody builds muscle by cramming the night before a meet, and the "neural scaffold" for learning and new ways of thinking also takes time to build. That is why a hard problem often can't be solved in one sitting; you have to cross between modes several times. It is also her case against cramming, and part three of this series picks up the role sleep plays.

Step seven: turn the switching into a rhythm. Someone in the audience is bound to say: the back-and-forth is nice, but I procrastinate and cram at the last minute. The mechanism of procrastination belongs to part three; here it is only the tool she prescribes, the Pomodoro Technique. She credits Francesco Cirillo, in the 1980s, naming it after his tomato-shaped kitchen timer. Set 25 minutes, turn off messages and alerts, and work with as focused an attention as you can; when the time is up, reward yourself with a few minutes of fun. She stresses two details. First, focus on the time, not the task: don't say "I'll finish my homework in these 25 minutes," say "I'll focus for 25 minutes." Second, the break is not slacking:

relaxation is also an important part of the learning process— Barbara Oakley, TEDxOaklandUniversity, 2014

In her framework, the Pomodoro is a machine that forces focus and diffuse onto a timetable: 25 minutes to practice focus, a few minutes to practice relaxing, while the background half of learning gets its turn. At Google she adds a warning: don't start by scheduling twenty Pomodoros a day to beat yourself into productivity; ease into it.

Step eight: focus brings a feeling of being right. In the Google Q&A she adds a layer not developed in the course. Focused mode comes with a sense that what you have just learned is correct. Sometimes the only way to break that feeling is to try your ideas on other people; friends and colleagues can serve almost as a larger diffuse mode. Another audience member asks how the familiar advice to break a hard problem into small parts fits the two modes. Her answer points to "chunks": you focus to understand one small piece and make it a chunk, then the next, while in diffuse mode, asleep, on a walk, in the shower, you connect them from above. Chunking is the subject of part two.

Seen whole, this week's argument is a short chain: the brain has two modes; new material can only be reached through the diffuse one; the diffuse mode works when you are not staring at the problem; so walk away when stuck, and put focus and rest on a fixed rhythm. Every link comes with a picture you could draw on a whiteboard: the pinball machine, the keys, the ball bearings, the coin, the weightlifter, the tomato. What a reader can do with it comes down to three things: work hard in focus first, get up and leave when stuck, and use a timer to make both a habit.

Beneath the surface

The brain science behind "diffuse mode." The default mode network she names has a specific origin. In 2001 Marcus Raichle and colleagues published "A default mode of brain function" in PNAS. Using positron emission tomography to measure how much oxygen the brain extracts, they found a group of regions whose activity consistently dropped during many kinds of goal-directed tasks, and proposed an organized baseline "default mode" that is suspended when you concentrate. Note the shape of that finding: it describes which areas go quiet during a task, not a brain solving problems in the background while you relax. Getting from one to the other takes a large inferential step. The week-one video that introduces the brain is actually given by Sejnowski. He shows a map of brain activity at rest and then says, candidly, that this is a new and intense area of research and it will take time to sort out all the resting states and their functions. On stage, "diffuse mode" packs that unsettled field into one word. I could not find a source for her "24 or 25" resting states and leave it there.

The research behind "walk away": incubation is real, but small. She cites no specific study on stage, but the advice maps onto incubation, studied in psychology for close to a century. The standard summary is Ut Na Sio and Thomas Ormerod's 2009 meta-analysis in Psychological Bulletin: 117 studies, 3,606 participants, a median of just 25 per study. Of the 117, 85 reported a positive effect; the weighted mean effect size was d = 0.29 (95% CI 0.21 to 0.39), small to medium. The conditions are more useful than the headline. Divergent thinking tasks gain the most; verbal and visual insight problems gain less. Longer preparation before the break produced larger effects, which supports her order of focus first, then diffuse: without the hard work, there is nothing to incubate. Filling the break with demanding tasks shrank the effect, and for verbal insight problems an easy task beat pure rest. The authors close by saying that using incubation as a practical technique requires conditions "designed with care." The stage version is "go for a run, take a shower"; the research version is "for some kinds of problems, under some conditions, it helps a little on average."

Dalí and Edison: one has a book, one is a legend. Dalí's method appears in his 1948 book 50 Secrets of Magic Craftsmanship, where he calls it "slumber with a key"; I have not read the book and report only that bibliographic fact. For Edison's ball bearings, Oakley herself adds "at least according to legend," and the 2021 Science Advances team that tested the method says Edison "allegedly" napped that way. I found no primary source for the ball-bearing detail.

The metaphor was engineered. Oakley and Sejnowski's 2019 paper is in effect the course's design notes. They attribute its popularity to creative use of well-known principles of multimedia learning, noting that filming against a green screen makes it easy to drop in visual metaphors and analogies that bring learners up to speed faster. One detail: zombies as a metaphor for automatic habits went over well in the West and in Europe, but Chinese viewers found them unappealing, because their image of a zombie is a stiff corpse in the official robes of the Qing Dynasty. The pinball machine was built to be remembered and acted on. It was never meant as a map of brain regions.

"Hard start, jump to easy" is in the book, not this week's lectures. This site's reading list mentions that technique in its hook, but I did not find it in any of the three texts used here. Several book summaries place it in A Mind for Numbers; I have not read that passage and do not go further.

What happened next

PARTLY HOLDS · as of 2026-10

"Work hard first, then step away when stuck" has meta-analytic support with a small effect, and an Edison-style nap at the edge of sleep was supported in one controlled experiment. But "mind wandering is the mechanism" has failed to replicate, and "you can only be in one mode" clashes with mainstream imaging of creativity, where the focus network and the mind-wandering network cooperate.

2012: mind-wandering research hands her the best ammunition. Benjamin Baird, Jonathan Schooler and colleagues published "Inspired by Distraction" in Psychological Science. 145 participants did two unusual-uses problems (how many ways can you use a brick?), then took a 12-minute break in one of four conditions: an easy task that invites mind wandering, a demanding task, rest, or no break. Back on the problems, the easy-task group improved markedly on the problems they had already seen, with no difference on new ones. It is the closest match to Oakley's "work in the background."

Afterward: the mechanism did not replicate. Several teams repeated the design with the same low-load task. Smeekens and Kane inserted thought probes to measure mind wandering directly and found no link between how much people wandered and how much they improved. Steindorf, Hammerton and Rummel (2021), worried that the probes themselves disrupted the wandering, varied the probing and still found no incubation advantage. Murray and colleagues (2024) used a larger sample: the low-load group did wander more, yet improved no more than the high-load group. Teng and Lien (2022, PLOS ONE) and Du and colleagues (2025, Brain Sciences) reported the same null result. For the earlier studies I read these two papers' reviews, not the full Steindorf and Murray papers.

2016: two networks cooperating, not trading shifts. Roger Beaty, Mathias Benedek, Paul Silvia and Daniel Schacter reviewed a run of creativity imaging studies in Trends in Cognitive Sciences, from divergent thinking to poetry, musical improvisation and visual art, and found a strikingly similar pattern: the default and executive control networks, which often work against each other, tend to cooperate during creative thought. The default network seems to generate candidate ideas spontaneously; the control network couples with it to constrain and evaluate them against the goal. That collides with Oakley's firmest claim, one mode at a time. To be fair, she hedged both times with "as far as we know," and as study advice, "attend to one thing at a time" still serves. As a description of the brain, the coin is out of date.

2021: Edison's bottle. Célia Lacaux, Delphine Oudiette and colleagues at the Paris Brain Institute published "Sleep onset is a creative sweet spot" in Science Advances, bringing the Edison legend into the lab. 103 participants worked on number problems hiding a rule that lets you solve them almost instantly. After a while, everyone rested for 20 minutes, half-reclined in a dark room with eyes closed, holding a bottle in the right hand while their brain activity was recorded. Going by that recording, 49 stayed awake, 24 reached N1 light sleep, and 14 reached the deeper N2. Afterward, 83% of those who spent at least 15 seconds in N1 found the hidden rule, against 30% of those who stayed awake; for those who reached N2, the advantage disappeared. The falling bottle did wake people before they slid into deeper sleep. This is the most direct support for the Dalí and Edison trick. The limits are in the paper too: one kind of problem, only 24 people in the N1 group, and the authors say more work is needed to see whether it extends to other creative tasks.

2023: the Pomodoro. Felicitas Biwer and colleagues, in the British Journal of Educational Psychology, had 87 Dutch university students study for one day under three schemes: choosing their own breaks, 24 minutes of study with 6-minute breaks (the Pomodoro group), or 12 minutes with 3-minute breaks. Those who chose their own breaks reported more fatigue and distraction and less concentration and motivation; the three groups completed the same amount of work. A small edge for the Pomodoro, on the evidence of one day and a few dozen people.

So Oakley's practical advice largely holds; what wobbles is the explanation underneath. The brain is not a switch flipping between two modes. The metaphor helped 2.5 million people remember what to do, and also left them with a not-quite-accurate map of the brain.

Crossovers

  • Complexity science · Simulated annealing: the optimization method Kirkpatrick, Gelatt and Vecchi proposed in 1983, borrowed from annealing metal: start at a high "temperature" so the search can jump far at random and escape local optima, then cool slowly to refine within a good region. That is nearly the diffuse mode getting you into the right valley and the focused mode finding its lowest point. Where it differs: annealing cools on a fixed, one-way schedule and runs once; Oakley wants you to bounce between states, "reheating" every time you get stuck.
  • Buddhism · Calm and insight: the Pali Yuganaddha Sutta (Anguttara Nikaya 4.170) lists paths of practice including insight preceded by calm, calm preceded by insight, and the two developed in tandem. It makes a neat counterpoint to Oakley's aside that only an exceptionally trained monk could hold both modes: the tradition treats that as trainable. Where it differs: calm and insight aim at seeing the mind itself, not at solving a calculus problem.
  • Psychology · System 1 and System 2: Daniel Kahneman split thinking into fast, intuitive System 1 and slow, effortful System 2, another two-mode scheme. Where it differs: Kahneman cuts by speed and effort, Oakley by whether attention is pinned to the problem; her diffuse mode is slow and in the background, the opposite of System 1's speed.
  • Distributed systems · Background compaction: LSM-tree databases such as LevelDB and RocksDB take writes quickly in the foreground, while a background process keeps merging and reorganizing scattered data files, which makes reads faster. The likeness is the division of labor: the foreground takes in, the background restructures. Where it differs: compaction is a scheduled job that always runs; incubation averages d = 0.29, and whether the background does any work depends on the problem and on luck.

Ten takeaways

  1. Barbara Oakley fell behind in math in third grade, learned Russian in the army, and at 26 set out to retrain her brain, becoming an engineering professor.
  2. Learning How to Learn, co-taught by Oakley and Terrence Sejnowski on Coursera, drew nearly 2.5 million registered learners in its first four years.
  3. The focused mode is a pinball machine with tightly packed bumpers: thoughts run along well-practiced paths, which suits familiar problems.
  4. The diffuse mode is a pinball machine with widely spaced bumpers: thoughts travel far enough to reach new concepts but cannot work out details.
  5. Staring harder at a problem you are truly stuck on is the worst move; getting up lets the background diffuse mode keep working.
  6. The stories of Dalí napping with keys and Edison with ball bearings are about catching ideas at the edge of sleep; the Edison version is legend.
  7. The Pomodoro Technique turns study into 25 minutes of focus plus a few minutes of rest, and it means watching the clock, not the task.
  8. Sio and Ormerod's review of 117 studies found a real but small incubation effect, larger after longer preparation.
  9. In a 2021 experiment, 83% of people who spent 15 seconds or more in N1 light sleep found a hidden rule, against 30% who stayed awake.
  10. Creativity imaging studies find the default and executive control networks cooperating during creative thought, against the one-mode-at-a-time claim.

Sources