arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1906.00317cs.AI
收藏

使用合成和类人代理的自动视频游戏测试

Automated Video Game Testing Using Synthetic and Human-Like Agents

Middle East Technical University(中东技术大学)

Sinan Ariyurek, Aysu Betin-Can, Elif Surer

摘要:

在本文中,我们提出了一种新的方法,该方法使用测试代理来自动化视频游戏测试。我们介绍两种类型的代理-合成和类人-和两种不同的方法来创建它们。我们的代理是从强化学习(RL)和蒙特卡罗树搜索(MCTS)代理派生的,但专注于发现缺陷。合成代理使用从游戏场景生成的测试目标,这些目标被进一步修改以检查意外游戏转换的影响。类人智能体使用我们提出的多贪婪策略逆强化学习(MGP-IRL)算法从测试者轨迹中提取的测试目标。MGPIRL捕获由测试人员执行的多个策略。这些测试人员的目标是在与游戏互动的同时发现缺陷,以打破它,这与玩游戏有很大的不同。我们提出的相互作用状态来模拟这种相互作用。我们使用我们的代理来生成测试序列,使用这些序列运行游戏,并使用自动测试oracle检查每次运行的游戏。我们分析了所提出的方法在两个部分:我们比较成功的类人和合成代理的错误发现,我们评估类人代理和人类测试人员之间的相似性。我们使用通用视频游戏人工智能(GVG-AI)框架从人类测试人员那里收集了427条轨迹,并创建了三款包含45个错误的12级游戏。我们的实验表明,类人和合成代理人与人类测试人员的错误发现性能竞争。此外,我们表明,MGP-IRL增加了人性化的代理,同时提高了错误发现性能。

英文摘要:

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.

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

↑