arXiv:2410.04322cs.SEcs.AI2024-10中稿 · publication in The…被引 2

首个自动诊断深度强化学习故障的工具,提升开发效率。

Toward Debugging Deep Reinforcement Learning Programs with RLExplorer

  • 通过分析训练过程动态检测DRL特有错误
  • 83%真实故障案例可被准确诊断
  • 适合开发者快速定位DRL程序问题

深度强化学习(DRL)在机器人、游戏和推荐系统等领域取得成功。然而,与其它软件系统一样,基于DRL的系统易受故障影响,这些故障常导致异常行为却无明确错误提示,使调试困难且耗时。因此,自动化监控与诊断DRL系统至关重要。本文提出RLExplorer,首个针对基于DRL软件系统的故障诊断方法。该方法自动监控训练轨迹,并基于DRL学习动态特性运行诊断流程,识别特定故障,同时记录包含理论概念、最佳实践和解决方案的警告信息。我们进行了两组评估:第一组对来自Stack Overflow的故障DRL样本评估显示,该方法在83%案例中能有效诊断真实故障;第二组由15位DRL专家/开发者参与,结果表明,相比手动调试,RLExplorer可发现3.6倍更多缺陷,且易于集成至DRL应用中。

原文摘要 · Abstract (English)

Deep reinforcement learning (DRL) has shown success in diverse domains such as robotics, computer games, and recommendation systems. However, like any other software system, DRL-based software systems are susceptible to faults that pose unique challenges for debugging and diagnosing. These faults often result in unexpected behavior without explicit failures and error messages, making debugging difficult and time-consuming. Therefore, automating the monitoring and diagnosis of DRL systems is crucial to alleviate the burden on developers. In this paper, we propose RLExplorer, the first fault diagnosis approach for DRL-based software systems. RLExplorer automatically monitors training traces and runs diagnosis routines based on properties of the DRL learning dynamics to detect the occurrence of DRL-specific faults. It then logs the results of these diagnoses as warnings that cover theoretical concepts, recommended practices, and potential solutions to the identified faults. We conducted two sets of evaluations to assess RLExplorer. Our first evaluation of faulty DRL samples from Stack Overflow revealed that our approach can effectively diagnose real faults in 83% of the cases. Our second evaluation of RLExplorer with 15 DRL experts/developers showed that (1) RLExplorer could identify 3.6 times more defects than manual debugging and (2) RLExplorer is easily integrated into DRL applications.

强化学习故障诊断自动化调试

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。