Contributions to Federated Learning and First-Order Optimization

Aymeric DieuleveutSPIRE 2023 · OpenAlex

TL;DR

This paper (an HDR manuscript) presents a dual-pronged advancement in machine learning: first, it introduces robust frameworks like Artemis and MCM to make Federated Learning efficient via bi-directional compression without losing accuracy to data heterogeneity. Second, it unveils PEPit, a Python-based "automated theorist" that uses semidefinite programming to numerically derive worst-case convergence bounds for optimization algorithms.

What Problem Does This Paper Address?

Modern machine learning faces two massive scaling walls: communication and complexity.

In Federated Learning (FL), training happens across thousands of devices (like smartphones) that cannot send massive model updates due to bandwidth limits. While compression (reducing the bits sent) is a solution, it usually introduces "noise" that interacts poorly with heterogeneity—the fact that every user's data is different. Standard compressed algorithms often "saturate," meaning they stop improving long before reaching the optimal solution.

In Optimization Theory, proving how fast an algorithm works (convergence analysis) is traditionally a "pen-and-paper" exercise. It is tedious, error-prone, and often results in bounds that aren't "tight" (the best possible). The author seeks to automate this process and find new ways to accelerate classical methods, such as exploiting specific structures in data (like spectral gaps in Hessians).

Methods

The author introduces several key algorithmic and software contributions:

  1. Artemis & FedEM: These frameworks tackle bi-directional compression (compressing both the "uplink" from device to server and the "downlink" from server to device). The core innovation is the use of control variates (memory). By learning the "dissimilarity" between clients, the algorithm compresses only the difference between the current gradient and a stored memory term. As the model nears the optimum, this difference shrinks to zero, effectively "annihilating" the compression error.
  2. MCM (Model Compression with Memory): Traditional bi-directional compression suffers because the server "degrades" its own model to match the compressed version sent to clients. MCM introduces a preserved update strategy where the server maintains a high-precision global model while clients work on "perturbed" local versions.
  3. PEPit: A Python package that reformulates the search for a convergence bound as a Performance Estimation Problem (PEP). It casts the problem as a Semidefinite Program (SDP), allowing a computer to find the worst-case function and initial conditions for any given first-order method.
  4. Cyclical Step-sizes: For quadratic optimization, the paper proves that using a repeating sequence of different step-sizes (rather than one constant size) can achieve "super-acceleration," outperforming the famous Heavy-ball method when the data has "clustered" eigenvalues.

Datasets

The research validates these methods across a wide range of standard and synthetic benchmarks:

  • Convex/Linear Tasks: Superconduct, Quantum, A9A, Phishing, and W8A (used for testing Artemis and MCM).
  • Deep Learning/Non-Convex: MNIST, Fashion-MNIST, FE-MNIST (Federated MNIST), and CIFAR-10.
  • Synthetic: Specifically designed quadratic problems to test cyclical step-sizes and spectral gap theories.

Key Insights and Ideas

  • Heterogeneity is the "Compression Killer": Without memory mechanisms, data heterogeneity acts as a floor that prevents compressed FL algorithms from ever reaching the true optimum.
  • The Downlink Doesn't Have to be "Lossy": MCM proves that you can send compressed models to clients without the server having to throw away its own high-quality data. This allows bi-directional compression to match the speed of single-direction compression.
  • Computers are Better at Proofs: PEPit shows that numerical "computer-assisted" proofs can identify tight bounds that human researchers have missed for decades, such as the exact contraction factors for gradient descent on smooth functions.
  • Exploiting the "Gap": Most optimization theory assumes a smooth distribution of data. This paper shows that if there is a "gap" in the data's eigenvalue spectrum (common in neural networks), cyclical step-sizes can exploit that gap for massive speedups.

Key Results

  • Artemis achieves linear convergence to a neighborhood of the optimum, with the "saturation level" being independent of data heterogeneity thanks to its memory mechanism.
  • MCM demonstrates that it can reach the same asymptotic convergence rate with bi-directional compression as previous methods did using only uplink compression, effectively doubling communication efficiency for "free."
  • PEPit successfully reproduced and tightened bounds for over 50 standard optimization oracles, providing a reproducible "gold standard" for the community.
  • Cyclical Heavy-ball methods showed significant speedups on MNIST-based quadratic objectives, proving that "super-acceleration" is a practical reality, not just a theoretical curiosity.

Limitations and Future Work

  • Cross-Silo vs. Cross-Device: Some methods like MCM require the server to maintain state for each client. This works in "cross-silo" settings (a few hospitals/banks) but is difficult to scale to "cross-device" settings (millions of phones).
  • First-Order Limits: PEPit is currently optimized for first-order methods (gradients). Extending this to second-order methods or more complex non-convex landscapes remains a challenge.
  • Regularity in Quantization: The author notes that quantization "degrades the regularity" of the optimization process, suggesting that future work should focus on the stability of these algorithms to improve generalization.

Summary updated

BibTeX
@inproceedings{dieuleveut2023contributions,
  author = {Aymeric Dieuleveut},
  title = {{Contributions to Federated Learning and First-Order Optimization}},
  booktitle = {SPIRE},
  year = {2023},
}

Loading related content...

Figure