arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2306.05862stat.MLcs.ITcs.LGmath.IT
收藏

联邦学习泛化误差分析的启示:你可以更少通信!

Lessons from Generalization Error Analysis of Federated Learning: You May Communicate Less Often!

Huawei Paris Research Center(华为巴黎研究中心);Université Gustave Eiffel(古斯塔夫·埃菲尔大学)

Milad Sefidgaran, Romain Chor, Abdellatif Zaidi, Yijun Wan

AI总结:

本文通过 PAC-Bayes 和率失真界分析联邦学习中通信轮数 R 对泛化误差的影响,证明 FSVM 泛化界随 R 增大而增大,并通过 ResNet-56 实验表明总体风险可能在 R 超过某值后上升,从而说明更少通信可能更有利。

摘要:

我们研究了联邦学习(FL)设置下统计学习模型的泛化误差。具体而言,我们研究了泛化误差随 K 个客户端与参数服务器(PS)之间的通信轮数 R 的演化,即客户端本地模型在 PS 处聚合的频率对泛化误差的影响。在我们的设置中,客户端与 PS 通信越多,每轮用于本地训练的数据就越少,因此对于不同的 R 值,每个客户端的训练数据总量是相同的。我们建立了关于泛化误差的 PAC-Bayes 界和率失真理论界,这些界除了考虑参与设备数量 K 和单个数据集大小 n 之外,还明确刻画了通信轮数 R 的影响。这些界适用于一大类损失函数和学习算法,似乎是联邦学习设置下首次提出的此类结果。此外,我们将这些界应用于联邦学习型支持向量机(FSVM),并在该情形下推导出(更)显式的界。特别地,我们证明 FSVM 的泛化界随 R 增大而增大,这表明与 PS 更频繁的通信会削弱泛化能力。这意味着总体风险随 R 下降的速度比经验风险更慢。此外,我们的界表明 FSVM 的泛化误差比集中式学习下降得更快,其加速因子为 O(sqrt(log(K)/K))。最后,我们提供了使用神经网络(ResNet-56)获得的实验结果,这些结果不仅表明我们对 FSVM 的观察可能在更一般的情形下成立,而且表明总体风险甚至可能在 R 超过某个值后开始上升。

英文摘要:

We investigate the generalization error of statistical learning models in a Federated Learning (FL) setting. Specifically, we study the evolution of the generalization error with the number of communication rounds $R$ between $K$ clients and a parameter server (PS), i.e., the effect on the generalization error of how often the clients' local models are aggregated at PS. In our setup, the more the clients communicate with PS the less data they use for local training in each round, such that the amount of training data per client is identical for distinct values of $R$. We establish PAC-Bayes and rate-distortion theoretic bounds on the generalization error that account explicitly for the effect of the number of rounds $R$, in addition to the number of participating devices $K$ and individual datasets size $n$. The bounds, which apply to a large class of loss functions and learning algorithms, appear to be the first of their kind for the FL setting. Furthermore, we apply our bounds to FL-type Support Vector Machines (FSVM); and derive (more) explicit bounds in this case. In particular, we show that the generalization bound of FSVM increases with $R$, suggesting that more frequent communication with PS diminishes the generalization power. This implies that the population risk decreases less fast with $R$ than does the empirical risk. Moreover, our bound suggests that the generalization error of FSVM decreases faster than that of centralized learning by a factor of $\mathcal{O}(\sqrt{\log(K)/K})$. Finally, we provide experimental results obtained using neural networks (ResNet-56) which show evidence that not only may our observations for FSVM hold more generally but also that the population risk may even start to increase beyond some value of $R$.

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

↑