paper-with-me

홈 › Papers

Sorbet: A Neuromorphic Hardware-Compatible Transformer-Based Spiking Language Model

2024-09-04 · Kaiwen Tang, Zhanglu Yan, Weng-Fai Wong

For reasons such as privacy, there are use cases for language models at the edge. This has given rise to small language models (SLMs) targeted for deployment in resource-constrained devices where energy efficiency is a significant concern. Spiking neural networks (SNNs) offer a promising solution due to their energy efficiency, and there are already works on realizing transformer-based models on SNNs. However, key operations like softmax and layer normalization (LN) are difficult to implement on neuromorphic hardware, and many of these early works sidestepped them. To address these challenges, we introduce Sorbet, a transformer-based spiking language model that is more neuromorphic hardware-compatible. Sorbet incorporates a novel shifting-based softmax called PTsoftmax and a power normalization method using bit-shifting (BSPN), both designed to replace the respective energy-intensive operations. By leveraging knowledge distillation and model quantization, Sorbet achieved a highly compressed binary weight model that maintains competitive performance while significantly reducing energy consumption. We validate Sorbet's effectiveness through extensive testing on the GLUE benchmark and a series of ablation studies, demonstrating its potential as an energy-efficient solution for language model inference.

📄 PDF Abstract BibTeX arXiv:2409.15298

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationLanguage ModelingLanguage ModellingQuantization

Methods 이 논문이 사용한 방법론

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$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

ViT-LCA: A Neuromorphic Approach for Vision Transformers

2024-10-31 · Sanaz Mahmoodi Takaghaj

The recent success of Vision Transformers has generated significant interest in attention mechanisms and transformer architectures. Although existing methods have proposed spiking self-attention mechanisms compatible wit…

SpikingMoE: SDPrompt-Guided Dynamic Expert Fusion in Spiking Neural Networks

2026-05-22 · Yukai Yang, Chenxi Qin, Jungang Li, Xin Zhang 외 arxiv

Spiking Neural Networks (SNNs) provide an energy-efficient paradigm for visual recognition. We present SpikingMoE, which integrates a spike-driven Transformer with a Mixture-of-Experts (MoE) framework for dynamic computa…

Accurate Mapping of RNNs on Neuromorphic Hardware with Adaptive Spiking Neurons

2024-07-18 · Gauthier Boeshertz, Giacomo Indiveri, Manu Nair, Alpha Renner

Thanks to their parallel and sparse activity features, recurrent neural networks (RNNs) are well-suited for hardware implementation in low-power neuromorphic hardware. However, mapping rate-based RNNs to hardware-compati…

Edge-computing

General-purpose Dataflow Model with Neuromorphic Primitives

2024-08-02 · Weihao Zhang, Yu Du, Hongyi Li, Songchen Ma 외

Neuromorphic computing exhibits great potential to provide high-performance benefits in various applications beyond neural networks. However, a general-purpose program execution model that aligns with the features of neu…

model

Spiking Transformer Hardware Accelerators in 3D Integration

2024-11-11 · Boxun Xu, Junyoung Hwang, Pruek Vanna-iampikul, Sung Kyu Lim 외

Spiking neural networks (SNNs) are powerful models of spatiotemporal computation and are well suited for deployment on resource-constrained edge devices and neuromorphic hardware due to their low power consumption. Lever…