大语言模型是非常好的Zero-Shot视频游戏Bug检测器
Large Language Models are Pretty Good Zero-Shot Video Game Bug Detectors
摘要:
视频游戏测试需要游戏特定的知识以及对游戏中事件的常识推理。虽然AI驱动的代理可以满足第一个要求,但还不可能自动满足第二个要求。因此,视频游戏测试通常仍然依赖于手动测试,并且需要人类测试人员彻底玩游戏以检测bug。因此,完全自动化游戏测试具有挑战性。在这项研究中,我们探讨了利用大语言模型的zero-shot功能进行视频游戏bug检测的可能性。通过制定一个问题回答任务的错误检测问题,我们表明,大语言模型可以识别出哪些事件是错误的事件从一个游戏的文本描述序列。为此,我们引入了GameBugDescriptions基准数据集,该数据集由167个bug游戏视频和8个游戏中的334个问答对组成。我们在我们的基准数据集上广泛评估了OPT和InstructGPT大语言模型系列中六个模型的性能。我们的研究结果表明,采用语言模型检测视频游戏的错误有前途的结果。在适当的提示技术下,我们可以达到70.66%的准确率,在一些视频游戏中,高达78.94%。我们的代码、评估数据和基准测试可以在https://asgaardlab.github.io/LLMxBugs上找到
英文摘要:
Video game testing requires game-specific knowledge as well as common sense reasoning about the events in the game. While AI-driven agents can satisfy the first requirement, it is not yet possible to meet the second requirement automatically. Therefore, video game testing often still relies on manual testing, and human testers are required to play the game thoroughly to detect bugs. As a result, it is challenging to fully automate game testing. In this study, we explore the possibility of leveraging the zero-shot capabilities of large language models for video game bug detection. By formulating the bug detection problem as a question-answering task, we show that large language models can identify which event is buggy in a sequence of textual descriptions of events from a game. To this end, we introduce the GameBugDescriptions benchmark dataset, which consists of 167 buggy gameplay videos and a total of 334 question-answer pairs across 8 games. We extensively evaluate the performance of six models across the OPT and InstructGPT large language model families on our benchmark dataset. Our results show promising results for employing language models to detect video game bugs. With the proper prompting technique, we could achieve an accuracy of 70.66%, and on some video games, up to 78.94%. Our code, evaluation data and the benchmark can be found on https://asgaardlab.github.io/LLMxBugs
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。