Goto

Collaborating Authors

 mad hatter


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

Jin, Claire, Rao, Sudha, Peng, Xiangyu, Botchway, Portia, Quaye, Jessica, Brockett, Chris, Dolan, Bill

arXiv.org Artificial Intelligence

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.


Player-Driven Emergence in LLM-Driven Game Narrative

Peng, Xiangyu, Quaye, Jessica, Rao, Sudha, Xu, Weijia, Botchway, Portia, Brockett, Chris, Jojic, Nebojsa, DesGarennes, Gabriel, Lobb, Ken, Xu, Michael, Leandro, Jorge, Jin, Claire, Dolan, Bill

arXiv.org Artificial Intelligence

We explore how interaction with large language models (LLMs) can give rise to emergent behaviors, empowering players to participate in the evolution of game narratives. Our testbed is a text-adventure game in which players attempt to solve a mystery under a fixed narrative premise, but can freely interact with non-player characters generated by GPT-4, a large language model. We recruit 28 gamers to play the game and use GPT-4 to automatically convert the game logs into a node-graph representing the narrative in the player's gameplay. We find that through their interactions with the non-deterministic behavior of the LLM, players are able to discover interesting new emergent nodes that were not a part of the original narrative but have potential for being fun and engaging. Players that created the most emergent nodes tended to be those that often enjoy games that facilitate discovery, exploration and experimentation.