NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sharp Bounds for Sequential Federated Learning on Heterogeneous Data

Yipeng Li, Xinchen Lyu · DOI

TL;DR

This paper provides the first theoretical analysis of Sequential Federated Learning (SFL) on heterogeneous data, establishing sharp upper and lower bounds for its convergence. The authors demonstrate that SFL can outperform traditional Parallel Federated Learning (PFL) in heterogeneous settings, a counterintuitive finding validated by experiments.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple clients to collaboratively train a machine learning model without sharing their raw data. FL typically follows one of two paradigms: Parallel FL (PFL), where clients update their models simultaneously and then aggregate, and Sequential FL (SFL), where clients update their models one after another in a sequence. While PFL has been extensively studied, especially concerning data heterogeneity (where clients' data distributions differ), the theoretical understanding of SFL's convergence on such heterogeneous data has been lacking. This paper aims to fill this gap by providing a rigorous theoretical framework for SFL's performance under data heterogeneity.

Methods

The core of this work is a theoretical analysis of SFL's convergence. The authors derive:

  • Upper Bounds: They establish theoretical upper bounds on the convergence rate of SFL for three common types of objective functions: strongly convex, general convex, and non-convex. These bounds are derived under standard FL assumptions regarding data stochasticity and heterogeneity.
  • Lower Bounds: To demonstrate the tightness of their upper bounds, they construct matching lower bounds for the strongly convex and general convex cases. This involves carefully designing objective functions and initializations that represent worst-case scenarios.
  • Comparison with PFL: A significant contribution is the direct comparison of SFL's upper bounds with those of PFL under various heterogeneity assumptions. This comparison aims to understand when and why SFL might be advantageous.
  • Experimental Validation: The theoretical findings are validated through experiments on synthetic (quadratic functions) and real-world datasets (logistic regression, deep neural networks).

Datasets

  • Synthetic Data: Quadratic functions were used to test the theoretical findings, particularly concerning heterogeneity.
  • Real-world Data:
    • Logistic Regression: "a9a" and "w8a" datasets from LIBSVM library.
  • Deep Neural Networks: Fashion-MNIST, CIFAR-10, and CINIC-10 datasets.

Key Insights and Ideas

  • SFL Can Outperform PFL on Heterogeneous Data: This is the most striking finding. Counterintuitively, the sequential nature of SFL, combined with its inherent shuffling of clients, can lead to faster convergence than parallel updates when data is highly heterogeneous. This suggests that the "bottleneck" of sequential processing might be mitigated by the way information propagates through the sequence in heterogeneous settings.
  • Sharp Theoretical Bounds: The paper provides the first tight theoretical guarantees (both upper and lower bounds) for SFL on heterogeneous data, bridging a significant gap in the literature.
  • Heterogeneity is Key: The advantage of SFL over PFL is most pronounced when the data heterogeneity is high. When data is more uniform, their performance tends to be similar.
  • SFL as a Practical Alternative: The paper highlights SFL's potential in scenarios where a central server is undesirable or impractical, such as in peer-to-peer or decentralized systems.

Key Results

  • Theoretical Bounds: The paper derives upper bounds for SFL's convergence for strongly convex, general convex, and non-convex objectives. These bounds are shown to be tight by matching lower bounds for the convex cases.
  • Performance Comparison: Under certain heterogeneity assumptions, SFL's upper bounds are shown to be strictly better than PFL's. This advantage is particularly noticeable when the level of heterogeneity is relatively high.
  • Experimental Validation: Experiments on quadratic functions, logistic regression, and deep neural networks consistently showed that SFL outperforms PFL in heterogeneous settings, aligning with the theoretical predictions. For instance, on CIFAR-10, SFL achieved significantly higher test accuracy than PFL when the data heterogeneity was high (C=1, 2).

Limitations and Future Work

  • Limitations:
    • The theoretical analysis primarily focuses on standard FL assumptions.
  • The lower bounds for the non-convex case are still lacking for both SFL and SGD-RR.
  • The paper acknowledges that the counterintuitive results might be influenced by the limitations of existing works that omit global aggregation information.
  • Future Work:
    • Investigating SFL's convergence under new assumptions beyond standard ones, or considering factors beyond data heterogeneity.
  • Exploring the impact of Hessian information on SFL and PFL performance to explain unexpected experimental results.
  • Applying server extrapolation techniques to SFL to potentially achieve faster convergence, similar to recent advancements in PFL.
  • Investigating the use of Shuffling Variance techniques in SFL for potential improvements in the strongly convex case.

Summary updated

BibTeX
@misc{li2024sharp,
  author = {Yipeng Li and Xinchen Lyu},
  title = {{Sharp Bounds for Sequential Federated Learning on Heterogeneous Data}},
  year = {2024},
  eprint = {2405.01142},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.01142},
}
Figure