mlsanityData to 7 Oct 2026

Activation Sparsity Opportunities for Compressing General Large Language Models

arXiv 2412.12178 ↗First posted 13 Dec 2024cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Deploying local AI models, such as Large Language Models (LLMs), to edge devices can substantially enhance devices' independent capabilities, alleviate the server's burden, and lower the response time. Owing to these tremendous potentials, many big tech companies have released several lightweight Small Language Models (SLMs) to bridge this gap. However, we still have huge motivations to deploy more powerful (LLMs) AI models on edge devices and enhance their smartness level. Unlike the conventional approaches for AI model compression, we investigate activation sparsity. The activation sparsity method is orthogonal and combinable with existing techniques to maximize the compression rate while maintaining great accuracy. LLMs' Feed-Forward Network (FFN) components, which typically comprise a large proportion of parameters (around 2/3), ensure that our FFN optimizations would have a better chance of achieving effective compression. Moreover, our findings are beneficial to general LLMs and are not restricted to ReLU-based models. This work systematically investigates the tradeoff between enforcing activation sparsity and perplexity (accuracy) on state-of-the-art LLMs. Our empirical analysis demonstrates that we can obtain around 50% of main memory and computing reductions for critical FFN components with negligible accuracy degradation. This extra 50% sparsity does not naturally exist in the current LLMs, which require tuning LLMs' activation outputs by injecting zero-enforcing thresholds. To obtain the benefits of activation sparsity, we provide a guideline for the system architect for LLM prediction and prefetching. The success prediction allows the system to prefetch the necessary weights while omitting the inactive ones and their successors, therefore lowering cache and memory pollution and reducing LLM execution time on resource-constrained edge devices.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 27 of its 35 references that are in the map. First posted on arXiv 13 Dec 2024.

Builds on

27 of 35 references.

References · 27

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  6. 2020Scaling Laws for Neural Language Modelscited by 6,411
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  8. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  9. 2016Pointer Sentinel Mixture Modelscited by 2,992
  10. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  11. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  12. 2020Knowledge Distillation: A Surveycited by 1,578
15 more
  1. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  2. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 935
  3. 2023The Falcon Series of Open Language Modelscited by 526
  4. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
  5. 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 170
  6. 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
  7. 2019Quantization Networkscited by 151
  8. 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
  9. 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
  10. 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 66
  11. 2023One Wide Feedforward is All You Needcited by 15
  12. 2024ShadowLLM: Predictor-based Contextual Sparsity for Large Language Modelscited by 13
  13. 2024The Role of LLMs in Sustainable Smart Cities: Applications, Challenges, and Future Directionscited by 9
  14. 2020GraphChallenge.org Sparse Deep Neural Network Performancecited by 3
  15. 2022FL-Tuning: Layer Tuning for Feed-Forward Network in Transformercited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.