paper-with-me

Papers

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

2023-08-21 · 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.

📄 PDF Abstract BibTeX arXiv:2308.10873

Code (1)

neurocomplab-psu/spikingbert 공식 구현 pytorch

Tasks

Knowledge DistillationLanguage Modelling

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Adam 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Spatio-Temporal Pruning for Compressed Spiking Large Language Models

2025-08-23 · Yi Jiang, Malyaban Bal, Brian Matejek, Susmit Jha 외 arxiv

Large Language Models (LLMs) present significant challenges for deployment in energy-constrained environments due to their large model sizes and high inference latency. Spiking Neural Networks (SNNs), inspired by the spa…

Computational EfficiencyKnowledge Distillation

SpikeBERT: A Language Spikformer Learned from BERT with Knowledge Distillation

2023-08-29 · Changze Lv, Tianlong Li, Jianhan Xu, Chenxi Gu 외

Spiking neural networks (SNNs) offer a promising avenue to implement deep neural networks in a more energy-efficient way. However, the network architectures of existing SNNs for language tasks are still simplistic and re…

Knowledge Distillationtext-classificationText Classification

XDBERT: Distilling Visual Information to BERT from Cross-Modal Systems to Improve Language Understanding

2022-04-15 · ACL 2022 5 · Chan-Jan Hsu, Hung-Yi Lee, Yu Tsao

Transformer-based models are widely used in natural language understanding (NLU) tasks, and multimodal transformers have been effective in visual-language tasks. This study explores distilling visual information from pre…

Natural Language Understanding

Distilling Knowledge Learned in BERT for Text Generation

2019-11-10 · ACL 2020 6 · Yen-Chun Chen, Zhe Gan, Yu Cheng, Jingzhou Liu 외

Large-scale pre-trained language model such as BERT has achieved great success in language understanding tasks. However, it remains an open question how to utilize BERT for language generation. In this paper, we present …

Language ModelingLanguage ModellingMachine TranslationMasked Language Modeling+4

Distilling the Knowledge of Romanian BERTs Using Multiple Teachers

2021-12-23 · LREC 2022 6 · Andrei-Marius Avram, Darius Catrina, Dumitru-Clementin Cercel, Mihai Dascălu 외

Running large-scale pre-trained language models in computationally constrained environments remains a challenging problem yet to be addressed, while transfer learning from these models has become prevalent in Natural Lan…

Dialect IdentificationGPUKnowledge Distillationnamed-entity-recognition+8