Lower Bounds and Optimal Algorithms for Personalized Federated Learning

Filip Hanzely, Slavomír Hanzely, Samuel Horváth, Peter Richtárik

Abstract: Personalized Federated Learning (PFL) addresses the challenge of non-IID data by allowing clients to maintain individual models while benefiting from global collaboration. This paper provides a rigorous theoretical foundation for the "mixing" formulation of PFL. The authors establish the first lower bounds for communication and local computation complexity and propose a suite of algorithms—including accelerated and variance-reduced methods—that achieve these optimal limits. Their findings demonstrate that personalization can be achieved with the same efficiency as standard federated learning.

The Challenge of Personalization in Federated Learning

Standard Federated Learning (FL) aims to train a single global model across multiple clients. However, in real-world scenarios, data is often "non-IID" (not identically and independently distributed). For instance, a language model trained on one user's vocabulary may perform poorly for another.

To address this, researchers use Personalized Federated Learning (PFL). This paper focuses on the "mixing" formulation, where each client $i$ maintains a local model $x_i$, penalized by a term $\lambda$ if it drifts too far from the average of all other models. This approach balances individual tailoring with collective knowledge. Before this work, the fundamental theoretical limits of this formulation were unknown, and no algorithms were proven to be mathematically optimal.

Methods: Designing Optimal Algorithms

The authors analyze the PFL objective through the lens of convex optimization, focusing on four primary areas:

  1. Lower Bound Construction: They mathematically prove the minimum number of communication rounds and local gradient calls required to reach a target accuracy.
  2. Acceleration (APGD): They apply Nesterov-style momentum to PFL, introducing APGD (Accelerated Proximal Gradient Descent) in two variants optimized for different mixing penalty regimes.
  3. Inexact Solvers (IAPGD): Recognizing that clients often cannot solve local problems perfectly, they analyze "inexact" versions where clients use local solvers like AGD or Katyusha (an accelerated variance-reduction method).
  4. AL2SGD+: Their flagship algorithm—an accelerated, loopless, variance-reduced version of local SGD designed for large-scale local datasets.
Summary of optimal algorithms for different local oracles and parameter regimes.

Key Insights: The Speed Limit of Personalization

  • The Speed Limit Discovered: The paper proves that communication complexity is governed by $\sqrt{\frac{\min\{L, \lambda\}}{\mu}}$, where $L$ is data smoothness, $\mu$ is strong convexity, and $\lambda$ is the mixing parameter. This explicitly shows how the degree of personalization affects training speed.
  • Justifying Local Methods: The authors provide a strong theoretical justification for local algorithms (like FedAvg) by proving they are optimal for this personalized objective.
  • Personalization is "Free": In many regimes, training a personalized model is no harder or slower than training a global one, provided the right accelerated architecture is used.

Key Results and Optimality

The proposed algorithms, particularly AL2SGD+, achieve optimal communication and local gradient complexity simultaneously in most practical settings. Numerical experiments on standard classification datasets (e.g., a1a, mushrooms, phishing) from the LIBSVM library confirmed these findings. The accelerated methods significantly outperformed non-accelerated baselines like L2SGD+ across both homogeneous and heterogeneous data splits.

Comparison of various algorithms against optimal communication and local computation complexities.

Limitations and Future Work

While this work bridges a significant gap, several areas remain for future exploration:

  • Standard FL Gap: A small theoretical gap persists in the case where $\lambda = \infty$ (standard FL), suggesting room for tighter analysis.
  • Boundedness Assumptions: The use of Katyusha locally requires assuming iterate sequences remain bounded, which can be restrictive in some proofs.
  • Non-Convexity: The current analysis focuses on strongly convex objectives. Extending these optimal bounds to non-convex problems, such as Deep Neural Networks, remains a major frontier.

Summary updated

BibTeX
@inproceedings{hanzely2020lower,
  author = {Filip Hanzely and Slavomír Hanzely and Samuel Horváth and Peter Richtárik},
  title = {{Lower Bounds and Optimal Algorithms for Personalized Federated Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure