arXiv:2410.19382cs.LGcs.AI2024-10被引 4

用状态空间模型替代Transformer,让多智能体强化学习更高效可扩展

Multi-Agent Reinforcement Learning with Selective State-Space Models

  • 引入Mamba结构改进多智能体算法,支持单向与双向建模
  • 在多个标准环境中性能媲美经典MAT,但计算开销更低
  • 适合需要大规模多智能体部署的研究者与工业应用

Transformer在多智能体强化学习(MARL)中表现优异,其代表算法Multi-Agent Transformer(MAT)成为领域领先方法。然而,Transformer存在输入规模相关的二次计算复杂度,限制了其在大规模多智能体环境中的扩展性。最近的状态空间模型(SSMs)因其计算高效受到关注,但在MARL中尚未被探索。本文研究Mamba——一种新型SSM在MARL中的应用,提出改进版MAT:引入标准和双向Mamba块,以及创新的“交叉注意力”Mamba块。实验表明,所提出的Multi-Agent Mamba(MAM)在多个标准多智能体环境中性能与MAT相当,同时在更大规模智能体场景下具备显著更好的可扩展性。这表明SSM可作为不牺牲性能的Transformer替代方案,推动MARL向更高智能体数量发展。

原文摘要 · Abstract (English)

The Transformer model has demonstrated success across a wide range of domains, including in Multi-Agent Reinforcement Learning (MARL) where the Multi-Agent Transformer (MAT) has emerged as a leading algorithm in the field. However, a significant drawback of Transformer models is their quadratic computational complexity relative to input size, making them computationally expensive when scaling to larger inputs. This limitation restricts MAT's scalability in environments with many agents. Recently, State-Space Models (SSMs) have gained attention due to their computational efficiency, but their application in MARL remains unexplored. In this work, we investigate the use of Mamba, a recent SSM, in MARL and assess whether it can match the performance of MAT while providing significant improvements in efficiency. We introduce a modified version of MAT that incorporates standard and bi-directional Mamba blocks, as well as a novel "cross-attention" Mamba block. Extensive testing shows that our Multi-Agent Mamba (MAM) matches the performance of MAT across multiple standard multi-agent environments, while offering superior scalability to larger agent scenarios. This is significant for the MARL community, because it indicates that SSMs could replace Transformers without compromising performance, whilst also supporting more effective scaling to higher numbers of agents. Our project page is available at https://sites.google.com/view/multi-agent-mamba .

多智能体状态空间模型Mamba强化学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。