Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Federated Learning with Fair Averaging

About

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.

Zheng Wang, Xiaoliang Fan, Jianzhong Qi, Chenglu Wen, Cheng Wang, Rongshan Yu• 2021

Related benchmarks

TaskDatasetResultRank
ClassificationMNIST Partial Class C=2 (test)
Accuracy93.675
15
Image ClassificationMNIST Partial Class C=5
Accuracy95.017
15
Image ClassificationMNIST Rotation
Average Accuracy94.501
15
Image ClassificationCIFAR10 Partial Class C=2 (test)
Accuracy39.015
15
Image ClassificationMNIST Partial Class C=5 (test)
Average Accuracy95.017
15
Image ClassificationCIFAR10 Partial Class C=2
Accuracy39.015
15
Image ClassificationCIFAR10 Partial Class C=5
Accuracy55.746
15
Image ClassificationCIFAR10 Rotation
Accuracy66.242
15
Showing 8 of 8 rows

Other info

Follow for update