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

联邦学习中的分布式剪枝:迈向微型神经网络

Distributed Pruning Towards Tiny Neural Networks in Federated Learning

City University of Hong Kong(香港城市大学);Michigan Technological University(密歇根理工大学);University of Florida(佛罗里达大学)

Hong Huang, Lan Zhang, Chaoyue Sun, Ruogu Fang, Xiaoyong Yuan, Dapeng Wu

AI总结:

本文提出联邦学习分布式剪枝框架 FedTiny,通过自适应批量归一化选择与轻量级渐进式剪枝模块,为资源受限设备生成微型模型,在显著降低计算和内存开销的同时提升准确率。

摘要:

神经网络剪枝是降低深度神经网络规模与复杂度的关键技术,使大规模模型能够在资源有限的设备上部署运行。然而,现有剪枝方法高度依赖训练数据来指导剪枝策略,这使得它们在面对分布式且具有机密性的数据集的联邦学习场景中效果不佳。此外,剪枝过程对内存和计算资源的高消耗,也使得资源受限的联邦学习设备难以执行。为应对这些挑战,我们提出了 FedTiny,一个面向联邦学习的分布式剪枝框架,能够为内存和计算受限的设备生成专用的微型模型。我们在 FedTiny 中引入两个关键模块,以自适应地搜索粗粒度和细粒度剪枝的专用模型,从而适配稀疏且低成本本地计算的部署场景。首先,设计了一个自适应批量归一化选择模块,用于缓解本地数据异质性所导致的剪枝偏差。其次,设计了一个轻量级渐进式剪枝模块,旨在严格的内存和计算预算下对模型进行更细粒度的剪枝,使每一层的剪枝策略能够逐步确定,而非评估整体模型结构。实验结果表明了 FedTiny 的有效性,其性能优于当前最先进的方法,尤其是在将深度模型压缩为极度稀疏的微型模型时表现突出。与最先进方法相比,FedTiny 在将计算成本显著降低 95.91%、内存占用降低 94.01% 的同时,实现了 2.61% 的准确率提升。

英文摘要:

Neural network pruning is an essential technique for reducing the size and complexity of deep neural networks, enabling large-scale models on devices with limited resources. However, existing pruning approaches heavily rely on training data for guiding the pruning strategies, making them ineffective for federated learning over distributed and confidential datasets. Additionally, the memory- and computation-intensive pruning process becomes infeasible for recourse-constrained devices in federated learning. To address these challenges, we propose FedTiny, a distributed pruning framework for federated learning that generates specialized tiny models for memory- and computing-constrained devices. We introduce two key modules in FedTiny to adaptively search coarse- and finer-pruned specialized models to fit deployment scenarios with sparse and cheap local computation. First, an adaptive batch normalization selection module is designed to mitigate biases in pruning caused by the heterogeneity of local data. Second, a lightweight progressive pruning module aims to finer prune the models under strict memory and computational budgets, allowing the pruning policy for each layer to be gradually determined rather than evaluating the overall model structure. The experimental results demonstrate the effectiveness of FedTiny, which outperforms state-of-the-art approaches, particularly when compressing deep models to extremely sparse tiny models. FedTiny achieves an accuracy improvement of 2.61% while significantly reducing the computational cost by 95.91% and the memory footprint by 94.01% compared to state-of-the-art methods.

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

↑