Federated Learning with Fair Averaging
Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 1615-1623.
https://doi.org/10.24963/ijcai.2021/223
Keywords
- AI Ethics, Trust, Fairness: Fairness
- Data Mining: Federated Learning
Abstract
Fairness has emerged as a critical problem in federated learning (FL). In this work, we identify a cause of unfairness in FL -- conflicting gradients with large differences in the magnitudes. To address this issue, we propose the federated fair averaging (FedFV) algorithm to mitigate potential conflicts among clients before averaging their gradients. We first use the cosine similarity to detect gradient conflicts, and then iteratively eliminate such conflicts by modifying both the direction and the magnitude of the gradients. We further show the theoretical foundation of FedFV to mitigate the issue conflicting gradients and converge to Pareto stationary solutions. Extensive experiments on a suite of federated datasets confirm that FedFV compares favorably against state-of-the-art methods in terms of fairness, accuracy and efficiency. The source code is available at https://github.com/WwZzz/easyFL.
@inproceedings{ijcai2021p223,
title = {Federated Learning with Fair Averaging},
author = {Wang, Zheng and Fan, Xiaoliang and Qi, Jianzhong and Wen, Chenglu and Wang, Cheng and Yu, Rongshan},
booktitle = {Proceedings of the Thirtieth International Joint Conference on
Artificial Intelligence, {IJCAI-21}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Prof. Zhi-Hua Zhou},
pages = {1615--1623},
year = {2021},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2021/223},
url = {https://doi.org/10.24963/ijcai.2021/223},
}
TY - CPAPER TI - Federated Learning with Fair Averaging AU - Wang, Zheng AU - Fan, Xiaoliang AU - Qi, Jianzhong AU - Wen, Chenglu AU - Wang, Cheng AU - Yu, Rongshan T2 - Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2021 SP - 1615 EP - 1623 DO - 10.24963/ijcai.2021/223 UR - https://doi.org/10.24963/ijcai.2021/223 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: