mlsanityData to 24 Nov 2026

Remember Less, Adapt Longer: Bounded-State In-Context Reinforcement Learning with Recurrent Summary Memory

arXiv 2610.25758 ↗Submitted 19 Oct 2026cs.LG cs.AIcited by 0

On the map: Deep reinforcement learning methods → Deep RL algorithms and representations

Abstract (arXiv)

In-context reinforcement learning (ICRL) enables agents to adapt to new tasks without parameter updates, relying on memory to retain what they learn from experience. For agents operating continually, existing approaches using memory trade off bounded cost against access to past experience. Approaches using growing memories, such as full-history attention and accumulating summaries, incur storage and per-decision costs that increase with task length. Fixed-size memories bound storage but restrict access: sliding windows discard older steps, while recurrent networks compress even recent interactions into a hidden state. We introduce Recurrent Summary Memory (RSM), a Transformer policy that attends exactly to a short working buffer of recent interactions and carries a fixed-capacity summary of earlier experience. When the buffer fills, RSM rewrites the summary from its previous contents and the buffer, then clears the buffer, so deployment memory and per-decision cost stay O(1) in task length. On long-running partially observable tasks, frozen RSM policies sustain their adapted performance for eight times the training horizon with about 1% of full-history memory, ending ahead of every evaluated baseline while growing memories deteriorate. When the task configuration changes mid-run, RSM re-adapts better than growing and recurrent memories. Clearing the summary or blocking the policy's access to it removes its benefit, while swapping in another task's summary steers behaviour towards that task. Together, these results show that our fixed-capacity summary can sustain in-context adaptation far beyond the training horizon.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Deep RL algorithms and representations, one of 15 directions in Deep reinforcement learning methods. Builds on 36 of its 41 references that are in the map. Submitted 19 Oct 2026.

Builds on

36 of 41 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026Memory Retention Is Not Enough to Master Memory Tasks in Reinforcement Learning21 Jan
  2. 2025Memo: Training Memory-Efficient Embodied Agents with Reinforcement Learning22 Oct
  3. 2024Unraveling the Complexity of Memory in RL Agents: an Approach for Classification and Evaluation9 Dec
  4. 2024Stable Hadamard Memory: Revitalizing Memory-Augmented Agents for Reinforcement Learning14 Oct

Other references · 32

  1. 2017Attention Is All You Needcited by 62,125
  2. 2016Layer Normalizationcited by 6,002
  3. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,222
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  5. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,932
  6. 2019Attention is not Explanationcited by 991
  7. 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 889
  8. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
  9. 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 528
  10. 2019Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variablescited by 399
  11. 2016Learning to reinforcement learncited by 396
  12. 2023Adapting Language Models to Compress Contextscited by 390
20 more
  1. 2020Critic Regularized Regressioncited by 281
  2. 2019Stabilizing Transformers for Reinforcement Learningcited by 276
  3. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 227
  4. 2019VariBAD: A Very Good Method for Bayes-Adaptive Deep RL via Meta-Learningcited by 221
  5. 2022Recurrent Memory Transformercited by 220
  6. 2022In-context Reinforcement Learning with Algorithm Distillationcited by 205
  7. 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 149
  8. 2021Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPscited by 129
  9. 2022Block-Recurrent Transformerscited by 122
  10. 2023Structured State Space Models for In-Context Reinforcement Learningcited by 116
  11. 2016Learning values across many orders of magnitudecited by 90
  12. 2015Memory-based control with recurrent neural networkscited by 81
  13. 2023POPGym: Benchmarking Partially Observable Reinforcement Learningcited by 71
  14. 2023When Do Transformers Shine in RL? Decoupling Memory from Credit Assignmentcited by 68
  15. 2018Unsupervised Predictive Memory in a Goal-Directed Agentcited by 58
  16. 2022Evaluating Long-Term Memory in 3D Mazescited by 51
  17. 2023Recurrent Action Transformer with Memorycited by 21
  18. 2023Memory Gym: Towards Endless Tasks to Benchmark Memory Capabilities of Agentscited by 19
  19. 2023AGaLiTe: Approximate Gated Linear Transformers for Online Reinforcement Learningcited by 8
  20. 2025ELMUR: External Layer Memory with Update/Rewrite for Long-Horizon RL Problemscited by 7

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Verifiable Memory: Learning Unified Memory Management with Local and Global Verifiers for Large Language Model Agents
  2. 2026RECAP: Training Long-horizon LLM Agents with Context Compaction
  3. 2025Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Tasks
  4. 2025Memento 2: Learning by Stateful Reflective Memory
  5. 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents
  6. 2026ALER: Adaptive Learnable Experience Rewriting for Reinforcement Learning
  7. 2026Downstream-Aware Context Selection for Online In-Context Reinforcement Learning
  8. 2024Reinforcement Learning for Dynamic Memory Allocation