Unlocking FedNL: Self-Contained Compute-Optimized Implementation

Konstantin Burlachenko, Peter Richtárik
10/11/2024
1 citation
cs.LGcs.AIcs.MS
federated

No official code found. Best implementation: burlachenkok/ufednl (1 star, Turing, last commit 2025-03-27).

Abstract

Federated Learning (FL) is an emerging paradigm that enables intelligent agents to collaboratively train Machine Learning (ML) models in a distributed manner, eliminating the need for sharing their local data. The recent work (arXiv:2106.02969) introduces a family of Federated Newton Learn (FedNL) algorithms, marking a significant step towards applying second-order methods to FL and large-scale optimization.

Show full abstract

However, the reference FedNL prototype exhibits three serious practical drawbacks: (i) It requires 4.8 hours to launch a single experiment in a sever-grade workstation; (ii) The prototype only simulates multi-node setting; (iii) Prototype integration into resource-constrained applications is challenging. To bridge the gap between theory and practice, we present a self-contained implementation of FedNL, FedNL-LS, FedNL-PP for single-node and multi-node settings. Our work resolves the aforementioned issues and reduces the wall clock time by x1000. With this FedNL outperforms alternatives for training logistic regression in a single-node -- CVXPY (arXiv:1603.00943), and in a multi-node -- Apache Spark (arXiv:1505.06807), Ray/Scikit-Learn (arXiv:1712.05889). Finally, we propose two practical-orientated compressors for FedNL - adaptive TopLEK and cache-aware RandSeqK, which fulfill the theory of FedNL.

View on arXivView PDF

Code Implementations(1)

Unlocking FedNL: Self-Contained Compute-Optimized Implementation

10Turing, C++Mar 20, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{burlachenko2024unlocking,
  title  = {Unlocking FedNL: Self-Contained Compute-Optimized Implementation},
  author = {Konstantin Burlachenko and Peter Richtárik},
  year   = {2024},
  eprint = {2410.08760},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.08760v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.08760.svg)](https://codeofpaper.com/paper/2410.08760)

Discussion