Predicting non-linear dynamics by stable local learning in a recurrent spiking neural network

Aditya Gilra, Wulfram Gerstner · DOI

TL;DR

This paper introduces FOLLOW, a novel, biologically plausible learning rule for spiking neural networks that enables them to learn and predict complex, non-linear dynamics. FOLLOW is local, online, and stable, allowing a network to accurately mimic systems like robotic arms and chaotic attractors, a significant step towards understanding how brains learn motor control.

What Problem Does This Paper Address?

The brain is remarkably adept at learning and predicting how our bodies move in response to motor commands. This involves building internal "forward models" that anticipate the consequences of our actions. However, how networks of spiking neurons, the brain's fundamental computational units, can learn these complex, non-linear dynamics using biologically realistic learning rules has been a major open question. Existing methods often rely on non-local learning rules (like backpropagation) or are limited to linear systems, making them less biologically plausible or broadly applicable. This paper aims to bridge this gap by proposing and validating a new learning rule that is local, online, and stable, even for highly complex dynamics.

Methods

The core innovation is the Feedback-based Online Local Learning Of Weights (FOLLOW) rule. This supervised learning scheme uses an auto-encoder architecture with a negative feedback loop. Here's a breakdown:

  • Network Architecture: A recurrent spiking neural network (RSNN) with heterogeneous leaky integrate-and-fire (LIF) neurons. A separate "command representation layer" translates motor commands into spiking activity.
  • Error Feedback: The difference between the network's predicted output and the actual system's output (the "error") is fed back into the recurrent network via fixed, random connections with a negative gain. This forces the network's output to closely follow the target dynamics from the outset.
  • Local Learning Rule: The FOLLOW rule updates the feedforward and recurrent synaptic weights. Crucially, the weight change at each synapse depends only on the presynaptic activity and a locally available "error current" signal projected onto the postsynaptic neuron. This avoids the need for global error signals or backpropagation through time.
  • Auto-encoder Pre-training: The error feedback mechanism relies on a pre-trained auto-encoder, where decoding weights are learned to reconstruct the error signal. This is a necessary component for the error to be locally available to each neuron.
  • Stability Analysis: The authors use Lyapunov stability theory to mathematically prove that the FOLLOW learning rule is stable and that the prediction error converges to zero asymptotically.

Datasets

The paper doesn't use traditional "datasets" in the sense of pre-collected data. Instead, they define and simulate several dynamical systems as reference models to train and test their spiking neural network. These include:

  • Linear Decaying Oscillator: A simple linear system to establish baseline performance.
  • Van der Pol Oscillator: A classic non-linear oscillator.
  • Lorenz System: A chaotic system demonstrating the ability to learn complex, unpredictable dynamics.
  • Two-Link Planar Arm Dynamics: A more biologically relevant model simulating arm movement under gravity, involving sequential integrations and non-linearities.

These systems are used to generate time-varying inputs and reference trajectories for the learning process.

Key Insights and Ideas

  • Local Error Signal is Key: The most significant insight is how a locally available error signal, derived from a global error but projected onto individual neurons, can drive stable and effective learning in spiking networks. This bypasses the biological implausibility of global error propagation.
  • Negative Feedback for Stability: The use of negative feedback with a high gain is crucial for ensuring that the network's output tracks the reference dynamics from the start, providing a consistent error signal for learning.
  • Learning Complex Dynamics: The ability to learn non-linear and chaotic dynamics, not just linear ones, is a major breakthrough. This suggests that spiking networks can indeed form sophisticated internal models of the world.
  • Slow Synaptic Changes: Unlike some previous methods (like FORCE learning), FOLLOW allows for slow synaptic changes, which is more consistent with biological learning processes.
  • Robustness: The learning rule demonstrates robustness to factors like sparse connectivity and noise in the error signal, further enhancing its biological plausibility.

Key Results

  • Accurate Mimicry of Dynamics: The FOLLOW learning scheme successfully enabled spiking networks to approximate the dynamics of all tested systems, including the non-linear van der Pol oscillator, the chaotic Lorenz system, and the complex two-link arm.
  • Error Convergence: Mathematical analysis and simulations showed that the prediction error converges to zero asymptotically, meaning the network accurately reproduces the target dynamics.
  • Open-Loop Prediction: After learning, the network could predict the system's behavior for a short time horizon even without error feedback, demonstrating the acquisition of a functional forward model.
  • Robustness Demonstrated: Learning remained effective even with reduced connectivity (down to ~25%) and moderate levels of noise in the error signal.

Limitations and Future Work

  • Realizability Assumption: The proof of stability relies on the assumption that the target dynamics are "realizable" by the network architecture. In practice, perfect realizability is limited, leading to approximation errors and potential weight drift. The authors acknowledge this and refer to adaptive control literature for techniques to mitigate such issues.
  • Auto-encoder Requirement: The current scheme requires a pre-learned auto-encoder for error encoding. Future work could explore biologically plausible ways to learn this component, perhaps using mirrored STDP or other local plasticity rules.
  • Dale's Law: The current implementation violates Dale's law (neurons are either excitatory or inhibitory). Future extensions could incorporate this constraint.
  • Sensory Feedback Delays: While the paper shows FOLLOW can learn dynamics, it also highlights that delays in sensory feedback can degrade learning. They propose a compensatory mechanism using the learned forward model, suggesting future work in control applications.
  • Generalization and Hierarchical Learning: The authors suggest exploring learning multiple dynamical transforms within a single network without interference, hierarchical learning with stacked recurrent layers, and learning inverse models for motor control.

Summary updated

BibTeX
@inproceedings{gilra2017predicting,
  author = {Aditya Gilra and Wulfram Gerstner},
  title = {{Predicting non-linear dynamics by stable local learning in a recurrent spiking neural network}},
  booktitle = {eLife},
  year = {2017},
  doi = {10.7554/elife.28295},
}
Figure