Exploring Federated Pruning for Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Guo, Pengxin, Wang, Yinong, Li, Wei, Liu, Mengting, Li, Ming, Zheng, Jinkai, Qu, Liangqiong
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910955095457792
author Guo, Pengxin
Wang, Yinong
Li, Wei
Liu, Mengting
Li, Ming
Zheng, Jinkai
Qu, Liangqiong
author_facet Guo, Pengxin
Wang, Yinong
Li, Wei
Liu, Mengting
Li, Ming
Zheng, Jinkai
Qu, Liangqiong
contents LLM pruning has emerged as a promising technology for compressing LLMs, enabling their deployment on resource-limited devices. However, current methodologies typically require access to public calibration samples, which can be challenging to obtain in privacy-sensitive domains. To address this issue, we introduce FedPrLLM, a comprehensive federated pruning framework designed for the privacy-preserving compression of LLMs. In FedPrLLM, each client only needs to calculate a pruning mask matrix based on its local calibration data and share it with the server to prune the global model. This approach allows for collaborative pruning of the global model with the knowledge of each client while maintaining local data privacy. Additionally, we conduct extensive experiments to explore various possibilities within the FedPrLLM framework, including different comparison groups, pruning strategies, and the decision to scale weights. Our extensive evaluation reveals that one-shot pruning with layer comparison and no weight scaling is the optimal choice within the FedPrLLM framework. We hope our work will help guide future efforts in pruning LLMs in privacy-sensitive fields. Our code is available at https://github.com/Pengxin-Guo/FedPrLLM.
format Preprint
id arxiv_https___arxiv_org_abs_2505_13547
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Exploring Federated Pruning for Large Language Models
Guo, Pengxin
Wang, Yinong
Li, Wei
Liu, Mengting
Li, Ming
Zheng, Jinkai
Qu, Liangqiong
Machine Learning
Artificial Intelligence
LLM pruning has emerged as a promising technology for compressing LLMs, enabling their deployment on resource-limited devices. However, current methodologies typically require access to public calibration samples, which can be challenging to obtain in privacy-sensitive domains. To address this issue, we introduce FedPrLLM, a comprehensive federated pruning framework designed for the privacy-preserving compression of LLMs. In FedPrLLM, each client only needs to calculate a pruning mask matrix based on its local calibration data and share it with the server to prune the global model. This approach allows for collaborative pruning of the global model with the knowledge of each client while maintaining local data privacy. Additionally, we conduct extensive experiments to explore various possibilities within the FedPrLLM framework, including different comparison groups, pruning strategies, and the decision to scale weights. Our extensive evaluation reveals that one-shot pruning with layer comparison and no weight scaling is the optimal choice within the FedPrLLM framework. We hope our work will help guide future efforts in pruning LLMs in privacy-sensitive fields. Our code is available at https://github.com/Pengxin-Guo/FedPrLLM.
title Exploring Federated Pruning for Large Language Models
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2505.13547