Inferring cognitive profiles with cognition-conditioned deep inverse planning

Sounak Banerjee, Deepak Edakkattil Gopinath, Bonnie Yang, Emily Sumner, Guy Rosman, Eugene Vinitsky, Mark K HoarXiv 2026

TL;DR

Humans don't solve complex problems by calculating every possible future; we break them into simpler subtasks and ignore irrelevant details to save mental effort. Cognition-Conditioned Deep Inverse Planning (CCDIP) is a new method that trains a single hierarchical reinforcement learning (RL) policy to act under any "cognitive profile" (e.g., how much someone dislikes crashing vs. how costly they find paying attention). By inverting this model, researchers can infer a person's hidden attentional limits, biases, and preferences directly from their behavior in complex, naturalistic tasks like driving.

What Problem Does This Paper Address?

Bounded rationality proposes that apparent human sub-optimality is actually rational once you account for limited mental resources. For example, when driving, you might focus only on the car in front of you and ignore everything else until you pass it.

Turning this idea into a quantitative model that fits real human behavior is notoriously hard for three reasons:

  1. Individual cognitive profiles: People vary in what they find rewarding or mentally exhausting.
  2. Meta-cognitive choices: Decisions about what to attend to or which subgoal to pick aren't directly observable.
  3. Cognitive dynamics: Attention and goals shift constantly over time.

Traditional inverse RL and inverse planning methods require repeatedly solving planning problems for every candidate cognitive profile, which only scales to small, discrete toy problems.

Methods

CCDIP solves this scaling problem by amortizing the planning cost into a single neural network:

  • Subtasking as a Semi-MDP: The authors formalize subtasking as a two-level hierarchy. A low-level subtask policy ($\pi^*_\tau$) executes simple, local goals (e.g., "reach this spot in the next lane") while masking out ignored objects. A high-level subtask selection policy ($\mu_\theta$) chooses which subtask to run next based on the person's cognitive profile ($\theta$) and four linear attentional heuristics (such as time-to-collision with the lead car).
  • Cognition-Conditioned Training: Instead of training a separate policy for every possible cognitive profile, the authors train a single hierarchical PPO network conditioned on a 4D context vector $\theta_{\text{train}}$ (collision cost, attentional cost, goal proximity cost, and flag-collection priority).
  • Inverse Planning via MLE: Once trained, this forward model yields tractable action likelihoods. Given a human's trajectory, CCDIP uses gradient ascent (via PyTorch autograd) to find the 8 parameters (4 context + 4 heuristic weights) that maximize the likelihood of the observed behavior.
Figure 1: (a) Schema of boundedly rational subtasking. People have limited memory, attention, and time, so they solve long-horizon tasks by sequencing policies (orange box) that solve subtasks (grey box). A subtask is a temporary simplification of the task that determines factors such as the current goal (e.g., which nearby location to reach) or state representation (e.g., what objects can be ignored). Subtask selection and updating is guided by a meta-policy (blue box) that chooses subtasks based on the decision-maker’s cognitive profile (green box), the psychological factors that determine what is cognitively effortful or rewarding. (b) Driving task used to study human subtasking. Participants control the red car and were told to reach the end of the road as quickly as possible while collecting flags and avoiding other objects (see Section 4.4). (c) Visualization of a subtasking agent trained via hierarchical deep RL that forms subtasks by selecting a subgoal (⊕symbol) and ignoring objects (translucent cars; see Section 4.2).

Datasets

  • Synthetic Data: 600 simulated episodes generated by running the trained hierarchical policy on 100 randomly sampled cognitive profiles across 6 maps.
  • Human Driving Dataset (Newly Introduced): 39 participants (after excluding 1 non-compliant participant; 230 valid episodes, ~240,000 timesteps) recruited via Prolific. Participants played a 2D driving simulator where they had to drive down a road as fast as possible, collect flags, and avoid crashing into other cars and obstacles.

Key Insights and Ideas

  • Attentional limits are essential to explain human behavior: Models that assumed "full attention" (zero attentional cost and no heuristics) performed significantly worse on human data. Even when attentional cost was set to zero, simply having a bias to hide task-irrelevant objects dramatically improved model fit ($\Delta\text{BIC} = -862.9$ over a full-visibility model).
  • Subtasking captures stable individual differences: The inferred reward and cognitive cost parameters weren't just noise—they reliably characterized individual participants across different driving maps.
  • Heuristics are harder to isolate: While heuristic weights improved overall model fit, they were much harder to recover in simulation and less reliable across participants, likely because the underlying RL policy already baked some of these collision-avoidance heuristics into its learned behavior.

Key Results

  • Parameter Recovery (Simulation): CCDIP recovered context parameters well to moderately: goal-flag distance ($r = 0.75$), goal proximity cost ($r = 0.70$), attentional cost ($r = 0.58$), and collision penalty ($r = 0.40$). Among heuristics, lead-vehicle inverse time-to-collision was recovered best ($r = 0.85$).
  • Model Fit (Human Data): The full CCDIP model best fit 212 out of 230 human episodes, strongly outperforming both a no-heuristics ablation ($\Delta\text{BIC} = -80.7, p < .001$) and a no-scopes ablation ($\Delta\text{BIC} = -153.5, p < .001$).
  • Behavioral Realism & Reliability: Simulated agents initialized with fitted human parameters correlated strongly with actual human collision rates ($r = 0.57$). Furthermore, three key parameters showed good-to-moderate test-retest reliability across episodes (ICC(1,k)): collision penalty ($0.82$), goal proximity cost ($0.81$), and attentional cost ($0.71$).

Limitations and Future Work

  • Simplified Environment: The 2D driving simulator uses a discrete action space, which limits real-world ecological validity.
  • Missing Motor Constraints: The model infers cognitive profiles but does not yet account for motor limitations like human reaction-time delays.
  • No Data-Driven Baselines: The authors did not compare CCDIP against purely data-driven baselines like behavioral cloning, noting that while cloning might predict raw actions better, it cannot yield interpretable psychometric parameters.
  • Future Directions: Extending the forward model to jointly predict secondary process measures—such as eye-tracking, reaction times, or think-aloud verbal reports—could help resolve parameter identifiability issues.

Summary updated

BibTeX
@misc{banerjee2026inferring,
  author = {Sounak Banerjee and Deepak Edakkattil Gopinath and Bonnie Yang and Emily Sumner and Guy Rosman and Eugene Vinitsky and Mark K Ho},
  title = {{Inferring cognitive profiles with cognition-conditioned deep inverse planning}},
  year = {2026},
  eprint = {2612.04336},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.04336},
}
Figure