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

使用基于合成先验训练的 Transformer 的单样本世界模型

One-shot World Models Using a Transformer Trained on a Synthetic Prior

University of Freiburg(弗莱堡大学);ELLIS Institute Tübingen(图宾根ELLIS研究所)

Fabio Ferreira, Moreno Schlageter, Raghu Rajan, Andre Biedenkapp, Frank Hutter

AI总结:

本文提出 OSWM,一种仅用随机神经网络先验生成的合成数据、以情境学习方式训练的 Transformer 世界模型,可凭借 1k 步转移适应多个简单环境并训练有效策略。

摘要:

世界模型是对真实世界环境的压缩时空表示,可用于训练智能体或执行规划方法。然而,世界模型通常基于来自真实世界环境的观测进行训练,而且通常无法学习适用于其他真实环境的策略。我们提出 One-Shot World Model(OSWM),这是一种以情境学习方式、仅从先验分布采样的合成数据中学习得到的 Transformer 世界模型。我们的先验由多个随机初始化的神经网络组成,其中每个网络对所需目标环境的每个状态和奖励维度的动态进行建模。我们采用 Prior-Fitted Networks 的监督学习流程,在随机情境位置掩码下一状态和奖励,并要求 OSWM 基于剩余的转移情境作出概率预测。在推理阶段,通过提供 1k 个转移步骤作为情境,OSWM 能够快速适应简单网格世界、CartPole gym 以及一个自定义控制环境的动态,随后能够成功训练可解决环境的智能体策略。然而,目前迁移到更复杂环境仍然是一项挑战。尽管存在这些限制,我们仍将这项工作视为追求仅从合成数据学习世界模型过程中的重要垫脚石。

英文摘要:

A World Model is a compressed spatial and temporal representation of a real world environment that allows one to train an agent or execute planning methods. However, world models are typically trained on observations from the real world environment, and they usually do not enable learning policies for other real environments. We propose One-Shot World Model (OSWM), a transformer world model that is learned in an in-context learning fashion from purely synthetic data sampled from a prior distribution. Our prior is composed of multiple randomly initialized neural networks, where each network models the dynamics of each state and reward dimension of a desired target environment. We adopt the supervised learning procedure of Prior-Fitted Networks by masking next-state and reward at random context positions and query OSWM to make probabilistic predictions based on the remaining transition context. During inference time, OSWM is able to quickly adapt to the dynamics of a simple grid world, as well as the CartPole gym and a custom control environment by providing 1k transition steps as context and is then able to successfully train environment-solving agent policies. However, transferring to more complex environments remains a challenge, currently. Despite these limitations, we see this work as an important stepping-stone in the pursuit of learning world models purely from synthetic data.

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

↑