Beyond Manually Designed Pruning Policies with Second-Level Performance Prediction: A Pruning Framework for LLMs

Zuxin Ma, Yunhe Cui, Yongbin Qin
8/4/2025
cs.LG

Official code: Ma-zx/PPF (1 star, last commit 2025-08-04).

Abstract

Non-uniform structured network pruning methods can effectively reduce Large Language Model (LLM) size by eliminating redundant channels or layers, offering lower performance degradation than uniform strategies. However, existing non-uniform methods rely heavily on manually designed pruning policies (e.g., layer importance and scaling factors), and therefore cannot efficiently adapt to scenarios with dynamic pruning ratio requirements. Additionly, a critical bottleneck -- the time-consuming evaluation of pruning policies -- further limits the feasibility of iteratively and dynamically finding optimal pruning policies. To address these limitations, we propose PPF (Predictive Pruning Framework), a novel pruning framework for LLMs that eliminates manual design dependencies via second-level performance prediction. PPF not only supports real-time pruning decisions under dynamic pruning ratios but is also applicable to static pruning scenarios. It employs an agent for producing adaptive and real-time pruning actions, while a lightweight performance predictor that can evaluate a pruning policy in seconds, significantly speeding up the iterative optimization process. Experiments on Llama2-7B and Llama3-8B show that PPF can generate dynamic/static pruning policies and it reduces perplexity by up to 33.4% (dynamic pruning) and 84.78% (static pruning) over existing methods, outperforming manually designed pruning policies. The performance predictor achieves second-level performance prediction with high accuracy (prediction error < 0.0011). It reduces the mean evaluation latency from minute-level (1 minute and 38.02 seconds of test-set evaluation methods) to second-level (1.52 seconds), achieving over 64 times speedup. Our code will be available at https://github.com/Ma-zx/PPF .

View on arXivView PDF

Code Implementations(1)

Ma-zx/PPFOfficial100%

PPF automates LLM pruning with second-level performance prediction and reinforcement learning agent

10Aug 4, 20251 years ago

Similar Papers

Cite this paper

@article{ma2025beyond,
  title  = {Beyond Manually Designed Pruning Policies with Second-Level Performance Prediction: A Pruning Framework for LLMs},
  author = {Zuxin Ma and Yunhe Cui and Yongbin Qin},
  year   = {2025},
  eprint = {2508.02381},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.02381v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.02381.svg)](https://codeofpaper.com/paper/2508.02381)

Discussion