Skip to main content
QUICK REVIEW

[Paper Review] Guarded Policy Optimization with Imperfect Online Demonstrations

Zhenghai Xue, Zhenghao Peng|arXiv (Cornell University)|Mar 3, 2023
Reinforcement Learning in RoboticsComputer Science4 citations
TL;DR

This paper proposes TS2C, a novel off-policy reinforcement learning method that enables a student agent to outperform an imperfect teacher in the Teacher-Student Framework by using trajectory-based value estimation for intervention decisions. Unlike action-based intervention, TS2C allows the student to deviate when its expected return is promising, achieving superior sample efficiency and safety guarantees regardless of teacher quality.

ABSTRACT

The Teacher-Student Framework (TSF) is a reinforcement learning setting where a teacher agent guards the training of a student agent by intervening and providing online demonstrations. Assuming optimal, the teacher policy has the perfect timing and capability to intervene in the learning process of the student agent, providing safety guarantee and exploration guidance. Nevertheless, in many real-world settings it is expensive or even impossible to obtain a well-performing teacher policy. In this work, we relax the assumption of a well-performing teacher and develop a new method that can incorporate arbitrary teacher policies with modest or inferior performance. We instantiate an Off-Policy Reinforcement Learning algorithm, termed Teacher-Student Shared Control (TS2C), which incorporates teacher intervention based on trajectory-based value estimation. Theoretical analysis validates that the proposed TS2C algorithm attains efficient exploration and substantial safety guarantee without being affected by the teacher's own performance. Experiments on various continuous control tasks show that our method can exploit teacher policies at different performance levels while maintaining a low training cost. Moreover, the student policy surpasses the imperfect teacher policy in terms of higher accumulated reward in held-out testing environments. Code is available at https://metadriverse.github.io/TS2C.

Motivation & Objective

  • Address the limitation of existing Teacher-Student Framework (TSF) methods that are bounded by the performance of the teacher policy.
  • Develop a method that enables student agents to surpass imperfect teacher policies while maintaining safety and exploration efficiency.
  • Relax the requirement for high-quality teacher demonstrations by replacing action-similarity-based intervention with trajectory-based value estimation.
  • Theoretically and empirically validate that the student's performance is no longer upper-bounded by the teacher's capability.
  • Demonstrate generalization across diverse environments and teacher policy sources with consistent performance gains.

Proposed method

  • Introduce a value-based intervention mechanism where the teacher intervenes only when the student's expected return is lower than the teacher's estimated value.
  • Use a trajectory-based value estimator to evaluate the long-term return of student actions, enabling informed intervention decisions.
  • Integrate the teacher's intervention data with the student's experience into a shared replay buffer for off-policy learning.
  • Apply off-policy RL algorithms (e.g., SAC) to train the student policy using both student-generated and teacher-intervened transitions.
  • Design the intervention function to minimize unnecessary interventions, reducing training cost while preserving safety.
  • Theoretical analysis shows that TS2C maintains a lower-bound performance and safety guarantee independent of teacher quality.
Figure 1: Overview of the proposed teacher-student shared control method. Both student and teacher policies are in the training loop and the shared control occurs based on the intervention function.
Figure 1: Overview of the proposed teacher-student shared control method. Both student and teacher policies are in the training loop and the shared control occurs based on the intervention function.

Experimental results

Research questions

  • RQ1Can a student policy outperform an imperfect teacher in the Teacher-Student Framework without being constrained by the teacher’s performance?
  • RQ2Does replacing action-based intervention with value-based intervention improve sample efficiency and safety in online RL?
  • RQ3How does the performance of the student policy scale with varying levels of teacher policy quality?
  • RQ4Can the proposed method generalize across different MuJoCo environments and diverse teacher policy sources?
  • RQ5What is the impact of the intervention mechanism on training cost and policy behavior in complex environments?

Key findings

  • TS2C converges within 200k training steps across all teacher performance levels—high, medium, and low—demonstrating insensitivity to teacher quality.
  • The student policy trained with TS2C achieves significantly higher cumulative rewards than both the teacher and baseline methods (e.g., EGPO, Importance Advising) in held-out testing environments.
  • TS2C reduces training cost compared to EGPO and Importance Advising, as intervention rates drop rapidly once the student policy takes control.
  • In the MetaDrive simulator, value-based intervention enables the student to learn overtaking behaviors (blue trajectory), while action-based intervention leads to suboptimal following behavior (green trajectory).
  • TS2C outperforms SAC, PPO, and behavior cloning in all three MuJoCo environments tested, even when the teacher policy is only moderately skilled.
  • Ablation studies confirm that the value-based intervention function is critical to performance, as it allows the student to explore high-return actions even when deviating from the teacher.
Figure 2: In an autonomous driving scenario, the ego vehicle is the blue one on the left, following the gray vehicle on the right. The upper trajectory is proposed by the student to overtake and the lower trajectory is proposed by the teacher to keep following.
Figure 2: In an autonomous driving scenario, the ego vehicle is the blue one on the left, following the gray vehicle on the right. The upper trajectory is proposed by the student to overtake and the lower trajectory is proposed by the teacher to keep following.

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.