In this paper, we present a new methodology that employs tester agents to automate video game testing. We introduce two types of agents -synthetic and human-like- and two distinct approaches to create them. Our agents are derived from Reinforcement Learning (RL) and Monte Carlo Tree Search (MCTS) agents, but focus on finding defects. The synthetic agent uses test goals generated from game scenarios, and these goals are further modified to examine the effects of unintended game transitions. The human-like agent uses test goals extracted by our proposed multiple greedy-policy inverse reinforcement learning (MGP-IRL) algorithm from tester trajectories. MGPIRL captures multiple policies executed by human testers. These testers' aims are finding defects while interacting with the game to break it, which is considerably different from game playing. We present interaction states to model such interactions. We use our agents to produce test sequences, run the game with these sequences, and check the game for each run with an automated test oracle. We analyze the proposed method in two parts: we compare the success of human-like and synthetic agents in bug finding, and we evaluate the similarity between humanlike agents and human testers. We collected 427 trajectories from human testers using the General Video Game Artificial Intelligence (GVG-AI) framework and created three games with 12 levels that contain 45 bugs. Our experiments reveal that human-like and synthetic agents compete with human testers' bug finding performances. Moreover, we show that MGP-IRL increases the human-likeness of agents while improving the bug finding performance.
Go-Explore Complex 3D Game Environments for Automated Reachability Testing
Microsoft Research(微软研究院)
现代AAA级视频游戏具有巨大的游戏关卡和地图,这对关卡测试人员来说越来越难以穷尽。因此,游戏经常会出现灾难性的错误,比如玩家从地板上掉下来或卡在墙上。我们提出了一种方法,专门针对可达性错误在模拟的3D环境的基础上,强大的探索算法,去探索,保存独特的检查点在地图上,然后确定有前途的探索。我们表明,当再加上简单的算法从游戏的导航网格,去探索发现具有挑战性的错误,并全面探索复杂的环境,而不需要人类的演示或知识的游戏动态。Go-Explore在覆盖导航网格和发现的地图上的独特位置数量方面大大优于更复杂的基线,包括具有内在好奇心的强化学习。最后,由于我们使用了并行代理,我们的算法可以在10小时内在一台机器上完全覆盖一个巨大的1.5km x 1.5km的游戏世界,这使得它非常有希望用于连续测试套件。
Synergizing Code Coverage and Gameplay Intent: Coverage-Aware Game Playtesting with LLM-Guided Reinforcement Learning
College of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院);College of Science and Technology, Nihon University(日本立命馆大学科学技术学院);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Waseda Institute for Advanced Study, Waseda University(早稻田大学高级研究机构)
Learning to Identify Perceptual Bugs in 3D Video Games
Royal Holloway University of London(伦敦大学皇家霍洛威学院)
视频游戏中的自动错误检测(ABD)由两个不同但互补的问题组成:自动游戏探索和错误识别。自动化游戏探索最近受到了很多关注,受到强化学习等领域发展的推动。识别玩家体验中存在的错误的补充问题在很大程度上依赖于规则的手动规范。尽管人们普遍认为,许多感兴趣的错误不能用这种方法来识别,但在这方面几乎没有取得进展。在这项工作中,我们表明,它是可以识别一系列的知觉错误,使用基于学习的方法,只利用渲染的游戏屏幕所看到的玩家。为了支持我们的工作,我们开发了World of Bugs(WOB),这是一个用于在3D游戏环境中测试ABD方法的开放平台。
World of Bugs: A Platform for Automated Bug Detection in 3D Video Games
Royal Holloway University of London(伦敦大学皇家霍洛威学院)
我们介绍了World of Bugs(WOB),一个旨在支持视频游戏中自动错误检测(ABD)研究的开放平台。我们讨论了ABD中的一些悬而未决的问题以及它们与平台设计的关系,并认为如果要取得进一步的进展,就需要基于学习的解决方案。该平台的主要功能是越来越多的常见视频游戏错误,可用于训练和评估ABD方法。
TestLab: An Intelligent Automated Software Testing Framework
Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development (GECAD)(高级创新与发展智能工程与计算研究组(GECAD));Porto School of Engineering (ISEP)(波尔图工程学院(ISEP))
本文提出智能自动化软件测试框架 TestLab,利用 AI 集成三类模块,从不同视角发现漏洞并基于源代码分析自动生成测试用例,以支持多层级持续测试。
Adversarial Online Learning with Variable Plays in the Pursuit-Evasion Game: Theoretical Foundations and Application in Connected and Automated Vehicle Cybersecurity
A non-cooperative meta-modeling game for automated third-party calibrating, validating, and falsifying constitutive laws with parallelized adversarial attacks
Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室);Columbia University(哥伦比亚大学)
A Survey on Scenario-Based Testing for Automated Driving Systems in High-Fidelity Simulation
Columbia University(哥伦比亚大学);Alibaba-NTU Joint Research Institute(阿里巴巴-南洋理工大学联合研究所);Nanyang Technological University(南洋理工大学);Universidade Federal Fluminense(弗卢米嫩塞联邦大学)