[论文解读] Training Feedback Spiking Neural Networks by Implicit Differentiation on the Equilibrium State
本文使用在平衡态上的隐式微分来训练具有反馈的脉冲神经网络(FSNNs),避免时间上的反向传播,并在少量时间步内实现高效、类似大脑的训练。
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.
研究动机与目标
- 动机:在类脑视觉任务中使用反馈(递归)脉冲神经网络。
- 引入基于平衡的FSNN固定点公式。
- 开发一个在平衡点上进行隐式微分的训练方法,使前向和反向传播解耦。
- 证明 IDE-FSNNs 在少量时间步上在多数据集上具有出色的性能。
- 讨论生物学可行性及与 Hebbian 学习的联系。
提出的方法
- 表明具有反馈的FSNN的平均发放率在连续(IF/LIF)和离散视角下都会收敛到一个固定点平衡。
- 通过对固定点方程进行隐式微分来制定训练,以在不对前向尖峰求导的情况下计算梯度。
- 将前向FSNN计算视为一个黑盒固定点求解器,并对平衡点进行微分。
- 提供多层FSNN结构以增强非线性和性能。
- 给出使用读出层损失(交叉熵)和标准优化器的实际训练流程。
- 简要讨论生物学可行性及其与Hebbian风格更新的关系。
实验结果
研究问题
- 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?
主要发现
- 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.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。