Taming the Instability: A Robust Second-Order Optimizer for Federated Learning over Non-IID Data
Organizations: Key Laboratory of Collaborative Intelligence Systems of Ministry of Education, Xidian University, Xi’an, Shaanxi, China · Centre for Frontier AI Research, Institute of High Performance Computing, Agency for Science, Technology and Research, Singapore · State Key Laboratory of ISN, School of Cyber Engineering, Xidian University, Xi’an, Shaanxi, China · College of Computing and Data Science, Nanyang Technological University, Singapore ·
Abstract
In this paper, we present Federated Robust Curvature Optimization (FedRCO), a novel second-order optimization framework designed to improve convergence speed and reduce communication cost in Federated Learning systems under statistical heterogeneity. Existing second-order optimization methods are often computationally expensive and numerically unstable in distributed settings. In contrast, FedRCO addresses these challenges by integrating an efficient approximate curvature optimizer with a provable stability mechanism. Specifically, FedRCO incorporates three key components: (1) a Gradient Anomaly Monitor that detects and mitigates exploding gradients in real-time, (2) a Fail-Safe Resilience protocol that resets optimization states upon numerical instability, and (3) a Curvature-Preserving Adaptive Aggregation strategy that safely integrates global knowledge without erasing the local curvature geometry. Theoretical analysis shows that FedRCO can effectively mitigate instability and prevent unbounded updates while preserving optimization efficiency. Extensive experiments show that FedRCO achieves superior robustness against diverse non-IID scenarios while achieving higher accuracy and faster convergence than both state-of-the-art first-order and second-order methods.
Figures & tables
| CIFAR-10 | EMNIST | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Dirichlet | Pathological | IID | Dirichlet | Pathological | IID | ||||||
| 2 | 5 | \ | 10 | 30 | \ | |||||||
| FedAvg | 0.563 | 0.620 | 0.632 | 0.537 | 0.601 | 0.650 | 0.818 | 0.835 | 0.836 | 0.809 | 0.826 | 0.838 |
| FedProx | 0.553 | 0.628 | 0.637 | 0.530 | 0.616 | 0.631 | 0.817 | 0.831 | 0.833 | 0.801 | 0.822 | 0.839 |
| FedAdam | 0.557 | 0.639 | 0.610 | 0.439 | 0.623 | 0.619 | 0.845 | 0.856 | 0.859 | 0.804 | 0.837 | 0.864 |
| FedAvgM | 0.556 | 0.614 | 0.635 | 0.530 | 0.607 | 0.658 | 0.814 | 0.832 | 0.832 | 0.800 | 0.823 | 0.836 |
| CIFAR-10 | EMNIST | |||||||||||
| Method | Client Number | Party Ratio | Client Number | Party Ratio | ||||||||
| 10 | 50 | 100 | 0.1 | 0.5 | 1 | 10 | 50 | 100 | 0.1 | 0.5 | 1 | |
| FedAvg | 0.539 | 0.521 | 0.563 | 0.538 | 0.576 | 0.565 | 0.779 | 0.814 | 0.818 | 0.806 | 0.814 | 0.815 |
| FedProx | 0.557 | 0.573 | 0.553 | 0.540 | 0.575 | 0.554 | 0.781 | 0.810 | 0.817 | 0.807 | 0.819 | 0.815 |
| FedAdam | 0.456 | 0.539 | 0.557 | 0.397 | 0.549 | 0.525 | 0.795 | 0.834 | 0.845 | 0.840 | 0.847 | 0.846 |
| FedAvgM | 0.517 | 0.570 | 0.556 | 0.555 | 0.559 | 0.551 | 0.781 | 0.816 | 0.814 | 0.811 | 0.819 | 0.812 |
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
| Notation | Description mainly used in the text |
|---|---|
| Model parameter, . | |
| Global loss function, local loss function of client . | |
| Total number of clients, client index. | |
| Total number of communication rounds, communication round index. | |
| Total number of local epochs, local epoch index. | |
| Total data volume, local data volume, . |
Federated Learning
Federated learning trains shared models across data holders without requiring them to pool their raw data.
See all 923 papers