arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.14852cs.LGcs.CR
收藏

FedSpaLLM: 大语言模型的联邦剪枝

FedSpaLLM: Federated Pruning of Large Language Models

Argonne National Laboratory(阿贡国家实验室);Emory University(埃默里大学)

Guangji Bai, Yijiang Li, Zilinghan Li, Liang Zhao, Kibaek Kim

AI总结:

针对隐私场景下大语言模型剪枝缺乏可用校准数据的问题,提出首个专为LLM剪枝设计的联邦学习框架FedSpaLLM,通过三项创新技术在兼顾系统异构性与通信效率的同时提升了多场景剪枝性能。

摘要:

大语言模型(LLMs)能实现当前最优性能,但由于计算和存储需求极高,部署难度很大。剪枝可缩小模型规模,然而现有方法假定可公开获取校准数据,这在隐私敏感型应用中并不现实。为解决隐私保护场景下的大语言模型剪枝难题,我们提出FedSpaLLM——首个专为大语言模型剪枝设计的联邦学习框架。FedSpaLLM允许客户端基于私有数据在本地剪枝模型,同时兼顾系统异构性并保持通信效率。该框架包含多项关键创新:(1)一种新型ℓ₀范数聚合函数,确保仅对客户端间的非零权重取平均,保留重要的模型参数;(2)自适应掩码扩展技术,在适配客户端个性化剪枝决策的同时达成全局稀疏度目标;(3)层采样策略,可降低通信开销并根据客户端资源实现剪枝过程个性化。大量实验表明,FedSpaLLM在多种联邦场景下均提升了剪枝性能。

英文摘要:

Large Language Models (LLMs) achieve state-of-the-art performance but are challenging to deploy due to their high computational and storage demands. Pruning can reduce model size, yet existing methods assume public access to calibration data, which is impractical for privacy-sensitive applications. To address the challenge of pruning LLMs in privacy-preserving settings, we propose FedSpaLLM, the first federated learning framework designed specifically for pruning LLMs. FedSpaLLM enables clients to prune their models locally based on private data while accounting for system heterogeneity and maintaining communication efficiency. Our framework introduces several key innovations: (1) a novel $\ell_0$-norm aggregation function that ensures only non-zero weights are averaged across clients, preserving important model parameters; (2) an adaptive mask expansion technique that meets global sparsity targets while accommodating client-specific pruning decisions; and (3) a layer sampling strategy that reduces communication overhead and personalizes the pruning process based on client resources. Extensive experiments show that FedSpaLLM improves pruning performance in diverse federated settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑