Litcius/Paper detail

FedSA: A Semi-Asynchronous Federated Learning Mechanism in Heterogeneous Edge Computing

Qianpiao Ma, Yang Xu, Hongli Xu, Zhida Jiang, Liusheng Huang, He Huang

2021IEEE Journal on Selected Areas in Communications206 citationsDOI

Abstract

Federated learning (FL) involves training machine learning models over distributed edge nodes ( <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">i.e.</i> , workers) while facing three critical challenges, edge heterogeneity, Non-IID data and communication resource constraint. In the synchronous FL, the parameter server has to wait for the slowest workers, leading to significant waiting time due to edge heterogeneity. Though asynchronous FL can well tackle the edge heterogeneity, it requires frequent model transfers, resulting in massive communication resource consumption. Moreover, the different relative frequency of workers participating in asynchronous updating may seriously hurt training accuracy, especially on Non-IID data. In this paper, we propose a semi-asynchronous federated learning mechanism (FedSA), where the parameter server aggregates a certain number of local models by their arrival order in each round. We theoretically analyze the quantitative relationship between the convergence bound of FedSA and different factors, <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">e.g.</i> , the number of participating workers in each round, the degree of data Non-IID and edge heterogeneity. Based on the convergence bound, we present an efficient algorithm to determine the number of participating workers to minimize the training completion time. To further improve the training accuracy on Non-IID data, FedSA deploys adaptive learning rates for workers by their relative participation frequency. We extend our proposed mechanism to the dynamic and multiple learning tasks scenarios. Experimental results on the testbed show that our proposed mechanism and algorithms address the three challenges more effectively than the state-of-the-art solutions.

Topics & Concepts

Computer scienceAsynchronous communicationEnhanced Data Rates for GSM EvolutionConvergence (economics)Resource consumptionArtificial intelligenceUpper and lower boundsMachine learningConstraint (computer-aided design)Theoretical computer scienceDistributed computingComputer networkMathematicsGeometryMathematical analysisEconomic growthEcologyBiologyEconomicsPrivacy-Preserving Technologies in DataStochastic Gradient Optimization TechniquesAge of Information Optimization
FedSA: A Semi-Asynchronous Federated Learning Mechanism in Heterogeneous Edge Computing | Litcius