Abstract
Due to the sparse rewards and high degree of environment variation, reinforcement learning approaches such as Deep Deterministic Policy Gradient (DDPG) are plagued by issues of high variance when applied in complex real world environments. We present a new framework for overcoming these issues by incorporating a stochastic switch, allowing an agent to choose between high and low variance policies. The stochastic switch can be jointly trained with the original DDPG in the same framework. In this paper, we demonstrate the power of the framework in a navigation task, where the robot can dynamically choose to learn through exploration, or to use the output of a heuristic controller as guidance. Instead of starting from completely random moves, the navigation capability of a robot can be quickly bootstrapped by several simple independent controllers. The experimental results show that with the aid of stochastic guidance we are able to effectively and efficiently train DDPG navigation policies and achieve significantly better performance than state-of-the-art baselines models.
Introduction
Deep Reinforcement Learning (DRL), particularly the Deep Deterministic Policy Gradient (DDPG) algorithm, offers a powerful approach for continuous control in robotics. However, training these agents for real-world navigation remains challenging due to two primary hurdles: high variance and sample inefficiency. Early in training, agents exploring randomly often spend excessive time in "trivial" states, such as repeatedly colliding with walls, leading to unstable gradients. Furthermore, learning basic behaviors from scratch requires millions of trials, which is computationally expensive and risky for physical hardware. This paper proposes a "stochastic switch" framework to bridge the gap between reliable heuristic controllers and adaptive DRL agents.
Methodology
The proposed framework integrates three core modules: Perception, Controllers, and a Stochastic Switch.
Perception and Controllers
A Convolutional Neural Network (CNN) processes environmental inputs (e.g., depth images or laser scans) into a compressed representation. The control layer maintains three independent action sources:
- DDPG Agent: A standard DRL agent that learns through exploration.
- PID Controller: A classic control loop driving the robot toward a target.
- Obstacle Avoidance (OA): A geometric heuristic designed to prevent collisions.
The Stochastic Switch
The "stochastic switch" is a neural network that outputs a probability distribution over these controllers. Unlike traditional imitation learning, where an agent copies a teacher, this agent chooses when to utilize heuristic guidance. A stick-breaking construction is used to model the switch, introducing a beneficial bias toward the DRL agent as training progresses. The switch is optimized using the REINFORCE algorithm with control variates to ensure stable gradient updates.
Experimental Setup
The model was evaluated across three environments of increasing complexity:
- ROS Stage: A 2D simulator for quantitative analysis using laser scans.
- ROS Gazebo: A high-fidelity 3D physics simulator utilizing depth camera data.
- Real-World Deployment: A Turtlebot 2 platform was used to test "zero-shot" transfer from the Gazebo-trained policy to a physical room.
Results and Discussion
The "SGuidance" model demonstrated significant improvements over vanilla DDPG in both convergence speed and final performance.
Key findings include:
- Stability: SGuidance exhibited drastically lower variance in learning curves compared to DDPG, which often suffered from catastrophic forgetting.
- Internalization: Post-training, the heuristic controllers could be disabled entirely. The DDPG agent maintained high performance, proving it had successfully internalized the navigation task.
- Zero-Shot Transfer: Policies trained in simulation were robust enough for direct deployment in real-world environments without fine-tuning.
- Baseline Comparison: SGuidance outperformed standard ROS navigation stacks (like
MoveBase) despite lacking access to a global map.
Conclusion
By treating heuristic bias as a "positive bias" that reduces early gradient variance, the stochastic guidance framework effectively bootstraps the learning process. While current limitations include the manual selection of heuristics and fixed switching frequencies, the framework provides a generic approach that could be extended to other DRL algorithms like PPO or SAC. Future work will focus on automating the phase-out of heuristics during the training loop.
Summary updated