arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2202.07221cs.LGcs.NE
收藏

量化脉冲神经网络中局部极小值的导航

Navigating Local Minima in Quantized Spiking Neural Networks

University of Michigan(密歇根大学);The University of Western Australia(西澳大利亚大学);James Cook University(詹姆斯库克大学)

Jason K. Eshraghian, Corey Lammie, Mostafa Rahimi Azghadi, Wei D. Lu

摘要:

尖峰和量化神经网络(NN)对于深度学习(DL)算法的超高效实现变得极其重要。然而,这些网络在使用误差反向传播进行训练时面临挑战,因为在应用硬阈值时缺乏梯度信号。克服这一点的广泛接受的技巧是通过使用有偏梯度估计器:近似脉冲神经网络(SNN)中阈值的替代梯度,以及完全绕过量化神经网络(QNN)中阈值的直通估计器(STE)。虽然噪声梯度反馈已经在简单的监督学习任务上实现了合理的性能,但是认为这种噪声增加了在损失景观中找到最优值的难度,特别是在优化的后期阶段。通过在训练过程中定期提高学习率(LR),我们希望网络能够导航未探索的解决方案空间,否则由于局部极小值,障碍或平坦表面而难以达到。本文提出了一种系统的评估余弦退火LR时间表加上权重独立的自适应矩估计应用于量化SNN(QSNN)。我们在三个数据集上对这种技术的高精度和4位量化SNN进行了严格的经验评估,在更复杂的数据集上展示了(接近)最先进的性能。我们的源代码可以在这个链接上找到:https://github.com/jeshraghian/QSNNs。

英文摘要:

Spiking and Quantized Neural Networks (NNs) are becoming exceedingly important for hyper-efficient implementations of Deep Learning (DL) algorithms. However, these networks face challenges when trained using error backpropagation, due to the absence of gradient signals when applying hard thresholds. The broadly accepted trick to overcoming this is through the use of biased gradient estimators: surrogate gradients which approximate thresholding in Spiking Neural Networks (SNNs), and Straight-Through Estimators (STEs), which completely bypass thresholding in Quantized Neural Networks (QNNs). While noisy gradient feedback has enabled reasonable performance on simple supervised learning tasks, it is thought that such noise increases the difficulty of finding optima in loss landscapes, especially during the later stages of optimization. By periodically boosting the Learning Rate (LR) during training, we expect the network can navigate unexplored solution spaces that would otherwise be difficult to reach due to local minima, barriers, or flat surfaces. This paper presents a systematic evaluation of a cosine-annealed LR schedule coupled with weight-independent adaptive moment estimation as applied to Quantized SNNs (QSNNs). We provide a rigorous empirical evaluation of this technique on high precision and 4-bit quantized SNNs across three datasets, demonstrating (close to) state-of-the-art performance on the more complex datasets. Our source code is available at this link: https://github.com/jeshraghian/QSNNs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑