English

A New Theoretical Perspective on Data Heterogeneity in Federated Optimization

Machine Learning 2024-07-23 v1 Distributed, Parallel, and Cluster Computing Information Theory math.IT Optimization and Control

Abstract

In federated learning (FL), data heterogeneity is the main reason that existing theoretical analyses are pessimistic about the convergence rate. In particular, for many FL algorithms, the convergence rate grows dramatically when the number of local updates becomes large, especially when the product of the gradient divergence and local Lipschitz constant is large. However, empirical studies can show that more local updates can improve the convergence rate even when these two parameters are large, which is inconsistent with the theoretical findings. This paper aims to bridge this gap between theoretical understanding and practical performance by providing a theoretical analysis from a new perspective on data heterogeneity. In particular, we propose a new and weaker assumption compared to the local Lipschitz gradient assumption, named the heterogeneity-driven pseudo-Lipschitz assumption. We show that this and the gradient divergence assumptions can jointly characterize the effect of data heterogeneity. By deriving a convergence upper bound for FedAvg and its extensions, we show that, compared to the existing works, local Lipschitz constant is replaced by the much smaller heterogeneity-driven pseudo-Lipschitz constant and the corresponding convergence upper bound can be significantly reduced for the same number of local updates, although its order stays the same. In addition, when the local objective function is quadratic, more insights on the impact of data heterogeneity can be obtained using the heterogeneity-driven pseudo-Lipschitz constant. For example, we can identify a region where FedAvg can outperform mini-batch SGD even when the gradient divergence can be arbitrarily large. Our findings are validated using experiments.

Keywords

Cite

@article{arxiv.2407.15567,
  title  = {A New Theoretical Perspective on Data Heterogeneity in Federated Optimization},
  author = {Jiayi Wang and Shiqiang Wang and Rong-Rong Chen and Mingyue Ji},
  journal= {arXiv preprint arXiv:2407.15567},
  year   = {2024}
}

Comments

ICML 2024

R2 v1 2026-06-28T17:49:24.784Z