user: text: Write a concise one-sentence TLDR summary of the scientific paper content below.

Title: Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep RL

Paper content:
Saliency maps are often used to suggest explanations of the behavior of deep rein- forcement learning (RL) agents.
However, the explanations derived from saliency maps 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 show that explanations suggested by saliency maps are often not supported by experiments.
Our experiments suggest that saliency maps are best viewed as an exploratory tool rather than an explanatory tool.
Saliency map methods are a popular visualization technique that produce heatmap-like output highlighting the importance of different regions of some visual input.
They are frequently used to explain how deep networks classify images in computer vision applications (Simonyan et al., 2014; Springenberg et al., 2014; Shrikumar et al., 2017; Smilkov et al., 2017; Selvaraju et al., 2017; Zhang et al., 2018; Zeiler & Fergus, 2014; Ribeiro et al., 2016; Dabkowski & Gal, 2017; Fong & Vedaldi, 2017) and to explain how agents choose actions in reinforcement learning (RL) applications (Bogdanovic et al., 2015; Wang et al., 2015; Zahavy et al., 2016; Greydanus et al., 2017; Iyer et al., 2018; Sundar, 2018; Yang et al., 2018; Annasamy & Sycara, 2019) .
Saliency methods in computer vision and reinforcement learning use similar procedures to generate these maps.
However, the temporal and interactive nature of RL systems presents a unique set of opportunities and challenges.
Deep models in reinforcement learning select sequential actions whose effects can interact over long time periods.
This contrasts strongly with visual classification tasks, in which deep models merely map from images to labels.
For RL systems, saliency maps are often used to assess an agent's internal representations and behavior over multiple frames in the environment, rather than to assess the importance of specific pixels in classifying images.
Despite their common use to explain agent behavior, it is unclear whether saliency maps provide useful explanations of the behavior of deep RL agents.
Some prior work has evaluated the applicability of saliency maps for explaining the behavior of image classifiers (Adebayo et al., 2018; Kindermans et al., 2019; Samek et al., 2016) , but there is not a corresponding literature evaluating the applicability of saliency maps for explaining RL agent behavior.
In this work, we develop a methodology grounded in counterfactual reasoning to empirically evaluate the explanations generated using saliency maps in deep RL.
Specifically, we:
C1 Survey the ways in which saliency maps have been used as evidence in explanations of deep RL agents.
C2 Describe a new interventional method to evaluate the inferences made from saliency maps.
C3 Experimentally evaluate how well the pixel-level inferences of saliency maps correspond to the semantic-level inferences of humans.
(a)
(b)
(c) Figure 1 :
(a) A perturbation saliency map from a frame in Breakout,
(b) a saliency map from the same model and frame with the brick pattern reflected across the vertical axis, and
(c) a saliency map from the same model and frame with the ball, paddle and brick pattern reflected across the vertical axis.
The blue and red regions represent their importance in action selection and reward estimation from the current state, respectively.
The pattern and intensity of saliency around the channel is not symmetric in either reflection intervention.
Temporal association (e.g. formation of a tunnel followed by higher saliency) does not generally imply causal dependence.
In this case at least, tunnel formation and salience appear to be confounded by location or, at least, the dependence of these phenomena are highly dependent on location.
Case Study 2: Amidar Score.
Amidar is a Pac-Man-like game in which an agent attempts to completely traverse a series of passages while avoiding enemies.
The yellow sprite that indicates the location of the agent is almost always salient in Amidar.
Surprisingly, the displayed score is salient as often as the yellow sprite throughout the episode with varying levels of intensity.
This can lead to multiple hypotheses about the agent's learned representation: (1) the agent has learned to associate increasing score with higher reward; (2) due to the deterministic nature of Amidar, the agent has created a lookup table that associates its score and its actions.
We can summarize these hypotheses as follows:
Hypothesis 2: score is salient =⇒ agent has learned to {use score as a guide to traverse the board} resulting in {successfully following similar paths in games}.
To evaluate hypothesis 2, we designed four interventions on score:
• intermittent reset: modify the score to 0 every x ∈ [5, 20] timesteps.
• random varying: modify the score to a random number between [1, 200] [5, 20] timesteps.
• fixed: select a score from [0, 200] and fix it for the whole game.
• decremented: modify score to be 3000 initially and decrement score by d ∈ [1, 20] at every timestep.
Figures 4a and 4b show the result of intervening on displayed score on reward and saliency intensity, measured as the average saliency over a 25x15 bounding box, respectively for the first 1000 timesteps of an episode.
The mean is calculated over 50 samples.
If an agent died before 1000 timesteps, the last reward was extended for the remainder of the timesteps and saliency was set to zero.
Using reward as a summary of agent behavior, different interventions on score produce different agent behavior.
Total accumulated reward differs over time for all interventions, typically due to early agent death.
However, salience intensity patterns of all interventions follow the original trajectory very closely.
Different interventions on displayed score cause differing degrees of degraded performance ( Figure 4a ) despite producing similar saliency maps (Figure 4b ), indicating that agent behavior is underdetermined by salience.
Specifically, the salience intensity patterns are similar for the Interventions on displayed score result in differing levels of degraded performance but produce similar saliency maps, suggesting that agent behavior as measured by rewards is underdetermined by salience.
control, fixed, and decremented scores, while the non-ordered score interventions result in degraded performance.
Figure 4c indicates only very weak correlations between the difference-in-reward and difference-in-saliency-under-intervention as compared to the original trajectory.
Correlation coefficients range from 0.041 to 0.274, yielding insignificant p-values for all but one intervention.
See full results in Appendix E.1, Table 6 .
Similar trends are noted for Jacobian and perturbation saliency methods in Appendix E.1.
The existence of a high correlation between two processes (e.g., incrementing score and persistence of saliency) does not imply causation.
Interventions can be useful in identifying the common cause leading to the high correlation.
Case Study 3: Amidar Enemy Distance.
Enemies are salient in Amidar at varying times.
From visual inspection, we observe that enemies close to the player tend to have higher saliency.
Accordingly, we generate the following hypothesis:
Hypothesis 3: enemy is salient =⇒ agent has learned to {look for enemies close to it} resulting in {successful avoidance of enemy collision}.
Without directly intervening on the game state, we can first identify whether the player-enemy distance and enemy saliency is correlated using observational data.
We collect 1000 frames of an episode of Amidar and record the Manhattan distance between the midpoints of the player and enemies, represented by 7x7 bounding boxes, along with the object salience of each enemy.
Figure  5a shows the distance of each enemy to the player over time with saliency intensity represented by the shaded region.
Figure 5b shows the correlation between the distance to each enemy and the corresponding saliency.
Correlation coefficients and significance values are reported in Table 3 .
It is clear that there is no correlation between saliency and distance of each enemy to the player.
Given that statistical dependence is almost always a necessary pre-condition for causation, we expect that there will not be any causal dependence.
To further examine this, we intervene on enemy positions of salient enemies at each timestep by moving the enemy closer and farther away from the player.
Figure 5c contains these results.
Given Hypothesis 3, we would expect to see an increasing trend in saliency for enemies closer to the player.
However, the size of the effect is close to 0 (see Table 3 ).
In addition, we find no correlation in the enemy distance experiments for the Jacobian or perturbation saliency methods (included in Appendix E.2).
Conclusion.
Spurious correlations, or misinterpretations of existing correlation, can occur between two processes (e.g. correlation between player-enemy distance and saliency), and human observers are susceptible to identifying spurious correlations (Simon, 1954) .
Spurious correlations can sometimes be identified from observational analysis without requiring interventional analysis.
Thinking counterfactually about the explanations generated from saliency maps facilitates empirical evaluation of those explanations.
The experiments above show some of the difficulties in drawing conclusions from saliency maps.
These include the tendency of human observers to incorrectly infer association between observed processes, the potential for experimental evidence to contradict seemingly obvious observational conclusions, and the challenges of potential confounding in temporal processes.
One of the main conclusions from this evaluation is that saliency maps are an exploratory tool rather than an explanatory tool.
Saliency maps alone cannot be reliably used to infer explanations and instead require other supporting tools.
This can include combining evidence from saliency maps with other explanation methods or employing a more experimental approach to evaluation of saliency maps such as the approach demonstrated in the case studies above.
The framework for generating falsifiable hypotheses suggested in Section 4 can assist with designing more specific and falsifiable explanations.
The distinction between the components of an explanation, particularly the semantic concept set X, learned representation R and observed behavior B, can further assist in experimental evaluation.
Generalization of Proposed Methodology.
The methodology presented in this work can be easily extended to other vision-based domains in deep RL.
Particularly, the framework of the graphical model introduced in Figure 2a applies to all domains where the input to the network is image data.
An extended version of the model for Breakout can be found in Appendix 7.
We propose intervention-based experimentation as a primary tool to evaluate the hypotheses generated from saliency maps.
Yet, alternative methods can identify a false hypothesis even earlier.
For instance, evaluating statistical dependence alone can help identify some situations in which causation is absent (e.g., Case Study 3).
We also employ TOYBOX in this work.
However, limited forms of evaluation may be possible in non-intervenable environments, though they may be more tedious to implement.
For instance, each of the interventions conducted in Case Study 1 can be produced in an observation-only environment by manipulating the pixel input (Chalupka et al., 2015; Brunelli, 2009 ).
Developing more experimental systems for evaluating explanations is an open area of research.
This work analyzes explanations generated from feed-forward deep RL agents.
Yet, given that the proposed methodology is not model dependent, aspects of the approach will carry over to recurrent deep RL agents.
The proposed methodology would not work for repeated interventions on recurrent deep RL agents due to their capacity for memorization.
We conduct a survey of uses of saliency maps, propose a methodology to evaluate saliency maps, and examine the extent to which the agent's learned representations can be inferred from saliency maps.
We investigate how well the pixel-level inferences of saliency maps correspond to the semantic concept-level inferences of human-level interventions.
Our results show saliency maps cannot be trusted to reflect causal relationships between semantic concepts and agent behavior.
We recommend saliency maps to be used as an exploratory tool, not explanatory tool.

assistant: text: Proposing a new counterfactual-based methodology to evaluate the hypotheses generated from saliency maps about deep RL agent behavior.