Understanding Generalization of Federated Learning via Stability: Heterogeneity Matters

06/06/2023
by   Zhenyu Sun, et al.
0

Generalization performance is a key metric in evaluating machine learning models when applied to real-world applications. Good generalization indicates the model can predict unseen data correctly when trained under a limited number of data. Federated learning (FL), which has emerged as a popular distributed learning framework, allows multiple devices or clients to train a shared model without violating privacy requirements. While the existing literature has studied extensively the generalization performances of centralized machine learning algorithms, similar analysis in the federated settings is either absent or with very restrictive assumptions on the loss functions. In this paper, we aim to analyze the generalization performances of federated learning by means of algorithmic stability, which measures the change of the output model of an algorithm when perturbing one data point. Three widely-used algorithms are studied, including FedAvg, SCAFFOLD, and FedProx, under convex and non-convex loss functions. Our analysis shows that the generalization performances of models trained by these three algorithms are closely related to the heterogeneity of clients' datasets as well as the convergence behaviors of the algorithms. Particularly, in the i.i.d. setting, our results recover the classical results of stochastic gradient descent (SGD).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/02/2020

Second-Order Guarantees in Federated Learning

Federated learning is a useful framework for centralized learning from d...
research
02/12/2022

On Federated Learning with Energy Harvesting Clients

Catering to the proliferation of Internet of Things devices and distribu...
research
09/08/2021

Iterated Vector Fields and Conservatism, with Applications to Federated Learning

We study iterated vector fields and investigate whether they are conserv...
research
09/25/2022

On the Stability Analysis of Open Federated Learning Systems

We consider the open federated learning (FL) systems, where clients may ...
research
06/09/2023

Federated Learning You May Communicate Less Often!

We investigate the generalization error of statistical learning models i...
research
11/03/2022

Fairness in Federated Learning via Core-Stability

Federated learning provides an effective paradigm to jointly optimize a ...
research
04/13/2021

Sample-based and Feature-based Federated Learning via Mini-batch SSCA

Due to the resource consumption for transmitting massive data and the co...

Please sign up or login with your details

Forgot password? Click here to reset