Skip to main content
QUICK REVIEW

[Paper Review] Improving Policy Optimization with Generalist-Specialist Learning

Zhiwei Jia, Xuanlin Li|arXiv (Cornell University)|Jun 26, 2022
Reinforcement Learning in RoboticsComputer Science5 citations
TL;DR

This paper proposes Generalist-Specialist Learning (GSL), a meta-algorithm that improves deep reinforcement learning policy optimization by first training a generalist agent on all environment variations, then launching specialized agents on underperforming subsets to generate high-quality demonstrations. These demonstrations are used as auxiliary rewards to fine-tune the generalist, enabling it to overcome performance plateaus and achieve significantly higher returns on challenging benchmarks like Procgen, Meta-World, and ManiSkill.

ABSTRACT

Generalization in deep reinforcement learning over unseen environment variations usually requires policy learning over a large set of diverse training variations. We empirically observe that an agent trained on many variations (a generalist) tends to learn faster at the beginning, yet its performance plateaus at a less optimal level for a long time. In contrast, an agent trained only on a few variations (a specialist) can often achieve high returns under a limited computational budget. To have the best of both worlds, we propose a novel generalist-specialist training framework. Specifically, we first train a generalist on all environment variations; when it fails to improve, we launch a large population of specialists with weights cloned from the generalist, each trained to master a selected small subset of variations. We finally resume the training of the generalist with auxiliary rewards induced by demonstrations of all specialists. In particular, we investigate the timing to start specialist training and compare strategies to learn generalists with assistance from specialists. We show that this framework pushes the envelope of policy learning on several challenging and popular benchmarks including Procgen, Meta-World and ManiSkill.

Motivation & Objective

  • Address the challenge of performance plateaus in deep reinforcement learning when training on a large number of diverse environment variations.
  • Overcome catastrophic forgetting and catastrophic ignorance in neural networks during training on high-variance environments.
  • Leverage the strengths of both generalist and specialist agents: fast initial learning from the generalist and high performance on specific subsets from specialists.
  • Develop a scalable, efficient framework that improves sample efficiency and final performance on complex benchmarks without requiring architectural changes to existing RL algorithms.

Proposed method

  • Train a generalist policy on all environment variations using standard RL algorithms (e.g., PPO) to enable fast early learning.
  • Identify performance plateaus in the generalist using a simple, adaptive plateau detection criterion ($\mathcal{H}$) based on training return trends.
  • Launch a population of specialist agents, each initialized from the generalist’s weights, and train them on a small, targeted subset of the most underperforming environment variations.
  • Use demonstrations from all specialists as auxiliary rewards to fine-tune the generalist, improving its policy through imitation of high-performing behaviors.
  • Select the specialist-to-generalist consolidation method carefully—DAPG outperforms BC due to better handling of inconsistent expert demonstrations.
  • Apply the framework as a meta-algorithm to existing RL and imitation learning pipelines, requiring no changes to the base RL algorithm.

Experimental results

Research questions

  • RQ1Can training a generalist on all environment variations followed by targeted specialist training improve final policy performance compared to training a generalist alone?
  • RQ2How does the timing of initiating specialist training affect the overall efficiency and final performance of the generalist?
  • RQ3What is the impact of different methods for consolidating specialist demonstrations (e.g., BC vs. DAPG) on the generalist’s ability to generalize and achieve high returns?
  • RQ4Does the framework effectively mitigate catastrophic forgetting and catastrophic ignorance in neural network policies during training on diverse environments?
  • RQ5Can the proposed framework be applied effectively across diverse benchmarks such as Procgen, ManiSkill, and Meta-World without architectural modifications?

Key findings

  • The GSL framework with DAPG as the consolidation method achieved a test return of 30.0 ± 0.5 on BigFish (Procgen), significantly outperforming the single PPO generalist (24.3 ± 1.1) and other baselines.
  • Using behavioral cloning (BC) to consolidate specialist demonstrations in GSL led to performance degradation, indicating that inconsistent expert demonstrations are harmful when using BC.
  • The framework demonstrated robustness to the timing of specialist training initiation, with only minor performance differences when starting 5% earlier or later than the optimal point.
  • Specialist training on the 25% of environment variations with the lowest generalist performance led to the most effective improvement, confirming the strategy’s effectiveness.
  • On a held-out set of 1,000 novel BigFish levels, GSL+DAPG maintained superior generalization performance, indicating that the method enhances both zero-shot and out-of-distribution generalization.
  • The framework achieved state-of-the-art performance on multiple benchmarks including Procgen, Meta-World, and ManiSkill, demonstrating broad applicability and effectiveness.

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.