FedADMM: A Robust Federated Deep Learning Framework with Adaptivity to System Heterogeneity

Yonghai Gong, Yichuan Li, Nikolaos M. Freris · DOI

Abstract

Federated Learning (FL) enables the collaborative training of machine learning models across decentralized edge devices while maintaining data privacy. However, standard FL algorithms often struggle with statistical heterogeneity (non-IID data) and system heterogeneity (varying hardware capabilities). This paper introduces FedADMM, a novel framework based on the Alternating Direction Method of Multipliers (ADMM). By utilizing primal-dual optimization and local dual variables, FedADMM effectively mitigates "client drift" and accommodates "stragglers" without increasing communication overhead. Experimental results demonstrate that FedADMM reduces communication rounds by up to 87% compared to state-of-the-art methods while maintaining robustness across diverse datasets.

1. Introduction

Federated Learning allows a central server to aggregate knowledge from thousands of edge devices—such as smartphones or IoT sensors—without requiring access to raw local data. Despite its potential, two primary forms of heterogeneity hinder the performance of foundational algorithms like FedAvg:

  1. Statistical Heterogeneity (Non-IID Data): Local data distributions often vary significantly across users. This leads to "client drift," where local model updates diverge toward local optima, slowing or preventing global convergence.
  2. System Heterogeneity: Edge devices possess varying computational power and network stability. Forcing all devices to perform identical local work (synchronous updates) leads to significant delays caused by "stragglers."

While existing solutions like FedProx introduce proximal terms to limit drift, they often require extensive hyperparameter tuning. Others, like SCAFFOLD, correct for drift but double the communication cost per round. FedADMM is designed to address these challenges simultaneously and efficiently.

2. The FedADMM Framework

FedADMM reformulates Federated Learning as a constrained optimization problem solved via the Augmented Lagrangian method. The framework introduces several key innovations to the standard FL pipeline:

2.1 Local Dual Variables

Unlike standard methods that only track model weights, FedADMM maintains a local "dual variable" ($y_i$) for each client. This variable functions as a memory mechanism, tracking the historical disagreement between the local model and the global model. During local training, the dual variable acts as a "price vector," automatically steering the local update to correct for data bias and counteract client drift.

2.2 Communication Efficiency

A significant advantage of FedADMM is its communication profile. Clients transmit an "augmented" message that combines local weights and dual variables. Crucially, this message is mathematically structured to be the same size as a standard FedAvg weight update. This ensures zero extra communication overhead, a stark contrast to methods like SCAFFOLD that require sending additional control variates.

2.3 Inexactness and Flexibility

FedADMM is designed to be "inexact," meaning it does not require clients to solve their local optimization problems to completion. This allows for flexible local work: faster devices can perform more epochs, while slower devices (stragglers) can contribute fewer updates without destabilizing the global model's convergence.

3. Experimental Evaluation

The framework was evaluated using three computer vision benchmarks: MNIST, Fashion-MNIST (FMNIST), and CIFAR-10. To simulate real-world conditions, data was partitioned into both IID and extreme Non-IID settings (where each client only observes a subset of labels).

3.1 Performance and Convergence

FedADMM consistently outperformed baselines in terms of convergence speed and communication efficiency:

  • Round Reduction: Across all benchmarks, FedADMM reduced the required communication rounds by an average of 72%, reaching as high as an 87% reduction in specific configurations.
  • Large-Scale Scalability: On FMNIST with 1,000 clients, FedADMM achieved target accuracy 130x faster than FedSGD.
  • Resilience to Non-IID Data: In extreme Non-IID CIFAR-10 tests, FedADMM reached target accuracy in just 9 rounds. In the same setting, SCAFFOLD failed to reach the target within 100 rounds.

3.2 Hyperparameter Robustness

One of the most practical insights from the study is FedADMM’s robustness. While FedProx requires precise tuning of its penalty parameter ($\rho$) for different datasets, FedADMM maintains high performance with a constant $\rho$ value across various tasks, simplifying deployment in heterogeneous environments.

4. Conclusion and Future Work

FedADMM provides a mathematically rigorous and practically efficient solution to the core challenges of Federated Learning. By integrating dual variables into the local update process, it achieves superior convergence in the presence of non-IID data and system stragglers without increasing the network burden. The authors provide a convergence proof for non-convex problems, confirming the framework's suitability for deep neural networks.

Future research directions include the development of a fully asynchronous version of FedADMM to further mitigate the impact of stragglers and the integration of privacy-preserving layers, such as Differential Privacy (DP) and Secure Multi-Party Computation (SMPC), to enhance the framework's security guarantees.

Summary updated

BibTeX
@inproceedings{gong2022fedadmm,
  author = {Yonghai Gong and Yichuan Li and Nikolaos M. Freris},
  title = {{FedADMM: A Robust Federated Deep Learning Framework with Adaptivity to System Heterogeneity}},
  booktitle = {ICDE},
  year = {2022},
  url = {https://openreview.net/forum?id=75z2v7rU9E},
}
Figure