[2410.14687] BrainTransformers: SNN-LLM
Abstract:This study introduces BrainTransformers, an innovative Large Language Model (LLM) implemented using Spiking Neural Networks (SNN). Our key contributions include: (1) designing SNN-compatible Transformer components such as SNNMatmul, SNNSoftmax, and SNNSiLU; (2) implementing an SNN approximation of the SiLU activation function; and (3) developing a Synapsis module to simulate synaptic plasticity. Our 3-billion parameter model, BrainTransformers-3B-Chat, demonstrates competitive performance across various benchmarks, including MMLU (63.2), BBH (54.1), ARC-C (54.3), and GSM8K (76.3), while potentially offering improved energy efficiency and biological plausibility. The model employs a three-stage training approach, including SNN-specific neuronal synaptic plasticity training. This research opens new avenues for brain-like AI systems in natural language processing and neuromorphic computing. Future work will focus on hardware optimization, developing specialized SNN fine-tuning tools, and exploring practical applications in energy-efficient computing environments.
View PDF HTML (experimental) Abstract:This study introduces BrainTransformers, an innovative Large Language Model (LLM) implemented using Spiking Neural Networks (SNN). Our key contributions include: (1) designing SNN-compatible Transformer components such as SNNMatmul, SNNSoftmax, and SNNSiLU; (2) implementing an SNN approximation of the SiLU activation function; and (3) developing a Synapsis module to simulate synaptic plasticity. Our 3-billion parameter model, BrainTransformers-3B-Chat, demonstrates competitive performance across various benchmarks, including MMLU (63.2), BBH (54.1),…
saved by
related reading
- [2302.13939] SpikeGPT: Generative Pre-trained Language Model with Spiking Neural Networksarxiv.org
- A Mathematical Framework for Transformer Circuitstransformer-circuits.pub
- Transformer Circuits Threadtransformer-circuits.pub
- Getting Caught Up to Modern LLM Research | Samarth Goeldev.samarthgoel.com
- On the Tradeoffs of SSMs and Transformers | Goomba Labgoombalab.github.io
- LLM Resourcesforrestbicker.com
- Brain-Inspired AI Code Library Notches Milestone - Tech Briefstechbriefs.com
- The Mamba Effect: State Space Models Taking on Transformershungleai.substack.com
- Large Language Models Reading List | Sebastian Raschka, PhDsebastianraschka.com
- FTRANS: Energy-Efficient Acceleration of Transformers using FPGAarxiv.org
- Exploring spiking neural networks: a comprehensive analysis of mathematical models and applicationsfrontiersin.org
- AI Revolution - Transformers and Large Language Models (LLMs)blog.eladgil.com