arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08024cs.LGcs.DC

初始化至关重要:揭示预训练对联邦学习的影响

Initialization Matters: Unraveling the Impact of Pre-Training on Federated Learning

Carnegie Mellon University(卡内基梅隆大学);Google Research(谷歌研究院)

Divyansh Jhunjhunwala, Pranay Sharma, Zheng Xu, Gauri Joshi

AI总结:

本文针对联邦学习中数据异构性问题,从理论层面分析预训练初始化的作用,引入对齐与未对齐滤波器概念,通过实验验证预训练能减少未对齐滤波器以提升模型测试性能。

摘要:

在下游任务学习时使用预训练模型初始化正成为机器学习的标准实践。近期多项研究探索了联邦学习(FL)场景下预训练初始化的优势,该场景中边缘客户端在数据分布异构的情况下执行下游训练。这些研究表明,从预训练模型开始初始化可大幅降低数据异构性对联邦训练模型测试性能的不利影响,且无需修改标准FedAvg训练算法。本文对这一现象提供了更深入的理论理解。为此,我们研究了两层卷积神经网络(CNNs)类别,并给出了使用FedAvg训练的此类网络的训练误差收敛性和测试误差的界。我们引入了初始化时对齐和未对齐滤波器的概念,并表明数据异构性仅影响未对齐滤波器的学习。从预训练模型开始初始化通常会减少初始化时的未对齐滤波器数量,因此即使在数据异构的联邦场景中训练模型,也能产生更低的测试误差。在合成场景和CNNs的实际联邦训练中的实验验证了我们的理论发现。

英文摘要:

Initializing with pre-trained models when learning on downstream tasks is becoming standard practice in machine learning. Several recent works explore the benefits of pre-trained initialization in a federated learning (FL) setting, where the downstream training is performed at the edge clients with heterogeneous data distribution. These works show that starting from a pre-trained model can substantially reduce the adverse impact of data heterogeneity on the test performance of a model trained in a federated setting, with no changes to the standard FedAvg training algorithm. In this work, we provide a deeper theoretical understanding of this phenomenon. To do so, we study the class of two-layer convolutional neural networks (CNNs) and provide bounds on the training error convergence and test error of such a network trained with FedAvg. We introduce the notion of aligned and misaligned filters at initialization and show that the data heterogeneity only affects learning on misaligned filters. Starting with a pre-trained model typically results in fewer misaligned filters at initialization, thus producing a lower test error even when the model is trained in a federated setting with data heterogeneity. Experiments in synthetic settings and practical FL training on CNNs verify our theoretical findings.

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

↑