arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.00276cs.AI
收藏

基于大型语言模型的指令驱动游戏引擎

Instruction-Driven Game Engines on Large Language Models

Shanghai Jiao Tong University(上海交通大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))

Hongqiu Wu, Yan Wang, Xingyuan Liu, Hai Zhao, Min Zhang

AI总结:

本文提出指令驱动游戏引擎(IDGE),利用大型语言模型根据自然语言指令自主生成游戏过程,通过下一状态预测任务和课程学习训练模型,并在扑克游戏中验证了其支持多变体、高定制及快速原型化的能力。

摘要:

指令驱动游戏引擎(IDGE)项目旨在通过使大型语言模型(LLM)遵循自由形式的游戏规则并自主生成游戏过程,来普及游戏开发。IDGE允许用户通过发出简单的自然语言指令来创建游戏,这显著降低了游戏开发的门槛。我们将IDGE的学习过程作为下一状态预测任务来处理,在该任务中,模型根据玩家动作自回归地预测游戏内状态。这是一项具有挑战性的任务,因为游戏内状态的计算必须精确;否则,轻微的错误可能会破坏游戏过程。为了解决这个问题,我们以课程方式训练IDGE,逐步增加模型对复杂场景的接触。我们的初步进展在于为扑克这一广受喜爱的纸牌游戏开发了一个IDGE。我们设计的引擎不仅支持多种扑克变体,还允许通过自然语言输入对规则进行高度定制。此外,它还支持从少量样本中快速原型化新游戏,提出了一种依赖最少提示和数据工程的游戏开发创新范式。这项工作为指令驱动游戏创建的未来发展奠定了基础,有可能改变游戏的设计和玩法。

英文摘要:

The Instruction-Driven Game Engine (IDGE) project aims to democratize game development by enabling a large language model (LLM) to follow free-form game rules and autonomously generate game-play processes. The IDGE allows users to create games by issuing simple natural language instructions, which significantly lowers the barrier for game development. We approach the learning process for IDGEs as a Next State Prediction task, wherein the model autoregressively predicts in-game states given player actions. It is a challenging task because the computation of in-game states must be precise; otherwise, slight errors could disrupt the game-play. To address this, we train the IDGE in a curriculum manner that progressively increases the model's exposure to complex scenarios. Our initial progress lies in developing an IDGE for Poker, a universally cherished card game. The engine we've designed not only supports a wide range of poker variants but also allows for high customization of rules through natural language inputs. Furthermore, it also favors rapid prototyping of new games from minimal samples, proposing an innovative paradigm in game development that relies on minimal prompt and data engineering. This work lays the groundwork for future advancements in instruction-driven game creation, potentially transforming how games are designed and played.

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

↑