arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.12465cs.NEcs.LG
收藏

具有无乘法推理的高效深度脉冲多层感知机

Efficient Deep Spiking Multi-Layer Perceptrons with Multiplication-Free Inference

Southern University of Science and Technology(南方科技大学);Huawei Technologies Co., Ltd.(华为技术有限公司)

Boyan Li, Luziwei Leng, Shuaijie Shen, Kaixuan Zhang, Jianguo Zhang, Jianxing Liao, Ran Cheng

AI总结:

本文提出一种兼容无乘法推理的高效多阶段脉冲MLP架构,融合全局感受野与局部特征提取,在ImageNet-1K上以更小模型容量超越了spiking ResNet-34与VGG-16。

摘要:

将深度卷积架构适配于脉冲神经网络(SNNs)的进展,已显著提升了图像分类性能并减轻了计算负担。然而,无乘法推理(MFI)无法与注意力机制和transformer机制相契合,而这些机制对于在高分辨率视觉任务上取得卓越性能至关重要,这限制了这些收益。为了解决这一问题,我们的研究探索了一条新路径,从多层感知机(MLPs)取得的进展中汲取灵感。我们提出了一种创新的脉冲MLP架构,该架构使用批归一化来保持MFI兼容性,并引入了脉冲patch编码层以增强局部特征提取能力。因此,我们建立了一个高效的多阶段脉冲MLP网络,该网络将全局感受野与局部特征提取有效融合,以实现全面的基于脉冲的计算。在不依赖预训练或复杂的SNN训练技术的情况下,我们的网络在ImageNet-1K数据集上获得了66.39%的top-1准确率,比直接训练的spiking ResNet-34高出2.67%。此外,我们削减了计算成本、模型参数和仿真步长。我们网络的扩展版本以71.64%的top-1准确率与spiking VGG-16网络的性能相比,同时模型容量小了2.1倍。我们的发现突出了我们的深度SNN架构在有效整合全局和局部学习能力方面的潜力。有趣的是,我们网络中训练的感受野反映了皮层细胞的活动模式。源代码可在 https://github.com/EMI-Group/mixer-snn 公开获取。

英文摘要:

Advancements in adapting deep convolution architectures for Spiking Neural Networks (SNNs) have significantly enhanced image classification performance and reduced computational burdens. However, the inability of Multiplication-Free Inference (MFI) to align with attention and transformer mechanisms, which are critical to superior performance on high-resolution vision tasks, imposing limitations on these gains. To address this, our research explores a new pathway, drawing inspiration from the progress made in Multi-Layer Perceptrons (MLPs). We propose an innovative spiking MLP architecture that uses batch normalization to retain MFI compatibility and introducing a spiking patch encoding layer to enhance local feature extraction capabilities. As a result, we establish an efficient multi-stage spiking MLP network that blends effectively global receptive fields with local feature extraction for comprehensive spike-based computation. Without relying on pre-training or sophisticated SNN training techniques, our network secures a top-1 accuracy of 66.39% on the ImageNet-1K dataset, surpassing the directly trained spiking ResNet-34 by 2.67%. Furthermore, we curtail computational costs, model parameters, and simulation steps. An expanded version of our network compares with the performance of the spiking VGG-16 network with a 71.64% top-1 accuracy, all while operating with a model capacity 2.1 times smaller. Our findings highlight the potential of our deep SNN architecture in effectively integrating global and local learning abilities. Interestingly, the trained receptive field in our network mirrors the activity patterns of cortical cells. Source codes are publicly accessible at https://github.com/EMI-Group/mixer-snn.

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

↑