On the Convergence of Federated Optimization in Heterogeneous Networks.

Anit Kumar Sahu, Tian Li, Maziar Sanjabi, Manzil Zaheer, Ameet Talwalkar, Virginia Smith

arXiv (Cornell University) · 2018 · 230 citations · 0 references

Full text

Open access

Concepts

TL;DR

Federated Learning faces two major challenges: system heterogeneity across devices and non‑identically distributed data. This work introduces FedProx, a framework designed to address heterogeneity in federated networks. FedProx generalizes FedAvg by re‑parameterizing it and allowing each device to perform a variable amount of work, with theoretical convergence guarantees under both statistical and system heterogeneity. Experiments show FedProx achieves more robust convergence than FedAvg, improving test accuracy by about 22 % on average in highly heterogeneous settings.

Abstract

Federated Learning is a distributed learning paradigm with two key challenges that differentiate it from traditional distributed optimization: (1) significant variability in terms of the systems characteristics on each device in the network (systems heterogeneity), and (2) non-identically distributed data across the network (statistical heterogeneity). In this work, we introduce a framework, FedProx, to tackle heterogeneity in federated networks. FedProx can be viewed as a generalization and re-parametrization of FedAvg, the current state-of-the-art method for federated learning. While this re-parameterization makes only minor modifications to the method itself, these modifications have important ramifications both in theory and in practice. Theoretically, we provide convergence guarantees for our framework when learning over data from non-identical distributions (statistical heterogeneity), and while adhering to device-level systems constraints by allowing each participating device to perform a variable amount of work (systems heterogeneity). Practically, we demonstrate that FedProx allows for more robust convergence than FedAvg across a suite of realistic federated datasets. In particular, in highly heterogeneous settings, FedProx demonstrates significantly more stable and accurate convergence behavior relative to FedAvg---improving absolute test accuracy by 22% on average.