paper-with-me

홈 › Papers

FAS: Fast ANN-SNN Conversion for Spiking Large Language Models

2025-02-06 · Long Chen, Xiaotian Song, Andy Song, Badong Chen, Jiancheng Lv, Yanan sun

Spiking Large Language Models have been shown as a good alternative to LLMs in various scenarios. Existing methods for creating Spiking LLMs, i.e., direct training and ANN-SNN conversion, often suffer from performance degradation and relatively high computational costs. To address these issues, we propose a novel Fast ANN-SNN conversion strategy (FAS) that transforms LLMs into spiking LLMs in two stages. The first stage employs a full-parameter fine-tuning of pre-trained models, so it does not need any direct training from scratch. The second stage introduces a coarse-to-fine calibration method to reduce conversion errors and improve accuracy. Experiments on both language and vision-language tasks across four different scales of LLMs demonstrate that FAS can achieve state-of-the-art performance yet with significantly reduced inference latency and computational costs. Notably, FAS only takes eight timesteps to achieve an accuracy of 3\% higher than that of the OPT-7B model, while reducing energy consumption by 96.63\%. The source code is available at https://github.com/lc783/FAS

📄 PDF Abstract BibTeX arXiv:2502.04405

Code (1)

lc783/fas 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Efficient Converted Spiking Neural Network for 3D and 2D Classification

2023-01-01 · ICCV 2023 1 · Yuxiang Lan, Yachao Zhang, Xu Ma, Yanyun Qu 외

Spiking Neural Networks (SNNs) have attracted enormous research interest due to their low-power and biologically plausible nature. Existing ANN-SNN conversion methods can achieve lossless conversion by converting a w…

image-classificationImage ClassificationPoint Cloud Classification

LAS: Loss-less ANN-SNN Conversion for Fully Spike-Driven Large Language Models

2025-05-14 · Long Chen, Xiaotian Song, Yanan sun

Spiking Large Language Models (LLMs) have emerged as an energy-efficient alternative to conventional LLMs through their event-driven computation. To effectively obtain spiking LLMs, researchers develop different ANN-to-S…

Faster and Stronger: When ANN-SNN Conversion Meets Parallel Spiking Calculation

2024-12-18 · Zecheng Hao, Zhaofei Yu, Tiejun Huang

Spiking Neural Network (SNN), as a brain-inspired and energy-efficient network, is currently facing the pivotal challenge of exploring a suitable and efficient learning framework. The predominant training methodologies, …

Optimal ANN-SNN Conversion for Fast and Accurate Inference in Deep Spiking Neural Networks

2021-05-25 · Jianhao Ding, Zhaofei Yu, Yonghong Tian, Tiejun Huang

Spiking Neural Networks (SNNs), as bio-inspired energy-efficient neural networks, have attracted great attentions from researchers and industry. The most efficient way to train deep SNNs is through ANN-SNN conversion. Ho…

Optimal ANN-SNN Conversion for High-accuracy and Ultra-low-latency Spiking Neural Networks

2023-03-08 · ICLR 2022 4 · Tong Bu, Wei Fang, Jianhao Ding, Penglin Dai 외

Spiking Neural Networks (SNNs) have gained great attraction due to their distinctive properties of low power consumption and fast inference on neuromorphic hardware. As the most effective method to get deep SNNs, ANN-SNN…

Quantization