Lune

NeurIPS2023Top-tier venue

StateMask: Explaining Deep Reinforcement Learning through State Mask

Zelei Cheng, Xian Wu, Jiahao Yu, Wenhai Sun, Wenbo Guo, Xinyu Xing

Abstract

Despite the promising performance of deep reinforcement learning (DRL) agents in many challenging scenarios, the black-box nature of these agents greatly limits their applications in critical domains. Prior research has proposed several explanation techniques to understand the deep learning-based policies in RL. Most existing methods explain why an agent takes individual actions rather than pinpointing the critical steps to its final reward. To fill this gap, we propose StateMask , a novel method to identify the states most critical to the agent’s final reward. The high-level idea of StateMask is to learn a mask net that blinds a target agent and forces it to take random actions at some steps without compromising the agent’s performance. Through careful design, we can theoretically ensure that the masked agent performs similarly to the original agent. We evaluate StateMask in various popular RL environments and show its superiority over existing explainers in explanation fidelity. We also show that StateMask has better utilities, such as launching adversarial attacks and patching policy errors.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Snapshot of Influence: A Local Data Attribution Framework for Online Reinforcement Learning cites Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep Reinforcement Learning
  • A Snapshot of Influence: A Local Data Attribution Framework for Online Reinforcement Learning cites EDGE: Explaining Deep Reinforcement Learning Policies
  • A Snapshot of Influence: A Local Data Attribution Framework for Online Reinforcement Learning cites Explain Your Move: Understanding Agent Actions Using Specific and Relevant Feature Attribution
  • Explainable Reinforcement Learning from Human Feedback to Improve Alignment cites Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep Reinforcement Learning
  • Explainable Reinforcement Learning from Human Feedback to Improve Alignment cites EDGE: Explaining Deep Reinforcement Learning Policies
  • Explainable Reinforcement Learning from Human Feedback to Improve Alignment cites Explain Your Move: Understanding Agent Actions Using Specific and Relevant Feature Attribution
  • Understanding Individual Agent Importance in Multi-Agent System via Counterfactual Reasoning cites Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep Reinforcement Learning
  • Understanding Individual Agent Importance in Multi-Agent System via Counterfactual Reasoning cites EDGE: Explaining Deep Reinforcement Learning Policies
  • EDGE: Explaining Deep Reinforcement Learning Policies cites Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep Reinforcement Learning
  • EDGE: Explaining Deep Reinforcement Learning Policies cites Explain Your Move: Understanding Agent Actions Using Specific and Relevant Feature Attribution
  • SkillTree: Explainable Skill-Based Deep Reinforcement Learning for Long-Horizon Control Tasks cites EDGE: Explaining Deep Reinforcement Learning Policies
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. A Snapshot of Influence: A Local Data Attribution Framework for Online Reinforcement LearningYuzheng Hu, Fan Wu, Haotian Ye, David A. Forsyth et al.NeurIPS 2025 · 13 citations
  2. Understanding Individual Agent Importance in Multi-Agent System via Counterfactual ReasoningJianming Chen, Yawen Wang, Junjie Wang, Xiaofei Xie et al.AAAI 2025 · 11 citations
  3. Soft-Label Integration for Robust Toxicity ClassificationZelei Cheng, Xian Wu, Jiahao Yu, Shuo Han et al.NeurIPS 2024 · 7 citations
  4. SkillTree: Explainable Skill-Based Deep Reinforcement Learning for Long-Horizon Control TasksYongyan Wen, Siyuan Li, Rongchang Zuo, Lei Yuan et al.AAAI 2025 · 4 citations
  5. Explainable Reinforcement Learning from Human Feedback to Improve AlignmentShicheng Liu, Siyuan Xu, Wenjie Qiu, Hangfan Zhang et al.NeurIPS 2025 · 2 citations

Builds on10

  1. Exploratory Not Explanatory: Counterfactual Analysis of Saliency Maps for Deep Reinforcement LearningAkanksha Atrey, Kaleigh Clary, David D. JensenICLR 2020 · 108 citations
  2. Explain Your Move: Understanding Agent Actions Using Specific and Relevant Feature AttributionNikaash Puri, Sukriti Verma, Piyush Gupta, Dhruv Kayastha et al.ICLR 2020 · 99 citations
  3. Robust and Stable Black Box ExplanationsHimabindu Lakkaraju, Nino Arsov, Osbert BastaniICML 2020 · 93 citations
  4. EDGE: Explaining Deep Reinforcement Learning PoliciesWenbo Guo, Xian Wu, Usmann Khan, Xinyu XingNeurIPS 2021 · 79 citations
  5. PerfectDou: Dominating DouDizhu with Perfect Information DistillationGuan Yang, Minghuan Liu, Weijun Hong, Weinan Zhang et al.NeurIPS 2022 · 41 citations

Related papers

  1. AIRS: Explanation for Deep Reinforcement Learning based Security ApplicationsJiahao Yu, Wenbo Guo, Qi Qin, Gang Wang et al.USENIX Security 2023
  2. SHINE: Shielding Backdoors in Deep Reinforcement LearningZhuowen Yuan, Wenbo Guo, Jinyuan Jia, Bo Li et al.ICML 2024 · 4 citations
  3. RICE: Breaking Through the Training Bottlenecks of Reinforcement Learning with ExplanationZelei Cheng, Xian Wu, Jiahao Yu, Sabrina Yang et al.ICML 2024 · 11 citations
  4. ProtoX: Explaining a Reinforcement Learning Agent via PrototypingRonilo J. Ragodos, Tong Wang, Qihang Lin, Xun ZhouNeurIPS 2022 · 13 citations
  5. Stealthy and Efficient Adversarial Attacks against Deep Reinforcement LearningJianwen Sun, Tianwei Zhang, Xiaofei Xie, Lei Ma et al.AAAI 2020 · 141 citations
Dusk over the sea between two cliffs drawn in fine vertical lines