FASP: Fast and Accurate Structured Pruning of Large Language Models

Hanyu Hu, Pengxiang Zhao, Ping Li, Yi Zheng, Zhefeng Wang +1 more
1/16/2025
cs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

The rapid increase in the size of large language models (LLMs) has significantly escalated their computational and memory demands, posing challenges for efficient deployment, especially on resource-constrained devices. Structured pruning has emerged as an effective model compression method that can reduce these demands while preserving performance. In this paper, we introduce FASP (Fast and Accurate Structured Pruning), a novel structured pruning framework for LLMs that emphasizes both speed and accuracy. FASP employs a distinctive pruning structure that interlinks sequential layers, allowing for the removal of columns in one layer while simultaneously eliminating corresponding rows in the preceding layer without incurring additional performance loss. The pruning metric, inspired by Wanda, is computationally efficient and effectively selects components to prune. Additionally, we propose a restoration mechanism that enhances model fidelity by adjusting the remaining weights post-pruning. We evaluate FASP on the OPT and LLaMA model families, demonstrating superior performance in terms of perplexity and accuracy on downstream tasks compared to state-of-the-art methods. Our approach achieves significant speed-ups, pruning models such as OPT-125M in 17 seconds and LLaMA-30B in 15 minutes on a single NVIDIA RTX 4090 GPU, making it a highly practical solution for optimizing LLMs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hu2025fasp,
  title  = {FASP: Fast and Accurate Structured Pruning of Large Language Models},
  author = {Hanyu Hu and Pengxiang Zhao and Ping Li and Yi Zheng and Zhefeng Wang and Xiaoming Yuan},
  year   = {2025},
  eprint = {2501.09412},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.09412v1}
}

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/2501.09412.svg)](https://codeofpaper.com/paper/2501.09412)

Discussion