Scaling SNNs Trained Using Equilibrium Propagation to Convolutional Architectures

Jiaqi Lin, Malyaban Bal, Abhronil Sengupta

Abstract

Spiking Neural Networks (SNNs) offer a path toward energy-efficient, brain-inspired computation, yet training them effectively remains a challenge. Traditional methods like Backpropagation Through Time (BPTT) are memory-intensive and biologically implausible. Equilibrium Propagation (EP) provides a promising local learning alternative, but scaling it to convolutional architectures has been hindered by architectural incompatibilities. This paper identifies a critical "information mismatch" in max-pooling operations within the spiking regime. By replacing max-pooling with average pooling and nearest-neighbor upsampling, the authors successfully scale EP-trained SNNs to convolutional models. The proposed approach achieves state-of-the-art performance on MNIST (0.97% error) and FashionMNIST (8.89% error) while reducing memory consumption by approximately 85% compared to BPTT.

Introduction

Training SNNs typically relies on BPTT, which requires storing the entire history of network states, making it extremely memory-intensive. Furthermore, BPTT is biologically implausible as it necessitates a separate "backward" circuit. Equilibrium Propagation (EP) is a "local" learning rule where weight updates depend only on the states of connected neurons across two phases: a "free" phase and a "nudge" phase. While EP works well for fully-connected networks, scaling it to convolutional SNNs has been a major hurdle because standard components like max-pooling do not translate well to the spiking, energy-based dynamics required for EP to reach equilibrium.

Methods

The authors propose a formulation for training convolutional spiking convergent Recurrent Neural Networks (RNNs) using EP. They utilize a Sigma-Delta modulation scheme to allow binary communication to converge to stable states.

Information flow and the pooling index mismatch in convolutional SNNs.

A core discovery of this work is that Max-Pooling creates an "indices mismatch" in SNNs. In continuous networks, max-pooling indices are stable. However, in SNNs, the act of quantizing signals into discrete spikes magnifies minor differences. This causes the backward error signal to lose its way if forced through indices chosen during the forward pass. To fix this, the authors replace Max-Pooling and its inverse with Average Pooling and Nearest Neighbor Upsampling. This maintains the symmetry and stable information flow essential for accurate gradient estimation in EP.

Results and Discussion

The researchers evaluated their approach using a "2C2FC" (2 Convolutional, 2 Fully-Connected layers) architecture on the MNIST and FashionMNIST benchmarks.

Performance and memory comparison between EP and BPTT training.

As shown in the results, the EP-trained models achieved a test error of 0.97% on MNIST and 8.89% on FashionMNIST, which is comparable to the performance of the much more computationally expensive BPTT. Most notably, EP demonstrated massive memory savings: for the 2C2FC model, EP required only 321 MB of memory compared to 2171 MB for BPTT—a reduction of roughly 85%. This efficiency, combined with weight updates that resemble Spike-Timing-Dependent Plasticity (STDP), brings SNNs closer to practical, on-chip learning.

Conclusion

This research successfully scales EP to convolutional SNNs by resolving the pooling index mismatch. While currently demonstrated on MNIST and FashionMNIST, this framework provides a foundation for scaling biologically plausible learning to larger datasets like ImageNet. Future work will focus on closing the slight remaining performance gap between EP and BPTT and exploring more sophisticated architectural innovations to further enhance SNN capabilities.

Summary updated

BibTeX
@inproceedings{lin2024scaling,
  author = {Jiaqi Lin and Malyaban Bal and Abhronil Sengupta},
  title = {{Scaling SNNs Trained Using Equilibrium Propagation to Convolutional Architectures}},
  booktitle = {ICONS},
  year = {2024},
  doi = {10.1109/icons62911.2024.00054},
}
Figure