mlsanityData to 14 Oct 2026

Sparsing Law: Towards Large Language Models with Greater Activation Sparsity

arXiv 2411.02335 ↗First posted 4 Nov 2024cs.LG cs.CL stat.MLcited by 22

Not on the map. Why?

Abstract (arXiv)

Activation sparsity denotes the existence of substantial weakly-contributed elements within activation outputs that can be eliminated, benefiting many important applications concerned with large language models (LLMs). Although promoting greater activation sparsity within LLMs deserves deep studies, existing works lack comprehensive and quantitative research on the correlation between activation sparsity and potentially influential factors. In this paper, we present a comprehensive study on the quantitative scaling properties and influential factors of the activation sparsity within decoder-only Transformer-based LLMs. Specifically, we propose PPL-p% sparsity, a precise and performance-aware activation sparsity metric that is applicable to any activation function. Through extensive experiments, we find several important phenomena. Firstly, different activation functions exhibit comparable performance but opposite training-time sparsity trends. The activation ratio (i.e., 1-sparsity ratio) evolves as a convergent increasing power-law and decreasing logspace power-law with the amount of training data for SiLU-activated and ReLU-activated LLMs, respectively. These demonstrate that ReLU is more efficient as the activation function than SiLU and can leverage more training data to improve activation sparsity. Secondly, the activation ratio linearly increases with the width-depth ratio below a certain bottleneck point, indicating the potential advantage of a deeper architecture at a fixed parameter scale. Finally, at similar width-depth ratios, we surprisingly find that the limit value of activation sparsity varies weakly with the parameter scale, i.e., the activation patterns within LLMs are insensitive to the parameter scale. These empirical laws towards LLMs with greater activation sparsity have important implications for making LLMs more efficient and interpretable.

Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 59 of its 71 references that are in the map. First posted on arXiv 4 Nov 2024.

Builds on

59 of 71 references.

References · 59

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  9. 2021Program Synthesis with Large Language Modelscited by 3,637
  10. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  11. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
38 more
  1. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  2. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  3. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  4. 2020GLU Variants Improve Transformercited by 1,804
  5. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
  6. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  7. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  8. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
  9. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
  10. 2023StarCoder: may the source be with you!cited by 799
  11. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  12. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
  13. 2016Language Modeling with Gated Convolutional Networkscited by 702
  14. 2021Knowledge Neurons in Pretrained Transformerscited by 601
  15. 2024Scaling and evaluating sparse autoencoderscited by 553
  16. 2020TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languagescited by 488
  17. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
  18. 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 415
  19. 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 399
  20. 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 394
  21. 2022The Stack: 3 TB of permissively licensed source codecited by 359
  22. 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 288
  23. 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 256
  24. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
  25. 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 217
  26. 2024Scaling Laws for Fine-Grained Mixture of Expertscited by 173
  27. 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 152
  28. 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 142
  29. 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 122
  30. 2024PowerInfer-2: Fast Large Language Model Inference on a Smartphonecited by 103
  31. 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 94
  32. 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
  33. 2024Harder Tasks Need More Experts: Dynamic Routing in MoE Modelscited by 72
  34. 2024Chinchilla Scaling: A replication attemptcited by 72
  35. 2024Mixture of A Million Expertscited by 72
  36. 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 67
  37. 2024Training-Free Activation Sparsity in Large Language Modelscited by 55
  38. 2019How Can We Be So Dense? The Benefits of Using Highly Sparse Representationscited by 45

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 13; 2026: 9.

22 papers.

Sort:

By area:

  1. 2025The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMscited by 29
  2. 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoningcited by 8
  3. 2025Universal Properties of Activation Sparsity in Modern Large Language Modelscited by 7
  4. 2025Polar Sparsity: High Throughput Batched LLM Inferencing with Scalable Contextual Sparsitycited by 6
  5. 2025BlockFFN: Towards End-Side Acceleration-Friendly Mixture-of-Experts with Chunk-Level Activation Sparsitycited by 6
  6. 2025Spark Transformer: Reactivating Sparsity in FFN and Attentioncited by 5
  7. 2025SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deploymentcited by 5
  8. 2025Understanding and Harnessing Sparsity in Unified Multimodal Modelscited by 4
  9. 2025Response Uncertainty and Probe Modeling: Two Sides of the Same Coin in LLM Interpretability?cited by 3
  10. 2026How Controlling the Variance can Improve Training Stability of Sparsely Activated DNNs and CNNscited by 2
  11. 2026It Takes a MAESTRO To Prune Bad Expertscited by 2
  12. 2025What Should Feature Distillation Transfer in LLMs? A Task-Tangent Geometry Viewcited by 1
10 more
  1. 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMscited by 1
  2. 2025Finedeep: Mitigating Sparse Activation in Dense LLMs via Multi-Layer Fine-Grained Expertscited by 0
  3. 2025SAGE: Scale-Aware Gradual Evolution for Continual Knowledge Graph Embeddingcited by 0
  4. 2025Resting Neurons, Active Insights: Robustifying Activation Sparsity in LLMs via Spontaneitycited by 0
  5. 2026Sparse or Dense? A Mechanistic Estimation of Computation Density in Transformer-based LLMscited by 0
  6. 2026Uncovering Intra-expert Activation Sparsity for Efficient Mixture-of-Expert Model Executioncited by 0
  7. 2026DECO: Sparse Mixture-of-Experts with Dense-Comparable Performance on End-Side Devicescited by 0
  8. 2026Unifying Depth and Width Pruning for LLMs via Binary Knapsack Optimizationcited by 0
  9. 2026Model Casting and Low-Parameter Gating: Towards More Sparsely Activated FFNscited by 0
  10. 2026On the Necessity of Attention-FFN Split in Vision Transformerscited by 0