Large Language Models are Pretty Good Zero-Shot Video Game Bug Detectors

Mohammad Reza Taesiri, Finlay Macklon, Yihe Wang, Hengshuo Shen, Cor-Paul Bezemer
10/5/2022
cs.CLcs.SE

Official code: asgaardlab/LLMxBugs (12 stars, Jupyter Notebook, last commit 2022-12-12).

Abstract

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

Official code for the paper "Large Language Models are Pretty Good Zero-Shot Video Game Bug Detectors"

121Jupyter NotebookOct 5, 20223 years ago

Similar Papers

Cite this paper

@article{taesiri2022large,
  title  = {Large Language Models are Pretty Good Zero-Shot Video Game Bug Detectors},
  author = {Mohammad Reza Taesiri and Finlay Macklon and Yihe Wang and Hengshuo Shen and Cor-Paul Bezemer},
  year   = {2022},
  eprint = {2210.02506},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.02506}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.02506.svg)](https://codeofpaper.com/paper/2210.02506)

Discussion