Skip to main content
QUICK REVIEW

[Paper Review] Reinforcement Learning from Imperfect Demonstrations under Soft Expert Guidance

Mingxuan Jing, Xiaojian Ma|arXiv (Cornell University)|Nov 16, 2019
Reinforcement Learning in RoboticsComputer Science33 references9 citations
TL;DR

This paper proposes a constrained reinforcement learning from demonstrations (RLfD) method that treats expert demonstrations as soft constraints rather than rigid rewards, enabling effective learning from imperfect demonstrations. By formulating policy optimization as a constrained problem and solving it via dual-based local linear search, the method achieves superior performance on benchmark control tasks even with low-quality or sparse demonstrations, outperforming penalty-based and pre-training baselines.

ABSTRACT

In this paper, we study Reinforcement Learning from Demonstrations (RLfD) that improves the exploration efficiency of Reinforcement Learning (RL) by providing expert demonstrations. Most of existing RLfD methods require demonstrations to be perfect and sufficient, which yet is unrealistic to meet in practice. To work on imperfect demonstrations, we first define an imperfect expert setting for RLfD in a formal way, and then point out that previous methods suffer from two issues in terms of optimality and convergence, respectively. Upon the theoretical findings we have derived, we tackle these two issues by regarding the expert guidance as a soft constraint on regulating the policy exploration of the agent, which eventually leads to a constrained optimization problem. We further demonstrate that such problem is able to be addressed efficiently by performing a local linear search on its dual form. Considerable empirical evaluations on a comprehensive collection of benchmarks indicate our method attains consistent improvement over other RLfD counterparts.

Motivation & Objective

  • To address the limitations of existing RLfD methods that rely on perfect and sufficient demonstrations, which is impractical in real-world settings.
  • To formalize a new RLfD setting with imperfect demonstrations, defined by suboptimal expert quality and insufficient demonstration quantity.
  • To overcome the optimality and convergence issues of penalty-based RLfD methods when applied to imperfect experts.
  • To develop a scalable, efficient algorithm that leverages imperfect demonstrations through soft constraint enforcement during policy learning.
  • To empirically validate the method's superiority over existing RLfD approaches under varying demonstration quality and quantity.

Proposed method

  • Formulate RLfD as a constrained policy optimization problem, where the policy is restricted to stay within a bounded region around demonstrated trajectories.
  • Treat expert demonstrations as a soft constraint that only influences policy updates when the agent’s policy diverges from the demonstrated region.
  • Use a dual formulation of the constrained problem to reduce computational complexity and enable scalability to deep neural network policies.
  • Perform a local linear search on the dual objective to efficiently compute policy updates at each training step.
  • Introduce a tolerance parameter $d$ that controls the exploration radius around demonstrations, with an annealing mechanism to gradually relax the constraint over time.
  • Apply the method to continuous control benchmarks using off-policy RL algorithms, integrating the soft constraint into the policy update without modifying the reward shaping.

Experimental results

Research questions

  • RQ1How do existing RLfD methods perform when expert demonstrations are imperfect in quality or quantity?
  • RQ2Can a soft constraint formulation improve both the optimality and convergence of RLfD in the presence of imperfect demonstrations?
  • RQ3What is the impact of constraint tolerance and its annealing schedule on policy performance?
  • RQ4How does the proposed constrained optimization approach compare to penalty-based and pre-training-based RLfD methods in terms of sample efficiency and final performance?
  • RQ5Is the proposed method robust to variations in demonstration quality and quantity across different environments?

Key findings

  • The proposed method consistently outperforms penalty-based and pre-training-based RLfD methods across multiple continuous control benchmarks, even when demonstrations are imperfect.
  • With high-quality demonstrations, the method still achieves better performance than baselines, indicating more efficient use of expert data.
  • A too-large tolerance value renders the constraint ineffective, while a too-small value harms performance on imperfect demonstrations, highlighting the need for careful tuning.
  • The annealing mechanism for tolerance significantly improves performance and robustness, with results stable across different annealing factors.
  • Ablation studies show that fixed tolerance leads to worse performance than annealed tolerance, and the method is robust to minor variations in the annealing factor.
  • The method achieves superior final performance on HalfCheetah, Walker2D, and Ant tasks, especially when demonstrations are of low quality or scarce.

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.