FedSSO: A Federated Server-Side Second-Order Optimization Algorithm

Xin Ma, Renyi Bao, Jinpeng Jiang, Yang Liu, Arthur Jiang, Jun Yan, Xin Liu, Zhisong Pan · DOI

Abstract

In this work, we propose FedSSO, a server-side second-order optimization method for federated learning (FL). In contrast to previous works in this direction, we employ a server-side approximation for the Quasi-Newton method without requiring any training data from the clients. In this way, we not only shift the computation burden from clients to server, but also eliminate the additional communication for second-order updates between clients and server entirely. We provide theoretical guarantee for convergence of our novel method, and empirically demonstrate our fast convergence and communication savings in both convex and non-convex settings.

Introduction

Federated Learning (FL) enables collaborative model training across distributed clients while maintaining data privacy. However, standard first-order methods like FedAvg often suffer from slow convergence and "client drift" in heterogeneous (Non-IID) data environments. While second-order (Newton-type) methods offer faster convergence by utilizing curvature information, they typically impose heavy computational and communication burdens on clients, making them impractical for resource-constrained edge devices.

The FedSSO Methodology

FedSSO addresses these challenges by performing second-order approximations entirely on the server side. The process involves standard local updates and aggregation, followed by a sophisticated server-side Quasi-Newton step.

The Lighthouse Point

A key theoretical contribution of FedSSO is the introduction of the Lighthouse Point ($\hat{x}_k$). The authors prove that there exists a point where the average of local gradients effectively represents the global gradient. This allows the server to estimate the global Hessian matrix using the BFGS algorithm based on the history of aggregated updates, requiring no raw data from clients.

Visualization of the Lighthouse Point and the optimization path using Quasi-Newton updates.

Server-Side Optimization

By shifting the Hessian approximation to the server, FedSSO maintains the same communication overhead per round as FedAvg. The server ensures stability in non-convex settings by maintaining the positive definiteness of the approximated Hessian.

Experimental Evaluation

The authors evaluated FedSSO on several benchmarks, including MNIST, EMNIST, CIFAR-10, and Shakespeare, focusing on Non-IID data partitions.

Performance and Convergence

FedSSO demonstrates significantly faster convergence compared to first-order baselines. For instance, in convex MNIST MCLR tasks, FedSSO reached 90% accuracy in 24 rounds, compared to over 200 rounds for FedAvg.

Training loss and test accuracy across various datasets and models, comparing FedSSO with state-of-the-art FL algorithms.

Communication and Resource Efficiency

Beyond speed, FedSSO is highly communication-efficient. In the EMNIST CNN benchmark, it achieved target accuracy using only 3.3M bits, a fraction of the communication required by Scaffold (19.7M bits) or FedAvg (9.9M bits). Furthermore, it maintains a minimal memory footprint on the client side, making it ideal for IoT and mobile deployments.

Conclusion and Future Directions

FedSSO successfully brings the benefits of second-order optimization to FL without increasing client-side complexity or communication costs. While it requires careful hyperparameter tuning for stability in some non-convex scenarios, its performance gains are substantial. Future work may explore the use of Limited-memory BFGS (L-BFGS) to enhance scalability for extremely large-scale models.

Summary updated

BibTeX
@misc{ma2022fedsso,
  author = {Xin Ma and Renyi Bao and Jinpeng Jiang and Yang Liu and Arthur Jiang and Jun Yan and Xin Liu and Zhisong Pan},
  title = {{FedSSO: A Federated Server-Side Second-Order Optimization Algorithm}},
  year = {2022},
  eprint = {2206.09576},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.09576},
}
Figure