arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.09539cs.LGcs.DC
收藏

通过聚合归一化梯度实现对抗拜占庭攻击和数据异构性的高效联邦学习

Efficient Federated Learning against Byzantine Attacks and Data Heterogeneity via Aggregating Normalized Gradients

Shiyuan Zuo, Xingrun Yan, Rongfei Fan, Li Shen, Puning Zhao, Jie Xu, Han Hu

AI总结:

针对联邦学习中的拜占庭攻击与数据异构性问题,提出Fed-NGA算法,通过聚合归一化梯度实现高效鲁棒训练,具有低时间复杂度并证明收敛性。

摘要:

联邦学习(FL)使多个客户端能够在无需共享原始数据的情况下协作训练模型,但容易受到拜占庭攻击和数据异构性的影响,这些因素会严重降低性能。现有的拜占庭鲁棒方法虽然解决了数据异构性问题,但在梯度聚合过程中会产生较高的计算开销,从而减慢训练过程。为解决这一问题,我们提出了一种简单而有效的联邦归一化梯度算法(Fed-NGA),该算法仅通过计算每个客户端归一化梯度的加权平均值来进行聚合。这种方法带来了有利的时间复杂度 $\mathcal{O}(pM)$,其中 $p$ 是模型维度,$M$ 是客户端数量。我们严格证明了 Fed-NGA 对拜占庭故障和数据异构性均具有鲁棒性。对于非凸损失函数,Fed-NGA 在一般假设下能够收敛到驻点的一个邻域,并在一些温和条件下进一步实现零最优性差距,这一结果在现有文献中很少实现。在两种情况下,收敛速率均为 $\mathcal{O}(1/T^{\frac{1}{2} - δ})$,其中 $T$ 表示迭代次数,$δ\in (0, 1/2)$。在基准数据集上的实验结果证实了 Fed-NGA 相对于现有方法在时间效率和收敛性能上的优越性。

英文摘要:

Federated Learning (FL) enables multiple clients to collaboratively train models without sharing raw data, but is vulnerable to Byzantine attacks and data heterogeneity, which can severely degrade performance. Existing Byzantine-robust approaches tackle data heterogeneity, but incur high computational overhead during gradient aggregation, thereby slowing down the training process. To address this issue, we propose a simple yet effective Federated Normalized Gradients Algorithm (Fed-NGA), which performs aggregation by merely computing the weighted mean of the normalized gradients from each client. This approach yields a favorable time complexity of $\mathcal{O}(pM)$, where $p$ is the model dimension and $M$ is the number of clients. We rigorously prove that Fed-NGA is robust to both Byzantine faults and data heterogeneity. For non-convex loss functions, Fed-NGA achieves convergence to a neighborhood of stationary points under general assumptions, and further attains zero optimality gap under some mild conditions, which is an outcome rarely achieved in existing literature. In both cases, the convergence rate is $\mathcal{O}(1/T^{\frac{1}{2} - δ})$, where $T$ denotes the number of iterations and $δ\in (0, 1/2)$. Experimental results on benchmark datasets confirm the superior time efficiency and convergence performance of Fed-NGA over existing methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑