Skip to main content
QUICK REVIEW

[Paper Review] Fast-Convergent Federated Learning with Adaptive Weighting

Hongda Wu, Ping Wang|arXiv (Cornell University)|Dec 1, 2020
Privacy-Preserving Technologies in DataComputer Science22 references8 citations
TL;DR

This paper proposes FedAdp, a fast-convergent federated learning algorithm that adaptively weights participating nodes based on their contribution to global model aggregation, measured via the angle between local and global gradients. By applying a non-linear mapping to these angles, FedAdp dynamically suppresses negative contributions and amplifies positive ones, reducing communication rounds by up to 54.1% on MNIST and 45.4% on FashionMNIST compared to FedAvg.

ABSTRACT

Federated learning (FL) enables resource-constrained edge nodes to collaboratively learn a global model under the orchestration of a central server while keeping privacy-sensitive data locally. The non-independent-and-identically-distributed (non-IID) data samples across participating nodes slow model training and impose additional communication rounds for FL to converge. In this paper, we propose Federated Adaptive Weighting (FedAdp) algorithm that aims to accelerate model convergence under the presence of nodes with non-IID dataset. We observe the implicit connection between the node contribution to the global model aggregation and data distribution on the local node through theoretical and empirical analysis. We then propose to assign different weights for updating the global model based on node contribution adaptively through each training round. The contribution of participating nodes is first measured by the angle between the local gradient vector and the global gradient vector, and then, weight is quantified by a designed non-linear mapping function subsequently. The simple yet effective strategy can reinforce positive (suppress negative) node contribution dynamically, resulting in communication round reduction drastically. Its superiority over the commonly adopted Federated Averaging (FedAvg) is verified both theoretically and experimentally. With extensive experiments performed in Pytorch and PySyft, we show that FL training with FedAdp can reduce the number of communication rounds by up to 54.1% on MNIST dataset and up to 45.4% on FashionMNIST dataset, as compared to FedAvg algorithm.

Motivation & Objective

  • Address the slow convergence of federated learning under non-i.i.d. (non-IID) data distributions across edge nodes.
  • Overcome the limitation of FedAvg, which assigns equal weights regardless of node contribution, leading to suboptimal convergence.
  • Develop a dynamic, contribution-aware weighting strategy that improves communication efficiency in FL.
  • Theoretically and empirically validate that node contribution correlates with gradient alignment and can be leveraged to accelerate convergence.

Proposed method

  • Measure node contribution using the cosine of the angle between the local gradient vector and the global gradient vector at each training round.
  • Apply a non-linear mapping function to convert the angle-based contribution score into a dynamic weight for each node.
  • Update the global model using weighted averaging, where weights are proportional to the computed contribution scores.
  • Use a tunable parameter α in the non-linear function to control the amplification of differences between high- and low-contribution nodes.
  • Integrate the adaptive weighting strategy into the standard federated averaging framework without modifying the model architecture.
  • Evaluate the method under varying data heterogeneity levels, including cases with both IID and non-IID nodes.

Experimental results

Research questions

  • RQ1How does data heterogeneity (non-IID distribution) affect the convergence speed of federated learning?
  • RQ2What is the implicit relationship between local data distribution and node contribution to global model aggregation?
  • RQ3Can adaptive weighting based on gradient alignment improve convergence speed and reduce communication rounds in FL?
  • RQ4How does the choice of non-linear mapping parameter α affect the performance of the adaptive weighting strategy?
  • RQ5To what extent does the proposed method reduce model divergence and training loss compared to FedAvg?

Key findings

  • FedAdp reduces the number of communication rounds by up to 54.1% on the MNIST dataset compared to FedAvg under non-IID data settings.
  • On the FashionMNIST dataset, FedAdp reduces communication rounds by up to 45.4% compared to FedAvg.
  • The proposed method achieves faster convergence even in scenarios with only 50% IID nodes and 50% non-IID nodes with high data skew.
  • Increasing the non-linear mapping parameter α improves convergence speed in early training stages by amplifying differences in node contributions.
  • Empirical results show that FedAdp reduces gradient divergence across nodes, which correlates with lower training loss and faster convergence.
  • The adaptive weighting strategy acts as a regularization mechanism, preventing local models trained on skewed data from deviating significantly from the global direction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.