Uncertainty-Driven Exploration During Planning

Haoxue Fan, Fred Callaway, Samuel J. Gershman

TL;DR

Humans don't just plan by looking for the highest rewards; we prioritize mental exploration in areas of the "plan space" where we are most uncertain. By externalizing the planning process through a specialized "ghost mode" task, researchers found that people selectively simulate future paths that lead to more potential states, effectively using an "uncertainty bonus" similar to state-of-the-art reinforcement learning algorithms.

What Problem Does This Paper Address?

In any complex environment, the number of possible future action sequences is staggering—a phenomenon known as the "combinatorial explosion." Because we cannot simulate every possible outcome, our brains must be incredibly selective about which parts of the decision tree to mentally explore.

While we know a lot about how humans explore physical environments (often driven by a desire to reduce uncertainty), we know much less about how we explore our own mental models. This paper investigates whether the same "uncertainty-driven" heuristics used in reinforcement learning (RL)—like the Upper Confidence Bound (UCB) algorithm—also govern the way we prioritize our thoughts during planning.

Methods

The researchers developed a "Trick-or-treat Game" based on the Mouselab-MDP paradigm. Participants navigated a binary tree of "houses" to collect rewards (treats). The key innovation was splitting each trial into two distinct phases:

  1. PLAN Phase ("Ghost Mode"): Participants could perform "rollouts" (simulated paths) using arrow keys. They saw potential rewards but didn't actually collect them. This allowed the researchers to observe the "internal" search process.
  2. EXECUTE Phase: Participants committed to a single path to earn real monetary bonuses.

To test for uncertainty-driven planning, the authors manipulated the branching factor. Some nodes led to two children (higher uncertainty about future value), while others led to zero (lower uncertainty).

The team compared human behavior against a Bayesian Planning-as-Exploration model. This model uses the Successor Representation to estimate initial uncertainty and assigns a "priority score" to nodes based on a weighted sum of estimated value ($\hat{v}$) and uncertainty ($\sigma$): $$h_s = \hat{v}_s + w_\sigma \sigma_s$$

Datasets

The study relied on two primary behavioral experiments conducted via the Prolific platform:

  • Experiment 1 ($N=39$): Used a controlled tree structure (LEFT/RIGHT trees) to test if people prefer branches with more immediate children.
  • Experiment 2 ($N=45$): Used a diverse set of 68 unique tree structures to see if the effect holds for "far-sighted" uncertainty (total number of indirect descendants).

The de-identified data and analysis code are publicly available via the Open Science Framework (OSF).

Key Insights and Ideas

  • The "Uncertainty Bonus" is Real: Participants consistently chose to mentally explore branches that led to more future states, even when those branches didn't have higher average rewards. This suggests the human "search engine" treats uncertainty as a valuable signal for where to look next.
  • Planning vs. Execution: Uncertainty played a significantly larger role during the planning phase than during execution. When it came time to actually act, participants shifted their focus toward maximizing known value. This implies that uncertainty-seeking is a specific heuristic for gathering information during thought, rather than an intrinsic preference for "keeping options open."
  • Novelty Matters: In an exploratory analysis, the authors found that people were more likely to explore nodes they had visited less often during previous rollouts. This "novelty-seeking" behavior is a hallmark of efficient search algorithms like UCT (Upper Confidence bounds applied to Trees).
  • Thinking Pays Off: There was a strong correlation between the number of rollouts performed in the PLAN phase and the actual rewards earned in the EXECUTE phase. More "mental exploration" led to better real-world outcomes.

Key Results

  • Model Fit: The "Full Model" (incorporating both value and uncertainty) significantly outperformed models that looked at value alone or ignored uncertainty (as measured by LOOIC).
  • Regression Weights: In Experiment 2, the weights for both the number of child nodes ($w_{child} = 0.20$) and indirect descendants ($w_{ind} = 0.22$) were positive and statistically credible (95% HDI did not contain zero).
  • Phase Interaction: The weight on uncertainty ($w_\sigma$) was much higher in the PLAN phase compared to the EXECUTE phase (a difference of $\Delta w_\sigma \approx 3.39$ to $4.35$ across experiments).

Limitations and Future Work

  • Rollout Constraints: The task forced participants to use rollout-based planning (moving step-by-step). In the real world, humans might use "best-first" searches or jump between distant parts of a plan mentally.
  • Deterministic Rewards: The rewards in this task were fixed once revealed. Future research could explore how humans plan when the environment itself is stochastic (noisy) or non-stationary.
  • Directionality: This study focused on forward planning. The authors note that understanding how uncertainty influences backward planning (working from a goal state to the present) is a vital next step.
  • Complexity Gap: While the binary trees were a good start, real-world planning involves dependencies between states and much larger search spaces that may require even more sophisticated uncertainty estimation.

Summary updated

BibTeX
@misc{fan2024uncertainty,
  author = {Haoxue Fan and Fred Callaway and Samuel J. Gershman},
  title = {{Uncertainty-Driven Exploration During Planning}},
  year = {2024},
  doi = {10.31234/osf.io/xy92t},
  howpublished = {PsyArXiv},
}
Figure