Achieving Sparse Activation in Small Language Models
Not on the map. Why?
Abstract (arXiv)
Sparse activation, which selectively activates only an input-dependent set of neurons in inference, is a useful technique to reduce the computing cost of Large Language Models (LLMs) without retraining or adaptation efforts. However, whether it can be applied to the recently emerging Small Language Models (SLMs) remains questionable, because SLMs are generally less over-parameterized than LLMs. In this paper, we aim to achieve sparse activation in SLMs. We first show that the existing sparse activation schemes in LLMs that build on neurons' output magnitudes cannot be applied to SLMs, and activating neurons based on their attribution scores is a better alternative. Further, we demonstrated and quantified the large errors of existing attribution metrics when being used for sparse activation, due to the interdependency among attribution scores of neurons across different layers. Based on these observations, we proposed a new attribution metric that can provably correct such errors and achieve precise sparse activation. Experiments over multiple popular SLMs and datasets show that our approach can achieve 80% sparsification ratio with <5% model accuracy loss, comparable to the sparse activation achieved in LLMs. The source code is available at: https://github.com/pittisl/Sparse-Activation.
Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Builds on 27 of its 32 references that are in the map. First posted on arXiv 3 Jun 2024.
Builds on
27 of 32 references.
References · 27
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,637
- 2017Axiomatic Attribution for Deep Networkscited by 3,368
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,949
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,908
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,625
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,272
- 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 809
- 2019Are Sixteen Heads Really Better than One?cited by 807
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 646
- 2023Textbooks Are All You Needcited by 566
- 2023The Falcon Series of Open Language Modelscited by 533
15 more
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 525
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 406
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 213
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 150
- 2021Group Fisher Pruning for Practical Network Compressioncited by 131
- 2023Memory-Efficient Fine-Tuning of Compressed Large Language Models via sub-4-bit Integer Quantizationcited by 100
- 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 66
- 2022Rethinking the Role of Scale for In-Context Learning: An Interpretability-based Case Study at 66 Billion Scalecited by 64
- 2023Knowledge-Augmented Reasoning Distillation for Small Language Models in Knowledge-Intensive Taskscited by 62
- 2023ZipLM: Inference-Aware Structured Pruning of Language Modelscited by 46
- 2023Simplifying Transformer Blockscited by 37
- 2024MobiLlama: Towards Accurate and Lightweight Fully Transparent GPTcited by 34
- 2022Attribution-based XAI Methods in Computer Vision: A Reviewcited by 16
- 2023Multistage Collaborative Knowledge Distillation from a Large Language Model for Semi-Supervised Sequence Generationcited by 10
- 2022SInGE: Sparsity via Integrated Gradients Estimation of Neuron Relevancecited by 9
Built on by
Citing papers per year: 2024: 4.
4 papers.
- 2024Small Language Models: Survey, Measurements, and Insightscited by 110
- 2024InkubaLM: A small language model for low-resource African languagescited by 18
- 2024Neuralink: Fast LLM Inference on Smartphones with Neuron Co-Activation Linkingcited by 5
- 2024Personal Intelligence System UniLM: Hybrid On-Device Small Language Model and Server-Based Large Language Model for Malay Nusantaracited by 0
- 2024Neuralink: Fast LLM Inference on Smartphones with Neuron Co-Activation Linking25 Oct 2024
- 2024Personal Intelligence System UniLM: Hybrid On-Device Small Language Model and Server-Based Large Language Model for Malay Nusantara9 Oct 2024
- 2024Small Language Models: Survey, Measurements, and Insights24 Sep 2024
- 2024InkubaLM: A small language model for low-resource African languages30 Aug 2024