TL;DR
Standard Inverse Reinforcement Learning (IRL) tries to uncover human goals by assuming we plan infinitely far into the future—like chess grandmasters with limitless time. In reality, our mental lookahead is short and shrinks or expands depending on whether we are strolling on a sidewalk or dodging a speeding truck. By building bounded, state-dependent foresight directly into an adversarial IRL planner, the authors not only predict human actions much more accurately, but also extract a mathematical fingerprint of how far ahead a person plans—which turns out to correlate with real-world anxiety and impulsivity.
What Problem Does This Paper Address?
To understand human traits like impulsivity or anxiety, psychologists often fit computational models to choices made in sterile, repetitive lab tasks. Unfortunately, parameters from simple lab tasks rarely correlate well with real-world behavior or self-reported traits. Enter naturalistic tasks—like video-game-style driving or street-crossing simulators—which capture rich, continuous human decisions.
Because it is nearly impossible to hand-craft the exact reward function a human is optimizing in a complex simulator, researchers use Inverse Reinforcement Learning (IRL) to infer latent rewards from observed trajectories. However, IRL suffers from an ambiguity problem: observed behavior is a product of what you want (reward) and how you plan. Standard IRL assumes humans plan over an infinite horizon. Cognitive science tells us two things that break this assumption: human foresight is bounded (we only calculate a few steps ahead), and it is state-dependent (time pressure or sudden danger changes how far ahead we look). Prior IRL methods either tweaked discount rates or fixed a single planning horizon per person. Jointly inferring a reward function alongside a planning depth that shifts dynamically from moment to moment remained an open challenge.
Methods
The authors introduce SC-AIRL (State-Conditional Adversarial IRL), upgrading standard AIRL with three cognitive mechanisms trained in a two-stage pipeline:
- A Shared, Unshaped Reward: Standard AIRL includes a "potential-based shaping" term that bleeds future boundary values into immediate rewards. SC-AIRL strips this out ($\Phi \equiv 0$), forcing a single, depth-invariant reward function $r_\theta(s,a)$ to represent pure preferences.
- A Family of Bounded Planners: Instead of one policy, SC-AIRL trains multiple policies $\{\pi^h\}$, each assigned a specific lookahead depth $h$ (e.g., 2, 3, 5, or 10 steps). Using a truncated Generalized Advantage Estimation ($\text{GAE-}h$), each policy explicitly sums the shared reward for at most $h$ steps, relying on its own learned value critic $V^h$ to approximate everything beyond that horizon. During this first stage, the policies and shared reward are trained via adversarial imitation with uniform weights across depths.
- Post-Hoc State-Conditional Router: Once the policies converge and freeze, a lightweight neural network router $p_\phi(h|s)$ is trained via maximum likelihood to look at a human's current state $s$ and output a probability distribution over which planning depth $h$ best explains their next move.
Datasets
The authors evaluate SC-AIRL on held-out episodes from two public, real-time human behavioral datasets paired with clinical questionnaires (such as STAI for anxiety and BIS-11 for impulsivity):
- Naturalistic Pedestrian Crossing ($N=52$): A Gymnasium-based street-crossing simulator ($S \in \mathbb{R}^{113}$) with stochastic traffic where players try to cross safely within 30 seconds. Planning depths tested: $H = \{2, 3, 5, 10\}$ steps.
- Highway Overtaking ($N=47$): A continuous 3-lane driving task ($S \in \mathbb{R}^{11}$) from Lee et al. (2024), where drivers weave through traffic to maximize speed without crashing or running out of fuel. Planning depths tested: $H = \{12, 16, 20, 24\}$ steps (spanning 2.4–4.8 seconds).
Key Insights and Ideas
- Truncation $\neq$ Discounting: Making an agent myopic by lowering its exponential discount factor ($\gamma$) merely rescales an infinite sum. Truncating the explicit sum at $h$ steps and handing the rest off to an imperfect, learned critic mimics human heuristic search—and produces genuinely distinct behaviors at different depths.
- Separating "Wanting" from "Planning": SC-AIRL recovers essentially the same underlying reward function as Standard AIRL ($r_{\text{cross}}$ between $0.75$ and $0.86$), proving it doesn't "cheat" by warping the reward. Furthermore, the raw reward is distinct from the final policy: on the pedestrian task, the reward always prefers moving forward, yet the bounded policies and human participants rightly choose to stand still when cars are close.
- Foresight as a Digital Biomarker: Without ever seeing questionnaire data during training, the router's inferred planning dynamics map onto psychological traits. More anxious pedestrians show less state-to-state flexibility in their planning depth, while more motor-impulsive participants exhibit sharper shifts in planning depth when a vehicle gets close (shifting shallower to react immediately as pedestrians, or shifting deeper to plan lane changes and braking on the highway).
Key Results
Across held-out test scenarios, SC-AIRL outperforms all reward-learning baselines (Standard AIRL, Single-$h$ AIRL, and Episode-AIRL, which fixes depth per episode rather than per state):
- State-Level Action Prediction: SC-AIRL raises Top-1 accuracy over Standard AIRL from 0.549 to 0.647 on the pedestrian task (dropping Negative Log-Likelihood from 15.67 to 1.579) and from 0.629 to 0.718 on the highway task (NLL from 4.422 to 1.505). (Pure Behavioral Cloning still achieves the highest raw likelihood—0.689 and 0.794 Top-1—because it directly memorizes state-action mappings without inferring rewards.)
- Realistic Rollouts: When left to drive or walk on its own, Standard AIRL fails to wait for traffic, under-predicting pedestrian "stand still" (
NOTHING) actions by 15.5 percentage points. SC-AIRL slashes that gap by 68% (down to 4.9 percentage points) and achieves the lowest outcome and action-rate deviations among reward-learning models on both tasks. - Psychometric Correlations: Pedestrian depth variability (mutual information $I(s;h)$) negatively correlates with STAI anxiety ($r_s = -0.295, p = .033$). Controlling for task score, the shift in planning depth near vehicles ($\Delta h$) correlates with BIS-11 motor impulsivity on the highway task ($r_s = +0.423, p = .003$) and trends negatively on the pedestrian task ($r_s = -0.245, p = .080$).
Limitations and Future Work
- Compute Overhead: Training $|H|$ separate policy–critic pairs isn't free; each round takes 4.0 to 4.4 times the CPU time of Standard AIRL.
- Seed Sensitivity & Domain Scope: Both benchmarks are 2D road-navigation simulators, and on the highway task, the depth-shift metric ($\Delta h$) showed weak reproducibility across random training seeds (0.17–0.28).
- Validating the Proxy: Inferred depth $h$ is ultimately a model-derived proxy for foresight, not a direct readout of neurons firing. Future work can ground this by experimentally manipulating human foresight—such as enforcing strict time pressure—and pairing SC-AIRL with neuroimaging of the hippocampus and ventromedial prefrontal cortex, where human mental simulation actually lives.
Summary updated