arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.00079cs.LG
收藏

Decision Mamba:基于混合选择性序列建模的强化学习

Decision Mamba: Reinforcement Learning via Hybrid Selective Sequence Modeling

School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);Institute of High Performance Computing, A*STAR(新加坡高性能计算研究院(新加坡科技研究局));Lehigh University(理海大学)

Sili Huang, Jifeng Hu, Zhejian Yang, Liwei Yang, Tao Luo, Hechang Chen, Lichao Sun, Bo Yang

AI总结:

本文提出Decision Mamba-Hybrid(DM-H),结合Mamba的长期记忆与Transformer的高质量预测能力,解决了上下文强化学习中计算成本高的问题,在多项基准任务中达到最优且显著提升效率。

摘要:

近期的研究表明,Transformer模型在强化学习(RL)中表现出显著优势,其中决策问题被表述为序列生成。基于Transformer的智能体通过提供任务上下文(如多条轨迹,称为上下文RL),能够在在线环境中展现出自我改进能力。然而,由于Transformer中注意力机制的计算复杂度呈二次增长,随着任务时间跨度增加,当前的上下文RL方法面临巨大的计算成本。相比之下,Mamba模型以其处理长期依赖关系的高效能力而闻名,这为上下文RL解决需要长期记忆的任务提供了机会。为此,我们首先通过替换Decision Transformer(DT)的主干网络实现了Decision Mamba(DM)。然后,我们提出了Decision Mamba-Hybrid(DM-H),它结合了Transformer和Mamba在高质量预测和长期记忆方面的优势。具体而言,DM-H首先通过Mamba模型从长期记忆中生成高价值子目标。然后,我们使用子目标来提示Transformer,建立高质量预测。实验结果表明,DM-H在长期和短期任务(如D4RL、Grid World和Tmaze基准)中达到了最先进的性能。在效率方面,DM-H在长期任务中的在线测试比基于Transformer的基线快28倍。

英文摘要:

Recent works have shown the remarkable superiority of transformer models in reinforcement learning (RL), where the decision-making problem is formulated as sequential generation. Transformer-based agents could emerge with self-improvement in online environments by providing task contexts, such as multiple trajectories, called in-context RL. However, due to the quadratic computation complexity of attention in transformers, current in-context RL methods suffer from huge computational costs as the task horizon increases. In contrast, the Mamba model is renowned for its efficient ability to process long-term dependencies, which provides an opportunity for in-context RL to solve tasks that require long-term memory. To this end, we first implement Decision Mamba (DM) by replacing the backbone of Decision Transformer (DT). Then, we propose a Decision Mamba-Hybrid (DM-H) with the merits of transformers and Mamba in high-quality prediction and long-term memory. Specifically, DM-H first generates high-value sub-goals from long-term memory through the Mamba model. Then, we use sub-goals to prompt the transformer, establishing high-quality predictions. Experimental results demonstrate that DM-H achieves state-of-the-art in long and short-term tasks, such as D4RL, Grid World, and Tmaze benchmarks. Regarding efficiency, the online testing of DM-H in the long-term task is 28$\times$ times faster than the transformer-based baselines.

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

↑