arXiv · 2502.10735
Beyond One-Size-Fits-All Pruning via Evolutionary Metric Search for Large Language Models
Abstract
Post-training pruning has emerged as a crucial optimization technique as large language models (LLMs) continue to grow rapidly. However, the significant variations in weight distributions across different LLMs make fixed pruning strategies inadequate for multiple models. In this paper, we introduce \textbf{\textsc{OptiShear}}, an efficient evolutionary optimization framework for adaptive LLM pruning. Our framework features two key innovations: an effective search space built on our Meta pruning metric to handle diverse weight distributions, and a model-wise reconstruction error for rapid evaluation during search trials. We employ Non-dominated Sorting Genetic Algorithm III (NSGA-III) to optimize both pruning metrics and layerwise sparsity ratios. Through extensive evaluation on LLaMA-1/2/3 and Mistral models (7B-70B) across multiple benchmarks, we demonstrate that our adaptive pruning metrics consistently outperform existing methods. Additionally, our discovered layerwise sparsity ratios enhance the effectiveness of other pruning metrics. The framework exhibits strong cross-task and cross-model generalizability, providing a cost-effective solution for model compression.
Explore related subjects
Keep this discovery
Shuqi Liu, Bowei He, Han Wu, Linqi Song. 2025-02-15. Beyond One-Size-Fits-All Pruning via Evolutionary Metric Search for Large Language Models. https://arxiv.org/abs/2502.10735
Cite the original work for its findings. Save a collection to share your selection of sources.