本文首次提出用 EP 训练卷积脉冲收敛型 RNN,通过平均池化修正最大池化导致的梯度失配,并在 MNIST 与 FashionMNIST 上达到可比 BPTT 的先进性能。
摘要:
平衡传播(Equilibrium Propagation,EP)是一种生物学上合理的局部学习算法,最初为收敛型循环神经网络(RNN)开发,其中权重更新仅依赖于两个阶段中相连接的神经元状态。已有研究表明,当使用无穷小的微调因子时,EP 中的梯度计算可逼近通过时间反向传播(Backpropagation Through Time,BPTT)计算的梯度。这一特性使 EP 成为训练脉冲神经网络(Spiking Neural Networks,SNN)的有力候选,而 SNN 通常由 BPTT 训练。然而,在脉冲领域,以往关于 EP 的研究仅限于包含少量线性层的架构。在本工作中,我们首次给出了使用 EP 训练卷积脉冲收敛型 RNN 的公式,弥合了脉冲与非脉冲收敛型 RNN 之间的差距。我们证明,对于脉冲收敛型 RNN,最大池化及其逆运算之间存在不匹配,导致 EP 中梯度估计不准确。用平均池化替代它可解决该问题,并实现脉冲收敛型 RNN 的准确梯度估计。我们还强调了 EP 相比 BPTT 的内存效率。在由 EP 训练的 SNN 范畴内,我们的实验结果表明其在 MNIST 和 FashionMNIST 数据集上达到最先进性能,测试错误率分别为 0.97% 和 8.89%。这些结果与由 BPTT 训练的收敛型 RNN 和 SNN 相当。这些发现强调 EP 是片上训练的最佳选择,也是一种计算误差梯度的生物学合理方法。
英文摘要:
Equilibrium Propagation (EP) is a biologically plausible local learning algorithm initially developed for convergent recurrent neural networks (RNNs), where weight updates rely solely on the connecting neuron states across two phases. The gradient calculations in EP have been shown to approximate the gradients computed by Backpropagation Through Time (BPTT) when an infinitesimally small nudge factor is used. This property makes EP a powerful candidate for training Spiking Neural Networks (SNNs), which are commonly trained by BPTT. However, in the spiking domain, previous studies on EP have been limited to architectures involving few linear layers. In this work, for the first time we provide a formulation for training convolutional spiking convergent RNNs using EP, bridging the gap between spiking and non-spiking convergent RNNs. We demonstrate that for spiking convergent RNNs, there is a mismatch in the maximum pooling and its inverse operation, leading to inaccurate gradient estimation in EP. Substituting this with average pooling resolves this issue and enables accurate gradient estimation for spiking convergent RNNs. We also highlight the memory efficiency of EP compared to BPTT. In the regime of SNNs trained by EP, our experimental results indicate state-of-the-art performance on the MNIST and FashionMNIST datasets, with test errors of 0.97% and 8.89%, respectively. These results are comparable to those of convergent RNNs and SNNs trained by BPTT. These findings underscore EP as an optimal choice for on-chip training and a biologically-plausible method for computing error gradients.
Tuning Convolutional Spiking Neural Network with Biologically-plausible Reward Propagation
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences(中国科学院脑科学与智能技术卓越创新中心)
Parameter efficient hybrid spiking-quantum convolutional neural network with surrogate gradient and quantum data-reupload
College of Information and Communication Technology, Can Tho University(芹苳大学信息与通信技术学院);Center of Digital Transformation and Communication, Can Tho University(芹苳大学数字化转型与通信中心);College of Engineering and Computer Science, VinUniversity(Vin大学工程与计算机科学学院);Department of Computer Science and Engineering, The University of Aizu(会津大学计算机科学工程系)
DS-ATGO: Dual-Stage Synergistic Learning via Forward Adaptive Threshold and Backward Gradient Optimization for Spiking Neural Networks
College of Computer Science and Technology, Zhejiang University of Technology(浙江工业大学计算机科学与技术学院);Zhejiang Key Laboratory of Visual Information Intelligent Processing(浙江省视觉信息智能处理重点实验室)
Latency Coding for Efficient and Low-Latency Deep Spiking Neural Networks
School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);School of Computer Science, Peking University(北京大学计算机学院);Institute for Artificial Intelligence and the School of Computer Science, Peking University(北京大学人工智能研究院和计算机学院)
Unleashing Temporal Capacity of Spiking Neural Networks through Spatiotemporal Separation
School of Computer Science, Peking University(北京大学计算机学院);State Key Laboratory of Multimedia Information Processing, Peking University(北京大学多媒体信息处理国家重点实验室);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院)
Towards Efficient Deep Spiking Neural Networks Construction with Spiking Activity based Pruning
School of Computer Science and Technology, Dalian University of Technology(大连理工大学计算机科学与技术学院);Guangdong Laboratory of Artificial Intelligence and Digital Economy(广东省人工智能与数字经济实验室);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Centre for Systems Engineering and Innovation, Imperial College London(伦敦帝国理工学院系统工程与创新中心)
PC-SNN: Predictive Coding-based Local Hebbian Plasticity Learning in Spiking Neural Networks
Sun Yat-Sen University (Shenzhen Campus)(中山大学(深圳校区));Harbin Institute of Technology Shenzhen(哈尔滨工业大学(深圳));City University of Hong Kong(香港城市大学);The University of South Dakota(南达科他大学);Lingnan University(岭南大学)
Revisiting Direct Encoding: Learnable Temporal Dynamics for Static Image Spiking Neural Networks
School of Computer and Information Engineering, Henan University(河南大学计算机与信息工程学院);Henan Key Laboratory of Big Data Analysis and Processing, Henan University(河南大学大数据分析与处理重点实验室)
Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting
University of Electronic Science and Technology of China(电子科技大学);Shenzhen Institute for Advanced Study, UESTC(电子科技大学深圳高等研究院);Yale University(耶鲁大学);Peking University(北京大学);Peng Cheng Laboratory(鹏城实验室)
Reconstructing Spiking Neural Networks Using a Single Neuron with Autapses
Brain-Apparatus Communication Institute, University of Electronic Science and Technology of China(脑器通信研究院,电子科技大学);School of Artificial Intelligence, Chongqing University of Education(人工智能学院,重庆教育学院)