In-Context Reinforcement Learning via Communicative World Models
cs.LG, cs.AI
Submitted: 2025-08-08
Updated: 2026-06-07
Journal ref: Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence (IJCAI-2026), pp. 253-261, 2026
Code: https://github.com/fernando-ml/CORAL
License: http://creativecommons.org/licenses/by/4.0/
The gist: Reinforcement learning (RL) agents often struggle to generalize to new tasks and contexts without updating their parameters, mainly because their learned representations and policies are overfit to
Terminology
Abstract
Reinforcement learning (RL) agents often struggle to generalize to new tasks and contexts without updating their parameters, mainly because their learned representations and policies are overfit to the specifics of their training environments. To boost agents' in-context RL (ICRL) ability, this work formulates ICRL as a two-agent emergent communication problem and introduces CORAL (Communicative Representation for Adaptive RL), a framework that learns a transferable communicative context by functionally separating latent representation learning from control. In CORAL, an Information Agent (IA) is pre-trained as a world model on a diverse distribution of tasks. Its objective is not direct return maximization, but world modeling and distilling its understanding into concise messages. The emergent communication protocol is shaped by a novel Causal Influence Loss, which measures the effect that the message has on the next action. During deployment, the previously trained IA serves as a fixed contextualizer for a new Control Agent (CA), which learns to solve tasks by interpreting the provided communicative context. Our experiments demonstrate that this approach enables the CA to achieve significant gains in sample efficiency and successfully perform zero-shot adaptation with the help of pre-trained IA in diverse online and offline environments, validating the efficacy of learning a transferable communicative representation.
Sources
- Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling
- RL$^2$: Fast Reinforcement Learning via Slow Reinforcement Learning
- D4RL: Datasets for Deep Data-Driven Reinforcement Learning
- Meta Stackelberg Game: Robust Federated Learning against Adaptive and Mixed Poisoning Attacks
- A Survey of In-Context Reinforcement Learning
- NAVIX: Scaling MiniGrid Environments with JAX
- High-Dimensional Continuous Control Using Generalized Advantage Estimation
- Proximal Policy Optimization Algorithms
- Learning to reinforcement learn
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks