arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.05904cs.CV
收藏

二进制事件驱动脉冲变压器

Binary Event-Driven Spiking Transformer

University of Electronic Science and Technology of China(电子科学与技术大学);Northumbria University(北umbria大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));National University of Singapore(新加坡国立大学)

Honglin Cao, Zijian Zhou, Wenjie Wei, Ammar Belatreche, Yu Liang, Dehao Zhang, Malu Zhang, Yang Yang, Haizhou Li

AI总结:

本文提出二进制事件驱动脉冲变压器(BESTformer),通过二值化技术减少计算和存储需求,结合耦合信息增强方法缓解性能下降,实现高效且高性能的脉冲神经网络模型。

摘要:

基于Transformer的脉冲神经网络(SNNs)引入了一种新颖的事件驱动自注意力范式,将Transformer的高性能与SNN的能量效率相结合。然而,Transformer结构较大的模型大小和增加的计算需求限制了其在资源受限场景中的实用性。在本文中,我们将二值化技术整合到基于Transformer的SNN中,并提出二进制事件驱动脉冲变压器,即BESTformer。所提出的BESTformer通过仅用1位表示权重和注意力图显著减少了存储和计算需求。然而,由于二值化有限的表示能力,BESTformer与其全精度 counterpart相比会出现严重的性能下降。为了解决这个问题,我们提出了一种耦合信息增强(CIE)方法,它由一个可逆框架和信息增强蒸馏组成。通过最大化二进制模型与其全精度 counterpart之间的互信息,CIE方法有效缓解了BESTformer的性能下降。在静态和神经形态数据集上的广泛实验表明,我们的方法在其他二值化SNNs中实现了更优的性能,展示了其作为紧凑且高性能模型在资源受限边缘设备中的潜力。本文的代码库可在https://github.com/CaoHLin/BESTFormer上获取。

英文摘要:

Transformer-based Spiking Neural Networks (SNNs) introduce a novel event-driven self-attention paradigm that combines the high performance of Transformers with the energy efficiency of SNNs. However, the larger model size and increased computational demands of the Transformer structure limit their practicality in resource-constrained scenarios. In this paper, we integrate binarization techniques into Transformer-based SNNs and propose the Binary Event-Driven Spiking Transformer, i.e. BESTformer. The proposed BESTformer can significantly reduce storage and computational demands by representing weights and attention maps with a mere 1-bit. However, BESTformer suffers from a severe performance drop from its full-precision counterpart due to the limited representation capability of binarization. To address this issue, we propose a Coupled Information Enhancement (CIE) method, which consists of a reversible framework and information enhancement distillation. By maximizing the mutual information between the binary model and its full-precision counterpart, the CIE method effectively mitigates the performance degradation of the BESTformer. Extensive experiments on static and neuromorphic datasets demonstrate that our method achieves superior performance to other binary SNNs, showcasing its potential as a compact yet high-performance model for resource-limited edge devices. The repository of this paper is available at https://github.com/CaoHLin/BESTFormer.

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

↑