Task-Independent Spiking Central Pattern Generator: A Learning-Based Approach

Elie Aljalbout, Florian Walter, Florian Röhrbein, Alois C. Knoll

Abstract

Legged locomotion is a challenging task in the field of robotics but a rather simple one in nature. This motivates the use of biological methodologies as solutions to this problem. Central pattern generators (CPGs) are neural networks that are thought to be responsible for locomotion in humans and some animal species. As for robotics, many attempts were made to reproduce such systems and use them for a similar goal. One interesting design model is based on spiking neural networks (SNNs). This model is the main focus of this work, as its contribution is not limited to engineering but also applicable to neuroscience. This paper introduces a new general framework for building central pattern generators that are task-independent, biologically plausible, and rely on learning methods. The abilities and properties of the presented approach are not only evaluated in simulation but also in a robotic experiment. The results are very promising as the used robot was able to perform stable walking at different speeds and to change speed within the same gait cycle.

Introduction

Legged locomotion remains a classic "easy for nature, hard for robotics" problem. In biological organisms, rhythmic movements like walking are governed by Central Pattern Generators (CPGs)—specialized neural circuits in the spinal cord that produce rhythmic patterns without requiring constant sensory feedback or descending commands from the brain.

In robotics, engineers typically model CPGs using systems of coupled oscillators (SCOs) due to their mathematical tractability. However, SCOs lack biological plausibility as they do not reflect the spiking nature of real neurons. Conversely, Spiking Neural Networks (SNNs) offer biological realism but are notoriously difficult to tune. Most existing SNN-based CPGs are either small-scale, require manual weight adjustment, or rely on slow-converging evolutionary algorithms. This research bridges that gap by proposing an SNN-based CPG framework that is easy to train, scalable, and capable of real-time speed modulation.

Proposed Architecture

The authors propose a three-tier architecture designed to decouple the generation of rhythm from the formation of specific motor patterns. This modularity allows the system to be task-independent, as the underlying rhythm generator can remain constant while the pattern-forming layers are retrained for different gaits or robotic platforms.

The three-tier architecture of the proposed spiking CPG framework, illustrating the hierarchy from the Neural Phase Generator to the Motor Neurons.

1. Neural Phase Generator (NPG)

The NPG serves as the "heartbeat" of the system. It consists of modules containing H (Half-center), Q (Quiescent), and T (Tonic) neurons that create a basic oscillation. A key innovation in this design is the inclusion of a tonic input—a continuous signal from a higher-level controller that determines the frequency of the rhythm. By increasing the frequency of this tonic input, the NPG accelerates its cycle, allowing for seamless speed modulation.

Detailed schematic of the Neural Phase Generator (NPG) modules and their synaptic connections (exhibiting and inhibiting).

2. Pattern Forming Network (PFN)

This layer receives the rhythmic pulses from the NPG and maps them into a higher-dimensional space. The PFN utilizes "Inhibiting Networks" to ensure that neuron spikes are well-distributed across the gait cycle. This distribution is critical for the subsequent learning phase, as it provides a rich temporal basis for complex movements.

3. Pool of Motor Neurons

The final layer consists of motor neurons that receive inputs from the PFN. Their discrete spikes are translated into continuous motor commands (joint angles) using population rate coding. This allows the robot to execute smooth, coordinated movements.

Learning via Remote Supervision

To overcome the limitations of manual tuning and evolutionary strategies, the framework employs the Remote Supervision Method (ReSuMe). ReSuMe is a supervised learning algorithm for SNNs that adjusts synaptic weights between the PFN and the Motor Neurons based on a "teacher" signal. Instead of complex optimization, the network learns to mimic any arbitrary walking pattern by observing a target spiking sequence. This approach is significantly more efficient than evolutionary methods and allows the network to scale to hundreds of neurons.

Experimental Results

The framework was evaluated through both extensive simulations and physical robotic experiments:

  • Simulation Fidelity: In tests with up to 250 motor neurons, the system learned target patterns with an average spike shift error of only ~2.1ms. This demonstrates the high precision of the ReSuMe-trained PFN in reproducing complex rhythmic signals.
  • Real-World Validation: The controller was deployed on an Allbot VR408 quadruped robot. The robot successfully demonstrated stable walking and the ability to change its speed mid-cycle by simply adjusting the tonic input frequency.
  • Scalability: The framework proved robust across various network sizes (150 to 500 neurons in the PFN), suggesting it can be applied to robots with high degrees of freedom.

Conclusion and Future Work

This work presents a significant step toward biologically plausible robotic control. By combining the rhythmic properties of CPGs with the efficiency of supervised learning in SNNs, the researchers have created a flexible, task-independent locomotion framework.

Future research will focus on integrating Reinforcement Learning (RL) to allow robots to discover optimal gaits autonomously, removing the need for pre-defined teacher signals. Additionally, incorporating sensory feedback loops will be essential for adapting these gaits to uneven or unpredictable terrain.

Summary updated

BibTeX
@inproceedings{aljalbout2020task,
  author = {Elie Aljalbout and Florian Walter and Florian Röhrbein and Alois C. Knoll},
  title = {{Task-Independent Spiking Central Pattern Generator: A Learning-Based Approach}},
  booktitle = {Neural Process. Lett},
  year = {2020},
  url = {https://openreview.net/forum?id=mGSUUQFvsO7},
}
Figure