Guarded Policy Optimization with Imperfect Online Demonstrations

Zhenghai Xue, Zhenghao Peng, Quanyi Li, Zhihan Liu, Bolei Zhou
2/12/2026

No official code found. Best implementation: metadriverse/TS2C (14 stars, MIT, last commit 2023-04-30).

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.

View on arXivView PDF

Code Implementations(1)

metadriverse/TS2CCommunity60%
MIT

[ICLR 2023] The official code for paper "Guarded Policy Optimization with Imperfect Online Demonstrations"

141PythonFeb 28, 20233 years agoMIT

Similar Papers

Cite this paper

@article{xue2026guarded,
  title  = {Guarded Policy Optimization with Imperfect Online Demonstrations},
  author = {Zhenghai Xue and Zhenghao Peng and Quanyi Li and Zhihan Liu and Bolei Zhou},
  year   = {2026},
  eprint = {2303.01728},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.01728},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.01728.svg)](https://codeofpaper.com/paper/2303.01728)

Discussion