[Paper Review] Large Language Models are Pretty Good Zero-Shot Video Game Bug Detectors
This paper proposes using large language models (LLMs) as zero-shot video game bug detectors by framing bug detection as a question-answering task. Using the novel GameBugDescriptions benchmark with 334 question-answer pairs across 8 games, the authors achieve up to 78.94% accuracy, demonstrating that LLMs can effectively detect bugs using game context and common sense reasoning without fine-tuning.
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
Motivation & Objective
- To investigate whether large language models can detect video game bugs in a zero-shot setting without fine-tuning.
- To address the challenge of automating game testing, which requires game-specific knowledge and common sense reasoning.
- To create a benchmark dataset for out-of-distribution evaluation of LLMs in video game debugging.
- To evaluate the robustness of LLMs across different textual descriptions of the same game events.
- To identify prompting strategies that maximize LLM performance in game bug detection.
Proposed method
- Formulate video game bug detection as a question-answering task using natural language prompts.
- Construct the GameBugDescriptions benchmark with 167 buggy gameplay videos and 334 question-answer pairs across 8 games.
- Use zero-shot prompting with LLMs from the OPT and InstructGPT families to classify which event in a sequence is buggy.
- Apply the 'Let’s think step by step' prompting technique to improve reasoning and accuracy.
- Evaluate model performance on both bug detection and bug type classification tasks.
- Analyze model robustness by varying textual descriptions of the same event sequence.
Experimental results
Research questions
- RQ1Can large language models detect video game bugs in a zero-shot setting without task-specific fine-tuning?
- RQ2How does the performance of LLMs vary across different video games and bug types?
- RQ3What prompting strategies, such as 'Let’s think step by step', improve LLMs' reasoning and accuracy in game bug detection?
- RQ4How robust are LLMs to variations in textual descriptions of the same game event sequence?
- RQ5What are the limitations of current LLMs in this task, particularly for larger models like OPT-175B?
Key findings
- The best-performing model achieved a zero-shot accuracy of 70.66% on the GameBugDescriptions benchmark.
- On certain games, such as Grand Theft Auto V, the model reached up to 78.94% accuracy, indicating strong performance in specific contexts.
- The 'Let’s think step by step' prompting technique significantly improved reasoning and accuracy across multiple models.
- The OPT-175B model showed poor performance despite its size, indicating issues with answer extraction even when intermediate reasoning was correct.
- Vision-based video captioning models like CLIP-Cap and OFA failed to generate accurate descriptions of game events, highlighting the need for game engine-integrated or specialized description pipelines.
- The study reveals that LLMs can generalize to out-of-distribution game scenarios, making the GameBugDescriptions dataset a valuable OOD benchmark for future LLM evaluation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.