Skip to main content
QUICK REVIEW

[Paper Review] Federated Optimization:Distributed Optimization Beyond the Datacenter

Jakub Konečný, H. Brendan McMahan|arXiv (Cornell University)|Nov 11, 2015
Stochastic Gradient Optimization TechniquesComputer Science13 references580 citations
TL;DR

This paper introduces Federated Optimization, a communication-efficient distributed learning framework for training centralized models when data are massively distributed, non-IID, and unbalanced across a large number of devices—such as mobile phones. The authors propose DSVRG, a variant of SVRG that uses feature-wise adaptive averaging via a sparsity-aware matrix to improve convergence, achieving near-optimal performance in very few communication rounds, even under extreme data skew and sparsity.

ABSTRACT

We introduce a new and increasingly relevant setting for distributed optimization in machine learning, where the data defining the optimization are distributed (unevenly) over an extremely large number of odes, but the goal remains to train a high-quality centralized model. We refer to this setting as Federated Optimization. In this setting, communication efficiency is of utmost importance. A motivating example for federated optimization arises when we keep the training data locally on users' mobile devices rather than logging it to a data center for training. Instead, the mobile devices are used as nodes performing computation on their local data in order to update a global model. We suppose that we have an extremely large number of devices in our network, each of which has only a tiny fraction of data available totally; in particular, we expect the number of data points available locally to be much smaller than the number of devices. Additionally, since different users generate data with different patterns, we assume that no device has a representative sample of the overall distribution. We show that existing algorithms are not suitable for this setting, and propose a new algorithm which shows encouraging experimental results. This work also sets a path for future research needed in the context of federated optimization.

Motivation & Objective

  • Address the challenge of training high-quality centralized models when data are distributed across a massive number of devices, each holding only a tiny, non-representative subset of data.
  • Overcome the limitations of existing communication-efficient algorithms that assume balanced, IID data and fewer nodes than data points.
  • Design a scalable optimization method suitable for real-world mobile and edge devices with constrained connectivity and high computational capacity.
  • Enable privacy-preserving machine learning by keeping data on-device while still allowing effective global model updates.
  • Demonstrate that communication efficiency can be achieved even under severe data imbalance and non-IID distributions.

Proposed method

  • Propose DSVRG (Distributed Stochastic Variance Reduced Gradient), a variant of SVRG tailored for federated settings with sparse, unbalanced, and non-IID data.
  • Introduce a feature-wise adaptive matrix A, where A_ii = K / ω_i, to scale updates based on how frequently each feature appears across nodes, improving convergence for rare features.
  • Use local computation on each device to perform multiple iterations before communicating, minimizing communication rounds.
  • Apply the adaptive matrix to interpolate between full averaging and independent updates, favoring larger steps for features present on fewer nodes.
  • Leverage sparsity patterns in feature distribution to guide update magnitude, improving robustness to data skew.
  • Implement a communication-efficient protocol where devices send only model updates (not raw data), preserving privacy and reducing bandwidth.

Experimental results

Research questions

  • RQ1Can communication-efficient optimization algorithms converge reliably in settings with massive numbers of devices, each holding a small, non-representative data subset?
  • RQ2How can optimization methods be adapted to handle extreme data imbalance and non-IID distributions across devices?
  • RQ3What role does feature sparsity play in designing effective distributed optimization algorithms for federated learning?
  • RQ4Can adaptive weighting of gradients based on feature frequency improve convergence speed and model quality in federated settings?
  • RQ5To what extent do existing communication-efficient algorithms fail in realistic federated learning scenarios with unbalanced, non-IID data?

Key findings

  • Existing communication-efficient algorithms like DANE and DiSCO diverge in the federated optimization setting due to data imbalance and non-IID characteristics.
  • CoCoA converges but significantly slower than simple distributed gradient descent, indicating inefficiency in this setting.
  • DSVRG achieves near-optimal performance in very few communication rounds—demonstrating strong convergence even with unbalanced, non-IID data.
  • The performance of DSVRG is nearly indistinguishable from a baseline with randomly reshuffled data, showing robustness to data skew.
  • The use of the adaptive matrix A significantly improves performance; its omission degrades results substantially.
  • The method enables effective model training with minimal communication, making it suitable for mobile and edge devices with intermittent connectivity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.