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

差异化聚合以提升联邦学习的泛化能力

Differentiated Aggregation to Improve Generalization in Federated Learning

University of Illinois Chicago(伊利诺伊大学芝加哥分校);Department of Electrical and Computer Engineering(电气与计算机工程系)

Peyman Gholami, Hulya Seferoglu

AI总结:

本文提出FedALS算法,通过对联邦学习模型不同部分采用差异化聚合频率,降低通信成本,提升非独立同分布场景下的模型泛化能力,实验验证了其有效性。

摘要:

本文旨在通过探索泛化边界与表示学习来降低联邦学习的通信成本。我们首先基于本地客户端的泛化能力与数据分布异质性(非独立同分布场景),刻画了单轮联邦学习的更紧泛化边界;还刻画了R轮联邦学习的泛化边界及其与本地更新次数(本地随机梯度下降(SGD))的关系。接着,基于我们的泛化边界分析及通过表示学习的解释,我们推断出:与头部(通常为最终层)相比,对表示提取器(通常对应初始层)采用更低频的聚合,可生成更具泛化能力的模型,尤其适用于非独立同分布场景。我们基于泛化边界与表示学习分析,设计了一种新型的自适应本地步长联邦学习算法(FedALS),该算法对模型不同部分采用不同的聚合频率,从而降低通信成本。本文随后给出了证明FedALS有效性的实验结果,代码可供复现使用。

英文摘要:

This paper focuses on reducing the communication cost of federated learning by exploring generalization bounds and representation learning. We first characterize a tighter generalization bound for one-round federated learning based on local clients' generalizations and heterogeneity of data distribution (non-iid scenario). We also characterize a generalization bound in R-round federated learning and its relation to the number of local updates (local stochastic gradient descents (SGDs)). Then, based on our generalization bound analysis and its interpretation through representation learning, we infer that less frequent aggregations for the representation extractor (typically corresponds to initial layers) compared to the head (usually the final layers) leads to the creation of more generalizable models, particularly in non-iid scenarios. We design a novel Federated Learning with Adaptive Local Steps (FedALS) algorithm based on our generalization bound and representation learning analysis. FedALS employs varying aggregation frequencies for different parts of the model, so reduces the communication cost. The paper is followed with experimental results showing the effectiveness of FedALS. Our codes are available at for reproducibility.

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

↑