Puppeteer and Marionette: Learning Anticipatory Quadrupedal Locomotion Based on Interactions of a Central Pattern Generator and Supraspinal Drive

Milad Shafiee, Guillaume Bellegarda, Auke Jan Ijspeert · DOI

Introduction

In biological systems, locomotion is not a monolithic process controlled solely by the brain. Instead, it emerges from a complex interplay between the supraspinal drive (signals from the brain) and Central Pattern Generators (CPGs)—neural circuits located in the spinal cord that produce rhythmic motor patterns. While CPGs are highly efficient for steady-state walking, complex and "anticipatory" tasks, such as navigating gaps or obstacles, require precise, non-rhythmic adjustments.

This research investigates the division of labor between these two systems by implementing a "Puppeteer and Marionette" framework in quadrupedal robots. By using Deep Reinforcement Learning (DRL), the study explores whether the brain simply modulates existing spinal rhythms or if it must bypass them entirely to achieve high-precision foot placement.

Hierarchical Control Architecture

The researchers proposed a hierarchical architecture consisting of two primary layers:

  1. The Marionette (CPG Layer): This layer utilizes amplitude-controlled phase oscillators to generate the fundamental rhythmic gait of the robot. It handles the repetitive, cyclic nature of walking.
  2. The Puppeteer (Supraspinal Policy): A neural network trained via Proximal Policy Optimization (PPO) acts as the high-level controller.

The core innovation of this study lies in the Action Space, which allows the Puppeteer to influence the Marionette in two distinct ways:

  • Modulation: The policy can adjust the frequency ($\omega$) and amplitude ($\mu$) of the CPG oscillators, essentially speeding up or slowing down the rhythmic gait.
  • Bypassing: The policy can apply direct Cartesian offsets ($x_{off}$, $z_{off}$) to the foot positions. This allows the "Puppeteer" to pull the strings of the legs directly, overriding the CPG's rhythmic output for precise movements.

Experimental Methodology

The framework was developed and tested within the PyBullet physics simulator using models of the Unitree A1 and Go1 quadrupedal robots. The primary challenge was a Gap Crossing Task, where the robot encountered seven consecutive gaps of varying widths (14 to 20 cm, representing up to 50% of the robot's body length).

To understand the importance of sensory input, the authors evaluated 16 different combinations of proprioceptive data (e.g., joint angles) and exteroceptive data (e.g., distance to the gap). This allowed them to identify which features were most critical for successful navigation.

Key Insights and Findings

The Necessity of Direct Control

The study found a stark contrast in performance based on the control mode. When the policy was restricted to only modulating the CPG rhythm, the success rate for gap crossing was a mere 17%. However, when the policy was allowed to bypass the CPG and apply direct foot offsets, the success rate soared to 99%. This suggests that while rhythmic patterns are useful for travel, precise anticipatory tasks require the "brain" to take direct control of limb placement.

CPGs as a Smoothing Filter

While direct control is necessary for accuracy, it often results in jerky, inefficient movements. The researchers observed that the CPG dynamics act as a natural filter. The best balance of performance was found in configurations that combined CPG modulation with direct offsets, resulting in high success rates (97%), high speeds (Froude number 0.55), and significantly improved energy efficiency (Cost of Transport).

The "Front-Leg Memory" Hypothesis

A fascinating biological parallel emerged during training: the robot only required exteroceptive data (gap distance) for its front legs to cross successfully. The policy learned to use this information to guide the front legs and then "remembered" the gap's location to coordinate the hind limbs as they reached the obstacle later. This mirrors observations in animals like cats and horses, which use vision primarily for front-limb placement while relying on a "kinematic memory" for their hind limbs.

Results and Real-World Deployment

The researchers successfully transferred their findings from simulation to a physical Unitree Go1 robot. Without the need for explicit dynamics modeling or Model Predictive Control (MPC), the robot successfully crossed gaps of 7 cm and 15 cm at speeds of 0.7 m/s. This demonstrates that the bio-inspired hierarchical approach is robust enough to handle the noise and latency of real-world hardware.

Conclusion

The "Puppeteer and Marionette" framework provides a compelling model for how biological and robotic systems can balance efficiency with precision. By allowing a high-level policy to both modulate and bypass rhythmic spinal circuits, robots can achieve the smoothness of a natural gait alongside the accuracy required for complex terrain. Future work may expand this framework to handle more diverse obstacles, such as stairs or slippery surfaces, and explore more complex neural coupling between limbs.

Summary updated

BibTeX
@inproceedings{shafiee2023puppeteer,
  author = {Milad Shafiee and Guillaume Bellegarda and Auke Jan Ijspeert},
  title = {{Puppeteer and Marionette: Learning Anticipatory Quadrupedal Locomotion Based on Interactions of a Central Pattern Generator and Supraspinal Drive}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10160706},
}
Figure