[Paper Review] Machine versus Human Attention in Deep Reinforcement Learning Tasks
This paper compares visual attention in deep reinforcement learning (DRL) agents and human experts during Atari game play by analyzing saliency maps from DRL agents and human eye-tracking data. It finds that DRL agents learn attention patterns similar to humans, especially under optimal hyperparameters, and identifies that attention misalignment explains performance gaps, offering insights for improving agent interpretability and human-AI alignment in visuomotor tasks.
Deep reinforcement learning (RL) algorithms are powerful tools for solving visuomotor decision tasks. However, the trained models are often difficult to interpret, because they are represented as end-to-end deep neural networks. In this paper, we shed light on the inner workings of such trained models by analyzing the pixels that they attend to during task execution, and comparing them with the pixels attended to by humans executing the same tasks. To this end, we investigate the following two questions that, to the best of our knowledge, have not been previously studied. 1) How similar are the visual representations learned by RL agents and humans when performing the same task? and, 2) How do similarities and differences in these learned representations explain RL agents' performance on these tasks? Specifically, we compare the saliency maps of RL agents against visual attention models of human experts when learning to play Atari games. Further, we analyze how hyperparameters of the deep RL algorithm affect the learned representations and saliency maps of the trained agents. The insights provided have the potential to inform novel algorithms for closing the performance gap between human experts and RL agents.
Motivation & Objective
- Investigate how similar the visual representations learned by DRL agents and humans are when performing the same visuomotor tasks.
- Understand how differences in learned attention affect DRL agents’ performance on Atari games.
- Use human expert gaze data as a benchmark to evaluate and improve the interpretability of DRL agent decision-making.
- Analyze the impact of DRL hyperparameters—especially discount factor and network architecture—on attention map similarity to human experts.
- Provide visual and quantitative diagnostics for failure cases where agents diverge from human attention patterns, enabling targeted algorithmic improvements.
Proposed method
- Collect human visual attention data using eye trackers during Atari game play, creating a human attention benchmark.
- Generate saliency maps for DRL agents using gradient-based methods (e.g., Grad-CAM) to visualize which image pixels the agent attends to during decision-making.
- Align and compare saliency maps from DRL agents with human gaze distributions using spatial correlation metrics (e.g., correlation coefficient, AUC-PR).
- Train DRL agents on multiple Atari games using dueling DQN and Rainbow DQN architectures with varying hyperparameters, including discount factors and exploration schedules.
- Perform ablation studies to evaluate the effect of hyperparameters on attention map similarity and task performance.
- Conduct failure analysis on unseen or challenging game states where agent attention diverges significantly from human attention, identifying potential causes of suboptimal decisions.
Experimental results
Research questions
- RQ1How similar are the visual features attended to by DRL agents and human experts during Atari game play?
- RQ2To what extent do differences in attention maps between agents and humans explain performance gaps in visuomotor tasks?
- RQ3How do DRL hyperparameters—particularly the discount factor—affect the similarity between agent and human attention patterns?
- RQ4In which game states or scenarios do DRL agents exhibit attention patterns that significantly deviate from human experts, and what do these deviations reveal about agent failures?
- RQ5Can human attention serve as a reliable supervisory signal to guide DRL agents toward more human-like and robust visual representations?
Key findings
- DRL agents trained with optimal hyperparameters learn attention maps that are significantly correlated with human visual attention, especially in tasks requiring object tracking and spatial reasoning.
- The correlation between agent and human attention increases with training time, reaching a peak at around 5120k training steps, indicating progressive alignment with human perception.
- Agents with higher discount factors tend to develop attention maps more similar to human experts, suggesting that longer planning horizons improve perceptual alignment.
- Human experts attend to fewer, more task-relevant regions than DRL agents, which often attend to broader or less relevant image areas, indicating a potential over-attention problem in current agents.
- Failure cases where agent attention diverges from human attention often occur in complex or rare game states, suggesting that agents struggle with long-range dependencies or ambiguous visual cues.
- The study demonstrates that human gaze data can serve as a strong reference for evaluating and improving the interpretability and robustness of DRL agents, especially in out-of-distribution or rare scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.