ContraBAR: Contrastive Bayes-Adaptive Deep RL
Not on the map. Why?
Abstract (arXiv)
In meta reinforcement learning (meta RL), an agent seeks a Bayes-optimal policy -- the optimal policy when facing an unknown task that is sampled from some known task distribution. Previous approaches tackled this problem by inferring a belief over task parameters, using variational inference methods. Motivated by recent successes of contrastive learning approaches in RL, such as contrastive predictive coding (CPC), we investigate whether contrastive methods can be used for learning Bayes-optimal behavior. We begin by proving that representations learned by CPC are indeed sufficient for Bayes optimality. Based on this observation, we propose a simple meta RL algorithm that uses CPC in lieu of variational belief inference. Our method, ContraBAR, achieves comparable performance to state-of-the-art in domains with state-based observation and circumvents the computational toll of future observation reconstruction, enabling learning in domains with image-based observations. It can also be combined with image augmentations for domain randomization and used seamlessly in both online and offline meta RL settings.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 30 of its 43 references that are in the map. First posted on arXiv 4 Jun 2023.
Builds on
30 of 43 references.
References · 30
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2016Layer Normalizationcited by 5,579
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2017Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real Worldcited by 1,401
- 2020CURL: Contrastive Unsupervised Representations for Reinforcement Learningcited by 745
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 490
- 2019Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variablescited by 372
- 2016Learning to reinforcement learncited by 369
18 more
- 2019VariBAD: A Very Good Method for Bayes-Adaptive Deep RL via Meta-Learningcited by 210
- 2018Recasting Gradient-Based Meta-Learning as Hierarchical Bayescited by 180
- 2021Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPscited by 115
- 2018Model-Based Reinforcement Learning via Meta-Policy Optimizationcited by 99
- 2018ProMP: Proximal Meta-Policy Searchcited by 91
- 2019Meta reinforcement learning as task inferencecited by 75
- 2019Meta-learning of Sequential Strategiescited by 68
- 2020Approximate information state for approximate planning and reinforcement learning in partially observed systemscited by 67
- 2022CIC: Contrastive Intrinsic Control for Unsupervised Skill Discoverycited by 66
- 2019Meta-Q-Learningcited by 62
- 2018Gotta Learn Fast: A New Benchmark for Generalization in RLcited by 59
- 2021panda-gym: Open-source goal-conditioned environments for robotic learningcited by 56
- 2018Neural Predictive Belief Representationscited by 39
- 2020Towards Effective Context for Meta-Reinforcement Learning: an Approach based on Contrastive Learningcited by 29
- 2020Exploration in Approximate Hyper-State Space for Meta Reinforcement Learningcited by 28
- 2021Supervised Contrastive Learning for Accented Speech Recognitioncited by 10
- 2021Improving Context-Based Meta-Reinforcement Learning with Self-Supervised Trajectory Contrastive Learningcited by 8
- 2021Unsupervised Feature Learning for Manipulation with Contrastive Domain Randomizationcited by 3
Built on by
Citing papers per year: 2024: 7; 2025: 2.
9 papers.
- 2024Bridging State and History Representations: Understanding Self-Predictive RLcited by 52
- 2024Towards an Information Theoretic Framework of Context-Based Offline Meta-Reinforcement Learningcited by 16
- 2024MAMBA: an Effective World Model Approach for Meta-Reinforcement Learningcited by 13
- 2024Bayes Adaptive Monte Carlo Tree Search for Offline Model-based Reinforcement Learningcited by 11
- 2024Offline Reinforcement Learning from Datasets with Structured Non-Stationaritycited by 5
- 2024DynaMITE-RL: A Dynamic Model for Improved Temporal Meta-Reinforcement Learningcited by 3
- 2025Task-Aware Virtual Training: Enhancing Generalization in Meta-Reinforcement Learning for Out-of-Distribution Taskscited by 3
- 2024Scrutinize What We Ignore: Reining In Task Representation Shift Of Context-Based Offline Meta Reinforcement Learningcited by 0
- 2025Learning Task Belief Similarity with Latent Dynamics for Meta-Reinforcement Learningcited by 0
- 2025Learning Task Belief Similarity with Latent Dynamics for Meta-Reinforcement Learning24 Jun 2025
- 2025Task-Aware Virtual Training: Enhancing Generalization in Meta-Reinforcement Learning for Out-of-Distribution Tasks5 Feb 2025
- 2024Bayes Adaptive Monte Carlo Tree Search for Offline Model-based Reinforcement Learning15 Oct 2024
- 2024Offline Reinforcement Learning from Datasets with Structured Non-Stationarity23 May 2024
- 2024Scrutinize What We Ignore: Reining In Task Representation Shift Of Context-Based Offline Meta Reinforcement Learning20 May 2024
- 2024MAMBA: an Effective World Model Approach for Meta-Reinforcement Learning14 Mar 2024
- 2024DynaMITE-RL: A Dynamic Model for Improved Temporal Meta-Reinforcement Learning25 Feb 2024
- 2024Towards an Information Theoretic Framework of Context-Based Offline Meta-Reinforcement Learning4 Feb 2024
- 2024Bridging State and History Representations: Understanding Self-Predictive RL17 Jan 2024