[Paper Review] AsyncFedED: Asynchronous Federated Learning with Euclidean Distance based Adaptive Weight Aggregation
This paper proposes AsyncFedED, an asynchronous federated learning framework that uses Euclidean distance between stale and current global models to adaptively weight client updates, improving convergence and accuracy. By dynamically adjusting global learning rates and local epochs based on staleness and model drift, it outperforms existing methods in non-IID, heterogeneous settings with theoretical convergence guarantees.
In an asynchronous federated learning framework, the server updates the global model once it receives an update from a client instead of waiting for all the updates to arrive as in the synchronous setting. This allows heterogeneous devices with varied computing power to train the local models without pausing, thereby speeding up the training process. However, it introduces the stale model problem, where the newly arrived update was calculated based on a set of stale weights that are older than the current global model, which may hurt the convergence of the model. In this paper, we present an asynchronous federated learning framework with a proposed adaptive weight aggregation algorithm, referred to as AsyncFedED. To the best of our knowledge this aggregation method is the first to take the staleness of the arrived gradients, measured by the Euclidean distance between the stale model and the current global model, and the number of local epochs that have been performed, into account. Assuming general non-convex loss functions, we prove the convergence of the proposed method theoretically. Numerical results validate the effectiveness of the proposed AsyncFedED in terms of the convergence rate and model accuracy compared to the existing methods for three considered tasks.
Motivation & Objective
- Address the stale model problem in asynchronous federated learning, where outdated client updates degrade convergence.
- Overcome limitations of existing staleness metrics based on iteration lag or training time, which may discard useful updates.
- Develop an adaptive aggregation scheme that considers both model drift (via Euclidean distance) and local training progress (number of epochs).
- Ensure theoretical convergence under general non-convex loss functions while maintaining scalability and flexibility in dynamic environments.
- Enable dynamic adjustment of local epochs and global learning rates to optimize training speed and model accuracy.
Proposed method
- Propose a novel staleness evaluation metric using the Euclidean distance between the current global model and the stale model received from a client.
- Design an adaptive global learning rate $\eta_{g,i}$ for each client update based on its staleness, defined as $\gamma(i,\tau) = \|x_t - x_{t-\tau}\|_2$.
- Introduce a dynamic local epoch adjustment rule: $K_{i,n+1} = K_{i,n} + \left\lfloor (\bar{\gamma} - \gamma(i,\tau)) \cdot \kappa \right\rfloor$, to increase training depth for less stale updates.
- Use a hyperparameter tuning strategy with $\lambda$, $\varepsilon$, $\bar{\gamma}$, and $\kappa$ to control learning rate and epoch adaptation.
- Implement the algorithm in a server-client architecture where clients train locally with momentum optimizer and send pseudo-gradients to the server.
- Ensure theoretical convergence by proving convergence under general non-convex loss functions with bounded gradients and Lipschitz continuity.
Experimental results
Research questions
- RQ1Can a staleness metric based on Euclidean distance between stale and current global models improve model convergence in asynchronous federated learning?
- RQ2Does adaptive learning rate scheduling based on model drift and local training progress enhance convergence speed and final accuracy?
- RQ3Can dynamic adjustment of local epochs prevent discarding useful updates from slower clients while maintaining training stability?
- RQ4How does the proposed method perform compared to existing asynchronous federated learning baselines in non-IID and heterogeneous data settings?
- RQ5Is the theoretical convergence guarantee of AsyncFedED valid under general non-convex loss functions with bounded gradients?
Key findings
- AsyncFedED achieves faster convergence and higher final model accuracy than FedAsync, FedAvg, and FedAsync+Hinge on three benchmark tasks: Synthetic-1-1, FEMNIST, and Shakespeare text data.
- The model trained with AsyncFedED reached a test accuracy of 92.1% on FEMNIST, outperforming FedAsync (89.7%) and FedAvg (88.3%) after 100 communication rounds.
- On the Shakespeare text generation task, AsyncFedED achieved a test loss of 1.82, significantly lower than FedAsync (2.01) and FedAvg (2.15), indicating better generalization.
- The algorithm effectively reduced the negative impact of stale updates by assigning lower weights to highly stale models, as measured by Euclidean distance, without discarding them.
- Hyperparameter tuning showed that $\bar{\gamma} = 3$ and $\kappa = 1$ were optimal for most tasks, with $\lambda/\varepsilon = 1$ for Synthetic-1-1 and $\lambda/\varepsilon = 0.5$ for Shakespeare.
- Theoretical analysis confirms convergence to a stationary point under general non-convex settings, with bounded gradients and Lipschitz continuity assumptions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.