论文标题
学习使用Gamegan模拟动态环境
Learning to Simulate Dynamic Environments with GameGAN
论文作者
论文摘要
模拟是任何机器人系统的关键组成部分。为了正确模拟,我们需要编写环境的复杂规则:动态剂的行为方式以及每个代理的行为如何影响他人的行为。在本文中,我们旨在通过简单地观看代理与环境互动来学习模拟器。我们将专注于图形游戏作为真实环境的代理。我们介绍Gamegan,这是一种生成模型,该模型学会通过在训练过程中摄入剧本和键盘动作来视觉模仿所需的游戏。给定代理按下的钥匙,Gamegan使用精心设计的生成对抗网络“渲染”下一个屏幕。我们的方法在现有工作中提供了关键优势:我们设计了一个内存模块,该内存模块构建了环境内部地图,从而使代理可以返回具有高视觉一致性的先前访问的位置。此外,GameGan能够在图像中解散静态和动态组件,从而使模型的行为更加易于解释,并且与需要明确推理的下游任务相关。这使许多有趣的应用程序(例如,交换游戏的不同组件都可以构建不存在的新游戏。
Simulation is a crucial component of any robotic system. In order to simulate correctly, we need to write complex rules of the environment: how dynamic agents behave, and how the actions of each of the agents affect the behavior of others. In this paper, we aim to learn a simulator by simply watching an agent interact with an environment. We focus on graphics games as a proxy of the real environment. We introduce GameGAN, a generative model that learns to visually imitate a desired game by ingesting screenplay and keyboard actions during training. Given a key pressed by the agent, GameGAN "renders" the next screen using a carefully designed generative adversarial network. Our approach offers key advantages over existing work: we design a memory module that builds an internal map of the environment, allowing for the agent to return to previously visited locations with high visual consistency. In addition, GameGAN is able to disentangle static and dynamic components within an image making the behavior of the model more interpretable, and relevant for downstream tasks that require explicit reasoning over dynamic elements. This enables many interesting applications such as swapping different components of the game to build new games that do not exist.