LGMay 20, 2024

Is Mamba Compatible with Trajectory Optimization in Offline Reinforcement Learning?

arXiv:2405.12094v28 citationsh-index: 9NIPS
Originality Incremental advance
AI Analysis

It addresses computational efficiency for resource-constrained sequential decision-making applications like robotics, though it is incremental as it adapts an existing model to a specific domain.

This work tackles the problem of applying the Mamba sequence model to trajectory optimization in offline reinforcement learning, demonstrating that a specially designed Decision Mamba (DeMa) outperforms Decision Transformer with higher performance while using 30% fewer parameters in Atari and only a quarter of the parameters in MuJoCo.

Transformer-based trajectory optimization methods have demonstrated exceptional performance in offline Reinforcement Learning (offline RL). Yet, it poses challenges due to substantial parameter size and limited scalability, which is particularly critical in sequential decision-making scenarios where resources are constrained such as in robots and drones with limited computational power. Mamba, a promising new linear-time sequence model, offers performance on par with transformers while delivering substantially fewer parameters on long sequences. As it remains unclear whether Mamba is compatible with trajectory optimization, this work aims to conduct comprehensive experiments to explore the potential of Decision Mamba (dubbed DeMa) in offline RL from the aspect of data structures and essential components with the following insights: (1) Long sequences impose a significant computational burden without contributing to performance improvements since DeMa's focus on sequences diminishes approximately exponentially. Consequently, we introduce a Transformer-like DeMa as opposed to an RNN-like DeMa. (2) For the components of DeMa, we identify the hidden attention mechanism as a critical factor in its success, which can also work well with other residual structures and does not require position embedding. Extensive evaluations demonstrate that our specially designed DeMa is compatible with trajectory optimization and surpasses previous methods, outperforming Decision Transformer (DT) with higher performance while using 30\% fewer parameters in Atari, and exceeding DT with only a quarter of the parameters in MuJoCo.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes