SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2005.08874 · 2020

Local and Global Explanations of Agent Behavior: Integrating Strategy Summaries with Saliency Maps

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 15 functions out of this paper's own repositories and ran 9 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
HuTobias/HIGHLIGHTS-LRP canonical 9 of 15
FunctionStatusWhere it lives
add_saliency_to_image Ran HuTobias/HIGHLIGHTS-LRP/image_utils.py
code served (permissive licence) · get_code("6bf777cae5aa1bbe")
boot_matrix Ran HuTobias/HIGHLIGHTS-LRP/Survey_results/evaluation.py
code served (permissive licence) · get_code("23b5e027f63446a1")
bootstrap_mean Ran HuTobias/HIGHLIGHTS-LRP/Survey_results/evaluation.py
code served (permissive licence) · get_code("15507b00dcf9ed2e")
check_group Ran HuTobias/HIGHLIGHTS-LRP/Survey_results/evaluate_text.py
code served (permissive licence) · get_code("ec5245b230cd1b7f")
create_edge_image Ran HuTobias/HIGHLIGHTS-LRP/image_utils.py
code served (permissive licence) · get_code("3ee689932999e7d2")
find_similar_state_in_summary Ran HuTobias/HIGHLIGHTS-LRP/highlights_state_selection.py
code served (permissive licence) · get_code("456a33d3018f4f34")
interpolate Ran HuTobias/HIGHLIGHTS-LRP/overlay_stream.py
code served (permissive licence) · get_code("d95a6badeecdce28")
rank_biserial_effect_size Ran HuTobias/HIGHLIGHTS-LRP/Survey_results/evaluation.py
code served (permissive licence) · get_code("e0d84f47df26823f")
read_text_data Ran HuTobias/HIGHLIGHTS-LRP/Survey_results/evaluate_text.py
code served (permissive licence) · get_code("eeb60e3bda5f2978")
get_feature_vector Not yet run HuTobias/HIGHLIGHTS-LRP/stream_generator.py
code served (permissive licence) · get_code("16a1e82ed27c1ffa")
get_grouped_df Not yet run HuTobias/HIGHLIGHTS-LRP/Survey_results/evaluate_text.py
code served (permissive licence) · get_code("68854d095267927a")
highlights Not yet run HuTobias/HIGHLIGHTS-LRP/highlights_state_selection.py
code served (permissive licence) · get_code("d684cfecadd9fc63")
load_Model_with_trained_variables Not yet run HuTobias/HIGHLIGHTS-LRP/Tensorflow_to_Keras.py
code served (permissive licence) · get_code("41749c3cf919738c")
output_saliency_map Not yet run HuTobias/HIGHLIGHTS-LRP/image_utils.py
code served (permissive licence) · get_code("bedbfacf131fc2a1")
random_state_selection Not yet run HuTobias/HIGHLIGHTS-LRP/highlights_state_selection.py
code served (permissive licence) · get_code("3a44724f5fec1a11")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

With advances in reinforcement learning (RL), agents are now being developed in high-stakes application domains such as healthcare and transportation. Explaining the behavior of these agents is challenging, as the environments in which they act have large state spaces, and their decision-making can be affected by delayed rewards, making it difficult to analyze their behavior. To address this problem, several approaches have been developed. Some approaches attempt to convey the $\textit{global}$ behavior of the agent, describing the actions it takes in different states. Other approaches devised $\textit{local}$ explanations which provide information regarding the agent's decision-making in a particular state. In this paper, we combine global and local explanation methods, and evaluate their joint and separate contributions, providing (to the best of our knowledge) the first user study of combined local and global explanations for RL agents. Specifically, we augment strategy summaries that extract important trajectories of states from simulations of the agent with saliency maps which show what information the agent attends to. Our results show that the choice of what states to include in the summary (global information) strongly affects people's understanding of agents: participants shown summaries that included important states significantly outperformed participants who were presented with agent behavior in a randomly set of chosen world-states. We find mixed results with respect to augmenting demonstrations with saliency maps (local information), as the addition of saliency maps did not significantly improve performance in most cases. However, we do find some evidence that saliency maps can help users better understand what information the agent relies on in its decision making, suggesting avenues for future work that can further improve explanations of RL agents.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2005.08874")
get_code_for_paper("2005.08874")
have("2005.08874")

Connect an agent — have() is free.