Improving Context-Based Meta-Reinforcement Learning with Self-Supervised Trajectory Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
Meta-reinforcement learning typically requires orders of magnitude more samples than single task reinforcement learning methods. This is because meta-training needs to deal with more diverse distributions and train extra components such as context encoders. To address this, we propose a novel self-supervised learning task, which we named Trajectory Contrastive Learning (TCL), to improve meta-training. TCL adopts contrastive learning and trains a context encoder to predict whether two transition windows are sampled from the same trajectory. TCL leverages the natural hierarchical structure of context-based meta-RL and makes minimal assumptions, allowing it to be generally applicable to context-based meta-RL algorithms. It accelerates the training of context encoders and improves meta-training overall. Experiments show that TCL performs better or comparably than a strong meta-RL baseline in most of the environments on both meta-RL MuJoCo (5 of 6) and Meta-World benchmarks (44 out of 50).
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 33 of its 49 references that are in the map. First posted on arXiv 10 Mar 2021.
Builds on
33 of 49 references.
References · 33
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2020Exploring Simple Siamese Representation Learningcited by 2,866
- 2015Trust Region Policy Optimizationcited by 2,580
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2018Soft Actor-Critic Algorithms and Applicationscited by 1,240
- 2019Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learningcited by 1,204
21 more
- 2020CURL: Contrastive Unsupervised Representations for Reinforcement Learningcited by 760
- 2018Learning Dexterous In-Hand Manipulationcited by 687
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 673
- 2016Learning to learn by gradient descent by gradient descentcited by 620
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 503
- 2017Time-Contrastive Networks: Self-Supervised Learning from Videocited by 459
- 2019Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variablescited by 389
- 2016Learning to reinforcement learncited by 377
- 2018Learning to Adapt in Dynamic, Real-World Environments Through Meta-Reinforcement Learningcited by 276
- 2018Human-level performance in first-person multiplayer games with population-based deep reinforcement learningcited by 264
- 2016Learning to Optimizecited by 195
- 2016Towards a Neural Statisticiancited by 121
- 2018ProMP: Proximal Meta-Policy Searchcited by 91
- 2016Loss is its own Reward: Self-Supervision for Reinforcement Learningcited by 72
- 2016One-Shot Generalization in Deep Generative Modelscited by 45
- 2018Some Considerations on Learning to Explore via Meta-Reinforcement Learningcited by 44
- 2018Meta Reinforcement Learning with Latent Variable Gaussian Processescited by 44
- 2018Learning Actionable Representations from Visual Observationscited by 35
- 2020Towards Effective Context for Meta-Reinforcement Learning: an Approach based on Contrastive Learningcited by 29
- 2019Learning Internal Representations (COLT 1995)cited by 25
- 2018Learning to Explore with Meta-Policy Gradientcited by 9
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 2; 2025: 1; 2026: 1.
9 papers.
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agentscited by 41
- 2023Meta-Reinforcement Learning Based on Self-Supervised Task Representation Learningcited by 10
- 2023ContraBAR: Contrastive Bayes-Adaptive Deep RLcited by 9
- 2023Contrastive learning-based agent modeling for deep reinforcement learningcited by 2
- 2022Decomposed Mutual Information Optimization for Generalized Context in Meta-Reinforcement Learningcited by 1
- 2024Skill-aware Mutual Information Optimisation for Generalisation in Reinforcement Learningcited by 1
- 2024Memory Sequence Length of Data Sampling Impacts the Adaptation of Meta-Reinforcement Learning Agentscited by 1
- 2026In-Context Reinforcement Learning under Non-Stationarity: A Surveycited by 1
- 2026In-Context Reinforcement Learning under Non-Stationarity: A Survey1 Jul 2026
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2024Memory Sequence Length of Data Sampling Impacts the Adaptation of Meta-Reinforcement Learning Agents18 Jun 2024
- 2024Skill-aware Mutual Information Optimisation for Generalisation in Reinforcement Learning7 Jun 2024
- 2023Contrastive learning-based agent modeling for deep reinforcement learning30 Dec 2023
- 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agents15 Oct 2023
- 2023ContraBAR: Contrastive Bayes-Adaptive Deep RL4 Jun 2023
- 2023Meta-Reinforcement Learning Based on Self-Supervised Task Representation Learning29 Apr 2023
- 2022Decomposed Mutual Information Optimization for Generalized Context in Meta-Reinforcement Learning9 Oct 2022