Abstract
Deep Reinforcement Learning (DRL) often suffers from high sample complexity, requiring extensive environment interactions. This paper proposes a framework to pretrain both the actor and critic components of DRL algorithms using expert demonstrations. By theoretically deriving gradients that enforce the expert's superiority without assuming global optimality, the method provides a "warm start" that significantly enhances simulation efficiency.
Introduction
While DRL has succeeded in complex domains, its "data-hungry" nature remains a barrier. Learning from Demonstration (LfD) offers a solution, but traditional methods often struggle with instability or rely on the assumption that expert data is perfectly optimal. This research introduces a dual pretraining approach for actor-critic frameworks that leverages potentially sub-optimal expert trajectories to accelerate learning.
Problem Statement
Existing LfD methods face two primary challenges:
- Instability: Integrating supervised imitation learning into actor-critic architectures can lead to unstable training dynamics.
- Optimality Bias: Most methods assume experts are perfect. In practice, expert data is often noisy or sub-optimal. Forcing an agent to mimic such data can cap its performance.
The authors aim for a "simulation-efficient" method that reaches high performance with fewer environment steps, regardless of expert perfection.
Methodology
The core of the approach is a dual pretraining phase where both the actor (policy) and critic (value function) are updated using expert data before standard RL begins.
Dual Pretraining and the "Better Than" Constraint
The framework relies on a mathematical relationship connecting policy performance differences to the expected advantage function.
- Critic Pretraining: Instead of simple regression, the critic is updated using a "Better Than" constraint. If the critic does not evaluate the expert's actions as superior to the current policy's actions, its weights are adjusted.
- Actor Pretraining: A specific policy gradient is derived to allow the actor to learn from expert trajectories without requiring immediate environment rewards.
Experimental Results
The method was evaluated on continuous control tasks in MuJoCo and discrete tasks in Atari.
MuJoCo Performance
In tasks like HalfCheetah, Hopper, and Walker2d, the pretrained DDPG agents (DDPG+Pretrain) consistently outperformed baseline DDPG. As shown in the training curves, the pretraining phase (indicated by the vertical dashed line) allows the agent to start with a significantly higher reward.
Atari Results
For Atari games using the ACER algorithm, the results were even more stable. Pretrained agents maintained a performance lead from the start without the temporary "dip" sometimes observed in continuous tasks as they transitioned to environment-based gradients.
Discussion and Limitations
The framework demonstrates that "expertise is relative"—the expert only needs to be better than the agent's initial random state to provide a useful gradient. Pretraining the critic is particularly effective at preventing the "initial wandering" phase typical of RL.
However, limitations remain:
- Advantage Estimation: The method requires explicit state-action value ($Q$) estimation, making it less directly applicable to $V$-only architectures like A3C.
- Expert Quality Bounds: Further research is needed to determine the exact tolerance for "bad" expert data before it negatively impacts final convergence.
Conclusion
By theoretically grounding expert-guided updates for both actors and critics, this framework provides a robust "warm start" for DRL. It effectively bridges the gap between offline imitation and online reinforcement learning, achieving superior simulation efficiency even with sub-optimal demonstrations.
Summary updated