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

FedMef:迈向内存高效的联邦动态剪枝

FedMef: Towards Memory-efficient Federated Dynamic Pruning

City University of Hong Kong(香港城市大学);Sony AI(索尼人工智能)

Hong Huang, Weiming Zhuang, Chen Chen, Lingjuan Lyu

AI总结:

针对联邦学习在资源受限设备上内存消耗大的问题,提出内存高效的联邦动态剪枝框架FedMef,通过预算感知挤出机制和缩放激活剪枝技术,在保持准确率的同时显著减少28.5%的内存占用。

摘要:

联邦学习(FL)在优先保证数据机密性的同时促进了去中心化训练。然而,由于训练深度学习模型对计算和内存资源的需求很高,其在资源受限设备上的应用充满挑战。神经网络剪枝技术(如动态剪枝)可以提升模型效率,但直接将其应用于FL仍面临重大挑战,包括剪枝后性能下降、高激活内存使用等。为解决这些挑战,我们提出了FedMef,一种新颖且内存高效的联邦动态剪枝框架。FedMef包含两个关键组件。首先,我们引入了预算感知挤出机制,通过在给定预算内挽救被标记为剪枝的参数中的重要信息,在保持剪枝效率的同时维持剪枝后性能。其次,我们提出了缩放激活剪枝以有效减少激活内存占用,这对于将FL部署到内存受限设备尤为有利。大量实验证明了我们提出的FedMef的有效性。特别是,与最先进方法相比,它实现了28.5%的内存占用显著减少,同时获得了更优的准确率。

英文摘要:

Federated learning (FL) promotes decentralized training while prioritizing data confidentiality. However, its application on resource-constrained devices is challenging due to the high demand for computation and memory resources to train deep learning models. Neural network pruning techniques, such as dynamic pruning, could enhance model efficiency, but directly adopting them in FL still poses substantial challenges, including post-pruning performance degradation, high activation memory usage, etc. To address these challenges, we propose FedMef, a novel and memory-efficient federated dynamic pruning framework. FedMef comprises two key components. First, we introduce the budget-aware extrusion that maintains pruning efficiency while preserving post-pruning performance by salvaging crucial information from parameters marked for pruning within a given budget. Second, we propose scaled activation pruning to effectively reduce activation memory footprints, which is particularly beneficial for deploying FL to memory-limited devices. Extensive experiments demonstrate the effectiveness of our proposed FedMef. In particular, it achieves a significant reduction of 28.5% in memory footprint compared to state-of-the-art methods while obtaining superior accuracy.

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

↑