SphereFed: Hyperspherical Federated Learning

Abstract

Federated Learning aims at training a global model from multiple decentralized devices (i.e. clients) without exchanging their private local data. A key challenge is the handling of non-i.i.d. (independent identically distributed) data across multiple clients that may induce disparities of their local features. We introduce the Hyperspherical Federated Learning (SphereFed) framework to address the non-i.i.d. issue by constraining learned representations of data points to be on a unit hypersphere shared by clients. Specifically, all clients learn their local representations by minimizing the loss with respect to a fixed classifier whose weights span the unit hypersphere. After federated training in improving the global model, this classifier is further calibrated with a closed-form solution by minimizing a mean squared loss. We show that the calibration solution can be computed efficiently and distributedly without direct access of local data. Extensive experiments indicate that our SphereFed approach is able to improve the accuracy of multiple existing federated learning algorithms by a considerable margin (up to 6% on challenging datasets) with enhanced computation and communication efficiency across datasets and model architectures.

Cite

Text

Dong et al. "SphereFed: Hyperspherical Federated Learning." Proceedings of the European Conference on Computer Vision (ECCV), 2022. doi:10.1007/978-3-031-19809-0_10

Markdown

[Dong et al. "SphereFed: Hyperspherical Federated Learning." Proceedings of the European Conference on Computer Vision (ECCV), 2022.](https://mlanthology.org/eccv/2022/dong2022eccv-spherefed/) doi:10.1007/978-3-031-19809-0_10

BibTeX

@inproceedings{dong2022eccv-spherefed,
  title     = {{SphereFed: Hyperspherical Federated Learning}},
  author    = {Dong, Xin and Zhang, Sai Qian and Li, Ang and Kung, H.T.},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2022},
  doi       = {10.1007/978-3-031-19809-0_10},
  url       = {https://mlanthology.org/eccv/2022/dong2022eccv-spherefed/}
}