arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.23206cs.AI
收藏

通过小型语言模型实现高质量动态游戏内容生成:概念验证

High-quality generation of dynamic game content via small language models: A proof of concept

brAIn lab\ University of Copenhagen Copenhagen Denmark;\&\ Power Labs Copenhagen Denmark;Data Science Section\ University of Copenhagen Copenhagen Denmark;brAIn lab\ University of Copenhagen;\&\ Power Labs;Data Science Section\ University of Copenhagen

Morten I. K. Munk, Arturo Valdivia, Paolo Burelli

AI总结:

本文提出通过激进微调小型语言模型生成高质量动态游戏内容的方法,并通过概念验证展示其在实时生成中的可行性。

摘要:

大型语言模型(LLMs)在动态游戏内容生成中展现出潜力,但面临关键障碍,包括叙述不连贯和高运营成本。由于其规模较大,它们通常在云端访问,限制了在离线游戏中的应用。许多实际问题通过转向小型语言模型(SLMs)得到解决,但现有研究使用SLMs却导致输出质量差。我们提出了一种通过在精心限定的任务上进行激进微调来实现高质量SLM生成的策略,这些任务具有狭窄的上下文、受限的结构或两者兼有。简而言之,更困难的任务需要更狭窄的范围和更高的训练语料库专业化。训练数据通过基于有向无环图(DAG)的方法合成,使模型扎根于特定的游戏世界。此类模型可以成为围绕所选叙述学框架设计的代理网络的基础,比依赖云端的LLMs更具实用性和鲁棒性。为验证这一方法,我们提出了一个概念验证,专注于单一专门化的SLM作为基本构建块。我们引入了一个围绕声誉辩论的最小RPG循环,由该模型驱动。我们证明了一个简单的重试直至成功策略在定义为LLM作为判断者的标准下达到足够的质量,并具有适合实时生成的可预测延迟。尽管本地质量评估仍是一个开放问题,我们的结果展示了在典型游戏引擎约束下实时生成的可行性。

英文摘要:

Large language models (LLMs) offer promise for dynamic game content generation, but they face critical barriers, including narrative incoherence and high operational costs. Due to their large size, they are often accessed in the cloud, limiting their application in offline games. Many of these practical issues are solved by pivoting to small language models (SLMs), but existing studies using SLMs have resulted in poor output quality. We propose a strategy of achieving high-quality SLM generation through aggressive fine-tuning on deliberately scoped tasks with narrow context, constrained structure, or both. In short, more difficult tasks require narrower scope and higher specialization to the training corpus. Training data is synthetically generated via a DAG-based approach, grounding models in the specific game world. Such models can form the basis for agentic networks designed around the narratological framework at hand, representing a more practical and robust solution than cloud-dependent LLMs. To validate this approach, we present a proof-of-concept focusing on a single specialized SLM as the fundamental building block. We introduce a minimal RPG loop revolving around rhetorical battles of reputations, powered by this model. We demonstrate that a simple retry-until-success strategy reaches adequate quality (as defined by an LLM-as-a-judge scheme) with predictable latency suitable for real-time generation. While local quality assessment remains an open question, our results demonstrate feasibility for real-time generation under typical game engine constraints.

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

↑