Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization

Jianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi, H. Vincent Poor

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models on decentralized data residing on edge devices. The standard approach, Federated Averaging (FedAvg), involves clients performing multiple local updates before synchronizing with a central server. However, real-world FL environments are characterized by significant system heterogeneity, where devices vary in computational power and data availability. This paper identifies a critical flaw in existing optimization methods: objective inconsistency.

The Problem: Objective Inconsistency

In a typical FL round, clients may perform a different number of local updates ($\tau_i$) due to varying hardware speeds or dataset sizes. When the server naively averages these updates, the resulting global model is disproportionately influenced by "faster" clients who complete more local steps.

This leads to objective inconsistency, where the global model converges to a point that does not minimize the intended global loss function. Instead, it minimizes a distorted objective biased toward the local optima of more active clients. This phenomenon manifests as a "non-vanishing error floor," preventing the model from ever reaching the true global optimum, regardless of the number of communication rounds.

Comparison of global model updates in heterogeneous vs. homogeneous settings.

The FedNova Framework

To address this, the authors propose Federated Normalized Averaging (FedNova). The core innovation lies in how local updates are aggregated at the server.

1. Unified Theoretical Framework

The authors first developed a mathematical framework that encompasses various FL algorithms, including FedAvg and FedProx. This framework reveals that the bias in the global update direction is directly proportional to the variance in the number of local steps and the choice of local solvers.

2. Normalized Aggregation

FedNova eliminates this bias by normalizing the cumulative local updates by the number of steps taken by each client. Specifically, while FedAvg aggregates the total weight change $\Delta_i$, FedNova aggregates $\Delta_i / \tau_i$, representing the average progress per step. By decoupling the update direction from the local "amount of work," FedNova ensures the global model follows the true gradient of the objective function. The server then applies a global scaling factor to maintain the convergence speed of multi-step methods.

Experimental Evaluation

The efficacy of FedNova was tested across synthetic and real-world datasets, including a non-IID partitioned CIFAR-10 dataset with 16 clients. The authors used a VGG-11 network and a Dirichlet distribution to simulate highly skewed data distributions.

Key Results

  • Convergence to Global Optimum: In synthetic tests where FedAvg and FedProx plateaued due to inconsistency, FedNova successfully reached the true minimum.
  • Accuracy Improvements: On CIFAR-10, FedNova outperformed FedAvg by up to 9% when local momentum was used. Against FedProx, the improvement reached approximately 10%.
  • Efficiency: FedNova achieved target accuracy levels in roughly half the communication rounds required by standard methods in heterogeneous settings.
Convergence of FedNova vs. baselines under different local step distributions.

Conclusion

FedNova provides a theoretically grounded and computationally efficient solution to the objective inconsistency problem in federated learning. By normalizing client contributions, it allows FL systems to leverage the full computational capacity of heterogeneous devices without biasing the final model. This makes FL more robust, inclusive of "straggler" nodes, and significantly more accurate in practical deployments.

Summary updated

BibTeX
@inproceedings{wang2020tackling,
  author = {Jianyu Wang and Qinghua Liu and Hao Liang and Gauri Joshi and H. Vincent Poor},
  title = {{Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure