Generating Oscillation Activity with Echo State Network to Mimic the Behavior of a Simple Central Pattern Generator

Tham Yik Foong, Danilo Vasconcellos VargasarXiv 2023 · DOI

Introduction

In biological systems, rhythmic behaviors such as locomotion, respiration, and mastication are governed by Central Pattern Generators (CPGs). These neural circuits produce stable, periodic signals autonomously, without requiring continuous descending commands or sensory feedback. Replicating this efficiency in robotics has traditionally involved either rigid mathematical oscillators or complex neural networks requiring external feedback loops. This research introduces the Self-Oscillatory Echo State Network (SO-ESN), a model capable of generating spontaneous, self-sustaining, and diverse oscillations, effectively mimicking biological CPGs with minimal computational overhead.

Methodology

The SO-ESN is built upon the framework of Reservoir Computing, specifically Echo State Networks (ESNs). Unlike standard ESNs that are designed to be stable and "damped" (returning to a zero state without input), the SO-ESN is configured to maintain internal activity.

The core architecture consists of a reservoir of neurons with fixed, random internal weights ($W$). To enhance the diversity of generated signals, the researchers moved beyond fully connected reservoirs to a topology of weakly coupled sub-reservoirs. Each sub-reservoir can be tuned with distinct leaking rates ($a$), allowing the network to maintain a broad library of frequencies simultaneously. During the training phase, only the output weights ($W_{out}$) are optimized using Ridge Regression to map the reservoir's internal states to a target waveform.

Architecture of the SO-ESN featuring weakly coupled sub-reservoirs and a trained readout layer.

The model's performance was evaluated using three benchmark signals: sinusoidal waves, square waves, and the chaotic Lorenz attractor. These tests determine the network's ability to handle both simple periodic rhythms and complex, non-linear trajectories.

Key Insights: Parameter Tuning and Dynamics

The transition from a stable system to an oscillatory one is primarily governed by two parameters: the spectral radius ($\rho$) and the leaking rate ($a$).

  1. The Spectral Radius Switch: In conventional ESN applications, the spectral radius is kept below 1.0 to ensure stability. However, for self-sustained oscillation, the authors found that a spectral radius greater than 1.0 acts as a critical trigger for spontaneous activity.
  2. Leaking Rate as a Frequency Knob: While the spectral radius determines the existence of oscillation, the leaking rate controls the temporal scale. Lower leaking rates favor slower oscillations with longer memory, while higher rates produce rapid signals.
  3. Diversity through Sub-reservoirs: A single large reservoir often synchronizes to a dominant frequency. By partitioning the reservoir into weakly coupled groups, the SO-ESN generates a rich feature set of multiple frequencies, which the readout layer can then linearly combine into complex waveforms.
Parameter space exploration showing the ratio of self-oscillatory reservoirs generated as a function of spectral radius and leaking rate, with corresponding neuron state examples.

Furthermore, the researchers identified "oscillation motifs"—small ensembles of neurons (e.g., two-neuron pairs with reciprocal inhibition) that act as fundamental building blocks for rhythmic activity, mirroring the "half-center" oscillators found in nature.

Results

The SO-ESN demonstrated high precision in reproducing both smooth sinusoidal and discontinuous square waves. Notably, the system successfully tracked the chaotic trajectory of the Lorenz attractor, proving its capability in handling complex dynamical systems.

Analysis of population dynamics revealed that the probability of spontaneous oscillation increases with the number of neurons ($N$). However, by intentionally initializing the reservoir with the identified two-neuron "oscillation motifs," the success rate of generating a functional CPG-like reservoir was significantly improved, even for small populations. Additionally, there appears to be an "optimal complexity" regarding the number of sub-reservoirs; too few limit signal diversity, while too many result in sub-reservoirs too small to sustain activity.

Conclusion and Future Work

The SO-ESN provides a simplified yet powerful method for generating autonomous rhythmic signals for bio-inspired robotics. By leveraging the inherent dynamics of a reservoir rather than complex feedback loops, it offers a faster and more flexible alternative to traditional CPG models.

Future research will focus on reducing the reliance on random initialization through evolutionary algorithms to evolve reservoirs with specific desired characteristics. The integration of neuromodulators is also planned, which would allow higher-level controllers to dynamically adjust the CPG's output, enabling transitions between different movement patterns like walking and running.

Summary updated

BibTeX
@misc{foong2023generating,
  author = {Tham Yik Foong and Danilo Vasconcellos Vargas},
  title = {{Generating Oscillation Activity with Echo State Network to Mimic the Behavior of a Simple Central Pattern Generator}},
  year = {2023},
  eprint = {2306.10927},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.10927},
}
Figure