arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.12780cs.LG
收藏

拜占庭鲁棒联邦学习:客户端子采样与本地更新的影响

Byzantine-Robust Federated Learning: Impact of Client Subsampling and Local Updates

EPFL(洛桑联邦理工学院);Sorbonne Université(索邦大学);University of Toronto(多伦多大学)

Youssef Allouah, Sadegh Farhadkhani, Rachid GuerraouI, Nirupam Gupta, Rafael Pinot, Geovani Rizk, Sasha Voitovych

AI总结:

本文研究客户端子采样和本地步骤对拜占庭鲁棒联邦学习 FedRo 的影响,给出近最优收敛的充分条件,并揭示子采样数量超过阈值后精度提升递减、合适步长下本地步骤增多可降低拜占庭误差,最终在 FEMNIST 和 CIFAR-10 上验证理论。

摘要:

对抗性(即拜占庭)客户端的存在使得联邦学习(FL)容易受到任意操纵。为使联邦学习对对抗性客户端具有鲁棒性,一种自然的方法是将标准 FedAvg 算法中服务器端的简单平均操作替换为鲁棒平均规则。尽管已有大量工作致力于研究联邦鲁棒平均(我们记为 FedRo)的收敛性,但先前的工作在很大程度上忽略了客户端子采样和本地步骤这两个联邦学习的基本特征的影响。客户端子采样会提高拜占庭客户端的有效比例,而本地步骤则会增大诚实(即非拜占庭)客户端所计算的本地更新之间的漂移。因此,草率地部署 FedRo 可能导致性能不佳。我们通过对 FedRo 进行深入分析来验证这一观察,并严格分析客户端子采样和本地步骤的影响。具体而言,我们给出了一个关于客户端子采样的充分条件,以保证 FedRo 在光滑非凸损失下实现近最优收敛。此外,我们还表明,一旦子采样客户端数量超过一个阈值,学习精度的提升速率会随着子采样客户端数量的增加而递减。有趣的是,我们还观察到,在谨慎选择步长的情况下,由拜占庭客户端导致的学习误差会随着本地步骤数量的增加而减小。我们通过在 FEMNIST 和 CIFAR-10 图像分类任务上的实验验证了我们的理论。

英文摘要:

The possibility of adversarial (a.k.a., {\em Byzantine}) clients makes federated learning (FL) prone to arbitrary manipulation. The natural approach to robustify FL against adversarial clients is to replace the simple averaging operation at the server in the standard $\mathsf{FedAvg}$ algorithm by a \emph{robust averaging rule}. While a significant amount of work has been devoted to studying the convergence of federated {\em robust averaging} (which we denote by $\mathsf{FedRo}$), prior work has largely ignored the impact of {\em client subsampling} and {\em local steps}, two fundamental FL characteristics. While client subsampling increases the effective fraction of Byzantine clients, local steps increase the drift between the local updates computed by honest (i.e., non-Byzantine) clients. Consequently, a careless deployment of $\mathsf{FedRo}$ could yield poor performance. We validate this observation by presenting an in-depth analysis of $\mathsf{FedRo}$ tightly analyzing the impact of client subsampling and local steps. Specifically, we present a sufficient condition on client subsampling for nearly-optimal convergence of $\mathsf{FedRo}$ (for smooth non-convex loss). Also, we show that the rate of improvement in learning accuracy {\em diminishes} with respect to the number of clients subsampled, as soon as the sample size exceeds a threshold value. Interestingly, we also observe that under a careful choice of step-sizes, the learning error due to Byzantine clients decreases with the number of local steps. We validate our theory by experiments on the FEMNIST and CIFAR-$10$ image classification tasks.

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

↑