You Only Prune Once: Designing Calibration-Free Model Compression With Policy Learning

Ayan Sengupta, Siddhant Chaudhary, Tanmoy Chakraborty
1/1/2025

No official code found. Best implementation: LCS2-IIITD/PruneNet (10 stars, Apache-2.0, last commit 2025-04-13). 2 more below.

Abstract

The ever-increasing size of large language models (LLMs) presents significant challenges for deployment due to their heavy computational and memory requirements. Current model pruning techniques attempt to alleviate these issues by relying heavily on external calibration datasets to determine which parameters to prune or compress, thus limiting their flexibility and scalability across different compression ratios. Moreover, these methods often cause severe performance degradation, particularly in downstream tasks, when subjected to higher compression rates. In this paper, we propose PruneNet, a novel model compression method that addresses these limitations by reformulating model pruning as a policy learning process. PruneNet decouples the pruning process from the model architecture, eliminating the need for calibration datasets. It learns a stochastic pruning policy to assess parameter importance solely based on intrinsic model properties while preserving the spectral structure to minimize information loss. PruneNet can compress the LLaMA-2-7B model in just 15 minutes, achieving over 80% retention of its zero-shot performance with a 30% compression ratio, outperforming existing methods that retain only 75% performance. Furthermore, on complex multitask language understanding tasks, PruneNet demonstrates its robustness by preserving up to 80% performance of the original model, proving itself a superior alternative to conventional structured compression techniques.

View on arXivView PDF

Code Implementations(3)

MIT

Toolkit implementing efficient compression methods for compressing LLMs. Implements PruneNet - ICLR 2025 paper: **You only prune once: Designing calibration-free model compression with policy learning**

10Python, Jupyter NotebookDec 12, 202510 months agoMIT
Apache-2.0

Official repository for the paper: "You Only Prune Once: Designing Calibration-Free Model Compression With Policy Learning" [ICLR 2025]

102PythonFeb 18, 20251 years agoApache-2.0

Official repository for the paper: "You Only Prune Once: Designing Calibration-Free Model Compression With Policy Learning" [ICLR 2025].

10Shell, PythonFeb 18, 20251 years ago

Cite this paper

@article{sengupta2025only,
  title  = {You Only Prune Once: Designing Calibration-Free Model Compression With Policy Learning},
  author = {Ayan Sengupta and Siddhant Chaudhary and Tanmoy Chakraborty},
  year   = {2025},
  eprint = {2501.15296},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2501.15296},
  journal = {ICLR 2025 2025}
}

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

Discussion