ALPS: Improved Optimization for Highly Sparse One-Shot Pruning for Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Meng, Xiang, Behdin, Kayhan, Wang, Haoyue, Mazumder, Rahul
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911141802803200
author Meng, Xiang
Behdin, Kayhan
Wang, Haoyue
Mazumder, Rahul
author_facet Meng, Xiang
Behdin, Kayhan
Wang, Haoyue
Mazumder, Rahul
contents The impressive performance of Large Language Models (LLMs) across various natural language processing tasks comes at the cost of vast computational resources and storage requirements. One-shot pruning techniques offer a way to alleviate these burdens by removing redundant weights without the need for retraining. Yet, the massive scale of LLMs often forces current pruning approaches to rely on heuristics instead of optimization-based techniques, potentially resulting in suboptimal compression. In this paper, we introduce ALPS, an optimization-based framework that tackles the pruning problem using the operator splitting technique and a preconditioned conjugate gradient-based post-processing step. Our approach incorporates novel techniques to accelerate and theoretically guarantee convergence while leveraging vectorization and GPU parallelism for efficiency. ALPS substantially outperforms state-of-the-art methods in terms of the pruning objective and perplexity reduction, particularly for highly sparse models. On the OPT-30B model with 70% sparsity, ALPS achieves a 13% reduction in test perplexity on the WikiText dataset and a 19% improvement in zero-shot benchmark performance compared to existing methods.
format Preprint
id arxiv_https___arxiv_org_abs_2406_07831
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ALPS: Improved Optimization for Highly Sparse One-Shot Pruning for Large Language Models
Meng, Xiang
Behdin, Kayhan
Wang, Haoyue
Mazumder, Rahul
Machine Learning
The impressive performance of Large Language Models (LLMs) across various natural language processing tasks comes at the cost of vast computational resources and storage requirements. One-shot pruning techniques offer a way to alleviate these burdens by removing redundant weights without the need for retraining. Yet, the massive scale of LLMs often forces current pruning approaches to rely on heuristics instead of optimization-based techniques, potentially resulting in suboptimal compression. In this paper, we introduce ALPS, an optimization-based framework that tackles the pruning problem using the operator splitting technique and a preconditioned conjugate gradient-based post-processing step. Our approach incorporates novel techniques to accelerate and theoretically guarantee convergence while leveraging vectorization and GPU parallelism for efficiency. ALPS substantially outperforms state-of-the-art methods in terms of the pruning objective and perplexity reduction, particularly for highly sparse models. On the OPT-30B model with 70% sparsity, ALPS achieves a 13% reduction in test perplexity on the WikiText dataset and a 19% improvement in zero-shot benchmark performance compared to existing methods.
title ALPS: Improved Optimization for Highly Sparse One-Shot Pruning for Large Language Models
topic Machine Learning
url https://arxiv.org/abs/2406.07831