Wuji: Automatic Online Combat Game Testing Using Evolutionary Deep Reinforcement Learning

被引:93
作者
Zheng, Yan [1 ]
Xie, Xiaofei [2 ]
Su, Ting [2 ]
Ma, Lei [3 ]
Hao, Jianye [1 ]
Meng, Zhaopeng [1 ]
Liu, Yang [2 ]
Shen, Ruimin [4 ]
Chen, Yingfeng [4 ]
Fan, Changjie [4 ]
机构
[1] Tianjin Univ, Coll Intelligence & Comp, Tianjin, Peoples R China
[2] Nanyang Technol Univ, Singapore, Singapore
[3] Kyushu Univ, Fukuoka, Japan
[4] Netease Inc, Fuxi AI Lab, Hangzhou, Peoples R China
来源
34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019) | 2019年
基金
国家重点研发计划; 中国国家自然科学基金; 新加坡国家研究基金会;
关键词
Game Testing; Artificial Intelligence; Deep Reinforcement Learning; Evolutionary Multi-Objective Optimization;
D O I
10.1109/ASE.2019.00077
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Game testing has been long recognized as a notoriously challenging task, which mainly relies on manual playing and scripting based testing in game industry. Even until recently, automated game testing still remains to be largely untouched niche. A key challenge is that game testing often requires to play the game as a sequential decision process. A bug may only be triggered until completing certain difficult intermediate tasks, which requires a certain level of intelligence. The recent success of deep reinforcement learning (DRL) sheds light on advancing automated game testing, without human competitive intelligent support. However, the existing DRLs mostly focus on winning the game rather than game testing. To bridge the gap, in this paper, we first perform an in-depth analysis of 1349 real bugs from four real-world commercial game products. Based on this, we propose four oracles to support automated game testing, and further propose Wuji, an on-the-fly game testing framework, which leverages evolutionary algorithms, DRL and multi-objective optimization to perform automatic game testing. Wuji balances between winning the game and exploring the space of the game Winning the game allows the agent to make progress in the game, while space exploration increases the possibility of discovering bugs. We conduct a large-scale evaluation on a simple game and two popular commercial games. The results demonstrate the effectiveness of Wuji in exploring space and detecting bugs. Moreover, Wuji found 3 previously unknown bugs(1), which have been confirmed by the developers, in the commercial games.
引用
收藏
页码:784 / 796
页数:13
相关论文
共 42 条
  • [1] Reinforcement Learning for Android GUI Testing
    Adamo, David
    Khan, Md Khorrom
    Koppula, Sreedevi
    Bryce, Renee
    [J]. PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18), 2018, : 2 - 8
  • [2] Critical Success Factors to Improve the Game Development Process from a Developer's Perspective
    Aleem, Saiqa
    Capretz, Luiz Fernando
    Ahmed, Faheem
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2016, 31 (05) : 925 - 950
  • [3] Deploying Search Based Software Engineering with Sapienz at Facebook
    Alshahwan, Nadia
    Gao, Xinbo
    Harman, Mark
    Jia, Yue
    Mao, Ke
    Mols, Alexander
    Tei, Taijin
    Zorin, Ilya
    [J]. SEARCH-BASED SOFTWARE ENGINEERING, SSBSE 2018, 2018, 11036 : 3 - 45
  • [4] [Anonymous], COMPLEX SYSTEMS
  • [5] [Anonymous], 2018, NEURIPS
  • [6] [Anonymous], 2018, REINFORCEMENT LEARNI
  • [7] [Anonymous], 2015, ICLR POSTER
  • [8] [Anonymous], 2012, P INT C MACH LEARN
  • [9] [Anonymous], PRICAI
  • [10] [Anonymous], 2018, American fuzzy lop