Abstract
Model-based reinforcement learning (RL) offers a path toward high data efficiency in robotics by learning dynamics models from limited interactions. While Gaussian Process (GP)-based methods like PILCO have set the standard for efficiency, they struggle with high-dimensional state spaces and large datasets due to cubic computational scaling. This paper introduces critical stability improvements to Deep-PILCO, which replaces GPs with Bayesian Neural Networks (BNNs). By incorporating common random numbers (the PEGASUS trick), gradient clipping, and log-normal multiplicative noise, the proposed framework achieves GP-level data efficiency while scaling to complex tasks, including 3D maneuvers for an underwater hexapod robot.
Introduction
In real-world robotics, data collection is often the primary bottleneck. Model-based RL addresses this by learning a "world model" of the robot's dynamics and using it to optimize a policy through simulated trajectories—a process often described as the robot "dreaming" to find an optimal strategy. Historically, PILCO (Probabilistic Inference for Learning Control) has been the gold standard for data efficiency. However, its reliance on Gaussian Processes leads to $O(n^3)$ computational complexity, making it unusable for systems with many sensors or long-duration datasets.
Deep-PILCO was designed to overcome these scaling issues by using Neural Networks, which scale linearly with data. However, early iterations suffered from training instability and lower data efficiency compared to GPs. The authors of this paper identify that the core issue was not the capacity of the neural networks, but rather the high variance in gradient estimates during policy optimization. This research bridges that gap, providing a robust framework for synthesizing neural network controllers in complex robotic systems.
Methodology
The authors propose three primary enhancements to the Deep-PILCO framework to stabilize training and improve efficiency:
- Common Random Numbers (PEGASUS): Stochastic optimization in RL often suffers from "noisy" gradients because the simulation's randomness changes between optimization steps. By fixing the random seeds for BNN dropout masks and state transitions during a single optimization step, the objective function becomes deterministic and smoother. This "PEGASUS trick" turns a chaotic optimization landscape into a manageable one, leading to much faster convergence.
- Gradient Clipping: Optimizing a policy through a learned dynamics model is mathematically similar to training a Recurrent Neural Network (RNN) over long time horizons. This frequently leads to "exploding gradients," where small changes in weights cause massive, unstable updates. The authors apply gradient clipping to keep updates within a stable range during Backpropagation Through Time (BPTT).
- Log-Normal Multiplicative Noise: Instead of using standard binary dropout (where weights are either fully active or inactive), the framework employs BNNs with truncated log-normal noise. This allows the model to learn the optimal level of uncertainty (the dropout probability) directly from the data. This "principled uncertainty" helps the robot maintain robust exploration even when the dynamics model is imperfect.
Experimental Evaluation
The improved Deep-PILCO was tested across three environments of increasing complexity:
- Cart-pole Swing-up: A standard benchmark where a pole must be swung from a hanging position to a balanced upright position.
- Double Cart-pole: A significantly harder, chaotic version with two joined poles that requires precise, high-frequency control.
- AQUA Robot: An underwater hexapod (swimming robot) with a 13-dimensional state space and 18-dimensional action space. This environment represents a significant jump in dimensionality over typical RL benchmarks.
Results and Discussion
The proposed enhancements allow Deep-PILCO to match the data efficiency of GP-based PILCO on standard tasks while excelling in more complex scenarios where GPs fail to scale.
- Efficiency and Convergence: On the cart-pole task, the model reached near-optimal performance in just 10–15 interactions, totaling about 30 seconds of real-world experience. Crucially, it successfully solved the Double Cart-pole swing-up, a task where the original Deep-PILCO and RBF-based PILCO often failed to converge.
- Complex Robotic Maneuvers: For the AQUA robot, the algorithm learned complex 3D maneuvers in remarkably few trials. Tasks included "knife-edge" rolls (90-degree roll), "belly-up" swimming, and full corkscrews.
As shown in the figure above, the robot is able to execute a coordinated sequence of movements. Full 6-leg control for a corkscrew maneuver was achieved in roughly 50 trials. This level of efficiency is significant because it allows for the entire training process to be performed on a physical robot in a single afternoon of testing, rather than requiring weeks of data collection.
Conclusion and Future Work
By stabilizing the training of BNN-based dynamics models, this work makes deep neural network controllers practical for data-efficient robotics. The integration of the PEGASUS trick and gradient clipping effectively mitigates the variance issues that previously hindered Deep-PILCO. While the results in high-fidelity simulations are promising, future work will focus on deploying these exact controllers on physical AQUA platforms in open-water environments. Additionally, while log-normal noise reduces some tuning requirements, the authors note that sensitivity to other hyperparameters like learning rates remains an area for further investigation.
Summary updated