Oh My Learning

Attention, effort, and cognitive load

thinking-fast-and-slow/02 mid drafted · 8 min read

Thinking, Fast and Slow (Daniel Kahneman), Part I, Chapters 2-4

Prerequisites thinking-fast-and-slow/01

Attention, effort, and cognitive load#

TL;DR#

Attention is a finite, spendable resource, and System 2's effortful reasoning draws directly on it — when the "budget" is depleted by multitasking, stress, or a long day, System 2's monitoring weakens and System 1's fast-but-error-prone answers get less scrutiny. Cognitive load isn't just "feeling busy" — it measurably changes what decisions people make.

The idea#

If System 1 and System 2 (thinking-fast-and-slow/01) describe what kind of thinking is happening, attention and cognitive load describe the fuel gauge that determines whether System 2 can actually do its job. Kahneman's research (including the "pupil dilation as effort meter" experiments) shows that effortful thinking has a measurable physiological cost, that this cost draws from a shared, limited pool, and that the pool can be depleted by unrelated demands — holding digits in memory, resisting temptation, or simply being tired. This matters practically because it means decision quality is not a fixed trait of a person; it's a state that degrades under load, in predictable, exploitable-for-good ways (schedule the important decision when the budget is full) or exploitable-for-bad ways (a manipulator can degrade your reasoning just by keeping you busy or rushed).

How it works#

Attention as a limited, allocatable resource#

Kahneman describes attention as a resource you allocate, like a budget — you can voluntarily direct it (choose to focus on a task) but you cannot indefinitely sustain high-effort focus, and diverting it elsewhere leaves less for the primary task. The classic demonstration is the "invisible gorilla" experiment (Simons and Chabris, cited by Kahneman): subjects asked to count basketball passes in a video frequently fail to notice a person in a gorilla suit walking through the middle of the scene — not because they weren't looking at it, but because focused attention on one task actively suppresses processing of unrelated, even conspicuous, stimuli. Attention is not just "looking," it's a scarce filter.

Engineering example: an engineer deep in a debugging session (high attentional load, tracking many mental variables about program state) will often fail to notice an obviously wrong-looking log line or a Slack message that would be blindingly obvious to someone with spare attention — the same "gorilla" effect, just in a terminal instead of a video.

Cognitive load and self-control depletion#

Cognitive load is the sum of demands currently placed on working memory and attention. Kahneman cites experiments where subjects asked to hold a 7-digit number in memory (a load task) were more likely, when later offered a choice between cake and fruit, to pick cake — because the self-control needed to choose the "better" option also draws on the same depleted System 2 resource. The book calls this "ego depletion": exercising self-control or effortful reasoning in one task leaves less capacity for the next.

Engineering example: an engineer who spends a whole morning in high-stakes incident triage (heavy System 2 load, sustained vigilance) is measurably more likely, in the afternoon, to approve a risky deploy without fully re-reading the diff, or to accept a vague Jira ticket without pushing back for clarification — not from laziness, but from a genuinely depleted capacity to engage System 2 again.

Cognitive ease vs. cognitive strain#

Kahneman describes a continuum from "cognitive ease" (things feel familiar, clearly seen, primed, or in a good mood — System 1 is confident and unchallenged) to "cognitive strain" (unfamiliar, hard to read, effortful, or in a bad mood — System 2 gets more actively engaged). A striking finding: statements printed in a clear, high-contrast font are rated as more true than identical statements printed in a hard-to-read font or color — fluency of processing gets mistaken for truth. Similarly, familiar-sounding names and repeated exposure to a claim (even a false one) increase how true it feels, independent of evidence — the "illusory truth effect."

Engineering example: a design doc written in confident, fluent prose with clean diagrams gets less scrutiny in review than an equally sound but awkwardly-worded doc from a non-native-English-speaking teammate — cognitive ease of reading the document gets conflated with cognitive ease of believing the argument, which is a real and unfair failure mode in engineering review culture.

Priming and context effects on attention#

System 1 doesn't process information neutrally — prior exposure to related concepts ("priming") measurably shifts subsequent judgments and even behavior, often without the person's awareness. Kahneman's book discusses priming studies extensively (some of which later failed to replicate at the original effect sizes, a caveat worth knowing — see Cons below), but the core, more robust idea — that context and recent exposure shape what comes to mind and how easily — is well supported and directly useful.

Engineering example: if a postmortem review starts by discussing a previous incident that was "someone's fault," the group's attention is primed toward individual blame framing for the current incident too, even if the facts point toward a systemic/process cause — which is exactly why good postmortem facilitation deliberately opens with blameless framing before any details are discussed.

Pros#

  • Understanding load as a real, depletable resource gives you levers: schedule high-stakes decisions (architecture reviews, on-call handoffs, performance calibration) when the team's cognitive budget is fresh, not at the end of a long sprint or after a stressful incident.
  • Recognizing cognitive-ease effects (fluent writing gets more trust than it deserves) is directly actionable in code review and design review: deliberately slow down on documents/PRs that "read easily" and feel true, not just ones that read awkwardly.
  • Explains real, observable engineering phenomena — end-of-day review laxness, incident-fatigue mistakes, doc polish substituting for doc rigor — with a concrete causal mechanism rather than vague "people get tired."

Cons#

  • Some of the specific priming studies Kahneman cites in this section of the book (notably social-priming effects like the "Florida effect" — walking slower after being primed with elderly-related words) failed to replicate in later, larger studies; treat the general "context shapes attention and judgment" claim as solid, but be skeptical of specific striking numbers from small, older priming studies.
  • "Cognitive load" is not a single measurable unit — you can't literally read someone's remaining budget, so applying this concept requires judgment calls (is now a bad time for this decision?) rather than a precise formula.
  • Overcorrecting — treating every moment as depleted and refusing to make any decision without perfect rest — is impractical; most everyday decisions are fine under normal load, and the lesson is about identifying high-stakes decisions specifically.

Alternatives#

  • Ego-depletion / willpower-as-muscle model (Baumeister) — closely related, and the specific source of some of Kahneman's ego-depletion citations; note that ego-depletion as a strict "resource" theory has also faced significant replication challenges in recent years, so treat it as a useful practical heuristic rather than settled science.
  • Attention restoration theory (Kaplan) — a different framework focused specifically on how certain environments (nature, low-stimulation settings) restore depleted attention, useful for the "how do you recover the budget" question this lesson doesn't fully answer.
  • Flow theory (Csikszentmihalyi) — describes a state of high engagement that doesn't feel effortful/depleting the way System 2 tasks normally do; worth knowing as a contrast case — not all sustained cognitive engagement drains the same way.

When to use it#

Apply this lens when scheduling or structuring decisions that need real System 2 engagement: architecture reviews, performance calibration, incident postmortems, hiring debriefs, contract/design sign-offs. Put them early in the day/week, protect them from multitasking, and be suspicious of a document or proposal that "reads very smoothly" — check whether that ease reflects the argument's quality or just its prose.

When NOT to use it#

Don't use cognitive-load framing as an excuse to indefinitely postpone or avoid necessary decisions ("I'm too depleted to decide" as a chronic dodge), and don't cite specific replication-shaky priming statistics (e.g., exact percentage effects from small studies) as if they were settled facts in a technical argument — the directionally sound claim (load and framing affect judgment) survives scrutiny; the specific old numbers often don't.

Key takeaways / mental model#

Treat attention and effortful reasoning capacity like a battery that drains over the day and across stressful events, and treat "this reads smoothly/confidently" as a separate axis from "this is correct" — the two get conflated by default, and noticing the conflation is the actionable skill. Schedule your hardest thinking for when the battery is full, and double-check anything that feels suspiciously easy to believe.

Self-check questions#

  1. Describe a real decision you or your team made late in a long day or right after an incident. In hindsight, what would you have caught if the decision had been made fresh in the morning?
  2. Explain the "cognitive ease vs. truth" conflation with an engineering example: describe a case where a fluently-written PR description or design doc got less scrutiny than it deserved.
  3. Why does holding a 7-digit number in working memory make someone more likely to choose cake over fruit? What is the shared mechanism, and where have you seen an analogous "distracted -> worse choice" pattern in engineering work?
  4. What is one concrete scheduling change a team could make to a sprint or on-call rotation to protect high-stakes decisions from depleted-attention effects?

References#

  • Thinking, Fast and Slow (Daniel Kahneman), Part I: "Two Systems," Chapters 2-4 (Attention and Effort; The Lazy Controller; The Associative Machine).