Lune

AAAI2025Top-tier venue

Exploring Activation Patterns of Parameters in Language Models

Yudong Wang, Damai Dai, Zhe Yang, Jingyuan Ma, Zhifang Sui

Abstract

Most work treats large language models as black boxes without in-depth understanding of their internal working mechanism. In order to explain the internal representations of LLMs, we propose a gradient-based metric to assess the activation level of model parameters. Based on this metric, we obtain three preliminary findings. (1) When the inputs are in the same domain, parameters in the shallow layers will be activated densely, which means a larger portion of parameters will have great impacts on the outputs. In contrast, parameters in the deep layers are activated sparsely. (2) When the inputs are across different domains, parameters in shallow layers exhibit higher similarity in the activation behavior than deep layers. (3) In deep layers, the similarity of the distributions of activated parameters is positively correlated to the empirical data relevance. Further, we develop three validation experiments to solidify these findings. (1) Firstly, starting from the first finding, we attempt to configure different prune ratios for different layers, and find this method can benefit model pruning. (2) Secondly, we find that a pruned model based on one calibration set can better handle tasks related to the calibration task than those not related, which validate the second finding. (3) Thirdly, Based on the STS-B and SICK benchmark, we find that two sentences with consistent semantics tend to share similar parameter activation patterns in deep layers, which aligns with our third finding. Our work sheds light on the behavior of parameter activation in LLMs, and we hope these findings will have the potential to inspire more practical applications. Recent work has found that there may be some parameters within the model that exist for specific tasks. Fu et al. [11] revealed that while the distilled model excels in the specific task it was designed for, the original, more general model experiences a decline in performance in other tasks it was previously proficient. This observation suggests that different tasks may tap into distinct capacities within a model, and these capacities seem to be mutually exclusive to some extent. In another

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Simple and Effective Pruning Approach for Large Language Models cites Measuring Massive Multitask Language Understanding
  • A Simple and Effective Pruning Approach for Large Language Models cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
  • Measuring Massive Multitask Language Understanding cites PIQA: Reasoning about Physical Commonsense in Natural Language
  • LLM-Pruner: On the Structural Pruning of Large Language Models cites PIQA: Reasoning about Physical Commonsense in Natural Language
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. SparseInfer: Accelerating Large Language Model Inference with Semantics-Inspired Adaptive Sparse ActivationQinsi Wang, Saeed Vahidian, Hancheng Ye, Jianyang Gu et al.ICML 2026 · 16 citations
  2. From Mathematical Reasoning to Code: Generalization of Process Reward Models in Test-Time ScalingZhengyu Chen, Yudong Wang, Teng Xiao, Ruochen Zhou et al.AAAI 2026 · 2 citations

Builds on10

  1. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations
  2. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao et al.AAAI 2020 · 2,916 citations
  3. SparseGPT: Massive Language Models Can be Accurately Pruned in One-ShotElias Frantar, Dan AlistarhICML 2023 · 1,240 citations
  4. LLM-Pruner: On the Structural Pruning of Large Language ModelsXinyin Ma, Gongfan Fang, Xinchao WangNeurIPS 2023 · 994 citations
  5. A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 citations

Related papers

  1. Unraveling Babel: Exploring Multilingual Activation Patterns of LLMs and Their ApplicationsWeize Liu, Yinlong Xu, Hongxia Xu, Jintai Chen et al.EMNLP 2024 · 1 citation
  2. Sparsing Law: Towards Large Language Models with Greater Activation SparsityYuqi Luo, Chenyang Song, Xu Han, Yingfa Chen et al.ICML 2025
  3. Interpretability of Language Models via Task SpacesLucas Weber, Jaap Jumelet, Elia Bruni, Dieuwke HupkesACL 2024
  4. Do Activation Verbalization Methods Convey Privileged Information?Millicent Li, Alberto Mario Ceballos Arroyo, Giordano Rogers, Naomi Saphra et al.ICML 2026 · 5 citations
  5. SEAP: Sparse Expert Activation Pruning Unlocks the Brainpower of Large Language ModelsXun Liang, Hanyu Wang, Huayi Lai, Simin Niu et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines