Do Human Experts Look Where a Risk-Averse Agent Looks?

When skilled people play a fast game or read a medical image, their eyes go to the places where things could go badly: the enemy about to collide, the lesion that must not be missed. Reinforcement learning agents trained to maximize average score do not look this way. When researchers have forced agent attention to be sharp and human-like, the agent's score has dropped. This note proposes a specific explanation for that mismatch. Human expert gaze may resemble the attention an agent uses to estimate its worst-case outcomes, not its average outcome. If so, gaze should be used to supervise only the part of the agent that reasons about bad outcomes, and the agent's other features should be left free.

The test uses distributional reinforcement learning: agents that predict the whole spread of possible future scores rather than only their mean. One such agent, the Implicit Quantile Network, can be asked "what does the 5th-percentile future look like?" or "what does the median look like?" from a single network. We give this agent a spatial attention map that changes with the percentile it is asked about. We then measure, on the Atari-HEAD eye-tracking dataset, which percentile's attention best matches where humans actually looked. The core claim is two-sided. First, human gaze alignment is percentile-dependent and peaks at low percentiles in games with lethal hazards. Second, supervising only those low-percentile attention maps with human gaze avoids the performance cost that whole-network gaze supervision incurs.

Background and the gap

Work on behavioral expertise finds that expertise shows up as a shift from looking at visually striking things to looking at task-relevant, consequential things. Surveillance experts attend to cues of intent rather than salient motion (Burling et al.). Senior endoscopists scan the periphery to clear frames of rare misses (Eye-tracking dataset of endoscopist-AI teaming during colonoscopy). Pathologists converge late fixations on decisive pathology (Ikebe et al.). These papers motivate the hypothesis that expert attention is organized around costly outcomes. None of them offers a computational account of which objective the gaze serves.

On the agent side, three papers constrain and supply the design.

  • Free-Lunch Saliency via Attention in Atari Agents adds a lightweight attention layer to policy-gradient agents and compares the resulting maps with Atari-HEAD gaze. It reports a "crispness gap": the features that score best give blurry saliency, while crisp, human-like attention hurts score. This is the negative result our proposal must explain rather than ignore.
  • Efficiently Guiding Imitation Learning Agents with Human Gaze (the coverage-based gaze loss, CGL) supplies the supervision technique. It applies a divergence between human gaze heatmaps and agent feature maps, which strongly improves behavioral cloning. However, it applies the loss to a single shared representation in imitation and scalar-reward settings.
  • Implicit Quantile Networks for Distributional Reinforcement Learning supplies the mechanism. It embeds a sampled percentile $\tau$ with cosine features and multiplies that embedding elementwise into the state features, so one network represents every percentile of the return.

The closest existing bridges between gaze and return distributions do something different. Deep learning quantifies pathologists' visual patterns for whole slide image diagnosis imitates pathologist scanpaths with scalar recurrent Q-learning. Confidence-Guided Human-AI Collaboration uses return-distribution variance to switch control between human and agent, but its human signal is takeovers, not gaze. Distributional Inverse Reinforcement Learning recovers reward distributions from motor actions only.

None of this work asks whether attention itself varies across return percentiles. None asks whether human gaze matches one percentile better than others.

Core Claim

Let $A_\tau(x)$ be the agent's spatial attention map on frame $x$ when it is asked for percentile $\tau$ of its future return. Let $G(x)$ be the human gaze heatmap on the same frame. Define the alignment curve $S(\tau) = \mathrm{AUC}(A_\tau(x), G(x))$, averaged over frames.

We predict that $S(\tau)$ is not flat. We further predict that in hazard-dominated games it is maximized at small $\tau$, and that this peak is sharper on frames shortly before the human player lost a life.

The practical consequence follows. Applying the gaze loss only to low-percentile attention should reach human-level alignment without lowering game score. Applying it to all percentiles, or to a percentile-independent map, should reproduce the score cost seen in Free-Lunch Saliency.

Research Program

Architecture. We build a percentile-conditioned attention agent on top of IQN. The convolutional trunk produces a spatial feature tensor. The percentile embedding is broadcast over spatial positions and multiplied into it channel-wise. A 1×1 convolution followed by a softmax produces $A_\tau(x)$. The attended, pooled features then feed the usual IQN head that outputs the $\tau$-quantile of return for each action. The agent therefore literally looks at different places depending on which percentile it is estimating. The extra parameters are one 1×1 convolution, so capacity matches an attention-augmented scalar agent closely.

Phase one: a diagnostic with no gaze training. We train the agent online in the Arcade Learning Environment on the Atari-HEAD games. Its attention maps are then evaluated on held-out Atari-HEAD frames, which come from human play (Atari-HEAD). For each $\tau$ on a grid, we compute AUC, KL divergence and correlation against the human gaze heatmaps.

We also run an expertise-flavored analysis that uses Atari-HEAD's synchronized rewards and episode structure. We compare alignment curves on frames preceding a life loss against frames from safe stretches. The expertise literature predicts that consequence-driven attention dominates when danger is near.

Phase two: gaze supervision targeted at specific percentiles. We add a CGL-style term computed on Atari-HEAD frames as an auxiliary batch alongside online reinforcement learning:

$$ L = L_{\text{IQN}} + \lambda \, \mathbb{E}_{x \sim \mathcal{D}_{\text{HEAD}}} \, \mathbb{E}_{\tau \sim U[0,\bar\tau]} \, D_{\mathrm{KL}}\big(G(x) \,\|\, A_\tau(x)\big). $$

Here $L_{\text{IQN}}$ is the standard quantile-regression loss, $\lambda$ weights the gaze term, $\mathcal{D}_{\text{HEAD}}$ is the human dataset, and $\bar\tau$ is the upper edge of the supervised percentile band. Setting $\bar\tau = 1$ recovers ordinary whole-distribution gaze supervision. Setting $\bar\tau$ small supervises only the pessimistic tail. Sweeping $\lambda$ traces a frontier of score against gaze alignment for each $\bar\tau$. The comparison is between frontiers, not single points.

Baselines

The naive reference point is the percentile-conditioned IQN agent trained with no gaze loss. It sets both the score ceiling we must not fall below and the alignment floor we must rise above. Phase one is itself run on this agent.

The strongest competitor on the question "can we get human-like attention without losing score" is whole-representation gaze supervision. This is CGL from Efficiently Guiding Imitation Learning Agents with Human Gaze, transplanted into reinforcement learning. We run it in two forms. The first is on a scalar Q-learning agent with a Free-Lunch-Saliency-style attention layer. The second is on IQN with a percentile-independent attention map, which is the same as $\bar\tau = 1$ when attention ignores $\tau$.

For reference, Free-Lunch Saliency via Attention in Atari Agents reports a Seaquest score of 2440 ± 382 for its sparse attention agent versus 1920 ± 37 for the Nature CNN baseline. IQN reports 1019% mean and 218% median human-normalized score on Atari-57. These numbers anchor that our reimplementations are healthy. CGL's reported gains (95% for behavioral cloning, 390% for T-REX) are imitation-learning results. We found no reported Lacuna result for CGL applied to online distributional RL, so we must run that comparison ourselves.

All methods use identical data, equal environment steps, the same Atari-HEAD auxiliary batches, matched parameter counts, and the same $\lambda$ sweep with the same number of seeds. Beating the competitor means the following: at matched gaze AUC on held-out frames, the low-$\bar\tau$ agent's median score across games is significantly higher, with confidence intervals over seeds not overlapping. Equivalently, its frontier lies above the others'.

Three ablations isolate the key ingredient.

  • Percentile-independent attention. The same architecture with the $\tau$ multiplication removed tests whether conditioning attention on percentile matters at all.
  • High-percentile band. Supervising the band $[1-\bar\tau, 1]$ tests whether it is specifically the pessimistic tail, rather than any narrow band, that absorbs human gaze without cost.
  • Shuffled-gaze control. Gaze heatmaps paired with the wrong frames test whether any gains come from human information or from regularizing attention toward sharpness.

Why not just…?

Why not just apply the gaze loss to the whole network, as CGL does? This is the default. In imitation it works very well (CGL). In reinforcement learning, though, the crispness gap reported in Free-Lunch Saliency suggests that forcing reward-maximizing features to be human-like costs score. Our $\bar\tau = 1$ condition is exactly this alternative, and the frontier comparison settles it directly. If whole-network supervision shows no score cost in our setting, the motivation for targeting weakens. Phase one's diagnostic finding would still stand.

Why not just give a scalar agent a second, separate attention head that is gaze-supervised as an auxiliary task? This is the most serious threat. It decouples gaze from the policy's features without any distributional machinery, much as GRIL uses an auxiliary gaze head in behavioral cloning. We include it as a baseline with matched parameters.

The distinguishing prediction is this. In the auxiliary-head agent, gaze shapes the trunk only through shared gradients and has no designated role in value estimation. In our agent, gaze shapes the features that estimate bad outcomes, which should improve tail estimates. We test this by measuring the lower-tail calibration of predicted returns against empirical returns, and by measuring life-loss rates. If the auxiliary head matches our method on score, alignment and tail calibration, we will report that distributional targeting adds nothing for performance. The contribution then narrows to the diagnostic claim about which percentile human gaze resembles.

Why not just compute gradient saliency for each quantile of an ordinary IQN, with no attention layer? This is a cheaper version of phase one, and we run it as a cross-check. Gradient saliency is post hoc and noisy, and it cannot be supervised without second-order gradients. So it can corroborate the alignment curve but cannot serve as the training target in phase two.

Why not just train a risk-averse agent, for example one maximizing conditional value at risk, and see if its attention looks human? Conditional value at risk is the average of the worst fraction of outcomes. This alternative conflates two things. One is the policy's risk posture, which changes which states the agent visits. The other is the percentile being evaluated, which changes where it looks on a fixed frame. We evaluate all attention on fixed human frames, so state-visitation differences are removed. We also train a risk-averse IQN variant, which IQN supports by distorting the $\tau$ sampling (IQN), and report its alignment curve. This tells us whether risk-averse behavior alone, without gaze, closes the gap.

Proposed Experiments

All experiments use the 20 Atari-HEAD games with held-out human frames for alignment. Games are grouped a priori by whether episodes end mainly through lethal hazards (Seaquest-like) or through other means. This grouping is fixed before results are seen.

The first decisive check is phase one. Are alignment curves significantly non-flat across $\tau$, with small-$\tau$ peaks in the hazard group and not in the other? Is the low-$\tau$ advantage larger on frames preceding human life loss? A flat curve falsifies the core claim.

The second decisive check is the phase-two frontier. Does low-$\bar\tau$ supervision dominate both whole-network CGL and the auxiliary-head baseline in score at matched alignment, and does the shuffled-gaze control fail to reproduce the gain? We report raw and human-normalized scores, alignment metrics, lower-tail calibration and life-loss rate, all over at least five seeds.

As an upper reference for alignment, the Atari-HEAD authors' dedicated gaze-prediction model reaches AUC 0.971 (Atari-HEAD). We do not expect a control agent to reach that number. We report how much of the gap from the no-gaze agent each method closes.

If the claims hold, the result gives the expertise literature a computational reading of expert gaze: attention allocated to the worst plausible outcomes. It also gives a recipe for transferring scarce gaze data in safety-critical settings such as slide review, where missing a rare finding is exactly the lower-tail event. We would pursue that transfer only after the Atari result is established.