ADMM-Based Training for Spiking Neural Networks
Giovanni Perin, Cesare Bidini, Riccardo Mazzieri, Michele Rossi
TL;DR
This work addresses the training bottleneck of sensing-and-spiking neural networks (SNNs) caused by the non-differentiable spike activation and surrogate-gradient limitations. It introduces an ADMM-based, gradient-free optimization framework that treats SNN training as a constrained, model-based problem with variables for weights, membrane potentials, and spikes, plus a dedicated subroutine to manage the Heaviside nonlinearity and exact last-layer dynamics. Key contributions include (i) a new ADMM optimizer tailored for SNNs, (ii) problem relaxation with closed-form subproblem updates, (iii) a subroutine to optimally handle $H_ heta$, and (iv) a proof-of-concept demonstration showing convergence and potential, with discussion of extensions to deeper and varied layer types. The approach offers a scalable alternative to surrogate-gradient methods, enables parallelization and potential federated learning, and lays out concrete paths to scale the method to larger SNNs and different architectures.
Abstract
In recent years, spiking neural networks (SNNs) have gained momentum due to their high potential in time-series processing combined with minimal energy consumption. However, they still lack a dedicated and efficient training algorithm. The popular backpropagation with surrogate gradients, adapted from stochastic gradient descent (SGD)-derived algorithms, has several drawbacks when used as an optimizer for SNNs. Specifically, the approximation introduced by the use of surrogate gradients leads to numerical imprecision, poor tracking of SNN firing times at training time, and, in turn, poor scalability. In this paper, we propose a novel SNN training method based on the alternating direction method of multipliers (ADMM). Our ADMM-based training aims to solve the problem of the SNN step function's non-differentiability by taking an entirely new approach with respect to gradient backpropagation. For the first time, we formulate the SNN training problem as an ADMM-based iterative optimization, derive closed-form updates, and empirically show the optimizer's convergence, its great potential, and discuss future and promising research directions to improve the method to different layer types and deeper architectures.
