arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.04482cs.CLcs.AIcs.HCcs.SE
收藏

基于LLM的文本游戏中利用大语言模型进行自动缺陷检测

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

Carnegie Mellon University(卡内基梅隆大学);Microsoft Research(微软研究院);Salesforce Research(Salesforce研究院);Harvard University(哈佛大学)

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

AI总结:

针对LLM驱动的文本游戏中逻辑与设计缺陷缺乏自动检测的问题,提出基于LLM的系统方法,从玩家日志自动识别缺陷,在DejaBoom!上验证有效。

摘要:

大语言模型(LLM)的进步正在彻底改变交互式游戏设计,使得动态情节线以及玩家与非玩家角色(NPC)之间的互动成为可能。然而,LLM可能表现出诸如幻觉、遗忘或对提示的误解等缺陷,导致逻辑不一致和偏离预期设计的意外偏差。用于检测此类游戏缺陷的自动化技术仍然缺乏。为解决这一问题,我们提出了一种系统性的基于LLM的方法,用于从玩家游戏日志中自动识别此类缺陷,无需收集额外数据(如游戏后调查)。应用于文本游戏DejaBoom!时,我们的方法有效识别了LLM驱动的交互式游戏中固有的缺陷,超越了非结构化的基于LLM的缺陷捕获方法,填补了逻辑和设计缺陷自动检测的空白。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑