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

将机器创造力扎根于游戏设计知识表示:在结构约束下对基于LLM的可执行合成目标可玩模式的实证探测

Grounding Machine Creativity in Game Design Knowledge Representations: Empirical Probing of LLM-Based Executable Synthesis of Goal Playable Patterns under Structural Constraints

Chalmers University of Technology and University of Gothenburg(楚德大学技术学院和哥德堡大学)

Hugh Xuechen Liu, Kıvanç Tatar

AI总结:

本文探讨了在结构约束下,基于LLM的可执行合成目标可玩模式的可行性,通过对比不同生成方法,揭示了结构和项目层面的瓶颈问题。

摘要:

将复杂的 gameplay 概念转化为可执行的 artifact(如 Unity 项目和代码)仍然是计算游戏创造力中的核心挑战。游戏设计模式提供了一种结构化的表示方法,使设计师能够将高层次的想法分解为实体、约束和规则驱动的动力学。其中,目标模式正式化了常见的玩家-目标关系。目标可玩概念(GPCs)将这些抽象转化为可玩的 Unity 引擎实现,支持体验探索和组合式游戏设计。我们框架可扩展的可玩模式实现为一个受约束的可执行创造性合成问题:生成的 artifact 必须满足 Unity 的语法和架构要求,同时保留目标模式中编码的语义 gameplay 意义。这种双重约束限制了可扩展性。因此,我们调查了当代大语言模型(LLMs)是否能在引擎级结构约束下执行此类合成,并生成由目标可玩模式结构和条件的 Unity 代码(作为游戏)。使用 26 个目标模式实例,我们比较了直接生成基线(自然语言 -> C# -> Unity)与受人类编写的 Unity 特定中间表示(IR)条件的管道,跨三种 IR 配置和两个开源模型(DeepSeek-Coder-V2-Lite-Instruct 和 Qwen2.5-Coder-7B-Instruct)。编译成功率通过自动 Unity 重放评估。我们提出了 grounding 和 hygiene 失败模式,识别出结构和项目层面的 grounding 作为主要瓶颈。

英文摘要:

Creatively translating complex gameplay ideas into executable artifacts (e.g., games as Unity projects and code) remains a central challenge in computational game creativity. Gameplay design patterns provide a structured representation for describing gameplay phenomena, enabling designers to decompose high-level ideas into entities, constraints, and rule-driven dynamics. Among them, goal patterns formalize common player-objective relationships. Goal Playable Concepts (GPCs) operationalize these abstractions as playable Unity engine implementations, supporting experiential exploration and compositional gameplay design. We frame scalable playable pattern realization as a problem of constrained executable creative synthesis: generated artifacts must satisfy Unity's syntactic and architectural requirements while preserving the semantic gameplay meanings encoded in goal patterns. This dual constraint limits scalability. Therefore, we investigate whether contemporary large language models (LLMs) can perform such synthesis under engine-level structural constraints and generate Unity code (as games) structured and conditioned by goal playable patterns. Using 26 goal pattern instantiations, we compare a direct generation baseline (natural language -> C# -> Unity) with pipelines conditioned on a human-authored Unity-specific intermediate representation (IR), across three IR configurations and two open-source models (DeepSeek-Coder-V2-Lite-Instruct and Qwen2.5-Coder-7B-Instruct). Compilation success is evaluated via automated Unity replay. We propose grounding and hygiene failure modes, identifying structural and project-level grounding as primary bottlenecks.

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

↑