One-Shot Federated Learning: Theoretical Limits and Algorithms to Achieve Them

Saber Salehkaleybar, Arsalan Sharifnassab, S. Jamaloddin Golestani · DOI

One-shot federated learning (FL) is an emerging paradigm where communication between local machines and a central server occurs only once. This approach is highly desirable for minimizing communication overhead and enhancing privacy in distributed systems. However, achieving high accuracy in this setting remains a significant challenge, especially when individual machines possess limited data.

The One-Shot Federated Learning Challenge

In the standard one-shot FL setup, as illustrated below, $m$ machines each observe $n$ i.i.d. samples. Based on its local data, each machine computes a $B$-bit message to send to a central server. The server then aggregates these messages to produce an estimate $\hat{\theta}$ that minimizes an expected convex loss function.

The one-shot federated learning architecture where $m$ machines each observe $n$ samples and send a $B$-bit message to a central server.

The authors identify two critical gaps in existing research that this paper aims to bridge:

  1. Smoothness Constraints: Most prior work assumes loss functions have Lipschitz continuous second or third derivatives. This paper addresses a broader, more realistic class of functions with only Lipschitz continuous first derivatives (i.e., "bumpier" functions).
  2. The "Small $n$" Regime: Traditional algorithms, such as simple averaging (AVGM), often plateau in error if the number of samples per machine ($n$) is small, regardless of how many machines ($m$) are added. In modern applications, we often have millions of users ($m$ is huge) but very little data per user ($n$ is tiny).

The Multi-Resolution Estimator (MRE)

To overcome these hurdles, the authors propose the Multi-Resolution Estimator (MRE). Instead of just sending a local "best guess," MRE employs a sophisticated hierarchical grid-based approach:

  • Local Search: Each machine finds its local empirical minimizer and identifies the closest point on a coarse global grid.
  • Multi-Resolution Gradients: Machines are assigned to different "levels" of a hierarchical grid centered around that point. They send back information about the change in the gradient (the difference between a point and its "parent" in the grid).
  • Server Reconstruction: The server aggregates these "delta" signals to reconstruct a high-resolution view of the gradient landscape and picks the point where the reconstructed gradient is closest to zero.

This design is rooted in the theoretical insight that finding an accurate minimizer is fundamentally as difficult as approximating the gradient over a small neighborhood.

Theoretical Results and Order Optimality

The paper establishes tight lower bounds on the error achievable by any algorithm and proves that MRE is order-optimal. As shown in the table below, for a communication budget $B \ge d \log mn$, the MRE achieves an error rate that matches the derived lower bounds up to poly-logarithmic factors.

Summary of the theoretical lower and upper bounds derived for different communication budgets B.

Crucially, MRE allows the error to vanish as $m \to \infty$ even when $n$ is as small as 1. This "breaks the averaging barrier" where traditional methods fail. The paper also addresses the "Tiny Budget" regime, showing that even with only $d$ bits per machine, the error can be made to vanish as $O(1/\sqrt{n} + 1/\sqrt{m})$.

Limitations and Future Work

While MRE provides a powerful framework for one-shot FL, several challenges remain:

  • Dimensionality: The current bounds have an exponential dependency on the dimension $d$, a common issue known as the "curse of dimensionality."
  • Knowledge of $m$: The algorithm currently requires machines to know the total number of participants to set grid levels correctly.
  • Non-Convexity: This work assumes convex loss functions. Extending these tight one-shot bounds to non-convex landscapes, such as those found in deep neural networks, remains a major open challenge in the field.

Summary updated

Abstract

We consider distributed statistical optimization in one-shot setting, where there are $m$ machines each observing $n$ i.i.d. samples. Based on its observed samples, each machine sends a $B$-bit-long message to a server. The server then collects messages from all machines, and estimates a parameter that minimizes an expected convex loss function. We investigate the impact of communication constraint, $B$, on the expected error and derive a tight lower bound on the error achievable by any algorithm. We then propose an estimator, which we call Multi-Resolution Estimator (MRE), whose expected error (when $B\ge\log mn$) meets the aforementioned lower bound up to poly-logarithmic factors, and is thereby order optimal. We also address the problem of learning under tiny communication budget, and present lower and upper error bounds when $B$ is a constant. The expected error of MRE, unlike existing algorithms, tends to zero as the number of machines ($m$) goes to infinity, even when the number of samples per machine ($n$) remains upper bounded by a constant. This property of the MRE algorithm makes it applicable in new machine learning paradigms where $m$ is much larger than $n$.
BibTeX
@misc{salehkaleybar2019one,
  author = {Saber Salehkaleybar and Arsalan Sharifnassab and S. Jamaloddin Golestani},
  title = {{One-Shot Federated Learning: Theoretical Limits and Algorithms to Achieve Them}},
  year = {2019},
  eprint = {1905.04634},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.04634},
}
Figure