Lune

NeurIPS2023Top-tier venue

Reinforcement Learning with Fast and Forgetful Memory

Steven D. Morad, Ryan Kortvelesy, Stephan Liwicki, Amanda Prorok

Abstract

Nearly all real world tasks are inherently partially observable, necessitating the use of memory in Reinforcement Learning (RL). Most model-free approaches summarize the trajectory into a latent Markov state using memory models borrowed from Supervised Learning (SL), even though RL tends to exhibit different training and efficiency characteristics. Addressing this discrepancy, we introduce Fast and Forgetful Memory, an algorithm-agnostic memory model designed specifically for RL. Our approach constrains the model search space via strong structural priors inspired by computational psychology. It is a drop-in replacement for recurrent neural networks (RNNs) in recurrent RL algorithms, achieving greater reward than RNNs across various recurrent benchmarks and algorithms without changing any hyperparameters. Moreover, Fast and Forgetful Memory exhibits training speeds two orders of magnitude faster than RNNs, attributed to its logarithmic time and linear space complexity. Our implementation is available at https://github.com/proroklab/ffm .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with Transformers cites Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPs
  • Recurrent Action Transformer with Memory cites Stabilizing Transformers for Reinforcement Learning
  • Unraveling the Complexity of Memory in RL Agents: an Approach for Classification and Evaluation cites Recurrent Action Transformer with Memory
  • Unraveling the Complexity of Memory in RL Agents: an Approach for Classification and Evaluation cites Stabilizing Transformers for Reinforcement Learning
  • Unraveling the Complexity of Memory in RL Agents: an Approach for Classification and Evaluation cites Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPs
  • Recurrent Reinforcement Learning with Memoroids cites Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
  • Recurrent Reinforcement Learning with Memoroids cites Linear Transformers Are Secretly Fast Weight Programmers
  • Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPs cites Stabilizing Transformers for Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with TransformersJake Grigsby, Justin Sasek, Samyak Parajuli, Daniel Adebi et al.NeurIPS 2024 · 19 citations
  2. Recurrent Action Transformer with MemoryEgor Cherepanov, Aleksei Staroverov, Alexey Kovalev, Aleksandr PanovICLR 2026 · 14 citations
  3. Recurrent Reinforcement Learning with MemoroidsSteven D. Morad, Chris Lu, Ryan Kortvelesy, Stephan Liwicki et al.NeurIPS 2024 · 9 citations
  4. Unraveling the Complexity of Memory in RL Agents: an Approach for Classification and EvaluationEgor Cherepanov, Nikita Kachaev, Artem Zholus, Alexey K. Kovalev et al.ICLR 2026 · 4 citations
  5. Memory-Augmented Re-Completion for 3D Semantic Scene CompletionYu-Wen Tseng, Sheng-Ping Yang, Jhih-Ciang Wu, I-Bin Liao et al.AAAI 2025 · 3 citations

Builds on7

  1. Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space LayersAlbert Gu, Isys Johnson, Karan Goel, Khaled Saab et al.NeurIPS 2021 · 1,280 citations
  2. HiPPO: Recurrent Memory with Optimal Polynomial ProjectionsAlbert Gu, Tri Dao, Stefano Ermon, Atri Rudra et al.NeurIPS 2020 · 1,100 citations
  3. Stabilizing Transformers for Reinforcement LearningEmilio Parisotto, H. Francis Song, Jack W. Rae, Razvan Pascanu et al.ICML 2020 · 464 citations
  4. Linear Transformers Are Secretly Fast Weight ProgrammersImanol Schlag, Kazuki Irie, Jürgen SchmidhuberICML 2021 · 394 citations
  5. Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPsTianwei Ni, Benjamin Eysenbach, Ruslan SalakhutdinovICML 2022 · 162 citations

Related papers

  1. Real-Time Recurrent Learning using Trace Units in Reinforcement LearningEsraa Elelimy, Adam White, Michael Bowling, Martha WhiteNeurIPS 2024 · 15 citations
  2. Learning Belief Representations for Partially Observable Deep RLAndrew Wang, Andrew C. Li, Toryn Q. Klassen, Rodrigo Toro Icarte et al.ICML 2023 · 21 citations
  3. Training Recurrent Neural Networks Online by Learning Explicit State VariablesSomjit Nath, Vincent Liu, Alan Chan, Xin Li et al.ICLR 2020 · 9 citations
  4. Self-Supervised Reinforcement Learning that Transfers using Random FeaturesBoyuan Chen, Chuning Zhu, Pulkit Agrawal, Kaiqing Zhang et al.NeurIPS 2023 · 16 citations
  5. AMRL: Aggregated Memory For Reinforcement LearningJacob Beck, Kamil Ciosek, Sam Devlin, Sebastian Tschiatschek et al.ICLR 2020 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines