mlsanityData to 7 Oct 2026

Towards Effective Context for Meta-Reinforcement Learning: an Approach based on Contrastive Learning

arXiv 2009.13891 ↗First posted 29 Sep 2020cs.LG cs.AI stat.MLcited by 29

Not on the map. Why?

Abstract (arXiv)

Context, the embedding of previous collected trajectories, is a powerful construct for Meta-Reinforcement Learning (Meta-RL) algorithms. By conditioning on an effective context, Meta-RL policies can easily generalize to new tasks within a few adaptation steps. We argue that improving the quality of context involves answering two questions: 1. How to train a compact and sufficient encoder that can embed the task-specific information contained in prior trajectories? 2. How to collect informative trajectories of which the corresponding context reflects the specification of tasks? To this end, we propose a novel Meta-RL framework called CCM (Contrastive learning augmented Context-based Meta-RL). We first focus on the contrastive nature behind different tasks and leverage it to train a compact and sufficient context encoder. Further, we train a separate exploration policy and theoretically derive a new information-gain-based objective which aims to collect informative trajectories in a few steps. Empirically, we evaluate our approaches on common benchmarks as well as several complex sparse-reward environments. The experimental results show that CCM outperforms state-of-the-art algorithms by addressing previously mentioned problems respectively.

Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Sep 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 6; 2022: 10; 2023: 9; 2024: 2; 2025: 1; 2026: 1.

29 papers.

Sort:

By area:

  1. 2022Contextualize Me -- The Case for Context in Reinforcement Learningcited by 41
  2. 2021CARL: A Benchmark for Contextual and Adaptive Reinforcement Learningcited by 21
  3. 2021Contrastive Reinforcement Learning of Symbolic Reasoning Domainscited by 17
  4. 2023Context Shift Reduction for Offline Meta-Reinforcement Learningcited by 17
  5. 2022Simplifying Polylogarithms with Machine Learningcited by 14
  6. 2022Model-based Lifelong Reinforcement Learning with Bayesian Explorationcited by 12
  7. 2021A Theoretical Understanding of Gradient Bias in Meta-Reinforcement Learningcited by 11
  8. 2022Distributionally Adaptive Meta Reinforcement Learningcited by 11
  9. 2024Efficient Recurrent Off-Policy RL Requires a Context-Encoder-Specific Learning Ratecited by 10
  10. 2023ContraBAR: Contrastive Bayes-Adaptive Deep RLcited by 9
  11. 2023Efficient Symbolic Policy Learning with Differentiable Symbolic Expressioncited by 9
  12. 2023Generalizable Task Representation Learning for Offline Meta-Reinforcement Learning with Data Limitationscited by 9
17 more
  1. 2021Improving Context-Based Meta-Reinforcement Learning with Self-Supervised Trajectory Contrastive Learningcited by 8
  2. 2022Meta-Learning Parameterized Skillscited by 7
  3. 2022Contextual Transformer for Offline Meta Reinforcement Learningcited by 7
  4. 2023Imitate the Good and Avoid the Bad: An Incremental Approach to Safe Reinforcement Learningcited by 7
  5. 2022PAnDR: Fast Adaptation to New Environments from Offline Experiences via Decoupling Policy and Environment Representationscited by 6
  6. 2023Offline Imitation from Observation via Primal Wasserstein State Occupancy Matchingcited by 5
  7. 2023First-Explore, then Exploit: Meta-Learning to Solve Hard Exploration-Exploitation Trade-Offscited by 4
  8. 2021Foresee then Evaluate: Decomposing Value Estimation with Latent Future Predictioncited by 3
  9. 2022Meta Reinforcement Learning with Successor Feature Based Contextcited by 3
  10. 2022Prototypical context-aware dynamics generalization for high-dimensional model-based reinforcement learningcited by 3
  11. 2025Task-Aware Virtual Training: Enhancing Generalization in Meta-Reinforcement Learning for Out-of-Distribution Taskscited by 3
  12. 2021Provably Improved Context-Based Offline Meta-RL with Attention and Contrastive Learningcited by 2
  13. 2023On Task-Relevant Loss Functions in Meta-Reinforcement Learning and Online LQRcited by 1
  14. 2022Decomposed Mutual Information Optimization for Generalized Context in Meta-Reinforcement Learningcited by 0
  15. 2023Learning Embeddings for Sequential Tasks Using Population of Agentscited by 0
  16. 2024Skill-aware Mutual Information Optimisation for Generalisation in Reinforcement Learningcited by 0
  17. 2026T3S: Improving Multi-Task Reinforcement Learning with Task-Specific Feature Selector and Schedulercited by 0