NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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

Jun Liu, Zhenglun Kong, Pu Zhao, Changdi Yang, Xuan Shen, Hao Tang, Geng Yuan, Wei Niu, Wenbin Zhang, Xue Lin, Dong Huang, Yanzhi Wang

Abstract

Large Language Models (LLMs) face significant deployment challenges due to their immense size. While structured pruning offers hardware-friendly acceleration, it often suffers from substantial accuracy loss due to rigid importance metrics. This paper introduces HyWIA (Hybrid-grained Weight Importance Assessment), a novel framework that adaptively fuses fine-grained and coarse-grained importance scores using a training-free attention mechanism. By dynamically adjusting pruning granularity across layers, HyWIA achieves superior performance, outperforming state-of-the-art methods like LLM-Pruner by 2.82% on LLaMA-7B at a 50% pruning rate.

Introduction

Pruning is essential for deploying massive LLMs on consumer hardware, yet researchers typically face a "granularity dilemma." Fine-grained (unstructured) pruning evaluates individual weights, maintaining high accuracy but creating irregular sparse matrices that are difficult for standard hardware to accelerate. Conversely, coarse-grained (structured) pruning removes entire rows or blocks, offering immediate speedups but often causing a massive drop in model intelligence because it lacks the nuance to identify vital specific weights within a group.

HyWIA addresses this by observing that different parts of an LLM prefer different pruning styles: shallow layers benefit from fine-grained preservation to capture intricate token characteristics, while deep layers, handling abstract semantics, are better suited for coarse-grained assessment. HyWIA adaptively blends these metrics to optimize the pruning process.

Methodology

HyWIA utilizes a three-stage framework designed to maintain architectural validity while maximizing performance recovery.

  1. Grouping Step: The model's dependency structure is mapped to ensure that pruning a "group" results in a mathematically valid remaining architecture.
  2. Hybrid-grained Assessment: Instead of selecting a single granularity, HyWIA calculates importance scores for both individual weights (fine) and weight groups (coarse) using Taylor expansion gradients.
  3. Attention Fusion Model: The core innovation is a training-free attention mechanism. Fine-grained and coarse-grained gradients act as Query, Key, and Value inputs to adaptively calculate a weighting factor ($\alpha$) for every sub-component. This allows the system to decide on-the-fly how much to prioritize holistic versus individual weight importance.
The HyWIA framework overview, illustrating the three-stage process from gradient estimation to attention-based fusion and final pruning.

Following the removal of the least important structures, the model undergoes a brief recovery phase using Low-Rank Adaptation (LoRA) to regain lost accuracy.

Experimental Results

The researchers evaluated HyWIA across a diverse suite of models, including LLaMA-V1/V2, Vicuna, Baichuan, and BLOOM. Performance was measured across seven downstream classification tasks (e.g., BoolQ, PIQA, HellaSwag) and language modeling perplexity tests.

Performance Comparison

As shown in the table below, HyWIA consistently outperforms existing structured pruning methods. On LLaMA-7B with a 50% pruning rate, HyWIA achieved an average accuracy of 51.80%, significantly higher than LLM-Pruner (48.98%) and LoRAPrune (49.71%).

Comparison of HyWIA against state-of-the-art pruning methods across various benchmarks and pruning ratios.

Key Insights

  • The Granularity Gap: Adaptive fusion is roughly 1.4% better than a fixed 50/50 split, validating the need for layer-specific granularity.
  • Training-Free Adaptivity: By using gradients from a few input samples, HyWIA achieves high efficiency without the need for expensive training to learn weighting factors.
  • Perplexity Preservation: HyWIA consistently achieved the lowest perplexity (PPL) on WikiText2 at high pruning rates, indicating superior preservation of fundamental language capabilities.

Conclusion

HyWIA successfully bridges the gap between fine-grained accuracy and coarse-grained efficiency. By leveraging a training-free attention mechanism to adaptively fuse importance metrics, it sets a new state-of-the-art for structured LLM pruning. Future work will explore scaling this approach to 70B+ parameter models and investigating its synergy with other compression techniques like quantization.

Summary updated

BibTeX
@inproceedings{liu2025toward,
  author = {Jun Liu and Zhenglun Kong and Pu Zhao and Changdi Yang and Xuan Shen and Hao Tang and Geng Yuan and Wei Niu and Wenbin Zhang and Xue Lin and Dong Huang and Yanzhi Wang},
  title = {{Toward Adaptive Large Language Models Structured Pruning via Hybrid-grained Weight Importance Assessment}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i18.34078},
}
Figure