atlas

Research map / Architectures and efficiency / Spiking networks

SpikingBERT: Distilling BERT to Train Spiking Language Models Using Implicit Differentiation

AAAI 2024 · Architectures and efficiency › Spiking networks · approach: Bio-inspired spiking neuron models · 46 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SpikingBERT, a spiking language model trained via implicit differentiation on equilibrium average spiking rates, with a spiking attention mechanism and ANN-SNN knowledge distillation from BERT-base, evaluated on GLUE.

Problem

Training spiking neural networks for NLP is hard: BPTT is memory-intensive and surrogate gradients are needed due to non-differentiable spikes, and spiking language models have rarely been evaluated on standard benchmarks.

Approach

Treat the spiking LM as a dynamical system converging to an equilibrium average spiking rate, train it with implicit differentiation on a surrogate steady-state (non-spiking) network without surrogate gradients, add a spiking attention module whose equilibrium rate approximates vanilla attention, and distill layer-wise and prediction-layer knowledge from a pre-trained BERT-base teacher.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the proposed knowledge distillation (KD) training (ablation)SpikingBERT · GLUE datasetsaccuracy: 4% to 5%Helped
Add a feedback connection from the final encoder layer to the first (ablation)SpikingBERT · GLUE benchmarkaccuracyNo clear effect
Add layer normalization to IL-1 and output layers (ablation)SpikingBERT · SST-2accuracyNo clear effect
Remove layer normalization from IL-1 and output layers when developing the model from scratch (ablation)SpikingBERT · SST-2accuracy: around 4%Hurt
Add two spiking encoder layers, increasing the model from 2 to 4 SE layers (ablation)SpikingBERT · SST-2accuracyHelped
Group task-based internal-layer distillation by task type (ablation)SpikingBERT · QNLI after MNLI distillationaccuracyHelped
Use T_conv = 16 for inference (ablation)SpikingBERT · SST-2energy-efficiency factor: nearly twiceHelped
Increase the threshold voltage V_th (ablation)SpikingBERT · SST-2instantaneous power consumptionHelped

Surprising findings

Limitations

Experimental setup

Datasets: English Wikipedia GLUE QQP GLUE MNLI GLUE SST-2 GLUE QNLI GLUE RTE GLUE MRPC GLUE STS-B

Benchmarks: GLUE QQP GLUE MNLI-m GLUE SST-2 GLUE QNLI GLUE RTE GLUE MRPC GLUE STS-B

Metrics: accuracy F1 Pearson/Spearman correlation normalized operations energy-efficiency factor

Baselines: CBoW BiLSTM GenSen NAS-BERT BERT-TINY BERT-MINI TinyBERT

Builds on: deep equilibrium models TinyBERT BERT SpikeGPT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy