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

改进基于令牌的世界模型:并行观测预测

Improving Token-Based World Models with Parallel Observation Prediction

Technion – Israel Institute of Technology(以色列理工学院);ByteDance(字节跳动)

Lior Cohen, Kaixin Wang, Bingyi Kang, Shie Mannor

AI总结:

针对基于令牌的世界模型在想象阶段逐令牌生成导致的瓶颈,提出并行观测预测机制,集成到REM智能体中,实现15.4倍加速并在Atari 100K基准上取得超人表现。

摘要:

受Transformer在处理离散符号序列时取得成功的启发,基于令牌的世界模型(TBWMs)最近被提出作为样本高效的方法。在TBWMs中,世界模型将智能体的经验视为类似语言的令牌序列,其中每个观测构成一个子序列。然而,在想象过程中,逐令牌顺序生成下一个观测会导致严重的瓶颈,导致训练时间长、GPU利用率低以及表示能力受限。为解决这一瓶颈,我们设计了一种新颖的并行观测预测(POP)机制。POP为我们的强化学习设置量身定制了一种新颖的前向模式,增强了Retentive Network(RetNet)。我们将POP整合到一个名为REM(Retentive Environment Model)的新型TBWM智能体中,展示了相比先前TBWMs快15.4倍的想象速度。REM在Atari 100K基准的26个游戏中的12个上达到了超人表现,同时训练时间少于12小时。我们的代码可在\url{https://github.com/leor-c/REM}获取。

英文摘要:

Motivated by the success of Transformers when applied to sequences of discrete symbols, token-based world models (TBWMs) were recently proposed as sample-efficient methods. In TBWMs, the world model consumes agent experience as a language-like sequence of tokens, where each observation constitutes a sub-sequence. However, during imagination, the sequential token-by-token generation of next observations results in a severe bottleneck, leading to long training times, poor GPU utilization, and limited representations. To resolve this bottleneck, we devise a novel Parallel Observation Prediction (POP) mechanism. POP augments a Retentive Network (RetNet) with a novel forward mode tailored to our reinforcement learning setting. We incorporate POP in a novel TBWM agent named REM (Retentive Environment Model), showcasing a 15.4x faster imagination compared to prior TBWMs. REM attains superhuman performance on 12 out of 26 games of the Atari 100K benchmark, while training in less than 12 hours. Our code is available at \url{https://github.com/leor-c/REM}.

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

↑