Lune

AAAI2021Top-tier venue

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

Haotian Fu, Hongyao Tang, Jianye Hao, Chen Chen, Xidong Feng, Dong Li, Wulong Liu

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Contrastive Reinforcement Learning of Symbolic Reasoning Domains cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
  • A Simple Framework for Contrastive Learning of Visual Representations cites Data-Efficient Image Recognition with Contrastive Predictive Coding
  • CURL: Contrastive Unsupervised Representations for Reinforcement Learning cites Data-Efficient Image Recognition with Contrastive Predictive Coding
  • CURL: Contrastive Unsupervised Representations for Reinforcement Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Efficient Recurrent Off-Policy RL Requires a Context-Encoder-Specific Learning Rate cites VariBAD: A Very Good Method for Bayes-Adaptive Deep RL via Meta-Learning
  • What about Inputting Policy in Value Function: Policy Representation and Policy-Extended Value Function Approximator cites A Simple Framework for Contrastive Learning of Visual Representations
  • What about Inputting Policy in Value Function: Policy Representation and Policy-Extended Value Function Approximator cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. Context Shift Reduction for Offline Meta-Reinforcement LearningYunkai Gao, Rui Zhang, Jiaming Guo, Fan Wu et al.NeurIPS 2023 · 30 citations
  2. Contrastive Reinforcement Learning of Symbolic Reasoning DomainsGabriel Poesia, Wenxin Dong, Noah D. GoodmanNeurIPS 2021 · 25 citations
  3. Distributionally Adaptive Meta Reinforcement LearningAnurag Ajay, Abhishek Gupta, Dibya Ghosh, Sergey Levine et al.NeurIPS 2022 · 21 citations
  4. What about Inputting Policy in Value Function: Policy Representation and Policy-Extended Value Function ApproximatorHongyao Tang, Zhaopeng Meng, Jianye Hao, Chen Chen et al.AAAI 2022 · 20 citations
  5. Efficient Recurrent Off-Policy RL Requires a Context-Encoder-Specific Learning RateFan-Ming Luo, Zuolin Tu, Zefang Huang, Yang YuNeurIPS 2024 · 18 citations

Builds on7

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Data-Efficient Image Recognition with Contrastive Predictive CodingOlivier J. HénaffICML 2020 · 1,553 citations
  3. CURL: Contrastive Unsupervised Representations for Reinforcement LearningMichael Laskin, Aravind Srinivas, Pieter AbbeelICML 2020 · 1,261 citations
  4. VariBAD: A Very Good Method for Bayes-Adaptive Deep RL via Meta-LearningLuisa M. Zintgraf, Kyriacos Shiarlis, Maximilian Igl, Sebastian Schulze et al.ICLR 2020 · 315 citations
  5. Meta-Q-LearningRasool Fakoor, Pratik Chaudhari, Stefano Soatto, Alexander J. SmolaICLR 2020 · 162 citations

Related papers

  1. Improving Generalization in Offline Meta-Reinforcement Learning via Cross-task ContextsHongcai He, Zetao Zheng, Anjie Zhu, Deqiang Ouyang et al.AAAI 2026
  2. MetaCURE: Meta Reinforcement Learning with Empowerment-Driven ExplorationJin Zhang, Jianhao Wang, Hao Hu, Tong Chen et al.ICML 2021 · 33 citations
  3. Learning Action Translator for Meta Reinforcement Learning on Sparse-Reward TasksYijie Guo, Qiucheng Wu, Honglak LeeAAAI 2022 · 8 citations
  4. Robust Task Representations for Offline Meta-Reinforcement Learning via Contrastive LearningHaoqi Yuan, Zongqing LuICML 2022 · 53 citations
  5. Towards an Information Theoretic Framework of Context-Based Offline Meta-Reinforcement LearningLanqing Li, Hai Zhang, Xinyu Zhang, Shatong Zhu et al.NeurIPS 2024 · 24 citations
Dusk over the sea between two cliffs drawn in fine vertical lines