Lune

FSE2026顶会

Failure-Based Testing for Deep Reinforcement Learning Agents

Weibin Lin, Jiangtao Meng, Zheng Zheng

摘要

JIANGTAO MENG, Beihang University, China ZHENG ZHENG* , Beihang University, China Deep Reinforcement Learning (DRL) agents have been widely adopted across diverse domains to address challenging decision-making problems, such as autonomous driving and robotic control. Given that many of these applications are safety-and security-critical, rigorous testing of DRL agents is indispensable. Existing testing methods are typically guided by reward signals to detect failures. However, for well-trained agents, whose performance approaches optimal levels in standard operating conditions, reward signals remain generally high, making current methods ineffective at uncovering critical failures.

To address these challenges, we propose a novel failure-based method that leverages task-induced failure insights to enhance failure detection capability while reducing the number of tests required. Since DRL agents are inherently designed with human-defined tasks, they provide valuable cues about task difficulty. Intuitively, a DRL agent is more likely to fail when confronted with a more difficult task; therefore, PRT prioritizes these tasks. Building on this foundation, we propose Prior Random Testing, a black-box failure-based testing method that enables targeted prioritization while preserving the diversity of generated test cases. Guided by task-induced failure insights, PRT prioritizes failure-prone regions of the input domain, thereby facilitating efficient failure detection.

PRT is evaluated on four widely used benchmarks and compared with different state-of-the-art methods including fuzzing, search-based and generative-based methods. PRT ranks among the top performers in terms of both the cost of finding the first failure and the diversity of test cases. Notably, compared to random testing, PRT achieves better diversity and reduces the testing cost by over 50%.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • MDPFuzz: testing models solving Markov decision processes 引用了 Controlling Overestimation Bias with Truncated Mixture of Continuous Distributional Quantile Critics
  • Curiosity-Driven Testing for Sequential Decision-Making Process 引用了 Generative Model-Based Testing on Decision-Making Policies
  • Curiosity-Driven Testing for Sequential Decision-Making Process 引用了 Controlling Overestimation Bias with Truncated Mixture of Continuous Distributional Quantile Critics
  • Curiosity-Driven Testing for Sequential Decision-Making Process 引用了 Metamorphic relations via relaxations: an approach to obtain oracles for action-policy testing
  • Curiosity-Driven Testing for Sequential Decision-Making Process 引用了 MDPFuzz: testing models solving Markov decision processes
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper7

  1. Controlling Overestimation Bias with Truncated Mixture of Continuous Distributional Quantile CriticsArsenii Kuznetsov, Pavel Shvechikov, Alexander Grishin, Dmitry P. VetrovICML 2020 · 266 次引用
  2. MDPFuzz: testing models solving Markov decision processesQi Pang, Yuanyuan Yuan, Shuai WangISSTA 2022 · 37 次引用
  3. Generative Model-Based Testing on Decision-Making PoliciesZhuo Li, Xiongfei Wu, Derui Zhu, Mingfei Cheng 等ASE 2023 · 14 次引用
  4. Metamorphic relations via relaxations: an approach to obtain oracles for action-policy testingHasan Ferit Eniser, Timo P. Gros, Valentin Wüstholz, Jörg Hoffmann 等ISSTA 2022 · 14 次引用
  5. Curiosity-Driven Testing for Sequential Decision-Making ProcessJunda He, Zhou Yang, Jieke Shi, Chengran Yang 等ICSE 2024 · 6 次引用

相关 Paper

  1. Test-driven Reinforcement Learning in Continuous ControlZhao Yu, Xiuping Wu, Liangjun KeAAAI 2026
  2. Learning from the Test: Self-Referential Differential Testing for Deep RL AgentsJunda He, Jieke Shi, Zhou Yang, Mingfei Cheng 等ISSTA 2026
  3. μPRL\mu \text{PRL}: A Mutation Testing Pipeline for Deep Reinforcement Learning Based on Real FaultsDeepak-George Thomas, Matteo Biagiola, Nargiz Humbatova, Mohammad Wardat 等ICSE 2025 · 4 次引用
  4. GARL: Genetic Algorithm-Augmented Reinforcement Learning to Detect Violations in Marker-Based Autonomous Landing SystemsLinfeng Liang, Yao Deng, Kye Morton, Valtteri Kallinen 等ICSE 2025 · 9 次引用
  5. APIRL: Deep Reinforcement Learning for REST API FuzzingMyles Foley, Sergio MaffeisAAAI 2025 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖