A Convex-optimization-based Layer-wise Post-training Pruner for Large Language Models
Preprint
Abstract
Pruning is a critical strategy for compressing trained large language models (LLMs), aiming at substantial memory conservation and computational acceleration without compromising performance. However, existing pruning methods often necessitate inefficient retraining for billion-scale LLMs or rely on heuristic methods such as the optimal brain surgeon framework, which degrade performance. In this paper, we introduce FISTAPruner, the first post-training pruner based on convex optimization models and algorithms. Specifically, we propose a convex optimization model incorporating $\ell_1$ norm to induce sparsity and utilize the FISTA solver for optimization. FISTAPruner incorporates an intra-layer cumulative error correction mechanism and supports parallel pruning. We comprehensively evaluate FISTAPruner on models such as OPT, LLaMA, LLaMA-2, and LLaMA-3 with 125M to 70B parameters under unstructured and 2:4 semi-structured sparsity, demonstrating superior performance over existing state-of-the-art methods across various language benchmarks.
Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Pre-Trained Language Models for Text Generation: A SurveyACM Computing Surveys, 2024
- LeanContext: Cost-efficient domain-specific question answering using LLMsNatural Language Processing Journal, 2024
- Augmenting Black-box LLMs with Medical Textbooks for Biomedical Question Answering2024
- Sentiment Analysis in the Era of Large Language Models: A Reality Check2024
- Lottery Jackpots Exist in Pre-Trained ModelsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2023
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleProceedings of the AAAI Conference on Artificial Intelligence, 2020
- On the $O(1/n)$ Convergence Rate of the Douglas–Rachford Alternating Direction MethodSIAM Journal on Numerical Analysis, 2012
- A Fast Iterative Shrinkage-Thresholding Algorithm for Linear Inverse ProblemsSIAM Journal on Imaging Sciences, 2009
- Robust uncertainty principles: exact signal reconstruction from highly incomplete frequency informationIEEE Transactions on Information Theory, 2006
- Regression Shrinkage and Selection Via the LassoJournal of the Royal Statistical Society Series B: Statistical Methodology, 1996