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

具有记忆的递归动作变换器

Recurrent Action Transformer with Memory

AXXX;MIRIAI

Egor Cherepanov, Alexey Staroverov, Alexey K. Kovalev, Aleksandr I. Panov

AI总结:

本文提出具有记忆的递归动作变换器(RATE),通过引入递归记忆机制提升离线强化学习中对长序列和内存密集型任务的处理能力。

摘要:

变换器由于能够将智能体轨迹视为序列,将策略学习重新定义为序列建模任务而在离线强化学习(RL)中变得越来越受欢迎。然而,在部分可观测环境中(POMDPs),有效的决策依赖于保留关于过去事件的信息——这使得标准变换器难以处理,因为自注意力机制的二次复杂性限制了其上下文长度。解决这个问题的一种方法是通过记忆机制扩展变换器。我们提出了具有记忆的递归动作变换器(RATE),这是一种新的基于变换器的离线RL架构,其包含一个递归记忆机制,用于调节信息保留。我们评估了RATE在多样化的环境中:内存密集型任务(ViZDoom-Two-Colors、T-Maze、Memory Maze、Minigrid-Memory和POPGym),以及标准Atari和MuJoCo基准。我们的全面实验表明,RATE在依赖内存的设置中显著提高了性能,同时在广泛的基线中保持了标准任务的竞争力。这些发现突显了集成记忆机制在离线RL中的关键作用,并确立了RATE作为统一、高容量的架构,适用于长时间范围内的有效决策。代码:https://sites.google.com/view/rate-model/。

英文摘要:

Transformers have become increasingly popular in offline reinforcement learning (RL) due to their ability to treat agent trajectories as sequences, reframing policy learning as a sequence modeling task. However, in partially observable environments (POMDPs), effective decision-making depends on retaining information about past events -- something that standard transformers struggle with due to the quadratic complexity of self-attention, which limits their context length. One solution to this problem is to extend transformers with memory mechanisms. We propose the Recurrent Action Transformer with Memory (RATE), a novel transformer-based architecture for offline RL that incorporates a recurrent memory mechanism designed to regulate information retention. We evaluate RATE across a diverse set of environments: memory-intensive tasks (ViZDoom-Two-Colors, T-Maze, Memory Maze, Minigrid-Memory, and POPGym), as well as standard Atari and MuJoCo benchmarks. Our comprehensive experiments demonstrate that RATE significantly improves performance in memory-dependent settings while remaining competitive on standard tasks across a broad range of baselines. These findings underscore the pivotal role of integrated memory mechanisms in offline RL and establish RATE as a unified, high-capacity architecture for effective decision-making over extended horizons. Code: https://sites.google.com/view/rate-model/.

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

↑