Zero-Shot Context Generalization in Reinforcement Learning from Few Training Contexts
Not on the map. Why?
Abstract (arXiv)
Deep reinforcement learning (DRL) has achieved remarkable success across multiple domains, including competitive games, natural language processing, and robotics. Despite these advancements, policies trained via DRL often struggle to generalize to evaluation environments with different parameters. This challenge is typically addressed by training with multiple contexts and/or by leveraging additional structure in the problem. However, obtaining sufficient training data across diverse contexts can be impractical in real-world applications. In this work, we consider contextual Markov decision processes (CMDPs) with transition and reward functions that exhibit regularity in context parameters. We introduce the context-enhanced Bellman equation (CEBE) to improve generalization when training on a single context. We prove both analytically and empirically that the CEBE yields a first-order approximation to the Q-function trained across multiple contexts. We then derive context sample enhancement (CSE) as an efficient data augmentation method for approximating the CEBE in deterministic control environments. We numerically validate the performance of CSE in simulation environments, showcasing its potential to improve generalization in DRL.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 46 of its 70 references that are in the map. First posted on arXiv 10 Jul 2025.
Builds on
46 of 70 references.
References · 46
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
- 2017Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real Worldcited by 1,401
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 516
- 2019Leveraging Procedural Generation to Benchmark Reinforcement Learningcited by 478
- 2018Tune: A Research Platform for Distributed Model Selection and Trainingcited by 395
- 2020Sim-to-Real Transfer in Deep Reinforcement Learning for Robotics: a Surveycited by 388
- 2020Towards Continual Reinforcement Learning: A Review and Perspectivescited by 268
- 2016CAD2RL: Real Single-Image Flight without a Single Real Imagecited by 227
- 2015Contextual Markov Decision Processescited by 213
- 2021A Survey of Zero-shot Generalisation in Deep Reinforcement Learningcited by 164
34 more
- 2019Active Domain Randomizationcited by 161
- 2024Deep Reinforcement Learning for Robotics: A Survey of Real-World Successescited by 153
- 2017DARLA: Improving Zero-Shot Transfer in Reinforcement Learningcited by 147
- 2020One Policy to Control Them All: Shared Modular Policies for Agent-Agnostic Controlcited by 114
- 2021Replay-Guided Adversarial Environment Designcited by 108
- 2021Why Generalization in RL is Difficult: Epistemic POMDPs and Implicit Partial Observabilitycited by 102
- 2023A Tutorial on Meta-Reinforcement Learningcited by 102
- 2022Partially Observable Markov Decision Processes in Robotics: A Surveycited by 81
- 2021Understanding Domain Randomization for Sim-to-real Transfercited by 69
- 2020My Body is a Cage: the Role of Morphology in Graph-Based Incompatible Controlcited by 68
- 2017Markov Decision Processes with Continuous Side Informationcited by 54
- 2021Augmented World Models Facilitate Zero-Shot Dynamics Generalization From a Single Offline Environmentcited by 41
- 2022Contextualize Me -- The Case for Context in Reinforcement Learningcited by 41
- 2021Efficient Differentiable Simulation of Articulated Bodiescited by 38
- 2019Data-efficient Co-Adaptation of Morphology and Behaviour with Deep Reinforcement Learningcited by 34
- 2023On the Importance of Exploration for Generalization in Reinforcement Learningcited by 30
- 2024A Review of Differentiable Simulatorscited by 26
- 2017Estimation Considerations in Contextual Banditscited by 22
- 2023Universal Morphology Control via Contextual Modulationcited by 21
- 2021When Is Generalizable Reinforcement Learning Tractable?cited by 19
- 2023Dynamics Generalisation in Reinforcement Learning via Adaptive Context-Aware Policiescited by 18
- 2018Importance Weighted Transfer of Samples in Reinforcement Learningcited by 16
- 2023Structure in Deep Reinforcement Learning: A Survey and Open Problemscited by 16
- 2024Dreaming of Many Worlds: Learning Contextual World Models Aids Zero-Shot Generalizationcited by 16
- 2020RLlib Flow: Distributed Reinforcement Learning is a Dataflow Problemcited by 15
- 2024Contextual Bilevel Reinforcement Learning for Incentive Alignmentcited by 14
- 2021Improving Generalization in Meta-RL with Imaginary Tasks from Latent Dynamics Mixturecited by 12
- 2022Learning Efficiently Function Approximation for Contextual MDPcited by 10
- 2023Subequivariant Graph Reinforcement Learning in 3D Environmentscited by 10
- 2017ADAPT: Zero-Shot Adaptive Policy Transfer for Stochastic Dynamical Systemscited by 9
- 2023Efficient Rate Optimal Regret for Adversarial Contextual MDPs Using Online Function Approximationcited by 9
- 2024Model-Based Transfer Learning for Contextual Reinforcement Learningcited by 7
- 2023Consciousness-Inspired Spatio-Temporal Abstractions for Better Generalization in Reinforcement Learningcited by 4
- 2023C-Procgen: Empowering Procgen with Controllable Contextscited by 1
Built on by
Not cited yet.