Towards Large-Scale In-Context Reinforcement Learning by Meta-Training in Randomized Worlds
On the map: Deep reinforcement learning methods → Deep RL algorithms and representations
Abstract (arXiv)
In-Context Reinforcement Learning (ICRL) enables agents to learn automatically and on-the-fly from their interactive experiences. However, a major challenge in scaling up ICRL is the lack of scalable task collections. To address this, we propose the procedurally generated tabular Markov Decision Processes, named AnyMDP. Through a carefully designed randomization process, AnyMDP is capable of generating high-quality tasks on a large scale while maintaining relatively low structural biases. To facilitate efficient meta-training at scale, we further introduce decoupled policy distillation and induce prior information in the ICRL framework. Our results demonstrate that, with a sufficiently large scale of AnyMDP tasks, the proposed model can generalize to tasks that were not considered in the training set through versatile in-context learning paradigms. The scalable task set provided by AnyMDP also enables a more thorough empirical investigation of the relationship between data distribution and ICRL performance. We further show that the generalization of ICRL potentially comes at the cost of increased task diversity and longer adaptation periods. This finding carries critical implications for scaling robust ICRL capabilities, highlighting the necessity of diverse and extensive task design, and prioritizing asymptotic performance over few-shot adaptation.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Deep RL algorithms and representations, one of 15 directions in Deep reinforcement learning methods. Builds on 57 of its 77 references that are in the map. First posted on arXiv 5 Feb 2025.
Builds on
57 of 77 references.
References · 57
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,071
- 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,809
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
38 more
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2019Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learningcited by 1,204
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2022A Generalist Agentcited by 808
- 2019Solving Rubik's Cube with a Robot Handcited by 734
- 2022Transformers learn in-context by gradient descentcited by 732
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2017Sim-to-Real Transfer of Robotic Control with Dynamics Randomizationcited by 672
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2017Minimax Regret Bounds for Reinforcement Learningcited by 503
- 2018Is Q-learning Provably Efficient?cited by 487
- 2019Leveraging Procedural Generation to Benchmark Reinforcement Learningcited by 483
- 2016Learning to reinforcement learncited by 377
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
- 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 222
- 2021End-to-End Urban Driving by Imitating a Reinforcement Learning Coachcited by 194
- 2021Open-Ended Learning Leads to Generally Capable Agentscited by 182
- 2021Meta-learning via Language Model In-context Tuningcited by 164
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 152
- 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 146
- 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 139
- 2023Human-Timescale Adaptation in an Open-Ended Task Spacecited by 138
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 118
- 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 105
- 2020Error Bounds of Imitating Policies and Environmentscited by 90
- 2024In-Context Language Learning: Architectures and Algorithmscited by 89
- 2023The Transient Nature of Emergent In-Context Learning in Transformerscited by 76
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 76
- 2024In-Context Imitation Learning via Next-Token Predictioncited by 70
- 2023POPGym: Benchmarking Partially Observable Reinforcement Learningcited by 62
- 2023Meta-in-context learning in large language modelscited by 59
- 2023XLand-MiniGrid: Scalable Meta-Reinforcement Learning Environments in JAXcited by 55
- 2022Transformers generalize differently from information stored in context vs in weightscited by 49
- 2020Meta-Learning through Hebbian Plasticity in Random Networkscited by 47
- 2023Generalization to New Sequential Decision Making Tasks with In-Context Learningcited by 39
- 2024LLMs learn governing principles of dynamical systems, revealing an in-context neural scaling lawcited by 32
- 2023Emergence of In-Context Reinforcement Learning from Noise Distillationcited by 27
- 2024Analysing The Impact of Sequence Composition on Language Model Pre-Trainingcited by 25
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Context and Diversity Matter: The Emergence of In-Context Learning in World Modelscited by 3
- 2026Data Standards for Humanoid Robotics: The Missing Infrastructure for Physical AIcited by 1
- 2025Fluidity Index: Next-Generation Super-intelligence Benchmarkscited by 0
- 2026Scalable In-Context Reinforcement Learning with Recurrent Algorithm Distillationcited by 0
- 2026Scalable In-Context Reinforcement Learning with Recurrent Algorithm Distillation28 Sep 2026
- 2026Data Standards for Humanoid Robotics: The Missing Infrastructure for Physical AI18 Jun 2026
- 2025Fluidity Index: Next-Generation Super-intelligence Benchmarks23 Oct 2025
- 2025Context and Diversity Matter: The Emergence of In-Context Learning in World Models26 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026In-Context Reinforcement Learning under Non-Stationarity: A Survey
- 2025Scalable In-Context Q-Learning
- 2024XLand-100B: A Large-Scale Multi-Task Dataset for In-Context Reinforcement Learning
- 2025Vintix: Action Model via In-Context Reinforcement Learning
- 2024AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with Transformers
- 2024Random Policy Enables In-Context Reinforcement Learning within Trust Horizons
- 2024Towards an Information Theoretic Framework of Context-Based Offline Meta-Reinforcement Learning
- 2024In-context Exploration-Exploitation for Reinforcement Learning