SpikingBERT: Distilling BERT to Train Spiking Language Models Using Implicit Differentiation
Malyaban Bal, Abhronil Sengupta
摘要
Large language Models (LLMs), though growing exceedingly powerful, comprises of orders of magnitude less neurons and synapses than the human brain. However, it requires significantly more power/energy to operate. In this work, we propose a novel bio-inspired spiking language model (LM) which aims to reduce the computational cost of conventional LMs by drawing motivation from the synaptic information flow in the brain. In this paper, we demonstrate a framework that leverages the average spiking rate of neurons at equilibrium to train a neuromorphic spiking LM using implicit differentiation technique, thereby overcoming the non-differentiability problem of spiking neural network (SNN) based algorithms without using any type of surrogate gradient. The steady-state convergence of the spiking neurons also allows us to design a spiking attention mechanism, which is critical in developing a scalable spiking LM. Moreover, the convergence of average spiking rate of neurons at equilibrium is utilized to develop a novel ANN-SNN knowledge distillation based technique wherein we use a pre-trained BERT model as “teacher” to train our “student” spiking architecture. While the primary architecture proposed in this paper is motivated by BERT, the technique can be potentially extended to different kinds of LLMs. Our work is the first one to demonstrate the performance of an operational spiking LM architecture on multiple different tasks in the GLUE benchmark. Our implementation source code is available at https://github.com/NeuroCompLab-psu/SpikingBERT.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Autonomous Driving with Spiking Neural Networks 引用了 Spikformer: When Spiking Neural Network Meets Transformer
- Spiking Transformer with Experts Mixture 引用了 Spikformer: When Spiking Neural Network Meets Transformer
- NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Search 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- Spikformer: When Spiking Neural Network Meets Transformer 引用了 Training Feedback Spiking Neural Networks by Implicit Differentiation on the Equilibrium State
- SpikedAttention: Training-Free and Fully Spike-Driven Transformer-to-SNN Conversion with Winner-Oriented Spike Shift for Softmax Operation 引用了 Spikformer: When Spiking Neural Network Meets Transformer
- Rethinking the Membrane Dynamics and Optimization Objectives of Spiking Neural Networks 引用了 Spikformer: When Spiking Neural Network Meets Transformer
引用它的顶会 Paper21
- Autonomous Driving with Spiking Neural NetworksRuijie Zhu, Ziqing Wang, Leilani Gilpin, Jason EshraghianNeurIPS 2024 · 35 次引用
- Rethinking the Membrane Dynamics and Optimization Objectives of Spiking Neural NetworksHangchi Shen, Qian Zheng, Huamin Wang, Gang PanNeurIPS 2024 · 30 次引用
- SpikedAttention: Training-Free and Fully Spike-Driven Transformer-to-SNN Conversion with Winner-Oriented Spike Shift for Softmax OperationSangwoo Hwang, Seunghyun Lee, Dahoon Park, Donghun Lee 等NeurIPS 2024 · 23 次引用
- Q-SNNs: Quantized Spiking Neural NetworksWenjie Wei, Yu Liang, Ammar Belatreche, Yichen Xiao 等ACM MM 2024 · 23 次引用
- Spiking Transformer with Experts MixtureZhaokun Zhou, Yijie Lu, Yanhao Jia, Kaiwei Che 等NeurIPS 2024 · 15 次引用
它引用的 Paper7
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
- Spikformer: When Spiking Neural Network Meets TransformerZhaokun Zhou, Yuesheng Zhu, Chao He, Yaowei Wang 等ICLR 2023 · 103 次引用
- Training Feedback Spiking Neural Networks by Implicit Differentiation on the Equilibrium StateMingqing Xiao, Qingyan Meng, Zongpeng Zhang, Yisen Wang 等NeurIPS 2021 · 83 次引用
- M-FAC: Efficient Matrix-Free Approximations of Second-Order InformationElias Frantar, Eldar Kurtic, Dan AlistarhNeurIPS 2021 · 69 次引用
- NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture SearchJin Xu, Xu Tan, Renqian Luo, Kaitao Song 等KDD 2021 · 49 次引用
相关 Paper
- Constructing Deep Spiking Neural Networks from Artificial Neural Networks with Knowledge DistillationQi Xu, Yaxin Li, Jiangrong Shen, Jian K. Liu 等CVPR 2023
- Sorbet: A Neuromorphic Hardware-Compatible Transformer-Based Spiking Language ModelKaiwen Tang, Zhanglu Yan, Weng-Fai WongICML 2025
- SpikingLM: Towards Fully Spiking Language ModelYu Liang, Zijian Zhou, Wenjie Wei, Shuai Wang 等ICML 2026
- Efficient ANN-Guided Distillation: Aligning Rate-based Features of Spiking Neural Networks through Hybrid Block-wise ReplacementShu Yang, Chengting Yu, Lei Liu, Hanzhi Ma 等CVPR 2025
- SpikeLM: Towards General Spike-Driven Language Modeling via Elastic Bi-Spiking MechanismsXingrun Xing, Zheng Zhang, Ziyi Ni, Shitao Xiao 等ICML 2024 · 34 次引用
