mlsanityData to 7 Oct 2026

Exploring the Benefit of Activation Sparsity in Pre-training

arXiv 2410.03440 ↗First posted 4 Oct 2024cs.CL cs.AIcited by 5

On the map: Mixture-of-experts → MoE theory and gating functions

Abstract (arXiv)

Pre-trained Transformers inherently possess the characteristic of sparse activation, where only a small fraction of the neurons are activated for each token. While sparse activation has been explored through post-training methods, its potential in pre-training remains untapped. In this work, we first study how activation properties change during pre-training. Our examination reveals that Transformers exhibit sparse activation throughout the majority of the pre-training process while the activation correlation keeps evolving as training progresses. Leveraging this observation, we propose Switchable Sparse-Dense Learning (SSD). SSD adaptively switches between the Mixtures-of-Experts (MoE) based sparse training and the conventional dense training during the pre-training process, leveraging the efficiency of sparse training and avoiding the static activation correlation of sparse training. Compared to dense training, SSD achieves comparable performance with identical model size and reduces pre-training costs. Moreover, the models trained with SSD can be directly used as MoE models for sparse inference and achieve the same performance as dense models with up to 2× faster inference speed. Codes are available at https://github.com/thunlp/moefication.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in MoE theory and gating functions, one of 12 directions in Mixture-of-experts. Builds on 53 of its 66 references that are in the map. First posted on arXiv 4 Oct 2024.

Builds on

53 of 66 references.

Closest ancestors · 2

Same direction, newest first

  1. 2022Parameter-Efficient Mixture-of-Experts Architecture for Pre-trained Language Models2 Mar
  2. 2021DSelect-k: Differentiable Selection in the Mixture of Experts with Applications to Multi-Task Learning7 Jun

Other references · 51

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  7. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  8. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  9. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  10. 2017Billion-scale similarity search with GPUscited by 2,477
  11. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  12. 2015A large annotated corpus for learning natural language inferencecited by 1,837
38 more
  1. 2024Mixtral of Expertscited by 1,785
  2. 2020GLU Variants Improve Transformercited by 1,724
  3. 2020On Layer Normalization in the Transformer Architecturecited by 906
  4. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
  5. 2021Scaling Vision with Sparse Mixture of Expertscited by 740
  6. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 694
  7. 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
  8. 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
  9. 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
  10. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
  11. 2021Hash Layers For Large Sparse Modelscited by 236
  12. 2022MegaBlocks: Efficient Sparse Training with Mixture-of-Expertscited by 204
  13. 2022Tutel: Adaptive Mixture-of-Experts at Scalecited by 199
  14. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
  15. 2021Efficient Large Scale Language Modeling with Mixtures of Expertscited by 175
  16. 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 170
  17. 2022On the Representation Collapse of Sparse Mixture of Expertscited by 156
  18. 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
  19. 2021DEMix Layers: Disentangling Domains for Modular Language Modelingcited by 130
  20. 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
  21. 2021Taming Sparsely Activated Transformer with Stochastic Expertscited by 112
  22. 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
  23. 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 91
  24. 2023Soft Merging of Experts with Adaptive Routingcited by 88
  25. 2021How to Train BERT with an Academic Budgetcited by 80
  26. 2023Exploring the Benefits of Training Expert Language Models over Instruction Tuningcited by 80
  27. 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 66
  28. 2022Finding Skill Neurons in Pre-trained Transformer-based Language Modelscited by 65
  29. 2023Lifelong Language Pretraining with Distribution-Specialized Expertscited by 64
  30. 2023Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformerscited by 59
  31. 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 58
  32. 2024Dense Training, Sparse Inference: Rethinking Training of Mixture-of-Experts Language Modelscited by 41
  33. 2021Knowledge Inheritance for Pre-trained Language Modelscited by 38
  34. 2022MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptationcited by 37
  35. 2023Emergent Modularity in Pre-trained Transformerscited by 37
  36. 2022Gating Dropout: Communication-efficient Regularization for Sparsely Activated Transformerscited by 22
  37. 2024Scattered Mixture-of-Experts Implementationcited by 15
  38. 2022Sparse Mixers: Combining MoE and Mixing to build a more efficient BERTcited by 12

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Exploiting Activation Sparsity with Dense to Dynamic-k Mixture-of-Experts Conversion
  2. 2026Dense vs Sparse Pretraining at Tiny Scale: Active-Parameter vs Total-Parameter Matching
  3. 2025Analytical FFN-to-MoE Restructuring via Activation Pattern Analysis
  4. 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltas
  5. 2026Uncovering Intra-expert Activation Sparsity for Efficient Mixture-of-Expert Model Execution
  6. 2026ExpertWeaver: Unlocking the Inherent MoE in Dense LLMs with GLU Activation Patterns
  7. 2026Hyperparameter Scaling Laws Across MoE Sparsity
  8. 2025MoE-PHDS: One MoE checkpoint for flexible runtime sparsity