arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.20036cs.SEcs.AI
收藏

沙盒中的智能体:面向 Minecraft 的端到端崩溃 Bug 复现

Agents in the Sandbox: End-to-End Crash Bug Reproduction for Minecraft

Electronics Engineering Department Bilkent University Ankara, Turkey(电子工程系比尔肯特大学安卡拉土耳其);Computer Engineering Department Bilkent University Ankara, Turkey(计算机工程系比尔肯特大学安卡拉土耳其)

Eray Yapağcı, Yavuz Alp Sencer Öztürk, Eray Tüzün

AI总结:

本文提出 BugCraft 框架,通过 LLM 和视觉智能体在 Minecraft 中实现端到端崩溃 Bug 自动复现,并构建 BugCraft-Bench 数据集,复现率达 34.9%,超越基线 37%。

摘要:

复现游戏 Bug,尤其是像 Minecraft 这样持续演进的游戏中的崩溃 Bug,是一个出了名的手动、耗时且难以自动化的过程;我们采访的一位 Minecraft 关键决策者提供的见解证实了这一点,强调相当大一部分崩溃报告需要手动重建场景。尽管基于 LLM 的 Bug 复现在其他软件领域取得了成功,但游戏由于其复杂的交互环境,在很大程度上仍未得到解决。本文提出了 BugCraft,一个新颖的端到端框架,旨在直接从用户提交的 Bug 报告中自动化复现 Minecraft 崩溃 Bug,填补了游戏 Bug 自动化复现方面的关键空白。BugCraft 采用两阶段方法:首先,Step Synthesizer 利用 LLM 和 Minecraft Wiki 知识,将 Bug 报告转化为高质量、结构化的复现步骤(S2R)。其次,Action Model 由基于视觉的 LLM 智能体和自定义宏 API 驱动,在 Minecraft 中执行这些 S2R 步骤以触发报告的崩溃。为了便于评估,我们引入了 BugCraft-Bench,一个精选的 Minecraft 崩溃 Bug 报告数据集。在 BugCraft-Bench 上,我们的框架使用 GPT-4.1 端到端复现了 34.9% 的崩溃 Bug,比基线计算机使用模型高出 37%。BugCraft 展示了使用 LLM 在复杂游戏环境中自动复现崩溃 Bug 的可行性,为游戏测试和开发开辟了有前景的途径。最后,我们在 https://bugcraft2025.github.io 开源了代码。

英文摘要:

Reproducing game bugs, particularly crash bugs in continuously evolving games like Minecraft, is a notoriously manual, time-consuming, and challenging process to automate; insights from a key decision maker from Minecraft we interviewed confirm this, highlighting that a substantial portion of crash reports necessitate manual scenario reconstruction. Despite the success of LLM-driven bug reproduction in other software domains, games, with their complex interactive environments, remain largely unaddressed. This paper introduces BugCraft, a novel end-to-end framework designed to automate the reproduction of crash bugs in Minecraft directly from user-submitted bug reports, addressing the critical gap in automated game bug reproduction. BugCraft employs a two-stage approach: first, a Step Synthesizer leverages LLMs and Minecraft Wiki knowledge to transform bug reports into high-quality, structured steps to reproduce (S2R). Second, an Action Model, powered by a vision-based LLM agent and a custom macro API, executes these S2R steps within Minecraft to trigger the reported crash. To facilitate evaluation, we introduce BugCraft-Bench, a curated dataset of Minecraft crash bug reports. On BugCraft-Bench, our framework end-to-end reproduced 34.9% of crash bugs with GPT-4.1, outperforming baseline computer-use models by 37%. BugCraft demonstrates the feasibility of automated reproduction of crash bugs in complex game environments using LLMs, opening promising avenues for game testing and development. Finally, we make our code open at https://bugcraft2025.github.io

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

↑