EqSpike: Spike-driven Equilibrium Propagation for Neuromorphic Implementations

Erwann Martin, Maxence Ernoult, Jérémie Laydevant, Shuai Li, Damien Querlioz, Teodora Petrisor, Julie GrollierarXiv 2020

Abstract

Finding spike-based learning algorithms that can be implemented within the local constraints of neuromorphic systems, while achieving high accuracy, remains a formidable challenge. Equilibrium Propagation is a promising alternative to backpropagation as it only involves local computations, but hardware-oriented studies have so far focused on rate-based networks. In this work, we develop a spiking neural network algorithm called EqSpike, compatible with neuromorphic systems, which learns by Equilibrium Propagation. Through simulations, we obtain a test recognition accuracy of 97.6% on MNIST, similar to rate-based Equilibrium Propagation, and comparing favourably to alternative learning techniques for spiking neural networks. We show that EqSpike implemented in silicon neuromorphic technology could reduce the energy consumption of inference and training respectively by three orders and two orders of magnitude compared to GPUs. Finally, we also show that during learning, EqSpike weight updates exhibit a form of Spike Timing Dependent Plasticity, highlighting a possible connection with biology.

Introduction

Training deep spiking neural networks (SNNs) presents a significant challenge in neuromorphic computing. While standard Backpropagation (BP) achieves high accuracy, its spatial non-locality makes it difficult to implement on-chip where synapses only have access to local information. Conversely, biologically inspired rules like Spike-Timing-Dependent Plasticity (STDP) are local and hardware-friendly but often lack the global optimization capabilities required for high-performance tasks.

EqSpike addresses this gap by adapting Equilibrium Propagation (EP) for a purely event-driven, spiking framework. EP treats learning as a physical system minimizing energy, where gradients are calculated locally through the network's own dynamics.

Methods: The EqSpike Framework

EqSpike operates in two distinct phases to achieve local learning:

  1. Free Phase: The network receives input and settles into a steady state, performing inference.
  2. Nudging Phase: Output neurons are "pushed" toward the target state, creating a force that propagates backward through the network dynamics to compute error gradients.
Overview of the EqSpike framework, including the two-phase operation, local synaptic learning rules, and the rate extraction circuit.

Local Learning and Rate Extraction

A core innovation of EqSpike is its ability to compute the derivative of the firing rate (rate acceleration, $\dot{\rho}$) using local circuits. This is achieved through:

  • Rate Extraction: A leaky integrator (LI) converts spike trains into a signal proportional to the firing rate.
  • Derivative Computation: By delaying this signal and subtracting it from the current value, the circuit approximates $\dot{\rho}$ in real-time.

The resulting weight update follows a two-factor learning rule: $\Delta W_{ij} \sim \dot{\rho}_i \rho_j + \dot{\rho}_j \rho_i$. This rule depends only on the activity of pre- and post-synaptic neurons, making it highly efficient for CMOS or memristor-based hardware.

Detailed view of the local learning rule at the synapse, showing the interaction between pre-synaptic (Neuron i) and post-synaptic (Neuron j) activity.

Results and Discussion

The algorithm was evaluated on the MNIST dataset using fully connected architectures (784-100-10 and 784-300-10). EqSpike achieved a test accuracy of 97.6%, matching rate-based EP and standard Backpropagation-Through-Time (BPTT).

Energy Efficiency and Latency

Projections for silicon neuromorphic implementations suggest significant energy savings compared to GPUs:

  • Inference: ~1,000x (three orders of magnitude) more efficient.
  • Training: ~100x (two orders of magnitude) more efficient. Inference latency is estimated between 1 $\mu$s and 100 $\mu$s, with high efficiency further supported by low firing rates (~20% of maximum frequency).

Biological Plausibility

Intriguingly, the mathematically derived weight updates in EqSpike naturally exhibit an STDP-like shape. This suggests that the requirements for global optimization in spiking systems may naturally converge toward the learning rules observed in biological brains.

Conclusion and Future Work

EqSpike demonstrates that Equilibrium Propagation can be effectively translated into a spiking framework suitable for neuromorphic hardware. While current results are promising, future work will focus on scaling the algorithm to deeper convolutional architectures and processing time-varying inputs. The ultimate goal is a physical neuromorphic implementation to realize the projected energy efficiency gains in real-world applications.

Summary updated

BibTeX
@misc{martin2020eqspike,
  author = {Erwann Martin and Maxence Ernoult and Jérémie Laydevant and Shuai Li and Damien Querlioz and Teodora Petrisor and Julie Grollier},
  title = {{EqSpike: Spike-driven Equilibrium Propagation for Neuromorphic Implementations}},
  year = {2020},
  eprint = {2010.07859},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.07859},
}
Figure