Binary Event-Driven Spiking Transformer
Honglin Cao, Zijian Zhou, Wenjie Wei, Ammar Belatreche, Yu Liang, Dehao Zhang, Malu Zhang, Yang Yang, Haizhou Li
TL;DR
BESTformer introduces 1-bit weight and attention binarization to create a compact transformer-based SNN. The key challenge is information loss from binarization, which the Coupled Information Enhancement (CIE) framework addresses via a reversible encoder and information-enhanced distillation. Empirical results across CIFAR-10/100, CIFAR10-DVS, and ImageNet-1k show state-of-the-art performance among binary SNNs with substantial reductions in model size and NS-ACE, enabling edge-device deployment. The work highlights a viable path for high-performance, ultra-efficient SNNs at scale.
Abstract
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.
