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

从小处着手:通过在多种尺寸上学习来训练无需训练数据的可控游戏关卡生成器

Start Small: Training Controllable Game Level Generators without Training Data by Learning at Multiple Sizes

Cairo University(开罗大学)

Yahia Zakaria, Magda Fayek, Mayada Hadhoud

AI总结:

本文提出从多尺寸小关卡开始训练 GFlowNets,以密集反馈替代数据集和塑形奖励,实现跨尺寸、可控且多样的游戏关卡生成。

摘要:

关卡生成器是一种从噪声中生成游戏关卡的工具。在没有数据集的情况下训练生成器会遭遇反馈稀疏问题,因为通过随机探索生成可玩关卡的可能性很低。一种常见解决方案是塑形奖励,它引导生成器实现通向关卡可玩性的子目标,但这类奖励需要耗费精力设计,并要求具备针对特定游戏的领域知识。本文提出一种新颖方法,无需数据集或塑形奖励即可训练生成器,其方式是在多种关卡尺寸上学习,从小尺寸开始,逐步扩展到所需尺寸。小尺寸下更密集的反馈消除了对塑形奖励的需求。此外,生成器还学会构建各种尺寸的关卡,包括它们未曾接受训练的尺寸。我们将该方法用于训练循环自回归生成流网络(GFlowNets),以实现可控关卡生成。我们还调整了多样性采样,使其与 GFlowNets 兼容。结果表明,我们的生成器能够在 Sokoban、Zelda 和 Danger Dave 中创建各种尺寸的多样化可玩关卡。与用于 Sokoban 的可控强化学习关卡生成器相比,结果显示我们的生成器实现了更好的可控性和具有竞争力的多样性,同时训练和关卡生成速度快 9 倍。

英文摘要:

A level generator is a tool that generates game levels from noise. Training a generator without a dataset suffers from feedback sparsity, since it is unlikely to generate a playable level via random exploration. A common solution is shaped rewards, which guides the generator to achieve subgoals towards level playability, but they consume effort to design and require game-specific domain knowledge. This paper proposes a novel approach to train generators without datasets or shaped rewards by learning at multiple level sizes starting from small sizes and up to the desired sizes. The denser feedback at small sizes negates the need for shaped rewards. Additionally, the generators learn to build levels at various sizes, including sizes they were not trained for. We apply our approach to train recurrent auto-regressive generative flow networks (GFlowNets) for controllable level generation. We also adapt diversity sampling to be compatible with GFlowNets. The results show that our generators create diverse playable levels at various sizes for Sokoban, Zelda, and Danger Dave. When compared with controllable reinforcement learning level generators for Sokoban, the results show that our generators achieve better controllability and competitive diversity, while being 9x faster at training and level generation.

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

↑