atlas

Research map / Reinforcement learning / Offline RL

Is Mamba Compatible with Trajectory Optimization in Offline Reinforcement Learning?

NeurIPS 2024 · Reinforcement learning › Offline RL · approach: Offline-to-online fine-tuning · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Investigates whether Mamba (Decision Mamba, DeMa) is compatible with transformer-style trajectory optimization for offline RL, finding short-context Transformer-like DeMa with hidden attention beats Decision Transformer on Atari and MuJoCo with far fewer parameters.

Problem

Transformer-based trajectory optimization for offline RL has large parameter counts and poor scalability to long sequences; it is unclear whether Mamba, a linear-time sequence model, is compatible with trajectory optimization, which typically uses short segments.

Approach

Analyzes Mamba's components in the offline RL setting and finds that short-context Transformer-like DeMa works best, that the hidden attention mechanism (not the RNN recurrence or position embeddings) is the key component, and that it works with either pre or post up-projection residual blocks without position embedding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace DT with DeMaOffline trajectory optimization · Atari 1% DQN-replay, averagenormalized score: 62.2 -> 111.8Helped
Replace DT with DeMaOffline trajectory optimization · MuJoCo, averageexpert-normalized score: 76.4 -> 78.5Helped
Use RNN-like full-trajectory input instead of Transformer-like fixed-length input (ablation)DeMa · Atari, averagenormalized score: 111.8 -> 67.3Hurt
Use RNN-like full-trajectory input instead of Transformer-like fixed-length input (ablation)DeMa · MuJoCo, averageexpert-normalized score: 66.0 -> 61.1Hurt
Concatenate state, action, and RTG across embedding dimension (BL3D) rather than temporal dimension (B3LD) (ablation)DeMa · Atari, averagenormalized score: 111.8 -> 69.6Hurt
Replace pre up-projection residual blocks with post up-projection residual blocks (ablation)DeMa · Atari, averagenormalized score: 111.8 -> 109.2No clear effect
Replace pre up-projection residual blocks with post up-projection residual blocks (ablation)DeMa · MuJoCo Gym, averageexpert-normalized score: 78.5 -> 77.0No clear effect
Add position embedding (ablation)DeMa · MuJoCo, averageexpert-normalized score: 66.0 -> 63.0Hurt
Add position embedding (ablation)DeMa · MuJoCo, averageparameters: 175.5K -> 431.5KHurt
Replace hidden attention weights with weights from another environment or randomized weights (ablation)DeMa · Atari and MuJoCo experimentsnormalized returnHurt
Remove hidden attention by zeroing its parameters (ablation)DeMa · Atari and MuJoCo experimentsnormalized returnHurt
Increase input sequence length beyond the optimal threshold (ablation)Transformer-like DeMa · Atari and MuJoCoperformanceMixed

Surprising findings

Limitations

Experimental setup

Datasets: 1% DQN Replay Dataset (Atari) D4RL MuJoCo (HalfCheetah, Hopper, Walker2d) D4RL maze2d D4RL antmaze

Benchmarks: Atari (8 games, 1% DQN-replay) D4RL MuJoCo (gym locomotion) D4RL maze2d D4RL antmaze

Metrics: normalized return average score parameter count MACs training time per step GPU memory usage

Baselines: Decision Transformer Decision ConvFormer CQL BC RvS DS4 GDT QT

Builds on: Decision Transformer Mamba Decision S4 Hidden Attention of Mamba Quantum Transformer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy