Structured State Space Models for In-Context Reinforcement Learning
Chris Lu, Yannick Schroecker, Albert Gu, Emilio Parisotto, Jakob N. Foerster, Satinder Singh, Feryal M. P. Behbahani
摘要
Structured state space sequence (S4) models have recently achieved state-of-the-art performance on long-range sequence modeling tasks. These models also have fast inference speeds and parallelisable training, making them potentially useful in many reinforcement learning settings. We propose a modification to a variant of S4 that enables us to initialise and reset the hidden state in parallel, allowing us to tackle reinforcement learning tasks. We show that our modified architecture runs asymptotically faster than Transformers in sequence length and performs better than RNN's on a simple memory-based task. We evaluate our modified architecture on a set of partially-observable environments and find that, in practice, our model outperforms RNN's while also running over five times faster. Then, by leveraging the model's ability to handle long-range sequences, we achieve strong performance on a challenging meta-learning task in which the agent is given a randomly-sampled continuous control environment, combined with a randomly-sampled linear projection of the environment's observations and actions. Furthermore, we show the resulting model can adapt to out-of-distribution held-out tasks. Overall, the results presented in this paper show that structured state space models are fast and performant for in-context reinforcement learning tasks. We provide code at https://github.com/luchris429/popjaxrl.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 55 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Theoretical Foundations of Deep Selective State-Space Models 引用了 Long Range Arena : A Benchmark for Efficient Transformers
- Theoretical Foundations of Deep Selective State-Space Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- Theoretical Foundations of Deep Selective State-Space Models 引用了 HiPPO: Recurrent Memory with Optimal Polynomial Projections
- Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient Inference 引用了 Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
- Efficiently Modeling Long Sequences with Structured State Spaces 引用了 Long Range Arena : A Benchmark for Efficient Transformers
- Efficiently Modeling Long Sequences with Structured State Spaces 引用了 HiPPO: Recurrent Memory with Optimal Polynomial Projections
- Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers 引用了 HiPPO: Recurrent Memory with Optimal Polynomial Projections
- Supervised Pretraining Can Learn In-Context Reinforcement Learning 引用了 Decision Transformer: Reinforcement Learning via Sequence Modeling
- Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 HiPPO: Recurrent Memory with Optimal Polynomial Projections
- Dynamic Chunking for End-to-End Hierarchical Sequence Modeling 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
- Dynamic Chunking for End-to-End Hierarchical Sequence Modeling 引用了 Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
引用它的顶会 Paper55
- Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 次引用
- Supervised Pretraining Can Learn In-Context Reinforcement LearningJonathan Lee, Annie Xie, Aldo Pacchiano, Yash Chandak 等NeurIPS 2023 · 170 次引用
- Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient InferenceHan Zhao, Min Zhang, Wei Zhao, Pengxiang Ding 等AAAI 2025 · 125 次引用
- Theoretical Foundations of Deep Selective State-Space ModelsNicola Muca Cirone, Antonio Orvieto, Benjamin Walker, Cristopher Salvi 等NeurIPS 2024 · 97 次引用
- Dynamic Chunking for End-to-End Hierarchical Sequence ModelingSukjun Hwang, Brandon Wang, Albert GuICLR 2026 · 76 次引用
它引用的 Paper17
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
- Decision Transformer: Reinforcement Learning via Sequence ModelingLili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee 等NeurIPS 2021 · 2,557 次引用
- Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space LayersAlbert Gu, Isys Johnson, Karan Goel, Khaled Saab 等NeurIPS 2021 · 1,280 次引用
- HiPPO: Recurrent Memory with Optimal Polynomial ProjectionsAlbert Gu, Tri Dao, Stefano Ermon, Atri Rudra 等NeurIPS 2020 · 1,100 次引用
- Long Range Arena : A Benchmark for Efficient TransformersYi Tay, Mostafa Dehghani, Samira Abnar, Yikang Shen 等ICLR 2021 · 881 次引用
相关 Paper
- AMAGO: Scalable In-Context Reinforcement Learning for Adaptive AgentsJake Grigsby, Linxi Fan, Yuke ZhuICLR 2024
- Facing Off World Model Backbones: RNNs, Transformers, and S4Fei Deng, Junyeong Park, Sungjin AhnNeurIPS 2023 · 53 次引用
- Transformers are Meta-Reinforcement LearnersLuckeciano C. MeloICML 2022 · 66 次引用
- Decision S4: Efficient Sequence-Based RL via State Spaces LayersShmuel Bar-David, Itamar Zimerman, Eliya Nachmani, Lior WolfICLR 2023 · 3 次引用
- AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with TransformersJake Grigsby, Justin Sasek, Samyak Parajuli, Daniel Adebi 等NeurIPS 2024 · 19 次引用
