Toward Adaptive Large Language Models Structured Pruning via Hybrid-grained Weight Importance Assessment

Authors

  • Jun Liu Northeastern University Carnegie Mellon University
  • Zhenglun Kong Northeastern University
  • Pu Zhao Northeastern University
  • Changdi Yang Northeastern University
  • Xuan Shen Northeastern University
  • Hao Tang Carnegie Mellon University Peking University
  • Geng Yuan University of Georgia
  • Wei Niu University of Georgia
  • Wenbin Zhang Florida International University
  • Xue Lin Northeastern University
  • Dong Huang Carnegie Mellon University
  • Yanzhi Wang Northeastern University

DOI:

https://doi.org/10.1609/aaai.v39i18.34078

Abstract

Structured pruning for large language models (LLMs) has garnered significant academic interest due to its ability to efficiently compress and accelerate LLMs by eliminating redundant weight groups at a coarse-grained granularity. Current structured pruning methods for LLMs typically depend on a singular granularity for assessing weight importance, resulting in notable performance degradation in downstream tasks. Intriguingly, our empirical investigations reveal that utilizing unstructured pruning, which achieves better performance retention by pruning weights at a finer granularity, \emph{i.e.}, individual weights, yields significantly varied sparse LLM structures when juxtaposed to structured pruning. This suggests that evaluating both holistic and individual assessments for weight importance are essential for LLM pruning. Building on this insight, we introduce the Hybrid-grained Weight Importance Assessment (HyWIA), a novel method that merges fine-grained and coarse-grained evaluations of weight importance for the pruning of LLMs. Leveraging an attention mechanism, HyWIA adaptively determines the optimal blend of granularity in weight importance assessments in an end-to-end pruning manner. Extensive experiments on LLaMA-V1/V2, Vicuna, Baichuan, and Bloom across various benchmarks demonstrate the effectiveness of HyWIA in pruning LLMs. For example, HyWIA surpasses the cutting-edge LLM-Pruner by an average margin of 2.82% in accuracy across seven downstream tasks when pruning LLaMA-7B by 50%.

Downloads

Published

2025-04-11

How to Cite

Liu, J., Kong, Z., Zhao, P., Yang, C., Shen, X., Tang, H., … Wang, Y. (2025). Toward Adaptive Large Language Models Structured Pruning via Hybrid-grained Weight Importance Assessment. Proceedings of the AAAI Conference on Artificial Intelligence, 39(18), 18879–18887. https://doi.org/10.1609/aaai.v39i18.34078

Issue

Section

AAAI Technical Track on Machine Learning IV