[Paper Review] Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep Reinforcement Learning
This paper proposes a counterfactual intervention framework to evaluate whether saliency maps in deep reinforcement learning (DRL) agents reflect causal, semantic-level relationships between environment features and behavior. By applying targeted pixel perturbations to Atari game states and measuring changes in saliency and agent behavior, the authors show that saliency maps often fail to capture meaningful causal links, concluding they are better suited as exploratory tools than explanatory ones.
Saliency maps are frequently used to support explanations of the behavior of deep reinforcement learning (RL) agents. However, a review of how saliency maps are used in practice indicates that the derived explanations are often unfalsifiable and can be highly subjective. We introduce an empirical approach grounded in counterfactual reasoning to test the hypotheses generated from saliency maps and assess the degree to which they correspond to the semantics of RL environments. We use Atari games, a common benchmark for deep RL, to evaluate three types of saliency maps. Our results show the extent to which existing claims about Atari games can be evaluated and suggest that saliency maps are best viewed as an exploratory tool rather than an explanatory tool.
Motivation & Objective
- To investigate how saliency maps are currently used to explain DRL agent behavior in practice.
- To identify limitations in existing saliency-based explanations, particularly their unfalsifiable and subjective nature.
- To develop a counterfactual methodology grounded in interventions to empirically test hypotheses derived from saliency maps.
- To assess the correspondence between pixel-level saliency inferences and human-level semantic inferences about agent behavior in Atari environments.
- To demonstrate that saliency maps often fail to reflect causal relationships between environmental semantics and agent decisions.
Proposed method
- Design a counterfactual intervention framework using the ToyBox environment to simulate controlled perturbations of Atari game states.
- Apply three types of saliency maps—gradient-based, integrated gradients, and guided backpropagation—to DRL agents in Breakout and other Atari games.
- Perform targeted interventions by reflecting game elements (e.g., ball, paddle, bricks) across vertical or horizontal axes to test symmetry and causal consistency.
- Measure changes in saliency patterns and agent behavior (action selection, reward estimation) after each intervention to evaluate hypothesis validity.
- Use human-annotated semantic concepts (e.g., 'tunnel' in Breakout) as reference points to compare pixel-level saliency with semantic-level reasoning.
- Apply causal graphical modeling to formalize relationships between environment state, agent policy, and saliency outputs, enabling structured hypothesis testing.
Experimental results
Research questions
- RQ1To what extent do saliency maps reflect causal relationships between semantic features (e.g., tunnels in Breakout) and agent behavior?
- RQ2Do saliency patterns remain consistent under symmetric perturbations of the environment state, as expected if they reflect true semantic reasoning?
- RQ3How well do pixel-level saliency inferences align with human-level semantic inferences about agent behavior?
- RQ4Can counterfactual interventions falsify common hypotheses derived from saliency maps in DRL?
- RQ5What are the limitations of using saliency maps as explanatory tools in vision-based deep reinforcement learning?
Key findings
- Saliency maps fail to preserve saliency patterns under symmetric reflections of game elements, indicating they do not reliably reflect agent behavior tied to semantic structures like 'tunnels' in Breakout.
- The intensity and pattern of saliency around the tunnel in Breakout are not invariant to horizontal or vertical reflections, undermining claims that agents learn to aim at tunnels.
- Saliency maps often highlight regions that are not semantically meaningful to the agent’s decision-making process, suggesting they reflect model-specific artifacts rather than environment semantics.
- The correspondence between saliency-based inferences and human-annotated semantic concepts is weak, indicating that saliency maps are not reliable for generating falsifiable explanations.
- Counterfactual interventions effectively expose flaws in saliency-based explanations, demonstrating that they are better suited for hypothesis generation than for validation.
- The study concludes that saliency maps should be used as exploratory tools rather than explanatory tools in deep reinforcement learning.
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.