Order Optimal One-Shot Distributed Learning

Arsalan Sharif-Nassab, Saber Salehkaleybar, S. Jamaloddin Golestani

Introduction

This paper introduces the Multi-Resolution Estimator (MRE), a novel algorithm for "one-shot" distributed learning where machines communicate with a central server only once. Unlike previous methods that fail when each device has very little data, MRE is "order optimal." This means its error continues to drop toward zero as you add more machines, even if those machines only have a single data point each.

The Challenge of One-Shot Distributed Learning

In the world of Federated Learning—such as thousands of smartphones training a predictive text model—data is distributed across many devices. Typically, these devices communicate back and forth with a server many times using variants of Stochastic Gradient Descent. However, this communication is expensive, slow, and raises privacy concerns. "One-shot" distributed learning aims to solve this by having each machine send just a single message to the server, which then produces the final model.

The primary challenge lies in the $m \gg n$ regime: where the number of machines ($m$) is massive, but the number of samples per machine ($n$) is tiny (perhaps just one or two). Existing one-shot techniques, like simple averaging of local models, hit a wall here. If each machine’s local estimate is highly inaccurate because it only saw one data point, averaging those poor estimates won't lead to the true global model, regardless of how many machines are added. The authors set out to find an algorithm that scales effectively with the total number of machines in the system, independent of how little data each individual machine holds.

The Multi-Resolution Estimator (MRE)

To overcome this, the authors propose the Multi-Resolution Estimator (MRE). The core innovation is moving away from sending "best guesses" (local optima) and instead sending "landscape information."

  1. Hierarchical Grids: The algorithm uses a multi-resolution approach. The parameter space is divided into grids of increasing fineness (resolutions).
Hierarchical grid structure used by the Multi-Resolution Estimator
  1. The Message: Instead of just sending its local optimum, each machine sends a triplet $(s, p, \Delta)$:
  2. $s$: A coarse grid point near its local estimate.
  3. $p$: A randomly selected point from a finer grid.
  4. $\Delta$: The gradient of its local loss function at that point (specifically, the difference in gradients between $p$ and its "parent" point in the grid).
  5. Server Aggregation: The server collects these "snippets" of the gradient landscape. Because different machines were assigned different points $p$ at different resolutions, the server can stitch these together to reconstruct an approximation of the global gradient function across the entire domain.
  6. Final Estimate: The server then identifies the point where this reconstructed gradient is closest to zero, which—thanks to convexity—is the global minimum.

Key Insights

The authors realized that to find a single optimal point in a distributed setting with minimal data per node, you essentially have to solve the "harder" problem of approximating the derivative of the function everywhere. By having machines randomly sample the gradient landscape at different resolutions, the server can build a complete picture that is more accurate than any individual machine's best guess.

Crucially, MRE breaks the $1/n$ error barrier. Previous state-of-the-art methods had an error floor of $O(1/n)$. If $n=1$, the error stayed constant even with infinite machines. MRE breaks this floor, achieving an error that scales with $1/\sqrt{mn}$. Despite sending landscape information, the messages remain small—only $O(\log mn)$ bits, comparable to sending a single high-precision floating-point vector.

Experimental Results

The paper evaluates the algorithm using synthetic datasets (Ridge Regression and Logistic Regression) designed to test the theoretical limits of distributed optimization. In both cases, they used a 2-dimensional parameter space ($d=2$) and the extreme case of $n=1$ (one sample per machine), scaling the number of machines ($m$) up to one million.

Average error comparison between MRE and AVGM for Ridge and Logistic regression
  • Theoretical Optimality: The authors prove that MRE achieves an expected error of $\tilde{O}(m^{-1/\max(d,2)}n^{-1/2})$. This matches known information-theoretic lower bounds, meaning no algorithm can do significantly better under these communication constraints.
  • Experimental Superiority: In simulations with $n=1$, the standard Averaging Method (AVGM) showed a flat error rate of roughly $0.3$ regardless of the number of machines. In contrast, the MRE error plummeted as the number of machines increased, dropping below $0.01$ when $m=10^6$.
  • Robustness: MRE works under "mild" assumptions—it only requires the functions to be once-differentiable with Lipschitz gradients, whereas previous work often required second or third-order derivatives.

Limitations and Future Work

While groundbreaking, MRE faces the "curse of dimensionality." The error bound includes a term $m^{-1/d}$. As the number of dimensions ($d$) grows, exponentially more machines are needed to maintain the same accuracy.

Additionally, the current version requires machines to know the total number of machines ($m$) to decide how many grid levels to use, though the authors suggest this can be bypassed using an infinite grid with decaying probabilities. Finally, while MRE is optimal for once-differentiable functions, the optimal scaling for smoother functions in the $m \gg n$ regime remains an open problem.

Summary updated

BibTeX
@inproceedings{sharifnassab2019order,
  author = {Arsalan Sharif-Nassab and Saber Salehkaleybar and S. Jamaloddin Golestani},
  title = {{Order Optimal One-Shot Distributed Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure