A comparison of reinforcement learning frameworks for software testing tasks

被引:4
|
作者
Mindom, Paulina Stevia Nouwou [1 ]
Nikanjam, Amin [1 ]
Khomh, Foutse [1 ]
机构
[1] Polytech Montreal, Quebec City, PQ H3T 1J4, Canada
关键词
Software testing; Reinforcement learning; Game testing; Test case prioritization;
D O I
10.1007/s10664-023-10363-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software testing activities scrutinize the artifacts and the behavior of a software product to find possible defects and ensure that the product meets its expected requirements. Although various approaches of software testing have shown to be very promising in revealing defects in software, some of them lack automation or are partly automated which increases the testing time, the manpower needed, and overall software testing costs. Recently, Deep Reinforcement Learning (DRL) has been successfully employed in complex testing tasks such as game testing, regression testing, and test case prioritization to automate the process and provide continuous adaptation. Practitioners can employ DRL by implementing from scratch a DRL algorithm or using a DRL framework. DRL frameworks offer well-maintained implemented state-of-the-art DRL algorithms to facilitate and speed up the development of DRL applications. Developers have widely used these frameworks to solve problems in various domains including software testing. However, to the best of our knowledge, there is no study that empirically evaluates the effectiveness and performance of implemented algorithms in DRL frameworks. Moreover, some guidelines are lacking from the literature that would help practitioners choose one DRL framework over another. In this paper, therefore, we empirically investigate the applications of carefully selected DRL algorithms (based on the characteristics of algorithms and environments) on two important software testing tasks: test case prioritization in the context of Continuous Integration (CI) and game testing. For the game testing task, we conduct experiments on a simple game and use DRL algorithms to explore the game to detect bugs. Results show that some of the selected DRL frameworks such as Tensorforce outperform recent approaches in the literature. To prioritize test cases, we run extensive experiments on a CI environment where DRL algorithms from different frameworks are used to rank the test cases. We find some cases where our DRL configurations outperform the implementation of the baseline. Our results show that the performance difference between implemented algorithms in some cases is considerable, motivating further investigation. Moreover, empirical evaluations on some benchmark problems are recommended for researchers looking to select DRL frameworks, to make sure that DRL algorithms perform as intended.
引用
收藏
页数:76
相关论文
共 50 条
  • [41] Offline reinforcement learning with anderson acceleration for robotic tasks
    Zuo, Guoyu
    Huang, Shuai
    Li, Jiangeng
    Gong, Daoxiong
    APPLIED INTELLIGENCE, 2022, 52 (09) : 9885 - 9898
  • [42] Proxemic behavior in navigation tasks using reinforcement learning
    Millan-Arias, Cristian
    Fernandes, Bruno
    Cruz, Francisco
    NEURAL COMPUTING & APPLICATIONS, 2023, 35 (23): : 16723 - 16738
  • [43] Potential Driven Reinforcement Learning for Hard Exploration Tasks
    Zhao, Enmin
    Deng, Shihong
    Zang, Yifan
    Kang, Yongxin
    Li, Kai
    Xing, Junliang
    PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2020, : 2096 - 2102
  • [44] Reinforcement learning, efficient coding, and the statistics of natural tasks
    Botvinick, Matthew
    Weinstein, Ari
    Solway, Alec
    Barto, Andrew
    CURRENT OPINION IN BEHAVIORAL SCIENCES, 2015, 5 : 71 - 77
  • [45] Leveraging Deep Reinforcement Learning for Reaching Robotic Tasks
    Katyal, Kapil
    Wang, I-Jeng
    Burlina, Philippe
    2017 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION WORKSHOPS (CVPRW), 2017, : 490 - 491
  • [46] Reinforcement learning and robust control for robot compliance tasks
    Kuan, CP
    Young, KY
    JOURNAL OF INTELLIGENT & ROBOTIC SYSTEMS, 1998, 23 (2-4) : 165 - 182
  • [47] Deep Reinforcement Learning for High Precision Assembly Tasks
    Inoue, Tadanobu
    De Magistris, Giovanni
    Munawar, Asim
    Yokoya, Tsuyoshi
    Tachibana, Ryuki
    2017 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS), 2017, : 819 - 825
  • [48] Hybrid Robotic Reinforcement Learning for Inspection/Correction Tasks
    Nasereddin, Hoda
    Knapp, Gerald M.
    25TH INTERNATIONAL CONFERENCE ON PRODUCTION RESEARCH MANUFACTURING INNOVATION: CYBER PHYSICAL MANUFACTURING, 2019, 39 : 406 - 413
  • [49] Reinforcement Learning of Multiple Tasks Using Parametric Bias
    Rybicki, Leszek
    Sugita, Yuuya
    Tani, Jun
    IJCNN: 2009 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, VOLS 1- 6, 2009, : 2013 - +
  • [50] INTRODUCING DEEP REINFORCEMENT LEARNING TO NLU RANKING TASKS
    Yu, Ge
    Barut, Emre
    Su, Chengwei
    2021 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP 2021), 2021, : 3465 - 3469