Pruning Large Language Models by Identifying and Preserving Functional Networks

Yiheng Liu, Junhao Ning, Sichen Xia, Xiaohui Gao, Ning Qiang +3 more
8/7/2025
cs.CLcs.AIcs.LG

Official code: WhatAboutMyStar/LLM_ACTIVATION (7 stars, MIT, last commit 2026-02-15).

Abstract

Structured pruning is one of the representative techniques for compressing large language models (LLMs) to reduce GPU memory consumption and accelerate inference speed. It offers significant practical value in improving the efficiency of LLMs in real-world applications. Current structured pruning methods typically rely on assessment of the importance of the structure units and pruning the units with less importance. Most of them overlooks the interaction and collaboration among artificial neurons that are crucial for the functionalities of LLMs, leading to a disruption in the macro functional architecture of LLMs and consequently a pruning performance degradation. Inspired by the inherent similarities between artificial neural networks and functional neural networks in the human brain, we alleviate this challenge and propose to prune LLMs by identifying and preserving functional networks within LLMs in this study. To achieve this, we treat an LLM as a digital brain and decompose the LLM into functional networks, analogous to identifying functional brain networks in neuroimaging data. Afterwards, an LLM is pruned by preserving the key neurons within these functional networks. Experimental results demonstrate that the proposed method can successfully identify and locate functional networks and key neurons in LLMs, enabling efficient model pruning. Our code is available at https://github.com/WhatAboutMyStar/LLM_ACTIVATION.

View on arXivView PDF

Code Implementations(1)

MIT

The implement of "Brain-Inspired Exploration of Functional Networks and Key Neurons in Large Language Models", "Pruning Large Language Models by Identifying and Preserving Functional Networks" and "FNF: Functional Network Fingerprint for Large Language Models"

73Python, Jupyter NotebookAug 11, 20248 months agoMIT

Similar Papers

Cite this paper

@article{liu2025pruning,
  title  = {Pruning Large Language Models by Identifying and Preserving Functional Networks},
  author = {Yiheng Liu and Junhao Ning and Sichen Xia and Xiaohui Gao and Ning Qiang and Bao Ge and Junwei Han and Xintao Hu},
  year   = {2025},
  eprint = {2508.05239},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.05239v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.05239.svg)](https://codeofpaper.com/paper/2508.05239)

Discussion