PGB: One-Shot Pruning for BERT via Weight Grouping and Permutation

Hyemin Lim, Jaeyeon Lee, Dong-Wan Choi
2/6/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Large pretrained language models such as BERT suffer from slow inference and high memory usage, due to their huge size. Recent approaches to compressing BERT rely on iterative pruning and knowledge distillation, which, however, are often too complicated and computationally intensive. This paper proposes a novel semi-structured one-shot pruning method for BERT, called $\textit{Permutation and Grouping for BERT}$ (PGB), which achieves high compression efficiency and sparsity while preserving accuracy. To this end, PGB identifies important groups of individual weights by permutation and prunes all other weights as a structure in both multi-head attention and feed-forward layers. Furthermore, if no important group is formed in a particular layer, PGB drops the entire layer to produce an even more compact model. Our experimental results on BERT$_{\text{BASE}}$ demonstrate that PGB outperforms the state-of-the-art structured pruning methods in terms of computational cost and accuracy preservation.

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. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

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

Cite this paper

@article{lim2025pgb,
  title  = {PGB: One-Shot Pruning for BERT via Weight Grouping and Permutation},
  author = {Hyemin Lim and Jaeyeon Lee and Dong-Wan Choi},
  year   = {2025},
  eprint = {2502.03984},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.03984v1}
}

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

Discussion