Sparse or Dense? A Mechanistic Estimation of Computation Density in Transformer-based LLMs
Not on the map. Why?
Abstract (arXiv)
Transformer-based large language models (LLMs) are comprised of billions of parameters arranged in deep and wide computational graphs. Several studies on LLM efficiency optimization argue that it is possible to prune a significant portion of the parameters, while only marginally impacting performance. This suggests that the computation is not uniformly distributed across the parameters. We introduce here a technique to systematically quantify computation density in LLMs. In particular, we design a density estimator drawing on mechanistic interpretability. We experimentally test our estimator and find that: (1) contrary to what has been often assumed, LLM processing generally involves dense computation; (2) computation density is dynamic, in the sense that models shift between sparse and dense processing regimes depending on the input; (3) per-input density is significantly correlated across LLMs, suggesting that the same inputs trigger either low or high density. Investigating the factors influencing density, we observe that predicting rarer tokens requires higher density, and increasing context length often decreases the density. We believe that our computation density estimator will contribute to a better understanding of the processing at work in LLMs, challenging their symbolic interpretation.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 33 of its 46 references that are in the map. First posted on arXiv 30 Jan 2026.
Builds on
33 of 46 references.
References · 33
- 2017Attention Is All You Needcited by 59,932
- 2025Qwen3 Technical Reportcited by 8,195
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2023Mistral 7Bcited by 3,065
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2019Are Sixteen Heads Really Better than One?cited by 803
21 more
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 20242 OLMo 2 Furiouscited by 302
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2023Attribution Patching Outperforms Automated Circuit Discoverycited by 196
- 2025Open Problems in Mechanistic Interpretabilitycited by 173
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
- 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 144
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
- 2024Not All Layers of LLMs Are Necessary During Inferencecited by 95
- 2025How Well do LLMs Compress Their Own Chain-of-Thought? A Token Complexity Approachcited by 95
- 2024Information Flow Routes: Automatically Interpreting Language Models at Scalecited by 92
- 2023Neurons in Large Language Models: Dead, N-gram, Positionalcited by 88
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2022Rethinking the Role of Scale for In-Context Learning: An Interpretability-based Case Study at 66 Billion Scalecited by 64
- 2024Finding Transformer Circuits with Edge Pruningcited by 58
- 2022Neurocompositional computing: From the Central Paradox of Cognition to a new generation of AI systemscited by 44
- 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Modelscited by 41
- 2024Sparsing Law: Towards Large Language Models with Greater Activation Sparsitycited by 22
- 2024Optimal ablation for interpretabilitycited by 21
- 2025LLMs as a synthesis between symbolic and distributed approaches to languagecited by 13
Built on by
Not cited yet.