评估强化学习可解释性方法在修复智能体缺陷中的帮助程度 Evaluating RL Explainability Methods by How Much They Help Fix Bugs in Agents 预印本
原文摘要
查看英文原文摘要
This preliminary paper outlines a planned evaluation benchmark for Explainable Reinforcement Learning (XRL) methods. Current evaluations rely on functionally-grounded metrics like faithfulness and compactness, and on human-grounded proxies like subjective ratings or prediction accuracy. We suggest evaluating XRL methods by how effectively their generated explanations help to diagnose and fix malfunctioning reinforcement learning (RL) agents. We propose EvalXRL, a benchmark in which a Large Language Model (LLM) coding agent uses different XRL methods to diagnose a held-out malfunction in an RL agent, and then repair it. Our proposed benchmark iterates across (environment $\times$ malfunction $\times$ XRL method) tuples and uses the reward signal of the RL agents to form a final score for each XRL method. The coding agent may use the method interactively: invoke the XRL method, process its output, form new hypotheses on what is broken, and invoke the method again with parameters adjusted for testing these hypotheses. This closed-loop structure may be described as a simplified version of the scientific method. Some XRL methods provide self-evaluations that follow this pattern; we propose the first head-to-head comparison of multiple XRL methods in closed-loop usage.
📚 参考文献 (63 条)
查看全部 63 条
- [Adebayo et al., 2020] Julius Adebayo, Michael Muelly, Ilaria Liccardi, and Been Kim. Debugging tests for model explanations. In Advances in Neural Information Processing Systems, volume 33, 2020.
- [Agarwal et al., 2021] Rishabh Agarwal, Max Schwarzer, Pablo Samuel Castro, Aaron Courville, and Marc G Bellemare. Deep reinforcement learning at the edge of the statistical precipice. In Advances in Neural Information Processing Systems (NeurIPS), 2021.
- [Amir and Amir, 2018] Dan Amir and Ofra Amir. HIGHLIGHTS: Summarizing agent behavior to people. In International Conference on Autonomous Agents and Multiagent Systems, 2018.
- [Amitai et al., 2024a] Yotam Amitai, Ofra Amir, and Guy Avni. ASQ-IT: Interactive explanations for reinforcement-learning agents. Artificial Intelligence, 335:104182, 2024.
- [Amitai et al., 2024b] Yotam Amitai, Yael Septon, and Ofra Amir. Explaining reinforcement learning agents through counterfactual action outcomes. In AAAI Conference on Artificial Intelligence, volume 38, pages 10003–10011, 2024.
- [Anderson et al., 2019] Andrew Anderson, Jonathan Dodge, Amrita Sadarangani, Zoe Juozapaitis, Evan Newman, Jed Irvine, Souti Chattopadhyay, Alan Fern, and Margaret Burnett. Explaining reinforcement learning to mere mortals: An empirical study. In International Joint Conference on Artificial Intelligence, pages 1328–1334, 2019.
- [Arzate Cruz and Igarashi, 2021] Christian Arzate Cruz and Takeo Igarashi. Interactive explanations: Diagnosis and repair of reinforcement learning based agent behaviors. In IEEE Conference on Games (CoG), pages 1–8. IEEE, 2021.
- [Barez and others, 2026] Fazl Barez et al. Automated interpretability-driven model auditing and control: A research agenda. Oxford Martin AI Governance Initiative (AIGI), 2026.
- [Bastani et al., 2018] Osbert Bastani, Yewen Pu, and Armando Solar-Lezama. Verifiable reinforcement learning via policy extraction. In Advances in Neural Information Processing Systems, volume 31, 2018.
- [Beechey et al., 2023] Daniel Beechey, Thomas M. S. Smith, and ¨Ozg¨ur S¸ims¸ek. Explaining reinforcement learning with shapley values. In International Conference on Machine Learning, pages 2003–2014. PMLR, 2023.
- [Belouadah et al., 2025] Ayoub Belouadah, Marcelo Luis Ruiz-Rodr´ıguez, Sylvain Kubler, and Yves Le Traon. Evaluating the effectiveness of LLMs for explainable deep reinforcement learning. Machine Learning with Applications, 22:100795, 2025.
- [Bhatt et al., 2020] Umang Bhatt, Alice Xiang, Shubham Sharma, Adrian Weller, Ankur Taly, Yunhan Jia, Joydeep Ghosh, Ruchir Puri, Jos´e M. F. Moura, and Peter Eckersley. Explainable machine learning in deployment. In ACM Conference on Fairness, Accountability, and Transparency, pages 648–657, 2020.
- [Bradbury et al., 2018] James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Yash Katariya, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake VanderPlas, Skye Wanderman-Milne, and Qiao Zhang. JAX: composable transformations of Python+NumPy programs, 2018.
- [Bricken et al., 2025] Trenton Bricken, Rowan Wang, Sam Bowman, Euan Ong, Johannes Treutlein, Jeff Wu, Evan Hubinger, and Samuel Marks. Building and evaluating alignment auditing agents. Anthropic Alignment Science Blog, 2025.
- [Chan et al., 2024] Jun Shern Chan, Neil Chowdhury, Oliver Jaffe, James Aung, Dane Sherburn, Evan Mays, Giulio Starace, Kevin Liu, Leon Maksin, Tejal Patwardhan, Lillian Weng, and Aleksander Madry. MLE-bench: Evaluating machine learning agents on machine learning engineering. arXiv preprint arXiv:2410.07095, 2024. ICLR 2025.
- [Chen et al., 2026] Huili Chen, Stephen R. Grimm, Olga Russakovsky, and Tania Lombrozo. Machine understanding. Trends in Cognitive Sciences, 2026.
- [De Bona et al., 2024] Francesco Bombassei De Bona, Gabriele Dominici, Tim Miller, Marc Langheinrich, and Martin Gjoreski. Evaluating explanations through LLMs: Beyond traditional user studies. In NeurIPS Workshop on Generative AI for Health, 2024.
- [de Regt, 2017] Henk W. de Regt. Understanding Scientific Understanding. Oxford University Press, 2017.
- [Dodge et al., 2021] Jonathan Dodge, Roli Khanna, Jed Irvine, Kin-Ho Lam, Theresa Mai, Zhengxian Lin, Nicholas Kiddle, Evan Newman, Andrew Anderson, Sai Raja, Caleb Matthews, Christopher Perdriau, Margaret Burnett, and Alan Fern. After-action review for AI (AAR/AI). ACM Transactions on Interactive Intelligent Systems, 2021.
- [Doshi-Velez and Kim, 2017] Finale Doshi-Velez and Been Kim. Towards a rigorous science of interpretable machine learning. arXiv preprint arXiv:1702.08608, 2017.
- [Engstrom et al., 2020] Logan Engstrom, Andrew Ilyas, Shibani Santurkar, Dimitris Tsipras, Firdaus Janoos, Larry Rudolph, and Aleksander Madry. Implementation matters in deep policy gradients: A case study on PPO and TRPO. In International Conference on Learning Representations (ICLR), 2020.
- [Frost et al., 2021] Julius Frost, Olivia Watkins, Eric Weiner, Pieter Abbeel, Trevor Darrell, Bryan Plummer, and Kate Saenko. Explaining reinforcement learning policies through counterfactual trajectories. In ICML Workshop on Human in the Loop Learning (HILL), 2021.
- [Gao et al., 2025] Yuan Gao, Dokyun Lee, Gordon Burtch, and Sina Fazelpour. Take caution in using LLMs as human surrogates. Proceedings of the National Academy of Sciences, 122(24):e2501660122, 2025.
- [Greydanus et al., 2018] Sam Greydanus, Anurag Koul, Jonathan Dodge, and Alan Fern. Visualizing and understanding Atari agents. In International Conference on Machine Learning, 2018.
- [Gyevnar and Towers, 2025] Balint Gyevnar and Mark Towers. Objective metrics for human-subjects evaluation in explainable reinforcement learning. In Multi-disciplinary Conference on Reinforcement Learning and Decision Making (RLDM), 2025.
- [Gyevnar et al., 2026] B´alint Gyevnar, Christopher G. Lucas, Stefano V. Albrecht, and Shay B. Cohen. Integrating counterfactual simulations with language models for explaining multi-agent behaviour. In International Conference on Autonomous Agents and Multiagent Systems, 2026.
- [Haklay et al., 2026] Tal Haklay, Nikhil Prakash, Sana Pandey, Antonio Torralba, Aaron Mueller, Jacob Andreas, Tamar Rott Shaham, and Yonatan Belinkov. Pitfalls in evaluating interpretability agents. arXiv preprint arXiv:2603.20101, 2026.
- [Haque et al., 2025] Mirazul Haque, Petr Babkin, Farima Farmahinifarahani, and Manuela Veloso. Towards effectively leveraging execution traces for program repair with code LLMs. In Proceedings of the 4th International Workshop on Knowledge-Augmented Methods for Natural Language Processing (KnowledgeNLP), pages 160–179. Association for Computational Linguistics, 2025.
- [Hariharan et al., 2025] Kaivalya Hariharan, Uzay Girit, Atticus Wang, and Jacob Andreas. Breakpoint: Scalable evaluation of system-level reasoning in LLM code agents. arXiv preprint arXiv:2506.00172, 2025.
- [Hase and Bansal, 2020] Peter Hase and Mohit Bansal. Evaluating explainable AI: Which algorithmic explanations help users predict model behavior? In Annual Meeting of the Association for Computational Linguistics (ACL), pages 5540–5552, 2020.
- [Hayes and Shah, 2017] Bradley Hayes and Julie A. Shah. Improving robot controller transparency through autonomous policy explanation. In ACM/IEEE International Conference on Human-Robot Interaction (HRI), pages 303–312, 2017.
- [Henderson et al., 2018] Peter Henderson, Riashat Islam, Philip Bachman, Joelle Pineau, Doina Precup, and David Meger. Deep reinforcement learning that matters. In AAAI Conference on Artificial Intelligence, 2018.
- [Hoffman et al., 2018] Robert R. Hoffman, Shane T. Mueller, Gary Klein, and Jordan Litman. Metrics for explainable AI: Challenges and prospects. arXiv preprint arXiv:1812.04608, 2018.
- [Juozapaitis et al., 2019] Zoe Juozapaitis, Anurag Koul, Alan Fern, Martin Erwig, and Finale Doshi-Velez. Explainable reinforcement learning via reward decomposition. In IJCAI Workshop on Explainable Artificial Intelligence (XAI), 2019.
- [Kulibaba et al., 2025] Stepan Kulibaba, Artem Dzhalilov, Roman Pakhomov, Oleg Svidchenko, Alexander Gasnikov, and Aleksei Shpilman. KompeteAI: Accelerated Autonomous Multi-Agent System for End-to-End Pipeline Generation for Machine Learning Problems, September 2025.
- [Lakkaraju and Bastani, 2020] Himabindu Lakkaraju and Osbert Bastani. “how do I fool you?”: Manipulating user trust via misleading black box explanations. In Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society, pages 79–85, 2020.
- [Lakkaraju et al., 2022] Himabindu Lakkaraju, Dylan Slack, Yuxin Chen, Chenhao Tan, and Sameer Singh. Rethinking explainability as a dialogue: A practitioner’s perspective. arXiv preprint arXiv:2202.01875, 2022.
- [Langosco et al., 2022] Lauro Langosco, Jack Koch, Lee D. Sharkey, Jacob Pfau, and David Krueger. Goal misgeneralization in deep reinforcement learning. In International Conference on Machine Learning (ICML), volume 162 of Proceedings of Machine Learning Research, pages 12004–12019. PMLR, 2022.
- [Le et al., 2024] Thao Le, Tim Miller, Liz Sonenberg, Ronal Singh, and H. Peter Soyer. From evidence to decision: Exploring evaluative AI. arXiv preprint arXiv:2402.01292, 2024.
- [Levin et al., 2025] Kyla H. Levin, Nicolas van Kempen, Emery D. Berger, and Stephen N. Freund. ChatDBG: Augmenting debugging with large language models. Proceedings of the ACM on Software Engineering, 2(FSE), 2025.
- [Lipton, 2009] Peter Lipton. Understanding without explanation. In Henk W. de Regt, Sabina Leonelli, and Kai Eigner, editors, Scientific Understanding: Philosophical Perspectives, pages 43–63. University of Pittsburgh Press, 2009.
- [Liu et al., 2025] Zexi Liu, Yuzhu Cai, Xinyu Zhu, Yujie Zheng, Runkun Chen, Ying Wen, Yanfeng Wang, Weinan E, and Siheng Chen. ML-Master: Towards AI-for-AI via Integration of Exploration and Reasoning, June 2025.
- [Lombrozo, 2006] Tania Lombrozo. The structure and function of explanations. Trends in Cognitive Sciences, 10(10):464–470, 2006.
- [Lundberg and Lee, 2017] Scott M. Lundberg and Su-In Lee. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems, 2017.
- [Madumal et al., 2018] Prashan Madumal, Tim Miller, Frank Vetere, and Liz Sonenberg. Towards a grounded dialog model for explainable artificial intelligence. arXiv preprint arXiv:1806.08055, 2018.
- [Marks et al., 2025] Samuel Marks, Johannes Treutlein, Trenton Bricken, Jack Lindsey, Jonathan Marcus, Siddharth Mishra-Sharma, Daniel Ziegler, et al. Auditing language models for hidden objectives. arXiv preprint arXiv:2503.10965, 2025.
- [Marks, 2025] Samuel Marks. Downstream applications as validation of interpretability progress. LessWrong / Alignment Forum, 2025.
- [Miller, 2019] Tim Miller. Explanation in artificial intelligence: Insights from the social sciences. Artificial Intelligence, 267:1–38, 2019.
- [Miller, 2023] Tim Miller. Explainable AI is dead, long live explainable AI! hypothesis-driven decision support using evaluative AI. In Proceedings of the 2023 ACM Conference on Fairness, Accountability, and Transparency (FAccT), 2023.
- [Mills et al., 2023] Edmund Mills, Shiye Su, Stuart Russell, and Scott Emmons. ALMANACS: A simulatability benchmark for language model explainability. arXiv preprint arXiv:2312.12747, 2023.
- [Mnih et al., 2015] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
- [Nanda et al., 2025] Neel Nanda, Joshua Engels, Arthur Conmy, Senthooran Rajamanoharan, Bilal Chughtai, Callum McDougall, J´anos Kram´ar, and Lewis Smith. A pragmatic vision for interpretability. LessWrong / Alignment Forum, 2025.
- [Nikanjam et al., 2022] Amin Nikanjam, Mohammad Mehdi Morovati, Foutse Khomh, and Houssem Ben Braiek. Faults in deep reinforcement learning programs: A taxonomy and a detection approach. Automated Software Engineering, 29(8), 2022.
- [Olson et al., 2021] Matthew L. Olson, Roli Khanna, Lawrence Neal, Fuxin Li, and Weng-Keen Wong. Counterfactual state explanations for reinforcement learning agents via generative deep learning. Artificial Intelligence, 295:103455, 2021.
- [Paleja et al., 2021] Rohan Paleja, Muyleng Ghuy, Nadun Ranawaka Arachchige, Reed Jensen, and Matthew Gombolay. The utility of explainable AI in ad hoc human-machine teaming. In Advances in Neural Information Processing Systems, volume 34, 2021.
- [Pan et al., 2022] Alexander Pan, Kush Bhatia, and Jacob Steinhardt. The effects of reward misspecification: Mapping and mitigating misaligned models. In International Conference on Learning Representations, 2022.
- [Septon et al., 2023] Yael Septon, Tobias Huber, Elisabeth Andr´e, and Ofra Amir. Integrating policy summaries with reward decomposition for explaining reinforcement learning agents. In International Conference on Practical Applications of Agents and Multi-Agent Systems (PAAMS), pages 320–332. Springer, 2023.
- [Sequeira and Gervasio, 2020] Pedro Sequeira and Melinda Gervasio. Interestingness elements for explainable reinforcement learning: Understanding agents’ capabilities and limitations. Artificial Intelligence, 288:103367, 2020.
- [Sheshadri et al., 2026] Abhay Sheshadri, Aidan Ewart, Kai Fronsdal, Isha Gupta, Samuel R. Bowman, Sara Price, Samuel Marks, and Rowan Wang. AuditBench: Evaluating alignment auditing techniques on models with hidden behaviors. arXiv preprint arXiv:2602.22755, 2026.
- [Skalse et al., 2022] Joar Skalse, Nikolaus H. R. Howe, Dmitrii Krasheninnikov, and David Krueger. Defining and characterizing reward hacking. In Advances in Neural Information Processing Systems, 2022.
- [SWE-agent Team, 2025] SWE-agent Team. mini-swe-agent. https://github.com/SWE-agent/mini-swe-agent, 2025. Software repository.
- [Tambon et al., 2023] Florian Tambon, Vahid Majdinasab, Amin Nikanjam, Foutse Khomh, and Giuliano Antoniol. Mutation testing of deep reinforcement learning based on real faults. In IEEE International Conference on Software Testing, Verification and Validation (ICST), 2023.
- [Tappler et al., 2025] Martin Tappler, Ignacio D. Lopez-Miguel, Sebastian Tschiatschek, and Ezio Bartocci. Rule-guided reinforcement learning policy evaluation and improvement. In International Joint Conference on Artificial Intelligence, 2025