[Paper Review] Training Feedback Spiking Neural Networks by Implicit Differentiation on the Equilibrium State
This paper trains feedback spiking neural networks (FSNNs) using implicit differentiation on their equilibrium state, avoiding backpropagation through time and enabling efficient, brain-like training with few time steps.
Spiking neural networks (SNNs) are brain-inspired models that enable energy-efficient implementation on neuromorphic hardware. However, the supervised training of SNNs remains a hard problem due to the discontinuity of the spiking neuron model. Most existing methods imitate the backpropagation framework and feedforward architectures for artificial neural networks, and use surrogate derivatives or compute gradients with respect to the spiking time to deal with the problem. These approaches either accumulate approximation errors or only propagate information limitedly through existing spikes, and usually require information propagation along time steps with large memory costs and biological implausibility. In this work, we consider feedback spiking neural networks, which are more brain-like, and propose a novel training method that does not rely on the exact reverse of the forward computation. First, we show that the average firing rates of SNNs with feedback connections would gradually evolve to an equilibrium state along time, which follows a fixed-point equation. Then by viewing the forward computation of feedback SNNs as a black-box solver for this equation, and leveraging the implicit differentiation on the equation, we can compute the gradient for parameters without considering the exact forward procedure. In this way, the forward and backward procedures are decoupled and therefore the problem of non-differentiable spiking functions is avoided. We also briefly discuss the biological plausibility of implicit differentiation, which only requires computing another equilibrium. Extensive experiments on MNIST, Fashion-MNIST, N-MNIST, CIFAR-10, and CIFAR-100 demonstrate the superior performance of our method for feedback models with fewer neurons and parameters in a small number of time steps. Our code is avaiable at https://github.com/pkuxmq/IDE-FSNN.
Motivation & Objective
- Motivate the use of feedback (recurrent) spiking networks for brain-like vision tasks.
- Introduce an equilibrium-based fixed-point formulation for FSNNs.
- Develop an IDE (Implicit Differentiation on the Equilibrium) training method that decouples forward and backward passes.
- Demonstrate strong performance of IDE-FSNNs with few time steps on multiple datasets.
- Discuss biological plausibility and connections to Hebbian learning.
Proposed method
- Show that average firing rates of FSNNs with feedback converge to a fixed-point equilibrium under both continuous (IF/LIF) and discrete views.
- Formulate training via implicit differentiation on the fixed-point equation to compute gradients without differentiating the forward spikes.
- Treat forward FSNN computation as a black-box fixed-point solver and differentiate through the equilibrium.
- Provide multi-layer FSNN architecture to enhance non-linearity and performance.
- Present a practical training procedure using readout-layer loss (cross-entropy) and standard optimizers.
- Offer a brief discussion of biological plausibility and its relation to Hebbian-like updates.
Experimental results
Research questions
- RQ1Can FSNNs with feedback connections be trained without backpropagation through time or surrogate derivatives?
- RQ2Does an equilibrium (fixed-point) formulation enable accurate gradient computation for FSNN parameters?
- RQ3How does IDE-FSNN performance compare to state-of-the-art directly trained SNNs on standard benchmarks?
- RQ4Does incorporating a multi-layer feedback structure improve representation and accuracy under few-time-step regimes?
Key findings
- IDE-FSNNs achieve competitive or superior accuracy with fewer neurons and parameters and in a small number of time steps across MNIST, Fashion-MNIST, and N-MNIST.
- On MNIST, IDE-LIF achieves 99.59% best with 30 steps using 13K neurons and 229K params (IDEO-LIF).
- On Fashion-MNIST, IDE-IF/LIF reach about 90.1% accuracy with 5 steps using 1.2K neurons and 478K params.
- On N-MNIST, IDE-IF/LIF reach approximately 99.30–99.47% with 30 steps using 21K neurons and 291K params.
- The method enables training with a decoupled forward/backward pass by solving a fixed-point equation and using inverse Jacobian-based gradient computation.
- Explicitly demonstrates biological plausibility discussions and connections to Hebbian-like updates.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.