arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2101.00135cs.SEcs.LG
收藏

深度强化学习程序中的错误:分类和检测方法

Faults in Deep Reinforcement Learning Programs: A Taxonomy and A Detection Approach

Polytechnique Montréal(蒙特利尔理工学院)

Amin Nikanjam, Mohammad Mehdi Morovati, Foutse Khomh, Houssem Ben Braiek

摘要:

在工业界和学术界,越来越多的人需要在各个领域使用深度学习(DL)来解决现实世界的问题。深度强化学习(DRL)是深度学习在强化学习(RL)领域的应用。像任何软件系统一样,DRL应用程序可能会因为程序中的错误而失败。在本文中,我们提出了第一次尝试分类故障发生在DRL程序。我们手动分析了使用知名DRL框架(OpenAI Gym,Dopamine,Keras-rl,Tensorforce)开发的761个DRL程序工件(来自Stack Overflow帖子和GitHub问题),并确定了开发人员/用户报告的错误。通过几轮讨论,我们对识别出的故障进行了标记和分类。由此产生的分类验证使用在线调查与19开发人员/研究人员。为了允许DRL程序中的故障的自动检测,我们已经定义了一个元模型的DRL程序和开发DRLinter,基于模型的故障检测方法,利用静态分析和图形转换。DRLinter的执行流程包括解析DRL程序以生成符合我们的元模型的模型,并在模型上应用检测规则来识别故障发生。DRLinter的有效性进行了评估,使用15个合成DRL程序,我们注入故障中观察到的分析工件的分类。结果表明,DRLinter能够成功地检测出所有合成故障程序中的故障。

英文摘要:

A growing demand is witnessed in both industry and academia for employing Deep Learning (DL) in various domains to solve real-world problems. Deep Reinforcement Learning (DRL) is the application of DL in the domain of Reinforcement Learning (RL). Like any software systems, DRL applications can fail because of faults in their programs. In this paper, we present the first attempt to categorize faults occurring in DRL programs. We manually analyzed 761 artifacts of DRL programs (from Stack Overflow posts and GitHub issues) developed using well-known DRL frameworks (OpenAI Gym, Dopamine, Keras-rl, Tensorforce) and identified faults reported by developers/users. We labeled and taxonomized the identified faults through several rounds of discussions. The resulting taxonomy is validated using an online survey with 19 developers/researchers. To allow for the automatic detection of faults in DRL programs, we have defined a meta-model of DRL programs and developed DRLinter, a model-based fault detection approach that leverages static analysis and graph transformations. The execution flow of DRLinter consists in parsing a DRL program to generate a model conforming to our meta-model and applying detection rules on the model to identify faults occurrences. The effectiveness of DRLinter is evaluated using 15 synthetic DRLprograms in which we injected faults observed in the analyzed artifacts of the taxonomy. The results show that DRLinter can successfully detect faults in all synthetic faulty programs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑