paper-with-me

Papers

Exploring the Limits of Pruning: Task-Specific Neurons, Model Collapse, and Recovery in Task-Specific Large Language Models

2026-04-29 · M. K. Khalidi Siam, Md. Tausif-Ul-Islam, Md. Reshad Romim Khan, Mohammed Ali Hossain, Mushfiqul Amin, Labib Hasan Khan, Niloy Farhan, Farig Sadeque arxiv

Neuron pruning is widely used to reduce the computational cost and parameter footprint of large language models, yet it remains unclear whether neurons in task-specific models contribute uniformly to task performance. In this work, we provide empirical evidence for the existence and importance of task-specific neurons through a systematic pruning study on language models specialized for mathematical reasoning and code generation. We introduce an activation-based selectivity metric to identify neurons with low contribution to the target task and prune them while preserving target-task accuracy, and compare selective pruning with random pruning. Selective pruning consistently outperforms random pruning, indicating that activation-based selectivity provides a systematic advantage over random pruning. Reverse pruning experiments further show that removing a small subset of highly task-specific neurons (~10%) causes complete performance collapse, suggesting that there exist task specific neurons and critical task information is concentrated in a small portion of the network. In contrast, selective pruning of less critical neurons (~30% - ~35%) reduces accuracy but still preserves significant performance. We also observed consistent reductions in parameters and runtime VRAM usage, along with improved inference throughput as pruning increases. Experiments on both 1.5B and 7B models reveal a robustness threshold around 15-20% pruning, beyond which accuracy loss and generation failures increase sharply. Fine-tuning substantially recovers performance across pruning levels, particularly for aggressively pruned models. These findings provide empirical evidence of neuron specialization in task-specific language models and offer insights into pruning robustness, model redundancy, and post-pruning recoverability.

📄 PDF Abstract BibTeX arXiv:2604.27115

Code (0)

등록된 구현이 없습니다.

Tasks

Mathematical ReasoningCode Generation

Similar Papers 제목 키워드 기반

Maxwell's Demon at Work: Efficient Pruning by Leveraging Saturation of Neurons

2024-03-12 · Simon Dufort-Labbé, Pierluca D'Oro, Evgenii Nikishin, Razvan Pascanu 외

When training deep neural networks, the phenomenon of $\textit{dying neurons}$ $\unicode{x2013}$units that become inactive or saturated, output zero during training$\unicode{x2013}$ has traditionally been viewed as undes…

Continual LearningModel Compression

Dissecting Language Models: Machine Unlearning via Selective Pruning

2024-03-02 · Nicholas Pochinkov, Nandi Schoots

Understanding and shaping the behaviour of Large Language Models (LLMs) is increasingly important as applications become more powerful and more frequently adopted. This paper introduces a machine unlearning method specif…

Machine Unlearning

Detecting and Pruning Prominent but Detrimental Neurons in Large Language Models

2025-07-12 · Ameen Ali, Shahar Katz, Lior Wolf, Ivan Titov arxiv

Large language models (LLMs) often develop learned mechanisms specialized to specific datasets, such as reliance on domain-specific correlations, which yield high-confidence predictions without generalizable reasoning. W…

Few-shot Backdoor Defense Using Shapley Estimation

2021-12-30 · CVPR 2022 1 · Jiyang Guan, Zhuozhuo Tu, Ran He, DaCheng Tao

Deep neural networks have achieved impressive performance in a variety of tasks over the last decade, such as autonomous driving, face recognition, and medical diagnosis. However, prior works show that deep neural networ…

Autonomous Drivingbackdoor defenseFace RecognitionMedical Diagnosis

Magnitude-based Neuron Pruning for Backdoor Defens

2024-05-28 · Nan Li, Haoyu Jiang, Ping Yi

Deep Neural Networks (DNNs) are known to be vulnerable to backdoor attacks, posing concerning threats to their reliable deployment. Recent research reveals that backdoors can be erased from infected DNNs by pruning a spe…

backdoor defense