通过拼接预训练模块,让低配设备也能高效参与联邦学习。
Heterogeneity-Aware Coordination for Federated Learning via Stitching Pre-trained blocks
- 用预训练模块拼接新模型,避免从零训练
- 准确率最高提升20.93%,内存占用减少79.5%
- 适合资源受限设备参与的异构联邦学习场景
联邦学习(FL)在保护数据隐私的前提下协同多设备训练共享模型。然而,训练过程中的高内存占用和高能耗使低端设备难以参与,严重降低真实场景下的模型性能。本文提出FedStitch,一种基于预训练模块的异构联邦学习分层协调框架。不同于传统从零训练全局模型的方法,针对新任务,FedStitch通过拼接预训练模块生成全局模型:每个客户端根据本地数据从候选池中选择最适配的模块,服务器则聚合最优模块进行拼接,迭代直至生成新网络。该框架包含三个核心组件:1)基于强化学习的加权聚合器,适用于非独立同分布(non-IID)场景;2)部署于服务器端的搜索空间优化器,持续缩减候选模块池规模;3)部署于客户端的本地能耗优化器,在保障训练进度的同时最小化能耗。实验表明,相比现有方法,FedStitch可将模型准确率提升最多20.93%,速度最高加快8.12倍,内存占用降低最多79.5%,训练能耗节省最多89.41%。
原文摘要 · Abstract (English)
Federated learning (FL) coordinates multiple devices to collaboratively train a shared model while preserving data privacy. However, large memory footprint and high energy consumption during the training process excludes the low-end devices from contributing to the global model with their own data, which severely deteriorates the model performance in real-world scenarios. In this paper, we propose FedStitch, a hierarchical coordination framework for heterogeneous federated learning with pre-trained blocks. Unlike the traditional approaches that train the global model from scratch, for a new task, FedStitch composes the global model via stitching pre-trained blocks. Specifically, each participating client selects the most suitable block based on their local data from the candidate pool composed of blocks from pre-trained models. The server then aggregates the optimal block for stitching. This process iterates until a new stitched network is generated. Except for the new training paradigm, FedStitch consists of the following three core components: 1) an RL-weighted aggregator, 2) a search space optimizer deployed on the server side, and 3) a local energy optimizer deployed on each participating client. The RL-weighted aggregator helps to select the right block in the non-IID scenario, while the search space optimizer continuously reduces the size of the candidate block pool during stitching. Meanwhile, the local energy optimizer is designed to minimize energy consumption of each client while guaranteeing the overall training progress. The results demonstrate that compared to existing approaches, FedStitch improves the model accuracy up to 20.93%. At the same time, it achieves up to 8.12% speedup, reduces the memory footprint up to 79.5%, and achieves 89.41% energy saving at most during the learning procedure.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。