Abstract
How do we predict others from patterns in their behavior and what are the computational constraints that limit this ability? We investigate these questions by modeling human behavior over repeated games of rock, paper, scissors from Brockbank & Vul (2024). Against algorithmic opponents that varied in strategic sophistication, people readily exploit simple transition patterns but struggle to detect more complex sequential dependencies. To understand the cognitive mechanisms underlying these abilities and their limitations, we deploy Hypothetical Minds (HM), a large language model-based agent that generates and tests hypotheses about opponent strategies, as a cognitive model of this behavior (Cross et al., 2024). We show that when applied to the same experimental conditions, HM closely mirrors human performance patterns, succeeding and failing in similar ways. To better understand the source of HM’s failures and whether people might face similar cognitive bottlenecks in this context, we performed a series of ablations and augmentations targeting different components of the system. When provided with natural language descriptions of the opponents’ strategies, HM successfully exploited 6/7 bot opponents with win rates >80% suggesting that accurate hypothesis generation is the primary cognitive bottleneck in this task. Further, by systematically manipulating the model’s hypotheses through pedagogically-inspired interventions, we find that the model substantially updates its causal understanding of opponent behavior, revealing how model-based analyses can produce testable hypotheses about human cognition.
Introduction
In strategic interactions, success hinges on building predictive models of an opponent's behavior. While the Nash Equilibrium for Rock, Paper, Scissors (RPS) is randomness, humans naturally fall into patterns. Previous research indicates that while humans easily exploit simple patterns (e.g., playing Rock after Paper), they struggle with complex dependencies, such as strategies contingent on previous outcomes. This study investigates the source of these limitations: is it a failure of memory, evaluation, or the initial generation of the correct hypothesis?
Methods: The Hypothetical Minds Architecture
To explore these questions, the researchers developed Hypothetical Minds (HM), an LLM-based cognitive architecture designed to simulate human reasoning. As shown in Figure 1, the HM agent integrates three core components:
- Memory: A repository of past moves and rewards.
- Theory of Mind (ToM) Module: An LLM generates potential strategies in natural language (e.g., "Opponent is countering my last move") and evaluates them against observed behavior using a reinforcement learning update rule.
- Decision Reflection: Validated hypotheses guide Chain-of-Thought (CoT) reasoning to determine the optimal counter-move.
The model was tested against human behavioral data from Brockbank & Vul (2024), involving 218 participants playing 300 rounds against seven different algorithmic "bots" of varying complexity.
Key Results
The HM model (using GPT-4o) demonstrated a high degree of alignment with human performance, achieving an $L^2$ distance of 0.527 to human win rates. As illustrated in Figure 5, HM succeeded and failed in patterns remarkably similar to humans.
Against simple transition-based bots, HM achieved win rates of 74–77%. However, performance dropped to near-chance levels (34–41%) against complex outcome-dependent bots, mirroring human struggles. Ablation studies revealed that removing the hypothesis evaluation step or using a base LLM without the HM architecture significantly degraded performance.
Crucially, when the HM agent was provided with the correct strategy (the "Oracle" condition), win rates jumped to over 80% even against complex bots. This suggests that the primary bottleneck is not reasoning or memory, but hypothesis generation—the inability to conceive of the correct pattern in the first place.
Discussion and Future Work
The alignment between HM and human behavior suggests that LLMs can serve as effective cognitive proxies for studying pattern recognition. The discovery of a "generation bottleneck" highlights that strategic limits may stem from a failure to search the correct hypothesis space.
Interestingly, the model struggled with the "Opponent-transition(0)" bot (a simple copycat strategy) which humans find easy, suggesting a specific inductive bias in GPT-4o toward over-complexity. Future work will explore "Attention Scaffolding"—providing hints to direct the model's focus—to see if similar pedagogical interventions can help humans overcome their own cognitive bottlenecks in strategic reasoning.
Summary updated