The temporal dynamics of opportunity costs: A normative account of cognitive fatigue and boredom.

Mayank Agrawal, Marcelo G. Mattar, Jonathan D. Cohen, Nathaniel D. Daw

TL;DR

This paper proposes a "rational" theory for why we get tired or bored: these states aren't just signs of a "drained battery," but are functional signals representing the opportunity cost of our time. Fatigue signals that it’s more valuable to stop and perform internal "offline" processing (like planning or memory consolidation), while boredom signals that it’s time to explore the external world for better rewards.

What Problem Does This Paper Address?

For decades, psychology has leaned on the "ego depletion" model—the idea that cognitive control relies on a limited metabolic resource (like glucose) that gets used up. However, recent meta-analyses and physiological studies have debunked this; for instance, the brain's glucose consumption doesn't actually change significantly between resting and doing hard math.

The authors tackle the "Why" and "When" of task disengagement. If it's not a physical resource being depleted, why do we feel a subjective "cost" to effort? The gap they fill is providing a normative account: a mathematical framework showing that fatigue and boredom are actually optimal ways for a rational agent to manage its most precious limited resource—time.

Methods

The authors use Reinforcement Learning (RL), specifically the Dyna architecture, to model behavior. In Dyna, an agent doesn't just act; it also uses "offline" time to simulate past experiences to improve its future strategy.

  1. For Fatigue: They adapt the Expected Value of Backup (EVB). This measures how much an internal "mental simulation" (modeled after hippocampal replay) would improve future rewards. If the value of "thinking" (rest) is higher than the value of "doing" (the task), the agent feels fatigue.
  2. For Boredom: They use the Value of Information (VOI). Boredom tracks the uncertainty of other tasks in the environment. If a current task offers little new information (it's too easy or too hard), the VOI of exploring other options rises, triggering boredom.
  3. Simulations: The models were tested in various "Gridworld" environments—simulated mazes where agents must find rewards while balancing acting, resting/replaying, and exploring.

Datasets

The paper does not use human behavioral datasets. Instead, it relies on computational simulations within standardized RL benchmarks:

  • Gridworld Mazes: Used to demonstrate the dynamics of fatigue and how "rest" (replay) improves performance.
  • Multi-armed Bandit Tasks: Used to simulate boredom by showing how uncertainty about alternative options grows over time.
  • T-Maze Environments: Used in Part 3 to show how replay and exploration interact (planning to explore).

Key Insights and Ideas

  • Fatigue is "Mental Practice" Value: The most striking insight is that fatigue isn't the absence of activity. It is a signal that the brain needs to switch from overt action to covert computation (hippocampal replay). This explains why rest "cures" fatigue: it provides the window needed to finish that internal processing.
  • The "U-Shaped" Boredom Curve: Boredom occurs at both extremes—when a task is too easy (no new information to gain) and when it is "impossible" or purely random (no information can be gained). This aligns with the "flow" state being in the middle.
  • Opportunity Cost as a Sensation: The authors argue that subjective "effort" is the brain's way of representing the rewards you are missing out on by sticking to your current task.
  • Replaying to Explore: In complex environments, we don't just explore randomly. We use "fatigue" (rest) to mentally simulate which "boring" areas might actually be worth exploring, integrating internal and external opportunity costs.

Key Results

  • Rest vs. Performance: Simulations showed that agents who "rested" to perform replay (triggered by high EVB) achieved higher long-term reward rates than those who pushed through, mirroring human findings that breaks improve vigilance.
  • Task Difficulty: The model correctly predicted that "hard" tasks (like a 3-back memory task) are more fatiguing because they require more internal computation to master, whereas "easy" tasks become automatic quickly, leading to a rapid drop in fatigue but a spike in boredom.
  • Oscillatory Behavior: In non-stationary environments (where rewards move), the integrated model showed agents naturally oscillating between tasks as uncertainty (boredom) and the need for planning (fatigue) shifted.

Limitations and Future Work

  • Algorithmic Complexity: The current model assumes the brain can calculate the "Expected Value" of all possible replays. In reality, the brain likely uses "prioritized sweeping" or other heuristics to approximate these values.
  • Self-Report Discrepancies: The authors acknowledge that human self-reports of "fatigue" and "boredom" are often muddled. Future work needs more objective markers, such as pupillometry or neural recordings of sharp-wave ripples (the signature of replay).
  • Clinical Applications: The framework suggests that conditions like PTSD (excessive traumatic replay) or ADHD (skewed exploration/boredom thresholds) could be modeled as "broken" opportunity cost calculations.
  • Physical Fatigue: The model currently focuses on cognitive effort. Extending this to physical fatigue—where metabolic costs are real—remains a future challenge.

Summary updated

BibTeX
@inproceedings{agrawal2021temporal,
  author = {Mayank Agrawal and Marcelo G. Mattar and Jonathan D. Cohen and Nathaniel D. Daw},
  title = {{The temporal dynamics of opportunity costs: A normative account of cognitive fatigue and boredom.}},
  booktitle = {Psychological},
  year = {2021},
  doi = {10.1037/rev0000309},
}
Figure