Federated Optimization of Smooth Loss Functions
Ali Jadbabaie, Anuran Makur, Devavrat Shah
TL;DR
The paper tackles ERM in federated settings and introduces FedLRGD, a gradient-descent method that exploits data-smoothness to induce an approximate low-rank structure in client gradients. By learning rank-revealing weights through limited communication and performing inexact server GD, FedLRGD achieves federated oracle complexity scaling as $\phi m (p/\epsilon)^{\Theta(d/\eta)}$, potentially beating the FedAve benchmark, which scales as $\phi m (p/\epsilon)^{3/4}$ when the data dimension $d$ is small and the gradient is highly smooth in the data. A novel latent-variable approximation result shows that smoothness in the data yields effective low-rank representations for latent models, which underpins the FedLRGD analysis. The work provides a formal framework for comparing federated optimization algorithms via federated oracle complexity and demonstrates regimes where exploiting data smoothness yields practical gains for distributed learning tasks.
Abstract
In this work, we study empirical risk minimization (ERM) within a federated learning framework, where a central server minimizes an ERM objective function using training data that is stored across $m$ clients. In this setting, the Federated Averaging (FedAve) algorithm is the staple for determining $ε$-approximate solutions to the ERM problem. Similar to standard optimization algorithms, the convergence analysis of FedAve only relies on smoothness of the loss function in the optimization parameter. However, loss functions are often very smooth in the training data too. To exploit this additional smoothness, we propose the Federated Low Rank Gradient Descent (FedLRGD) algorithm. Since smoothness in data induces an approximate low rank structure on the loss function, our method first performs a few rounds of communication between the server and clients to learn weights that the server can use to approximate clients' gradients. Then, our method solves the ERM problem at the server using inexact gradient descent. To show that FedLRGD can have superior performance to FedAve, we present a notion of federated oracle complexity as a counterpart to canonical oracle complexity. Under some assumptions on the loss function, e.g., strong convexity in parameter, $η$-Hölder smoothness in data, etc., we prove that the federated oracle complexity of FedLRGD scales like $φm(p/ε)^{Θ(d/η)}$ and that of FedAve scales like $φm(p/ε)^{3/4}$ (neglecting sub-dominant factors), where $φ\gg 1$ is a "communication-to-computation ratio," $p$ is the parameter dimension, and $d$ is the data dimension. Then, we show that when $d$ is small and the loss function is sufficiently smooth in the data, FedLRGD beats FedAve in federated oracle complexity. Finally, in the course of analyzing FedLRGD, we also establish a result on low rank approximation of latent variable models.
