本文通过 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$.
Network Gradient Descent Algorithm for Decentralized Federated Learning
Guanghua School of Management, Peking University(北京大学光华管理学院);Center for Applied Statistics, Renmin University of China(中国人民大学应用统计中心);School of Statistics, Renmin University of China(中国人民大学统计学院)
非凸稀疏学习在信号处理和深度网络压缩等许多领域都起着至关重要的作用。迭代硬阈值(IHT)方法是非凸稀疏学习的最新技术,因为它们具有恢复真实支持度和大数据集可扩展性的能力。IHT的理论分析目前基于集中的IID数据。然而,在现实的大规模情况下,数据是分布式的,几乎没有IID,并且是本地边缘计算设备的私有数据。因此,有必要在联邦设置中检查IHT的属性,该设置在本地设备上并行更新,并且仅偶尔与中央服务器通信而不共享本地数据。本文提出了两种IHT方法:Federated Hard Iterholding(FedIter-HT)和Federated Hard Iterholding(FedIter-HT)。我们证明了这两种算法都具有线性收敛速度,并且能够强有力地保证恢复最佳稀疏估计量,类似于传统的IHT方法,但现在使用分散的非IID数据。实验结果表明,Fed-HT和FedIter-HT优于他们的竞争对手-一个分布式IHT,在降低目标值,通信轮数和带宽的要求较低。
Emerging Technologies, Innovation and Ventures, HSBC(创新与 ventures 部门,汇丰银行);Department of Computer Science, Faculty of Electrical Engineering, Czech Technical University in Prague(计算机科学系,电气工程学院,布拉格捷克技术大学);Archimedes Research Unit on AI, Data Science and Algorithms, Athena Research Center(人工智能、数据科学与算法研究单位,阿提卡研究中心)
Prototype-Guided and Lightweight Adapters for Inherent Interpretation and Generalisation in Federated Learning
Hertie Institute for AI in Brain Health, University of Tübingen, Germany(人工智能与脑健康赫尔蒂研究所,图宾根大学,德国);Tübingen AI Center, University of Tübingen, Germany(图宾根人工智能中心,图宾根大学,德国)