Universal Properties of Activation Sparsity in Modern Large Language Models

Filip Szatkowski, Patryk Będkowski, Alessio Devoto, Jan Dubiński, Pasquale Minervini, Mikołaj Piórczyński, Simone Scardapane, Bartosz Wójcik

Introduction

Activation sparsity—the tendency of neural networks to rely on only a small fraction of their neurons for any given input—has long been exploited for efficiency in older, ReLU-based models. Because ReLU naturally turns negative values into exact zeros, models could simply skip the math for those activations. However, modern Large Language Models (LLMs) like Gemma, LLaMA, and Qwen utilize "smoother" activation functions like SiLU and GELU. These functions rarely produce exact zeros, resulting in a massive amount of "near-zero" computation that may be unnecessary.

Until now, research into LLM sparsity has been fragmented, often focusing on specific models or requiring expensive retraining to force sparsity. This paper introduces a universal, training-free framework to measure inherent redundancy in modern LLMs, revealing that we can often zero out 50-80% of activations with negligible performance loss.

Measuring Sparsity Robustness

To understand how much redundancy exists without breaking the model, the authors introduce a simple framework to measure Sparsity Robustness across Feed-Forward Network (FFN) layers.

  1. Top-p Sparsification: Instead of searching for exact zeros, the method takes an activation vector and retains only the largest values that contribute to a fraction $p$ of the total magnitude (L1 norm). All other values are set to zero.
  2. Critical Sparsity: This metric is defined as the maximum percentage of activations that can be zeroed out while maintaining at least 99% of the original model's performance on standard benchmarks.

The researchers applied this sparsification rule across different components of the FFN layers—specifically the input, the gate, and the up-projection—to identify which parts of the network are the most redundant.

Different strategies for activation sparsity in FFN layers.

Key Findings and Scaling Laws

The study evaluated these models across a comprehensive battery of NLP benchmarks, covering general knowledge, reasoning, coding, and language-specific tasks, yielding several critical insights:

The Scaling Law of Sparsity

One of the most significant findings is that larger models are inherently more sparse. As parameter counts grow, the "effective rank" of activations drops. The model relies on a smaller relative "active" area to process information. This suggests that as we continue to scale models up, the potential gains from sparsity-based acceleration will only increase. For instance, in large models like Gemma3-27B, the Critical Sparsity for intermediate activations exceeds 70-80%.

Normalized accuracy and activation sparsity across Gemma3 model sizes and FFN modules.

Input Sparsity is the "Goldilocks" Zone

While intermediate activations exhibit the highest technical sparsity, exploiting them usually requires a "predictor" network to guess which activations will be zero, adding computational overhead. The authors found that input-based sparsification is nearly as effective and much more practical, as it requires no extra overhead or training.

Diffusion LLMs and Task Dependency

This paper also presents the first study of activation sparsity in diffusion-based LLMs (like LLaDA). Surprisingly, these models are even more robust to sparsification than standard autoregressive models, likely because their iterative denoising process naturally filters out noise. Furthermore, sparsity is highly task-dependent: a model might tolerate 80% sparsity on an easy task but only 40% on a complex reasoning task, highlighting the need for dynamic, input-adaptive sparsity thresholds.

Limitations and Future Directions

While the findings present a massive opportunity for optimization (with existing kernels potentially translating this sparsity into 1.3x to 1.5x speedups), there are limitations. The study focuses almost exclusively on FFN layers, leaving the Attention mechanism unaddressed. Additionally, there is a hardware gap: current standard GPUs struggle to accelerate "unstructured" zeros efficiently, meaning specialized kernels or hardware are needed to fully realize these gains. Finally, while the empirical evidence proves larger models are sparser, the theoretical mechanism driving this scaling behavior remains an open question for future research.

Summary updated

BibTeX
@inproceedings{szatkowski2026universal,
  author = {Filip Szatkowski and Patryk Będkowski and Alessio Devoto and Jan Dubiński and Pasquale Minervini and Mikołaj Piórczyński and Simone Scardapane and Bartosz Wójcik},
  title = {{Universal Properties of Activation Sparsity in Modern Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=I9M5OoOBnI},
}
Figure