Why Federated Optimization Fails to Achieve Perfect Fitting? A Theoretical Perspective on Client-Side Optima

Zhongxiang Lei, Qi Yang, Ping Qiu, Gang Zhang, Yuanchi Ma +1 more
11/1/2025
cs.LGcs.AIstat.ML

Official code: NPCLEI/fedtorch (2 stars, GPL-3.0, last commit 2025-11-06).

Abstract

Federated optimization is a constrained form of distributed optimization that enables training a global model without directly sharing client data. Although existing algorithms can guarantee convergence in theory and often achieve stable training in practice, the reasons behind performance degradation under data heterogeneity remain unclear. To address this gap, the main contribution of this paper is to provide a theoretical perspective that explains why such degradation occurs. We introduce the assumption that heterogeneous client data lead to distinct local optima, and show that this assumption implies two key consequences: 1) the distance among clients' local optima raises the lower bound of the global objective, making perfect fitting of all client data impossible; and 2) in the final training stage, the global model oscillates within a region instead of converging to a single optimum, limiting its ability to fully fit the data. These results provide a principled explanation for performance degradation in non-iid settings, which we further validate through experiments across multiple tasks and neural network architectures. The framework used in this paper is open-sourced at: https://github.com/NPCLEI/fedtorch.

View on arXivView PDF

Code Implementations(1)

NPCLEI/fedtorchOfficial100%
GPL-3.0

A federated optimization framework. The framework consists of the following methods: FedAVG, FedAVGM, DeltaSGD, DualPROX, FedEXP, FedGM, FedInit, FedLESAM, FedNAR, FedPROX, SCAFFOLD, SCAFFNEW, and FedADAM

20PythonNov 1, 202511 months agoGPL-3.0

Similar Papers

Cite this paper

@article{lei2025federated,
  title  = {Why Federated Optimization Fails to Achieve Perfect Fitting? A Theoretical Perspective on Client-Side Optima},
  author = {Zhongxiang Lei and Qi Yang and Ping Qiu and Gang Zhang and Yuanchi Ma and Jinyan Liu},
  year   = {2025},
  eprint = {2511.00469},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.00469v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.00469.svg)](https://codeofpaper.com/paper/2511.00469)

Discussion