The Impact Analysis of Delays in Asynchronous Federated Learning with Data Heterogeneity for Edge Intelligence

Ziruo Hao, Zhenhua Cui, Tao Yang, Bo Hu, Xiaofeng Wu, Hui FengarXiv 2025 · DOI

TL;DR

This paper investigates the combined impact of data heterogeneity and communication delays on Asynchronous Federated Learning (AFL) for edge intelligence. They propose a novel scheme, PSURDG, that reuses delayed gradients, demonstrating its superiority over existing methods (AUDG) in scenarios with significant data heterogeneity and smaller delays, challenging the notion that all delayed information is detrimental.

What Problem Does This Paper Address?

Federated Learning (FL) is a powerful paradigm for training machine learning models collaboratively across distributed edge devices without centralizing data. However, in real-world edge intelligence scenarios, two major challenges arise: data heterogeneity (clients having different data distributions) and delays (due to communication constraints or slow computation). While these issues are known to degrade performance, their combined impact, especially in asynchronous FL (AFL) where clients don't wait for each other, is not fully understood. Existing AFL methods often struggle to balance these factors, leading to suboptimal training. This paper aims to dissect and quantify the interplay between data heterogeneity and delays in AFL and propose a more robust solution.

Methods

The authors first theoretically analyze the impact of data heterogeneity on Synchronous Federated Learning (SFL) to establish a baseline. They then delve into Asynchronous Federated Learning (AFL) and propose two aggregation strategies:

  • AUDG (Asynchronous Updates with Delayed Gradients): This is a conventional AFL approach where the server only uses the most recently received updates from clients, discarding any older information.
  • PSURDG (Pseudo-synchronous Updates by Reusing Delayed Gradients): This is the paper's novel contribution. PSURDG reuses delayed gradients from clients that failed to transmit in the current iteration, effectively increasing the number of clients contributing to the aggregation.

The core of their methodology involves:

  1. Theoretical Analysis: Deriving upper bounds on the loss functions for SFL, AUDG, and PSURDG to understand their convergence properties under different conditions of data heterogeneity and delays. They introduce an "asynchronous error definition" to quantify the impact of delays.
  2. Simulation Experiments: Validating their theoretical findings using simulations on an image classification task (MNIST dataset) with both over-parameterized and standard Convolutional Neural Networks (CNNs). They systematically vary the degree of data heterogeneity (IID vs. Non-IID) and the average delay of individual clients.

Datasets

The paper uses the MNIST dataset for image classification tasks in their simulations. They create different data distributions to simulate IID (Independent and Identically Distributed) and Non-IID (Non-Independent and Identically Distributed) scenarios, with varying degrees of heterogeneity (Small, Medium, Large Non-IID).

Key Insights and Ideas

  • Delays and Heterogeneity are Intertwined: The paper highlights that the negative impact of data heterogeneity is correlated with delays in AFL. This means that in asynchronous settings, delays can exacerbate the problems caused by diverse data distributions.
  • Discarding Delayed Information Isn't Always Best: Contrary to intuition, the authors demonstrate that simply discarding delayed gradients (as in AUDG) is not always optimal. Their proposed PSURDG scheme, which reuses these delayed gradients, shows improved performance in specific scenarios.
  • PSURDG's Advantage in Heterogeneity: PSURDG is particularly effective when data heterogeneity is high and average client delays are relatively small. It helps to decouple the negative influence of data heterogeneity from the delays.
  • Client Participation Matters: The number of clients successfully transmitting updates in each iteration significantly impacts performance. PSURDG effectively increases this participation by reusing delayed information.
  • Over-parameterization Helps: The simulations show that using over-parameterized neural networks generally leads to better performance and resilience to data heterogeneity compared to standard CNNs.

Key Results

  • Theoretical Convergence: The paper provides theoretical convergence analyses for SFL, AUDG, and PSURDG, showing how data heterogeneity and delays affect the upper bounds of the loss functions.
  • PSURDG Outperforms AUDG: In simulations, PSURDG consistently achieved better accuracy and lower training loss than AUDG, especially in Non-IID scenarios with moderate to large heterogeneity and smaller average delays. For instance, in the "Large Non-IID" case with an average delay of 1, PSURDG showed a higher accuracy difference compared to AUDG.
  • Impact of Delays: The study quantifies how increasing average delays can degrade performance, but also shows that in some cases, reusing delayed information can mitigate this degradation, particularly when data heterogeneity is high.
  • SFL as a Benchmark: The paper establishes SFL as a baseline, showing that while data heterogeneity slows down SFL convergence, it can still achieve good results with sufficient iterations. However, this benefit is diminished in AFL due to delays.

Limitations and Future Work

  • Communication Channel Assumption: The analysis assumes independent communication channels for each client. Future work could explore scenarios with limited or correlated communication channels.
  • Storage Space: The paper mentions that PSURDG is suitable for scenarios where communication channels are limited and storage space is abundant. Investigating how to construct a new scheme for limited communication channels and abundant storage is a future direction.
  • Generalizability: While simulations were conducted on MNIST, further validation on larger and more complex datasets would be beneficial.
  • Stochastic Gradient Descent: The theoretical analysis is primarily based on gradient descent, though the authors note it can be extended to stochastic gradient descent.

Summary updated

Abstract

Federated learning (FL) has provided a new methodology for coordinating a group of clients to train a machine learning model collaboratively, bringing an efficient paradigm in edge intelligence. Despite its promise, FL faces several critical challenges in practical applications involving edge devices, such as data heterogeneity and delays stemming from communication and computation constraints. This paper examines the impact of unknown causes of delay on training performance in an Asynchronous Federated Learning (AFL) system with data heterogeneity. Initially, an asynchronous error definition is proposed, based on which the solely adverse impact of data heterogeneity is theoretically analyzed within the traditional Synchronous Federated Learning (SFL) framework. Furthermore, Asynchronous Updates with Delayed Gradients (AUDG), a conventional AFL scheme, is discussed. Investigation into AUDG reveals that the negative influence of data heterogeneity is correlated with delays, while a shorter average delay from a specific client does not consistently enhance training performance. In order to compensate for the scenarios where AUDG are not adapted, Pseudo-synchronous Updates by Reusing Delayed Gradients (PSURDG) is proposed, and its theoretical convergence is analyzed. In both AUDG and PSURDG, only a random set of clients successfully transmits their updated results to the central server in each iteration. The critical difference between them lies in whether the delayed information is reused. Finally, both schemes are validated and compared through theoretical analysis and simulations, demonstrating more intuitively that discarding outdated information due to time delays is not always the best approach.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
MNISTPSURDG (Over-CNN)Final training loss0.1588clients=4 · backbone=Over-CNN · simulations=10 · average-delay=1 · data-distribution=IID
Source quote
L637: PSURDG │ 0.1588 │ 0.1732 │ 0.1949 │ 0.1997 │ 0.2292
MNISTAUDG (Over-CNN)Final training loss0.1411clients=4 · backbone=Over-CNN · simulations=10 · average-delay=1 · data-distribution=IID
Source quote
L638: AUDG │ 0.1411 │ 0.1543 │ 0.1691 │ 0.1593 │ 0.1568
Reported baseline / comparator measurements (4)
BenchmarkMethodMetricScoreProtocol / Evidence
MNISTSFL (Over-CNN) baselineAccuracy94.01%split: test · clients=4 · backbone=Over-CNN · iterations=50 · data-distribution=IID · samples-per-client=25000
Source quote
L600: Over-CNN \ │ IID │ 94.01% │ 0.0103
MNISTSFL (CNN) baselineAccuracy87.15%split: test · clients=4 · backbone=CNN · iterations=50 · data-distribution=IID · samples-per-client=25000
Source quote
L601: CNN \ │ IID │ 87.15% │ 0.0966
MNISTSFL (Over-CNN) baselineAccuracy93.90%split: test · clients=4 · backbone=Over-CNN · iterations=50 · data-distribution=non-IID · samples-per-client=6250
Source quote
L602: Over-CNN \ │ Non-IID │ 93.90% │ 0.0106
MNISTSFL (CNN) baselineAccuracy85.01%split: test · clients=4 · backbone=CNN · iterations=50 · data-distribution=non-IID · samples-per-client=6250
Source quote
L603: CNN \ │ Non-IID │ 85.01% │ 0.1222
BibTeX
@misc{hao2025impact,
  author = {Ziruo Hao and Zhenhua Cui and Tao Yang and Bo Hu and Xiaofeng Wu and Hui Feng},
  title = {{The Impact Analysis of Delays in Asynchronous Federated Learning with Data Heterogeneity for Edge Intelligence}},
  year = {2025},
  eprint = {2503.04052},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.04052},
}
Figure