Skip to main content
QUICK REVIEW

[论文解读] Asynchronous Online Federated Learning for Edge Devices with Non-IID Data

Yujing Chen, Yue Ning|arXiv (Cornell University)|Nov 5, 2019
Privacy-Preserving Technologies in DataComputer Science参考文献 38被引用 18
一句话总结

本文提出 ASO-Fed,一种针对具有非独立同分布(non-IID)数据的边缘设备的异步在线联邦学习框架,通过在线学习和动态学习率自适应实现持续模型更新。该框架在设备异构性和网络延迟条件下实现快速收敛和稳健性能,并在非独立同分布条件下提供理论收敛保证。

ABSTRACT

Federated learning (FL) is a machine learning paradigm where a shared central model is learned across distributed edge devices while the training data remains on these devices. Federated Averaging (FedAvg) is the leading optimization method for training non-convex models in this setting with a synchronized protocol. However, the assumptions made by FedAvg are not realistic given the heterogeneity of devices. In particular, the volume and distribution of collected data vary in the training process due to different sampling rates of edge devices. The edge devices themselves also vary in their available communication bandwidth and system configurations, such as memory, processor speed, and power requirements. This leads to vastly different training times as well as model/data transfer times. Furthermore, availability issues at edge devices can lead to a lack of contribution from specific edge devices to the federated model. In this paper, we present an Asynchronous Online Federated Learning (ASO-Fed) framework, where the edge devices perform online learning with continuous streaming local data and a central server aggregates model parameters from clients. Our framework updates the central model in an asynchronous manner to tackle the challenges associated with both varying computational loads at heterogeneous edge devices and edge devices that lag behind or dropout. We perform extensive experiments on a simulated benchmark image dataset and three real-world non-IID streaming datasets. The results demonstrate the effectiveness of \model~on converging fast and maintaining good prediction performance.

研究动机与目标

  • 解决同步联邦学习在具有异构设备和流式数据的真实边缘环境中所面临的局限性。
  • 开发一种支持无需等待延迟设备的持续模型更新的框架,提升计算效率。
  • 在数据非独立同分布和设备计算时间可变的情况下,仍保持高性能预测能力。
  • 在异步、在线学习且数据非独立同分布的条件下,提供理论收敛保证。

提出的方法

  • ASO-Fed 采用异步聚合协议,中央服务器在无需等待所有客户端的情况下更新全局模型,从而减少因延迟设备导致的空闲时间。
  • 客户端通过衰减系数执行在线学习,以平衡历史梯度与当前梯度,实现对流式本地数据的有效适应。
  • 引入动态学习率自适应策略,以减轻滞后设备带来的延迟或过时更新的影响。
  • 通过正则化的中心特征学习模块捕捉客户端间的数据关系,提升在非独立同分布数据下的泛化能力。
  • 框架集成加权平均方案,考虑客户端数据量和更新频率的差异。
  • 理论分析在强凸性和有界梯度差异性假设下建立了收敛性,明确给出了随时间推移模型性能提升的边界。

实验结果

研究问题

  • RQ1在边缘设备具有非独立同分布且持续到达的数据条件下,异步联邦学习框架是否能保持快速收敛和高准确率?
  • RQ2在高延迟的滞后设备存在的情况下,动态学习率自适应如何改善收敛性能?
  • RQ3在数据异构性条件下,引入中心特征学习模块在多大程度上提升了模型泛化能力?
  • RQ4在异步、在线联邦学习设置且数据非独立同分布的条件下,可以提供哪些理论收敛保证?
  • RQ5在真实边缘环境下,ASO-Fed 与同步 FedAvg 及其他最先进联邦学习方法相比,在性能和效率方面表现如何?

主要发现

  • ASO-Fed 的收敛速度优于同步 FedAvg,尤其在设备异构性和网络延迟较高的情况下表现更优。
  • 即使在客户端间数据分布高度不平衡且非独立同分布的情况下,该框架仍能保持强大的预测性能。
  • 在基准数据集和真实世界数据集上的实验表明,ASO-Fed 通过消除同步等待时间,实现了持续更新,显著降低了计算成本。
  • 动态学习率自适应显著提升了收敛稳定性,并降低了对滞后设备带来的过时梯度的敏感性。
  • 理论分析证实,在标准假设下模型具有线性收敛速率,并给出了迭代过程中模型性能提升的明确边界。
  • ASO-Fed 在数据到达速率可变和设备可用性不可靠的真实场景中表现出显著的鲁棒性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。