Skip to main content
QUICK REVIEW

[Paper Review] Meta-Reinforcement Learning Robust to Distributional Shift via Model Identification and Experience Relabeling

Russell Mendonca, Xinyang Geng|arXiv (Cornell University)|Jun 12, 2020
Reinforcement Learning in RoboticsComputer Science33 references18 citations
TL;DR

This paper proposes MIER, a meta-reinforcement learning algorithm that improves robustness to distributional shift by using model identification to quickly adapt dynamics and reward models via gradient descent, followed by experience relabeling to generate synthetic data for policy fine-tuning. MIER outperforms MAML, PEARL, and GrBAL on out-of-distribution tasks in HalfCheetah and Ant environments, especially under challenging dynamics and reward extrapolation settings.

ABSTRACT

Reinforcement learning algorithms can acquire policies for complex tasks autonomously. However, the number of samples required to learn a diverse set of skills can be prohibitively large. While meta-reinforcement learning methods have enabled agents to leverage prior experience to adapt quickly to new tasks, their performance depends crucially on how close the new task is to the previously experienced tasks. Current approaches are either not able to extrapolate well, or can do so at the expense of requiring extremely large amounts of data for on-policy meta-training. In this work, we present model identification and experience relabeling (MIER), a meta-reinforcement learning algorithm that is both efficient and extrapolates well when faced with out-of-distribution tasks at test time. Our method is based on a simple insight: we recognize that dynamics models can be adapted efficiently and consistently with off-policy data, more easily than policies and value functions. These dynamics models can then be used to continue training policies and value functions for out-of-distribution tasks without using meta-reinforcement learning at all, by generating synthetic experience for the new task.

Motivation & Objective

  • To address the limitation of meta-RL methods in generalizing to out-of-distribution tasks during meta-test time.
  • To develop a sample-efficient meta-RL approach that avoids on-policy meta-training, enabling off-policy training for better data efficiency.
  • To enable consistent adaptation to out-of-distribution tasks by leveraging learned dynamics and reward models for synthetic experience generation.
  • To decouple meta-training of models from policy adaptation, allowing standard off-policy RL to fine-tune policies on relabeled data.

Proposed method

  • Model identification uses gradient-based supervised meta-learning to infer a context variable that encodes task-specific dynamics and reward functions, enabling fast adaptation via few gradient steps.
  • The policy is conditioned on the adapted context variable and trained using standard off-policy RL, avoiding complex meta-RL policy adaptation.
  • Experience relabeling uses the adapted dynamics model to predict next states and rewards for all previously collected transitions from meta-training tasks, generating synthetic experience.
  • Synthetic data from relabeling is used to fine-tune the policy via off-policy RL, enabling continued improvement even when the new task is out of the meta-training distribution.
  • The method combines model identification and experience relabeling: the former enables fast task adaptation, and the latter enables robust generalization to out-of-distribution tasks.
  • The approach avoids on-policy meta-training by training the policy with standard RL on relabeled data, improving sample efficiency and scalability.

Experimental results

Research questions

  • RQ1Can a meta-RL method achieve robust generalization to out-of-distribution tasks without relying on on-policy meta-training?
  • RQ2Can dynamics and reward models be adapted consistently with off-policy data to enable reliable policy fine-tuning on unseen tasks?
  • RQ3Does experience relabeling using model-predicted transitions and rewards improve policy performance on out-of-distribution tasks compared to standard meta-RL methods?
  • RQ4How does the combination of model identification and experience relabeling compare to MAML, PEARL, and GrBAL in terms of extrapolation performance on dynamics and reward shift?

Key findings

  • MIER outperforms MAML, PEARL, and GrBAL on out-of-distribution tasks in HalfCheetah-Velocity and Ant-Direction environments, especially in reward function extrapolation.
  • On the Cheetah-Negated-Joints task, MIER-wR (with model identification only) significantly outperforms PEARL and MAML, and full MIER (with relabeling) achieves further gains.
  • On the more challenging Ant-Negated-Joints environment, MIER-wR matches PEARL’s performance, and MIER with relabeling surpasses it, demonstrating the effectiveness of experience relabeling.
  • Performance degrades for all methods as tasks move farther from the training distribution, but MIER consistently maintains superior performance across all difficulty levels in validation tasks.
  • The ablation study confirms that experience relabeling is critical for out-of-distribution generalization, as MIER-wR (without relabeling) performs worse than full MIER on hard tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.