Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Context Shift Reduction for Offline Meta-Reinforcement Learning

About

Offline meta-reinforcement learning (OMRL) utilizes pre-collected offline datasets to enhance the agent's generalization ability on unseen tasks. However, the context shift problem arises due to the distribution discrepancy between the contexts used for training (from the behavior policy) and testing (from the exploration policy). The context shift problem leads to incorrect task inference and further deteriorates the generalization ability of the meta-policy. Existing OMRL methods either overlook this problem or attempt to mitigate it with additional information. In this paper, we propose a novel approach called Context Shift Reduction for OMRL (CSRO) to address the context shift problem with only offline datasets. The key insight of CSRO is to minimize the influence of policy in context during both the meta-training and meta-test phases. During meta-training, we design a max-min mutual information representation learning mechanism to diminish the impact of the behavior policy on task representation. In the meta-test phase, we introduce the non-prior context collection strategy to reduce the effect of the exploration policy. Experimental results demonstrate that CSRO significantly reduces the context shift and improves the generalization ability, surpassing previous methods across various challenging domains.

Yunkai Gao, Rui Zhang, Jiaming Guo, Fan Wu, Qi Yi, Shaohui Peng, Siming Lan, Ruizhi Chen, Zidong Du, Xing Hu, Qi Guo, Ling Li, Yunji Chen• 2023

Related benchmarks

TaskDatasetResultRank
Offline Meta-Reinforcement LearningPoint-Robot sampled 10 unseen (test)
Average Return-6.4
10
Offline Meta-Reinforcement LearningHalf-Cheetah-Vel sampled 10 unseen (test)
Average Return-48.4
10
Offline Meta-Reinforcement LearningWalker-Rand-Params sampled 10 unseen (test)
Average Return344.2
10
Continuous ControlMuJoCo HalfCheetah Vel (test)
Mean Return-48.4
9
Reinforcement LearningAnt-Dir Medium OOD
Average Return198
8
Reinforcement LearningAnt-Dir Expert IID
Average Return252
8
Reinforcement LearningAnt-Dir Medium IID
Average Return166
8
Reinforcement LearningAnt-Dir Random OOD
Average Return0.00e+0
8
Reinforcement LearningAnt-Dir Expert OOD
Average Return202
8
Reinforcement LearningAnt-Dir Random IID
Average Return2
8
Showing 10 of 12 rows

Other info

Code

Follow for update