English

Automatic Bug Detection in LLM-Powered Text-Based Games Using LLMs

Computation and Language 2025-02-25 v1 Artificial Intelligence Human-Computer Interaction Software Engineering

Abstract

Advancements in large language models (LLMs) are revolutionizing interactive game design, enabling dynamic plotlines and interactions between players and non-player characters (NPCs). However, LLMs may exhibit flaws such as hallucinations, forgetfulness, or misinterpretations of prompts, causing logical inconsistencies and unexpected deviations from intended designs. Automated techniques for detecting such game bugs are still lacking. To address this, we propose a systematic LLM-based method for automatically identifying such bugs from player game logs, eliminating the need for collecting additional data such as post-play surveys. Applied to a text-based game DejaBoom!, our approach effectively identifies bugs inherent in LLM-powered interactive games, surpassing unstructured LLM-powered bug-catching methods and filling the gap in automated detection of logical and design flaws.

Keywords

Cite

@article{arxiv.2406.04482,
  title  = {Automatic Bug Detection in LLM-Powered Text-Based Games Using LLMs},
  author = {Claire Jin and Sudha Rao and Xiangyu Peng and Portia Botchway and Jessica Quaye and Chris Brockett and Bill Dolan},
  journal= {arXiv preprint arXiv:2406.04482},
  year   = {2025}
}

Comments

Accepted for publication in Findings of the Association for Computational Linguistics: ACL 2024

R2 v1 2026-06-28T16:56:34.288Z