pith. sign in

arxiv: 2310.09971 · v4 · pith:LJP2EZDO · submitted 2023-10-15 · cs.LG

AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agents

pith:LJP2EZDOopen to challenge →

classification cs.LG
keywords amagoin-contextlearningagentsmemoryoff-policyagentdomains
0
0 comments X
read the original abstract

We introduce AMAGO, an in-context Reinforcement Learning (RL) agent that uses sequence models to tackle the challenges of generalization, long-term memory, and meta-learning. Recent works have shown that off-policy learning can make in-context RL with recurrent policies viable. Nonetheless, these approaches require extensive tuning and limit scalability by creating key bottlenecks in agents' memory capacity, planning horizon, and model size. AMAGO revisits and redesigns the off-policy in-context approach to successfully train long-sequence Transformers over entire rollouts in parallel with end-to-end RL. Our agent is scalable and applicable to a wide range of problems, and we demonstrate its strong performance empirically in meta-RL and long-term memory domains. AMAGO's focus on sparse rewards and off-policy data also allows in-context learning to extend to goal-conditioned problems with challenging exploration. When combined with a multi-goal hindsight relabeling scheme, AMAGO can solve a previously difficult category of open-world domains, where agents complete many possible instructions in procedurally generated environments.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Automatic Generation of High-Performance RL Environments

    cs.LG 2026-03 conditional novelty 7.0

    Closed-loop prompt-based translation with hierarchical verification and iterative repair produces equivalent high-performance RL environments across five cases including new TCGJax.

  2. Towards Scalable Multi-Task Reinforcement Learning with Large Decision Models

    cs.LG 2026-06 unverdicted novelty 6.0

    A multi-task multi-modal transformer policy pretrained on offline trajectories from thousands of RL environments matches task-specific reference policies on approximately 1000 environments spanning robotics, driving, ...

  3. Reinforcement Learning Foundation Models Should Already Be A Thing

    cs.LG 2026-06 unverdicted novelty 5.0

    A Graph Attention Network pretrained solely on synthetic MDPs solves held-out tabular RL benchmarks in context, outperforming UCB-VI and Q-learning online while matching VI-LCB offline.