Byzantine-resilient Federated Learning via Gradient Memorization

Chen Chen,Lingjuan Lyu,Yuchen Liu,Fangzhao Wu,Chaochao Chen,Gang Chen
2022-01-01
Abstract:Federated learning (FL) provides a privacy-aware learning framework by enabling a multitude of participants to jointly construct models without collecting their private training data. However, federated learning has exhibited vulnerabilities to Byzantine attacks. Many existing methods defend against such Byzantine attacks by monitoring the gradients of clients in the current round, i.e., gradients in one round. Recent works have demonstrated that such naive defend methods can hardly achieve satisfying performance. Defenses based on one-round gradients could be compromised by adding a small wellcrafted bias to the benign gradients, due to the high variance of one-round (benign) gradients. To address this problem, we propose a new Average of Gradients (AG) framework, which detects Byzantine attacks with the average of multi-round gradients (i.e., gradients across multiple rounds). We theoretically show that our AG framework leads to lower variance of the benign gradients, and thus can reduce the effects of Byzantine attacks. Experiments on various real-world datasets verify the efficacy of our AG framework.
What problem does this paper attempt to address?