arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01116cs.LGcs.AIcs.CV
收藏

使用闭式分类器加速异构联邦学习

Accelerating Heterogeneous Federated Learning with Closed-form Classifiers

Polytechnic University of Turin(都灵理工大学);Istituto Italiano di Tecnologia(意大利技术研究院);CINI Consortium(CINI联盟)

Eros Fanì, Raffaello Camoriano, Barbara Caputo, Marco Ciccone

AI总结:

针对联邦学习中非独立同分布数据导致的客户端漂移和分类层偏差问题,提出Fed3R方法,利用预训练特征计算闭式岭回归分类器,并支持进一步微调,显著降低通信与计算开销并提升跨设备场景的稳定性。

摘要:

联邦学习(FL)方法在高度统计异构的环境中常常面临困难。事实上,非独立同分布(non-IID)的数据分布会导致客户端漂移和有偏差的局部解,这在最终的分类层中尤为明显,会对收敛速度和准确率产生负面影响。为了解决这一问题,我们提出了联邦递归岭回归(Fed3R)。该方法利用预训练特征,计算闭式形式的岭回归分类器。Fed3R不受统计异构性的影响,且对客户端的采样顺序保持不变。因此,它在跨设备场景中被证明特别有效。此外,它在通信和计算成本方面快速且高效,所需资源比竞争方法少多达两个数量级。最后,我们提出将Fed3R的参数作为softmax分类器的初始化,随后使用任何FL算法对模型进行微调(即带微调的Fed3R,Fed3R+FT)。我们的研究结果还表明,保持固定的分类器有助于在跨设备环境中稳定训练并学习更具判别性的特征。官方网站:https://fed-3r.github.io/。

英文摘要:

Federated Learning (FL) methods often struggle in highly statistically heterogeneous settings. Indeed, non-IID data distributions cause client drift and biased local solutions, particularly pronounced in the final classification layer, negatively impacting convergence speed and accuracy. To address this issue, we introduce Federated Recursive Ridge Regression (Fed3R). Our method fits a Ridge Regression classifier computed in closed form leveraging pre-trained features. Fed3R is immune to statistical heterogeneity and is invariant to the sampling order of the clients. Therefore, it proves particularly effective in cross-device scenarios. Furthermore, it is fast and efficient in terms of communication and computation costs, requiring up to two orders of magnitude fewer resources than the competitors. Finally, we propose to leverage the Fed3R parameters as an initialization for a softmax classifier and subsequently fine-tune the model using any FL algorithm (Fed3R with Fine-Tuning, Fed3R+FT). Our findings also indicate that maintaining a fixed classifier aids in stabilizing the training and learning more discriminative features in cross-device settings. Official website: https://fed-3r.github.io/.

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

↑