双向循环结构提升Transformer在部分可观测环境下的学习效率
Bi-directional Recurrence Improves Transformer in Partially Observable Markov Decision Processes
- 用双向循环单元替代多层前馈网络,更好捕捉序列依赖
- 在23个POMDP环境中平均性能提升87.39%至482.04%
- 参数量更低,适合实际部署的高样本效率强化学习
现实世界中的强化学习常面临部分可观测问题,即环境状态信息不完整或含噪声。部分可观测马尔可夫决策过程(POMDP)是建模此类环境的常用方法,但有效表现需依赖记忆机制以利用历史观测。传统递归网络可解决此问题,而基于Transformer的模型虽在样本效率上表现优异,但在处理POMDP时仍不充分,且因参数量过大限制了实际应用。本文提出一种新型双向循环模型架构,通过将多层前馈网络替换为单层双向循环单元,增强对序列依赖和上下文信息的捕捉能力。该方法显著提升了模型在部分可观测环境下的适应性与样本效率,实现更少交互即可有效学习。在23个POMDP环境上的实验表明,该模型相较现有Transformer、注意力及递归方法,平均性能提升87.39%至482.04%。
原文摘要 · Abstract (English)
In real-world reinforcement learning (RL) scenarios, agents often encounter partial observability, where incomplete or noisy information obscures the true state of the environment. Partially Observable Markov Decision Processes (POMDPs) are commonly used to model these environments, but effective performance requires memory mechanisms to utilise past observations. While recurrence networks have traditionally addressed this need, transformer-based models have recently shown improved sample efficiency in RL tasks. However, their application to POMDPs remains underdeveloped, and their real-world deployment is constrained due to the high parameter count. This work introduces a novel bi-recurrent model architecture that improves sample efficiency and reduces model parameter count in POMDP scenarios. The architecture replaces the multiple feed forward layers with a single layer of bi-directional recurrence unit to better capture and utilize sequential dependencies and contextual information. This approach improves the model's ability to handle partial observability and increases sample efficiency, enabling effective learning from comparatively fewer interactions. To evaluate the performance of the proposed model architecture, experiments were conducted on a total of 23 POMDP environments. The proposed model architecture outperforms existing transformer-based, attention-based, and recurrence-based methods by a margin ranging from 87.39% to 482.04% on average across the 23 POMDP environments.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。