论文标题

基于fogbus2的边缘计算环境中的联合学习框架

Federated Learning Framework in Fogbus2-based Edge Computing Environments

论文作者

Zhu, Wuji

论文摘要

联合学习是指对多个分布式设备进行培训,并从中收集模型权重以得出共享的机器学习模型。这使该模型可以从多个站点可用的丰富数据来源中受益。同样,由于仅从分布式设备收集模型权重,因此保护这些数据的隐私。在培训数据非常敏感的情况下,需要对机器学习模型进行协作培训,这很有用。这项研究旨在调查将在各种分布式资源上部署的轻量级联合学习的实施,包括资源受限的边缘设备和足智多谋的云服务器。作为资源管理框架,FOGBUS2框架是一个容器化的分布式资源管理框架,被选为实施的基本框架。这项研究提供了FOGBUS2中联合学习的体系结构和轻量级实施。此外,提出并实施了一项工人选择技术。工人选择算法选择一组适当的工人参加培训以达到更高的培训时间效率。此外,这项研究还将联合学习的同步和异步模型与基于启发式的工人选择算法同步。事实证明,与同步联合学习或连续机器学习培训相比,异步联合学习的时间更高。绩效评估显示了与FogBus2框架实施并集成的联合学习机制的效率。与顺序训练相比,工人选择策略的达到80%精度的时间少了33.9%,而异步进一步将同步联合学习训练时间提高了63.3%。

Federated learning refers to conducting training on multiple distributed devices and collecting model weights from them to derive a shared machine-learning model. This allows the model to get benefit from a rich source of data available from multiple sites. Also, since only model weights are collected from distributed devices, the privacy of those data is protected. It is useful in a situation where collaborative training of machine learning models is necessary while training data are highly sensitive. This study aims at investigating the implementation of lightweight federated learning to be deployed on a diverse range of distributed resources, including resource-constrained edge devices and resourceful cloud servers. As a resource management framework, the FogBus2 framework, which is a containerized distributed resource management framework, is selected as the base framework for the implementation. This research provides an architecture and lightweight implementation of federated learning in the FogBus2. Moreover, a worker selection technique is proposed and implemented. The worker selection algorithm selects an appropriate set of workers to participate in the training to achieve higher training time efficiency. Besides, this research integrates synchronous and asynchronous models of federated learning alongside with heuristic-based worker selection algorithm. It is proven that asynchronous federated learning is more time efficient compared to synchronous federated learning or sequential machine learning training. The performance evaluation shows the efficiency of the federated learning mechanism implemented and integrated with the FogBus2 framework. The worker selection strategy obtains 33.9% less time to reach 80% accuracy compared to sequential training, while asynchronous further improve synchronous federated learning training time by 63.3%.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源