arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.11577cs.DCcs.LG
收藏

通过模型拆分打破异构联邦学习的内存墙

Breaking the Memory Wall for Heterogeneous Federated Learning via Model Splitting

Chunlin Tian, Li Li, Kahou Tam, Yebo Wu, Chengzhong Xu

AI总结:

提出SmartSplit框架,通过模型拆分和分层结构自适应管理异构联邦学习,在保证模型准确率的同时大幅降低设备端内存占用和延迟。

摘要:

联邦学习(FL)使多个设备能够协作训练共享模型,同时保护数据隐私。不断增加的模型复杂性与参与设备上有限的内存资源,严重瓶颈了FL在真实场景中的部署。因此,迫切需要一个能够有效打破内存墙,同时兼顾FL中硬件和统计异构性的框架。本文提出SmartSplit,一个通过模型拆分有效减少设备端内存占用,同时保证异构FL训练进度和模型准确率的框架。为此,SmartSplit采用分层结构自适应地指导整体训练过程。在每轮训练中,部署在服务器上的中央管理器通过综合考虑每个设备的内存预算、训练能力和数据分布,动态选择参与设备并设置切割层。部署在边缘服务器内的MEC管理器随后拆分本地模型并执行服务器端部分的训练。同时,它根据随时间演变的统计重要性微调拆分点。嵌入在每个移动设备内的设备端管理器持续监控本地训练状态,同时采用成本感知的检查点机制以匹配运行时动态内存预算。在商用移动设备测试床上对代表性数据集进行了大量实验。实验结果表明,SmartSplit在内存高度受限的移动SoC上表现出色,提供高达94%的峰值延迟降低和100倍的内存节省。它将准确率性能提升了1.49%-57.18%,并通过成本感知重计算自适应调整动态内存预算。

英文摘要:

Federated Learning (FL) enables multiple devices to collaboratively train a shared model while preserving data privacy. Ever-increasing model complexity coupled with limited memory resources on the participating devices severely bottlenecks the deployment of FL in real-world scenarios. Thus, a framework that can effectively break the memory wall while jointly taking into account the hardware and statistical heterogeneity in FL is urgently required. In this paper, we propose SmartSplit, a framework that effectively reduces the memory footprint on the device side while guaranteeing the training progress and model accuracy for heterogeneous FL through model splitting.Towards this end, SmartSplit employs a hierarchical structure to adaptively guide the overall training process. In each training round, the central manager, hosted on the server, dynamically selects the participating devices and sets the cutting layer by jointly considering the memory budget, training capacity, and data distribution of each device. The MEC manager, deployed within the edge server, proceeds to split the local model and perform training of the server-side portion. Meanwhile, it fine-tunes the splitting points based on the time-evolving statistical importance. The on-device manager, embedded inside each mobile device, continuously monitors the local training status while employing cost-aware checkpointing to match the runtime dynamic memory budget. Extensive experiments on representative datasets are conducted on both commercial off-the-shelf mobile device testbeds. The experimental results show that SmartSplit excels in FL training on highly memory-constrained mobile SoCs, offering up to a 94% peak latency reduction and 100-fold memory savings. It enhances accuracy performance by 1.49%-57.18% and adaptively adjusts to dynamic memory budgets through cost-aware recomputation.

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

↑