paper-with-me

Papers

SpikingMamba: Towards Energy-Efficient Large Language Models via Knowledge Distillation from Mamba

2025-10-06 · Yulong Huang, Jianxiong Tang, Chao Wang, Ziyi Wang, Jianguo Zhang, Zhichao Lu, Bojun Cheng, Luziwei Leng arxiv

Large Language Models (LLMs) have achieved remarkable performance across tasks but remain energy-intensive due to dense matrix operations. Spiking neural networks (SNNs) improve energy efficiency by replacing dense matrix multiplications with sparse accumulations. Their sparse spike activity enables efficient LLMs deployment on edge devices. However, prior SNN-based LLMs often sacrifice performance for efficiency, and recovering accuracy typically requires full pretraining, which is costly and impractical. To address this, we propose SpikingMamba, an energy-efficient SNN-based LLMs distilled from Mamba that improves energy efficiency with minimal accuracy sacrifice. SpikingMamba integrates two key components: (a) SI-LIF, a signed-integer spiking neuron that preserves semantic polarity through signed multi-level spike representations. (b) A training-exclusive Smoothed Gradient Compensation (SGC) path mitigating quantization loss while preserving spike-driven efficiency. We employ a single-stage distillation strategy to transfer the zero-shot ability of pretrained Mamba and further enhance it via reinforcement learning (RL). Experiments show that SpikingMamba-1.3B achieves a 4.76$\times$ energy benefit, with only a 4.78\% zero-shot accuracy gap compared to the original Mamba. The model achieves a further 2.55\% accuracy improvement after RL, narrowing the performance gap from 4.78\% to 2.23\%. Code is available at: https://github.com/HuuYuLong/SpikingMamba .

📄 PDF Abstract BibTeX arXiv:2510.04595

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationReinforcement Learning

Similar Papers 제목 키워드 기반

Towards Resource-Efficient LLMs: End-to-End Energy Accounting of Distillation Pipelines

2026-05-13 · Katherine Lambert, Sasha Luccioni arxiv

The rise in deployment of large language models has driven a surge in GPU demand and datacenter scaling, raising concerns about electricity use, grid stress, and the impacts of modern AI workloads. Distillation is often …

Knowledge Distillation

Beyond FLOPs: Energy-Aware Knowledge Distillation for Sustainable LLMs on Code-Related Task

2026-08-18 · Enrique Barba Roque, Luís Cruz, Annibale Panichella arxiv

Background: Large Language Models (LLMs) are increasingly being applied to Software Engineering (SE) tasks, achieving high accuracy across problems such as clone detection, vulnerability prediction, and code summarizatio…

Knowledge 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

Energy-efficient Knowledge Distillation for Spiking Neural Networks

2021-06-14 · Dongjin Lee, Seongsik Park, Jongwan Kim, Wuhyeong Doh 외

Spiking neural networks (SNNs) have been gaining interest as energy-efficient alternatives of conventional artificial neural networks (ANNs) due to their event-driven computation. Considering the future deployment of SNN…

Knowledge DistillationModel CompressionQuantization

Maximizing Discrimination Capability of Knowledge Distillation with Energy Function

2023-11-24 · Seonghak Kim, Gyeongdo Ham, SuIn Lee, Donggon Jang 외

To apply the latest computer vision techniques that require a large computational cost in real industrial applications, knowledge distillation methods (KDs) are essential. Existing logit-based KDs apply the constant temp…

Data AugmentationKnowledge Distillation