Abstract: We present a data-driven deep reinforcement learning (DRL) method for the optimization of a hierarchically structured control policy that includes the central pattern generator. This method, which is as a whole referred to as the hierarchical reinforcement learning with the central pattern generator (HRL-CPG), is then evaluated with the expectation of its applicability in real robot controls. We observed that stable gait motions were gained in a reasonably small number of trials and errors. Thus, it can be deduced that our HRL-CPG can be a candidate DRL method that enables dynamical systems such as real or realistic robots to adapt to a variety of environments within a moderate physical time.
Introduction: Bridging the Reality Gap
While Deep Reinforcement Learning (DRL) has demonstrated remarkable success in teaching robots complex behaviors within simulated environments, it often encounters a "sample efficiency" barrier when transitioning to the real world. Standard DRL typically requires millions of trials, a requirement that is physically impractical for hardware due to mechanical wear and the necessity for constant human oversight.
Furthermore, the "reality gap"—the discrepancy between simulated physics and real-world dynamics like friction and contact—frequently causes policies trained in simulation to fail upon deployment. This research addresses these challenges by incorporating prior biological knowledge into the controller. By utilizing a Central Pattern Generator (CPG)—a neural circuit found in animals that produces rhythmic movements—the authors narrow the search space for the RL agent, resulting in faster learning and increased robustness.
The HRL-CPG Architecture
The core of the proposed method is the HRL-CPG framework, which consists of two primary layers designed to manage the complexity of quadruped locomotion.
- The Coupled Dynamical System (Low Level): This layer integrates the robot with a Phase Oscillator Network (PON) based on the Kuramoto model. Instead of the RL agent directly controlling every motor, it interacts with these oscillators, which provide a stable, rhythmic "heartbeat" for the gait.
- The Joint Policy (High Level): An RL agent, trained using Soft Actor-Critic (SAC), outputs modulation signals to adjust phase relationships between legs, base frequency, and joint waveforms.
A key novelty is the use of Fourier expansion for waveform modulation. This allows the agent to "shape" the joint trajectory beyond simple sine waves, discovering the most efficient leg paths for specific terrains.
Key Insights and Robustness
The HRL-CPG approach offers several advantages over vanilla RL methods. By constraining the RL to work through a CPG, the agent is naturally guided toward rhythmic, gait-like behaviors, preventing the erratic movements common in early-stage training.
Ablation studies highlighted that the ability to modulate base frequency is critical for stabilizing faster gaits. Additionally, the CPG's internal dynamics act as a buffer; even with significant sensor noise, the system's entrainment properties maintain a stable gait, making it more robust than standard neural network controllers.
Results and Performance
The system was evaluated across five distinct terrain configurations, including slopes and varying friction coefficients. The results demonstrate significant improvements in efficiency and stability:
- High Sample Efficiency: The robot achieved stable gaits in approximately 30,000 learning steps, translating to roughly 2.7 hours of physical time. This efficiency makes real-world training a viable possibility.
- Superior Performance: HRL-CPG outperformed baseline methods like Vanilla SAC and Deep Transition across all tested terrains.
- Robustness: In low-friction environments, the full HRL-CPG model maintained the highest survival rate, proving its adaptability to challenging conditions.
Limitations and Future Directions
While HRL-CPG represents a significant advancement, the authors note several areas for future work. The current model assumes uniform terrain and lacks visual sensors, which are necessary for navigating complex environments with obstacles like stairs or potholes. Additionally, while the system can modify a gait, it does not yet autonomously switch between distinct modes (e.g., from a trot to a gallop). Developing a higher-level gait-switching mechanism remains a primary objective for future research.
Summary updated