Robust Task Representations for Offline Meta-Reinforcement Learning via Contrastive Learning
Haoqi Yuan, Zongqing Lu
Abstract
We study offline meta-reinforcement learning, a practical reinforcement learning paradigm that learns from offline data to adapt to new tasks. The distribution of offline data is determined jointly by the behavior policy and the task. Existing offline meta-reinforcement learning algorithms cannot distinguish these factors, making task representations unstable to the change of behavior policies. To address this problem, we propose a contrastive learning framework for task representations that are robust to the distribution mismatch of behavior policies in training and test. We design a bi-level encoder structure, use mutual information maximization to formalize task representation learning, derive a contrastive learning objective, and introduce several approaches to approximate the true distribution of negative pairs. Experiments on a variety of offline meta-reinforcement learning benchmarks demonstrate the advantages of our method over prior methods, especially on the generalization to out-of-distribution behavior policies. The code is available at https://github.com/PKU-AI-Edge/CORRO.
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.
37 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning an Actionable Discrete Diffusion Policy via Large-Scale Actionless Video Pre-Training cites MetaDiffuser: Diffusion Model as Conditional Planner for Offline Meta-RL
- Learning an Actionable Discrete Diffusion Policy via Large-Scale Actionless Video Pre-Training cites Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
- Meta-DT: Offline Meta-RL as Conditional Sequence Modeling with World Model Disentanglement cites Context Shift Reduction for Offline Meta-Reinforcement Learning
- Meta-DT: Offline Meta-RL as Conditional Sequence Modeling with World Model Disentanglement cites MetaDiffuser: Diffusion Model as Conditional Planner for Offline Meta-RL
- Meta-DT: Offline Meta-RL as Conditional Sequence Modeling with World Model Disentanglement cites Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
- CURL: Contrastive Unsupervised Representations for Reinforcement Learning cites Model Based Reinforcement Learning for Atari
- CURL: Contrastive Unsupervised Representations for Reinforcement Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
Cited by top-tier papers37
- Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement LearningHaoran He, Chenjia Bai, Kang Xu, Zhuoran Yang et al.NeurIPS 2023 · 165 citations
- MetaDiffuser: Diffusion Model as Conditional Planner for Offline Meta-RLFei Ni, Jianye Hao, Yao Mu, Yifu Yuan et al.ICML 2023 · 75 citations
- Learning an Actionable Discrete Diffusion Policy via Large-Scale Actionless Video Pre-TrainingHaoran He, Chenjia Bai, Ling Pan, Weinan Zhang et al.NeurIPS 2024 · 38 citations
- Meta-DT: Offline Meta-RL as Conditional Sequence Modeling with World Model DisentanglementZhi Wang, Li Zhang, Wenhao Wu, Yuanheng Zhu et al.NeurIPS 2024 · 31 citations
- Context Shift Reduction for Offline Meta-Reinforcement LearningYunkai Gao, Rui Zhang, Jiaming Guo, Fan Wu et al.NeurIPS 2023 · 30 citations
Builds on12
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
- CURL: Contrastive Unsupervised Representations for Reinforcement LearningMichael Laskin, Aravind Srinivas, Pieter AbbeelICML 2020 · 1,261 citations
- Model Based Reinforcement Learning for AtariLukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski et al.ICLR 2020 · 969 citations
Related papers
- Generalizable Task Representation Learning for Offline Meta-Reinforcement Learning with Data LimitationsRenzhe Zhou, Chenxiao Gao, Zongzhang Zhang, Yang YuAAAI 2024 · 16 citations
- Entropy Regularized Task Representation Learning for Offline Meta-Reinforcement LearningMohammadreza Nakhaeinezhadfard, Aidan Scannell, Joni PajarinenAAAI 2025
- Improving Generalization in Offline Meta-Reinforcement Learning via Cross-task ContextsHongcai He, Zetao Zheng, Anjie Zhu, Deqiang Ouyang et al.AAAI 2026
- 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
- Offline Meta-Reinforcement Learning with Online Self-SupervisionVitchyr H. Pong, Ashvin Nair, Laura Smith, Catherine Huang et al.ICML 2022 · 78 citations
