让生成游戏更真实:解决数值与空间不一致问题
Model as a Game: On Numerical and Spatial Consistency for Generative Games
- 用逻辑网络外挂计算事件触发条件,保证数值变化合理
- 通过地图记忆机制实现场景连续,避免突兀跳转
- 适合关注游戏生成真实性的研究者和开发者
生成模型在游戏生成方面取得显著进展,但往往无法维持基本的游戏属性,如数值一致性和空间一致性。数值一致性确保游戏机制正确反映分数等量化变化,空间一致性则避免场景跳跃,保障流畅体验。本文以由大语言模型生成的2D游戏「Traveler」为案例,基于DiT架构设计两个专用模块:(1) 数值模块,引入LogicNet判断事件触发,外部计算结果作为图像生成条件;(2) 空间模块,维护已探索区域地图,在生成时检索位置信息并关联新观察,确保连贯性。三个游戏的实验表明,所提方法在一致性指标上显著优于基线,推理开销极低。
原文摘要 · Abstract (English)
Recent advances in generative models have significantly impacted game generation. However, despite producing high-quality graphics and adequately receiving player input, existing models often fail to maintain fundamental game properties such as numerical and spatial consistency. Numerical consistency ensures gameplay mechanics correctly reflect score changes and other quantitative elements, while spatial consistency prevents jarring scene transitions, providing seamless player experiences. In this paper, we revisit the paradigm of generative games to explore what truly constitutes a Model as a Game (MaaG) with a well-developed mechanism. We begin with an empirical study on ``Traveler'', a 2D game created by an LLM featuring minimalist rules yet challenging generative models in maintaining consistency. Based on the DiT architecture, we design two specialized modules: (1) a numerical module that integrates a LogicNet to determine event triggers, with calculations processed externally as conditions for image generation; and (2) a spatial module that maintains a map of explored areas, retrieving location-specific information during generation and linking new observations to ensure continuity. Experiments across three games demonstrate that our integrated modules significantly enhance performance on consistency metrics compared to baselines, while incurring minimal time overhead during inference.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。