Learning with Training Wheels: Speeding up Training with a Simple Controller for Deep Reinforcement Learning

Linhai Xie, Sen Wang, Stefano Rosa, Andrew Markham, Niki Trigoni

TL;DR

Deep Reinforcement Learning (DRL) is notoriously sample-inefficient, making it difficult to train robots from scratch. This paper introduces "Assisted DDPG" (AsDDPG), a framework that uses a simple, classical controller (like a PID) as "training wheels" to guide early exploration before the neural network takes over. This drastically speeds up training, improves hyperparameter stability, and allows agents to learn complex navigation tasks even with sparse rewards.

What Problem Does This Paper Address?

Training a robot to navigate using Deep Reinforcement Learning requires millions of trials. In a standard DRL setup, the agent begins by exploring its environment randomly. For a navigation task, random exploration usually means the robot just spins in circles or immediately crashes into walls. Because it rarely reaches the goal by chance, it rarely receives a positive reward, making learning incredibly slow and frustrating.

While researchers have tried using imitation learning (copying human demonstrations) to speed this up, gathering perfect human data is expensive and tedious. The authors tackle this gap by asking: instead of perfect human demonstrations, can we use a highly flawed, basic algorithmic controller to kickstart the learning process, and then discard it once the neural network gets the hang of things?

Methods

The authors build upon Deep Deterministic Policy Gradient (DDPG), a popular off-policy actor-critic algorithm for continuous control. They introduce a novel architecture called Assisted DDPG (AsDDPG).

Here is how the "training wheels" approach works:

  • The Inputs: The network takes in stacked, dense laser scans (processed by 1D Convolutional Neural Networks), the robot's current velocity, and the target's relative position.
  • The External Controller: A simple Proportional (P) controller is running in the background. It knows how to drive in a straight line toward the target, but it has no idea how to avoid obstacles.
  • The Critic-DQN Switch: The core novelty is an augmented Critic network. It has two branches. One evaluates the continuous action proposed by the Actor network. The other is a Deep Q-Network (DQN) that acts as a discrete switch: it evaluates whether the robot should use the Actor's action or the External Controller's action to maximize future rewards.
  • Off-Policy Learning: Because AsDDPG learns from a replay buffer, the Actor network learns from the experiences generated by both itself and the external controller.

Initially, the simple controller yields higher rewards than random network actions, so the Critic-DQN relies on it. As the Actor network learns from these sensible trajectories, it figures out how to avoid obstacles. At this point, the Actor's policy becomes objectively better than the simple controller, and the Critic-DQN naturally stops flipping the switch to the external controller.

Datasets

The authors evaluate their approach in simulated environments and the real world:

  • Stage Simulator (2D): Three custom environments of increasing difficulty: Empty, Simple (few obstacles), and Complex (many obstacles).
  • Gazebo Simulator (3D): Used to train the model for real-world transfer.
  • Real-World: A physical Pioneer robot equipped with a Hokuyo laser scanner, navigating a room with physical obstacles.

Key Insights and Ideas

  • Self-Detaching Training Wheels: The beauty of AsDDPG is that you don't need to manually program a schedule to phase out the external controller. The Critic-DQN learns to drop the controller naturally. Because the simple controller crashes into obstacles, the neural network eventually realizes it can get a higher reward by steering around them, rendering the controller obsolete.
  • Robustness to Hyperparameters: Standard DDPG is notoriously brittle; changing the number of layers or neurons can cause training to fail completely. AsDDPG stabilizes training across different network sizes because the external controller guarantees a baseline level of sensible, goal-directed data in the replay buffer.
  • Solving the Sparse Reward Problem: In complex environments where the robot only gets a reward upon reaching the goal (sparse reward), standard random exploration fails. The agent just learns to crash immediately to avoid time penalties. AsDDPG succeeds because the simple controller occasionally guides the robot to the goal, providing the crucial "aha" moment for the neural network to learn from.

Key Results

  • Faster and More Stable: Across three different network architectures (varying layers and neurons), AsDDPG converged reliably and faster than standard DDPG. Standard DDPG actually failed to learn a viable policy on one of the architectures.
  • Sparse Reward Mastery: In the "Complex" simulated world with sparse rewards, standard DDPG never reached the goal. AsDDPG, however, learned a highly successful policy in just ~3,000 training steps.
  • Real-World Transfer: The policy trained in the Gazebo simulator successfully transferred to the physical Pioneer robot without fine-tuning. The robot smoothly navigated around physical obstacles to reach sequential targets.

Limitations and Future Work

  • Limitations: The framework requires the existence of a baseline controller. While it doesn't need to be perfect, its parameters do affect training. For example, the authors noted that if the external controller is tuned to drive too fast, it overshoots the target, which temporarily confuses the neural network and slows down the learning process.
  • Future Work: The authors plan to apply this "training wheels" framework to other complex robotic domains beyond navigation, specifically highlighting robot arm manipulation as their next target.

Summary updated

BibTeX
@inproceedings{xie2018learning,
  author = {Linhai Xie and Sen Wang and Stefano Rosa and Andrew Markham and Niki Trigoni},
  title = {{Learning with Training Wheels: Speeding up Training with a Simple Controller for Deep Reinforcement Learning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2018},
  url = {https://openreview.net/forum?id=17RBVlXIzi},
}

Loading related content...

Figure