TL;DR
This paper presents a novel method, FOLLOW, for training spiking neural networks to control complex, non-linear dynamics. By learning an "inverse model" of a two-link arm's movement, the network can generate motor commands to accurately follow desired trajectories, demonstrating a biologically plausible approach to motor control.
What Problem Does This Paper Address?
Controlling non-linear dynamical systems, like a robotic arm or a biological limb, with spiking neural networks (SNNs) is a significant challenge. A key difficulty lies in training the weights of hidden neurons using local, biologically plausible learning rules. Traditional methods like backpropagation are non-local and thus biologically unrealistic. Furthermore, achieving precise motor control requires the system to learn an internal model of its own dynamics to predict the necessary motor commands for desired movements. This paper tackles the problem of learning such an inverse model in SNNs using a local, stable, and online learning rule.
Methods
The authors employ a supervised learning scheme called Feedback-based Online Local Learning Of Weights (FOLLOW). This scheme is designed to train the weights of hidden neurons in SNNs using only local information (pre-synaptic activity and post-synaptic feedback).
Here's a breakdown of their approach:
- Inverse Model Learning: The primary goal is to train the SNN to act as an "inverse model." This means that given the current state of the arm (joint angles and velocities), the network learns to predict the motor command (torque) that produced that state. This is achieved by feeding the arm's state trajectory into the network.
- Differential Feedforward Network Architecture: They found that a specific architecture, the "differential feedforward network," performed best. This network uses two parallel feedforward layers that receive the input state either undelayed or delayed by a small interval ($\Delta$). This architecture is hypothesized to help the network approximate temporal derivatives, crucial for inferring dynamics.
- FOLLOW Learning Rule: The core of the method is the FOLLOW learning rule. It adjusts connection weights based on pre-synaptic firing and a feedback signal representing the error in the inferred motor command. This error signal is derived by comparing the network's inferred command with a delayed version of the actual command that generated the observed trajectory.
- Auto-encoder Pre-training: A crucial step involves pre-training the output weights of the network to act as an auto-encoder. This allows the error feedback to effectively act as a negative feedback signal, stabilizing the learning process and enabling the hidden weights to be updated using local information.
- Closed-Loop Control: After training the inverse model, the network is used in a closed-loop control system. The desired trajectory is fed to the trained network, which outputs motor commands. A proportional feedback loop is then added, comparing the desired state with the actual arm state and feeding the error back into the network to improve tracking accuracy.
Datasets
The paper uses a simulated two-link arm model as its "dataset." The arm's dynamics are defined by equations of motion including gravity and joint friction. Random 2D torque inputs are applied to the arm to generate diverse state trajectories, mimicking "motor babbling" during development. These generated trajectories serve as the input for training the inverse model. No external, pre-existing datasets are used.
Key Insights and Ideas
- Local Learning for Complex Dynamics: The paper demonstrates that a local, online learning rule (FOLLOW) can successfully train spiking neural networks to control complex, non-linear dynamics, overcoming a major hurdle in biologically plausible AI.
- Differential Feedforward Architecture: The "differential feedforward" architecture, by incorporating delayed inputs, proves effective in learning temporal derivatives, which is critical for inferring dynamic systems.
- Inverse Model as a Control Primitive: Learning an inverse model of the body's dynamics is a powerful strategy for motor control, allowing the network to generate appropriate commands for desired movements.
- Auto-encoder for Stability: Pre-training output weights as an auto-encoder is a clever trick that stabilizes the FOLLOW learning process, making it robust and effective.
- Spiking Networks for Motor Control: The work highlights the potential of spiking neural networks for real-time motor control, offering advantages in power efficiency and biological plausibility.
Key Results
- The differential feedforward network architecture achieved the lowest test error among the tested feedforward and recurrent architectures for learning the inverse model.
- After training with FOLLOW, the network could infer the correct motor command given the arm's state trajectory, even without the error feedback loop (demonstrating successful inverse model learning).
- In closed-loop control, the trained inverse model, combined with proportional feedback, enabled the arm to accurately reproduce complex trajectories like drawing a diamond and a star. Open-loop control showed reasonable but less precise tracking.
- The optimal delays for the differential feedforward network were found to be $\Delta \approx 50$ ms and $\Delta u \approx 50$ ms, suggesting these values are crucial for approximating temporal derivatives and handling causal delays in control.
Limitations and Future Work
- Dale's Law Violation: The learned network weights can be both positive and negative, violating Dale's law (which states that neurons are either excitatory or inhibitory). While this doesn't prevent implementation in neuromorphic hardware, it's a deviation from biological neuron behavior.
- Approximation Errors: The paper acknowledges that approximation errors due to a finite number of neurons can lead to drift in weights and increasing errors over time. However, they found these issues were manageable with their chosen architecture and parameters, unlike some other adaptive control methods.
- Future Work: The authors suggest several exciting directions:
- Extending the approach to more complex dynamical systems and robotic arms.
- Implementing the control scheme on neuromorphic hardware.
- Making the FOLLOW scheme more biologically plausible.
- Integrating reinforcement learning for higher-level goal generation.
- Developing hierarchical motor control systems.
Summary updated