English

Gradient Masked Federated Optimization

Machine Learning 2021-04-22 v1

Abstract

Federated Averaging (FedAVG) has become the most popular federated learning algorithm due to its simplicity and low communication overhead. We use simple examples to show that FedAVG has the tendency to sew together the optima across the participating clients. These sewed optima exhibit poor generalization when used on a new client with new data distribution. Inspired by the invariance principles in (Arjovsky et al., 2019; Parascandolo et al., 2020), we focus on learning a model that is locally optimal across the different clients simultaneously. We propose a modification to FedAVG algorithm to include masked gradients (AND-mask from (Parascandolo et al., 2020)) across the clients and uses them to carry out an additional server model update. We show that this algorithm achieves better accuracy (out-of-distribution) than FedAVG, especially when the data is non-identically distributed across clients.

Keywords

Cite

@article{arxiv.2104.10322,
  title  = {Gradient Masked Federated Optimization},
  author = {Irene Tenison and Sreya Francis and Irina Rish},
  journal= {arXiv preprint arXiv:2104.10322},
  year   = {2021}
}
R2 v1 2026-06-24T01:23:19.094Z