MaskPrune: Mask-based LLM Pruning for Layer-wise Uniform Structures

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Qin, Jiayu, Tan, Jianchao, Zhang, Kefeng, Cai, Xunliang, Wang, Wei
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910835881803776
author Qin, Jiayu
Tan, Jianchao
Zhang, Kefeng
Cai, Xunliang
Wang, Wei
author_facet Qin, Jiayu
Tan, Jianchao
Zhang, Kefeng
Cai, Xunliang
Wang, Wei
contents The remarkable performance of large language models (LLMs) in various language tasks has attracted considerable attention. However, the ever-increasing size of these models presents growing challenges for deployment and inference. Structured pruning, an effective model compression technique, is gaining increasing attention due to its ability to enhance inference efficiency. Nevertheless, most previous optimization-based structured pruning methods sacrifice the uniform structure across layers for greater flexibility to maintain performance. The heterogeneous structure hinders the effective utilization of off-the-shelf inference acceleration techniques and impedes efficient configuration for continued training. To address this issue, we propose a novel masking learning paradigm based on minimax optimization to obtain the uniform pruned structure by optimizing the masks under sparsity regularization. Extensive experimental results demonstrate that our method can maintain high performance while ensuring the uniformity of the pruned model structure, thereby outperforming existing SOTA methods.
format Preprint
id arxiv_https___arxiv_org_abs_2502_14008
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MaskPrune: Mask-based LLM Pruning for Layer-wise Uniform Structures
Qin, Jiayu
Tan, Jianchao
Zhang, Kefeng
Cai, Xunliang
Wang, Wei
Computation and Language
Artificial Intelligence
Machine Learning
The remarkable performance of large language models (LLMs) in various language tasks has attracted considerable attention. However, the ever-increasing size of these models presents growing challenges for deployment and inference. Structured pruning, an effective model compression technique, is gaining increasing attention due to its ability to enhance inference efficiency. Nevertheless, most previous optimization-based structured pruning methods sacrifice the uniform structure across layers for greater flexibility to maintain performance. The heterogeneous structure hinders the effective utilization of off-the-shelf inference acceleration techniques and impedes efficient configuration for continued training. To address this issue, we propose a novel masking learning paradigm based on minimax optimization to obtain the uniform pruned structure by optimizing the masks under sparsity regularization. Extensive experimental results demonstrate that our method can maintain high performance while ensuring the uniformity of the pruned model structure, thereby outperforming existing SOTA methods.
title MaskPrune: Mask-based LLM Pruning for Layer-wise Uniform Structures
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2502.14008