ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMs
Not on the map. Why?
Abstract (arXiv)
Sparse computation offers a compelling solution for the inference of Large Language Models (LLMs) in low-resource scenarios by dynamically skipping the computation of inactive neurons. While traditional approaches focus on ReLU-based LLMs, leveraging zeros in activation values, we broaden the scope of sparse LLMs beyond zero activation values. We introduce a general method that defines neuron activation through neuron output magnitudes and a tailored magnitude threshold, demonstrating that non-ReLU LLMs also exhibit sparse activation. To find the most efficient activation function for sparse computation, we propose a systematic framework to examine the sparsity of LLMs from three aspects: the trade-off between sparsity and performance, the predictivity of sparsity, and the hardware affinity. We conduct thorough experiments on LLMs utilizing different activation functions, including ReLU, SwiGLU, ReGLU, and ReLU2. The results indicate that models employing ReLU2 excel across all three evaluation aspects, highlighting its potential as an efficient activation function for sparse LLMs. We will release the code to facilitate future research.
Key facts. Cited by 66 papers in the map (data through 7 Oct 2026). Builds on 63 of its 76 references that are in the map. First posted on arXiv 6 Feb 2024.
Builds on
63 of 76 references.
References · 63
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
38 more
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023A Survey of Large Language Modelscited by 2,537
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2020GLU Variants Improve Transformercited by 1,724
- 2020Reformer: The Efficient Transformercited by 1,658
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 935
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2021Scaling Vision with Sparse Mixture of Expertscited by 740
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2023The Falcon Series of Open Language Modelscited by 526
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 210
- 2021Efficient Large Scale Language Modeling with Mixtures of Expertscited by 175
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 170
50 most cited of 63 All 63 (JSON)
Built on by
Citing papers per year: 2024: 17; 2025: 25; 2026: 24.
66 papers.
Sort:
By area:
- 2025Don't be lazy: CompleteP enables compute-efficient deep transformerscited by 69
- 2024Training-Free Activation Sparsity in Large Language Modelscited by 51
- 2026Parcae: Scaling Laws For Stable Looped Language Modelscited by 45
- 2024ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Modelscited by 43
- 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Modelscited by 41
- 2024Turbo Sparse: Achieving LLM SOTA Performance with Minimal Activated Parameterscited by 37
- 2025Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layerscited by 32
- 2025Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representationcited by 25
- 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
- 2024Sparsing Law: Towards Large Language Models with Greater Activation Sparsitycited by 22
- 2025Mixture of Experts Made Intrinsically Interpretablecited by 22
- 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Trainingcited by 21
38 more
- 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inferencecited by 18
- 2024Monet: Mixture of Monosemantic Experts for Transformerscited by 12
- 2024Yi-Lightning Technical Reportcited by 11
- 2025Accelerating Transformer Inference and Training with 2:4 Activation Sparsitycited by 9
- 2025FloE: On-the-Fly MoE Inference on Memory-constrained GPUcited by 9
- 2025SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsitycited by 9
- 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defensecited by 7
- 2025DuoGPT: Training-free Dual Sparsity through Activation-aware Pruning in LLMscited by 6
- 2025BlockFFN: Towards End-Side Acceleration-Friendly Mixture-of-Experts with Chunk-Level Activation Sparsitycited by 6
- 2026Simply Stabilizing the Loop via Fully Looped Transformercited by 6
- 2024Composing Global Solutions to Reasoning Tasks via Algebraic Objects in Neural Netscited by 5
- 2024Exploring the Benefit of Activation Sparsity in Pre-trainingcited by 5
- 2025Spark Transformer: Reactivating Sparsity in FFN and Attentioncited by 5
- 2025La RoSA: Enhancing LLM Efficiency via Layerwise Rotated Sparse Activationcited by 5
- 2025iFairy: the First 2-bit Complex LLM with All Parameters in ±1, ± icited by 5
- 2025Universal Properties of Activation Sparsity in Modern Large Language Modelscited by 5
- 2024Achieving Sparse Activation in Small Language Modelscited by 4
- 2024Neuralink: Fast LLM Inference on Smartphones with Neuron Co-Activation Linkingcited by 4
- 2025PLM: Efficient Peripheral Language Models Hardware-Co-Designed for Ubiquitous Computingcited by 4
- 2025SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deploymentcited by 4
- 2024Dynamic Activation Pitfalls in LLaMA Models: An Empirical Studycited by 3
- 2024How Do Artificial Intelligences Think? The Three Mathematico-Cognitive Factors of Categorical Segmentation Operated by Synthetic Neuronscited by 3
- 2025Accelerating Linear Recurrent Neural Networks for the Edge with Unstructured Sparsitycited by 3
- 2025Comet: Accelerating Private Inference for Large Language Model by Predicting Activation Sparsitycited by 3
- 2026Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Designcited by 3
- 2026Anytime Training with Schedule-Free Spectral Optimizationcited by 3
- 2026More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activationscited by 3
- 2024Mixture of Hidden-Dimensions Transformercited by 2
- 2025Adaptive Rank Allocation: Speeding Up Modern Transformers with RaNA Adapterscited by 2
- 2024Activation Sparsity Opportunities for Compressing General Large Language Modelscited by 1
- 2025COUNTDOWN: Contextually Sparse Activation Filtering Out Unnecessary Weights in Down Projectioncited by 1
- 2025Why Neural Network Can Discover Symbolic Structures with Gradient-based Training: An Algebraic and Geometric Foundation for Neurosymbolic Reasoningcited by 1
- 2025DualSparse-MoE: Coordinating Tensor/Neuron-Level Sparsity with Expert Partition and Reconstructioncited by 1
- 2026Robustness of Mixtures of Experts to Feature Noisecited by 1
- 2026How Controlling the Variance can Improve Training Stability of Sparsely Activated DNNs and CNNscited by 1
- 2026ActTail: Global Activation Sparsity in Large Language Modelscited by 1
- 2026Bug or Feature2: Weight Drift, Activation Sparsity and Spikescited by 1
- 2024Superpipeline: A Universal Approach for Reducing GPU Memory Usage in Large Modelscited by 0
50 most cited of 66 All 66 (JSON)
- 2026On the Necessity of Attention-FFN Split in Vision Transformers7 Oct 2026
- 2026Model Casting and Low-Parameter Gating: Towards More Sparsely Activated FFNs25 Sep 2026
- 2026Event-Driven Language Models with Sparse Neural Activity for Neuromorphic Hardware31 Aug 2026
- 2026See More, Detect Less? Taming Information Leakage in Multi-View Anomaly Detection25 Aug 2026
- 2026SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems via Deterministic Side Channels4 Aug 2026
- 2026Prox: Training-Free FFN Activation Sparsity via Approximate Intermediate-Channel Salience in LLMs30 Jul 2026
- 2026Sensitivity-Aware Thresholding and Token Routing for Activation Sparsification in Large Language Models9 Jul 2026
- 2026Readable but Not Controllable: Neuron-Level Evidence for Medical LLM Hallucination30 Jun 2026
- 2026Confidence-Adaptive SwiGLU for Mixture-of-Experts30 May 2026
- 2026More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activations26 May 2026
- 2026RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Models26 May 2026
- 2026Anytime Training with Schedule-Free Spectral Optimization21 May 2026
38 more
- 2026Bug or Feature2: Weight Drift, Activation Sparsity and Spikes17 May 2026
- 2026Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Design15 May 2026
- 2026Simply Stabilizing the Loop via Fully Looped Transformer11 May 2026
- 2026DECO: Sparse Mixture-of-Experts with Dense-Comparable Performance on End-Side Devices11 May 2026
- 2026The Role of Symmetry in Optimizing Overparameterized Networks28 Apr 2026
- 2026PointTransformerX: Portable and Efficient 3D Point Cloud Processing without Sparse Algorithms27 Apr 2026
- 2026Parcae: Scaling Laws For Stable Looped Language Models14 Apr 2026
- 2026SVD Contextual Sparsity Predictors for Fast LLM Inference14 Mar 2026
- 2026ActTail: Global Activation Sparsity in Large Language Models18 Feb 2026
- 2026How Controlling the Variance can Improve Training Stability of Sparsely Activated DNNs and CNNs5 Feb 2026
- 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training30 Jan 2026
- 2026Robustness of Mixtures of Experts to Feature Noise21 Jan 2026
- 2025Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layers19 Dec 2025
- 2025Resting Neurons, Active Insights: Robustifying Activation Sparsity in LLMs via Spontaneity14 Dec 2025
- 2025Universal Properties of Activation Sparsity in Modern Large Language Models30 Aug 2025
- 2025DualSparse-MoE: Coordinating Tensor/Neuron-Level Sparsity with Expert Partition and Reconstruction25 Aug 2025
- 2025iFairy: the First 2-bit Complex LLM with All Parameters in ±1, ± i7 Aug 2025
- 2025SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deployment28 Jul 2025
- 2025BlockFFN: Towards End-Side Acceleration-Friendly Mixture-of-Experts with Chunk-Level Activation Sparsity11 Jul 2025
- 2025La RoSA: Enhancing LLM Efficiency via Layerwise Rotated Sparse Activation2 Jul 2025
- 2025Why Neural Network Can Discover Symbolic Structures with Gradient-based Training: An Algebraic and Geometric Foundation for Neurosymbolic Reasoning26 Jun 2025
- 2025DuoGPT: Training-free Dual Sparsity through Activation-aware Pruning in LLMs25 Jun 2025
- 2025SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity19 Jun 2025
- 2025Spark Transformer: Reactivating Sparsity in FFN and Attention7 Jun 2025
- 2025A Faster Generalized Two-Stage Approximate Top-K4 Jun 2025
- 2025COUNTDOWN: Contextually Sparse Activation Filtering Out Unnecessary Weights in Down Projection23 May 2025
- 2025Comet: Accelerating Private Inference for Large Language Model by Predicting Activation Sparsity12 May 2025
- 2025FloE: On-the-Fly MoE Inference on Memory-constrained GPU9 May 2025
- 2025Don't be lazy: CompleteP enables compute-efficient deep transformers2 May 2025
- 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inference28 Apr 2025
- 2025Adaptive Rank Allocation: Speeding Up Modern Transformers with RaNA Adapters23 Mar 2025
- 2025Accelerating Transformer Inference and Training with 2:4 Activation Sparsity20 Mar 2025
- 2025PLM: Efficient Peripheral Language Models Hardware-Co-Designed for Ubiquitous Computing15 Mar 2025
- 2025Mixture of Experts Made Intrinsically Interpretable5 Mar 2025
- 2025Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representation3 Mar 2025
- 2025Accelerating Linear Recurrent Neural Networks for the Edge with Unstructured Sparsity3 Feb 2025
- 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defense2 Feb 2025
- 2024How Do Artificial Intelligences Think? The Three Mathematico-Cognitive Factors of Categorical Segmentation Operated by Synthetic Neurons26 Dec 2024
50 newest of 66 All 66 (JSON)
- 2024Turbo Sparse: Achieving LLM SOTA Performance with Minimal Activated Parameterscited by 37
- 2025Mixture of Experts Made Intrinsically Interpretablecited by 22
- 2025FloE: On-the-Fly MoE Inference on Memory-constrained GPUcited by 9
- 2025BlockFFN: Towards End-Side Acceleration-Friendly Mixture-of-Experts with Chunk-Level Activation Sparsitycited by 6
- 2024Exploring the Benefit of Activation Sparsity in Pre-trainingcited by 5
- 2025DualSparse-MoE: Coordinating Tensor/Neuron-Level Sparsity with Expert Partition and Reconstructioncited by 1
- 2026Robustness of Mixtures of Experts to Feature Noisecited by 1
- 2026DECO: Sparse Mixture-of-Experts with Dense-Comparable Performance on End-Side Devicescited by 0
- 2026Confidence-Adaptive SwiGLU for Mixture-of-Expertscited by 0
- 2026Confidence-Adaptive SwiGLU for Mixture-of-Experts30 May 2026
- 2026DECO: Sparse Mixture-of-Experts with Dense-Comparable Performance on End-Side Devices11 May 2026
- 2026Robustness of Mixtures of Experts to Feature Noise21 Jan 2026
- 2025DualSparse-MoE: Coordinating Tensor/Neuron-Level Sparsity with Expert Partition and Reconstruction25 Aug 2025
- 2025BlockFFN: Towards End-Side Acceleration-Friendly Mixture-of-Experts with Chunk-Level Activation Sparsity11 Jul 2025
- 2025FloE: On-the-Fly MoE Inference on Memory-constrained GPU9 May 2025
- 2025Mixture of Experts Made Intrinsically Interpretable5 Mar 2025
- 2024Exploring the Benefit of Activation Sparsity in Pre-training4 Oct 2024
- 2024Turbo Sparse: Achieving LLM SOTA Performance with Minimal Activated Parameters10 Jun 2024
- 2024Training-Free Activation Sparsity in Large Language Modelscited by 51
- 2024ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Modelscited by 43
- 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inferencecited by 18
- 2026SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems via Deterministic Side Channelscited by 0
- 2026Event-Driven Language Models with Sparse Neural Activity for Neuromorphic Hardwarecited by 0
- 2026Event-Driven Language Models with Sparse Neural Activity for Neuromorphic Hardware31 Aug 2026
- 2026SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems via Deterministic Side Channels4 Aug 2026
- 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inference28 Apr 2025
- 2024Training-Free Activation Sparsity in Large Language Models26 Aug 2024
- 2024ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Models21 Feb 2024
- 2025SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deploymentcited by 4
- 2024How Do Artificial Intelligences Think? The Three Mathematico-Cognitive Factors of Categorical Segmentation Operated by Synthetic Neuronscited by 3
- 2025Why Neural Network Can Discover Symbolic Structures with Gradient-based Training: An Algebraic and Geometric Foundation for Neurosymbolic Reasoningcited by 1
- 2025SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deployment28 Jul 2025
- 2025Why Neural Network Can Discover Symbolic Structures with Gradient-based Training: An Algebraic and Geometric Foundation for Neurosymbolic Reasoning26 Jun 2025
- 2024How Do Artificial Intelligences Think? The Three Mathematico-Cognitive Factors of Categorical Segmentation Operated by Synthetic Neurons26 Dec 2024
- 2024Yi-Lightning Technical Reportcited by 11
- 2024Yi-Lightning Technical Report2 Dec 2024
- 2025Don't be lazy: CompleteP enables compute-efficient deep transformerscited by 69
- 2026Parcae: Scaling Laws For Stable Looped Language Modelscited by 45
- 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Modelscited by 41
- 2025Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layerscited by 32
- 2025Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representationcited by 25
- 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
- 2024Sparsing Law: Towards Large Language Models with Greater Activation Sparsitycited by 22
- 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Trainingcited by 21
- 2024Monet: Mixture of Monosemantic Experts for Transformerscited by 12
- 2025Accelerating Transformer Inference and Training with 2:4 Activation Sparsitycited by 9
- 2025SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsitycited by 9
- 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defensecited by 7
12 most cited of 46 All 46 (JSON)
- 2026On the Necessity of Attention-FFN Split in Vision Transformers7 Oct 2026
- 2026Model Casting and Low-Parameter Gating: Towards More Sparsely Activated FFNs25 Sep 2026
- 2026See More, Detect Less? Taming Information Leakage in Multi-View Anomaly Detection25 Aug 2026
- 2026Prox: Training-Free FFN Activation Sparsity via Approximate Intermediate-Channel Salience in LLMs30 Jul 2026
- 2026Sensitivity-Aware Thresholding and Token Routing for Activation Sparsification in Large Language Models9 Jul 2026
- 2026Readable but Not Controllable: Neuron-Level Evidence for Medical LLM Hallucination30 Jun 2026
- 2026More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activations26 May 2026
- 2026Anytime Training with Schedule-Free Spectral Optimization21 May 2026
- 2026Bug or Feature2: Weight Drift, Activation Sparsity and Spikes17 May 2026
- 2026Simply Stabilizing the Loop via Fully Looped Transformer11 May 2026
- 2026The Role of Symmetry in Optimizing Overparameterized Networks28 Apr 2026
- 2026PointTransformerX: Portable and Efficient 3D Point Cloud Processing without Sparse Algorithms27 Apr 2026
12 newest of 46 All 46 (JSON)