Sample-aware Adaptive Structured Pruning for Large Language Models

Authors

  • Jun Kong Yunnan University
  • Xinge Ma Yunnan University
  • Jin Wang Yunnan University
  • Xuejie Zhang Yunnan University

DOI:

https://doi.org/10.1609/aaai.v39i17.33973

Abstract

Large language models (LLMs) have achieved outstanding performance in natural language processing, but enormous model sizes and high computational costs limit their practical deployment. Structured pruning can effectively reduce the resource demands for deployment by removing redundant model parameters. However, the randomly selected calibration data and fixed single importance estimation metrics in existing structured pruning methods lead to degraded performance of pruned models. This study introduces AdaPruner, a sample-aware adaptive structured pruning framework for LLMs, aiming to optimize the calibration data and importance estimation metrics in the structured pruning process. Specifically, AdaPruner effectively removes redundant parameters from LLMs by constructing a structured pruning solution space and then employing Bayesian optimization to adaptively search for the optimal calibration data and importance estimation metrics. Experimental results show that the AdaPruner outperforms existing structured pruning methods on a family of LLMs with varying pruning ratios, demonstrating its applicability and robustness. Remarkably, at a 20% pruning ratio, the model pruned with AdaPruner maintains 97% of the performance of the unpruned model.

Published

2025-04-11

How to Cite

Kong, J., Ma, X., Wang, J., & Zhang, X. (2025). Sample-aware Adaptive Structured Pruning for Large Language Models. Proceedings of the AAAI Conference on Artificial Intelligence, 39(17), 17938–17946. https://doi.org/10.1609/aaai.v39i17.33973

Issue

Section

AAAI Technical Track on Machine Learning III