arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.13692cs.LG
收藏

带有微调的FedAvg:局部更新导致表示学习

FedAvg with Fine Tuning: Local Updates Lead to Representation Learning

The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Pennsylvania(宾夕法尼亚大学)

Liam Collins, Hamed Hassani, Aryan Mokhtari, Sanjay Shakkottai

摘要:

Federated Averaging(FedAvg)算法由在客户端节点的几个局部随机梯度更新之间交替,然后在服务器上进行模型平均更新组成,可能是联邦学习中最常用的方法。尽管它很简单,但一些实证研究表明,FedAvg的输出模型在经过几个微调步骤后,可以很好地推广到新的看不见的任务。然而,从理论的角度来看,这种简单方法的令人惊讶的性能并没有得到充分的理解。在本文中,我们正式调查这一现象的多任务线性表征设置。我们发现,背后的FedAvg的输出的泛化的原因是它的权力,在学习客户端的任务之间的共同数据表示,通过利用客户端数据分布之间的多样性,通过本地更新。我们正式建立迭代复杂性所需的客户端证明这样的结果的设置,其中底层的共享表示是一个线性映射。据我们所知,这是第一个这样的结果,任何设置。我们还提供了实证证据,证明FedAvg在具有异构数据的联合图像分类中的表示学习能力。

英文摘要:

The Federated Averaging (FedAvg) algorithm, which consists of alternating between a few local stochastic gradient updates at client nodes, followed by a model averaging update at the server, is perhaps the most commonly used method in Federated Learning. Notwithstanding its simplicity, several empirical studies have illustrated that the output model of FedAvg, after a few fine-tuning steps, leads to a model that generalizes well to new unseen tasks. This surprising performance of such a simple method, however, is not fully understood from a theoretical point of view. In this paper, we formally investigate this phenomenon in the multi-task linear representation setting. We show that the reason behind generalizability of the FedAvg's output is its power in learning the common data representation among the clients' tasks, by leveraging the diversity among client data distributions via local updates. We formally establish the iteration complexity required by the clients for proving such result in the setting where the underlying shared representation is a linear map. To the best of our knowledge, this is the first such result for any setting. We also provide empirical evidence demonstrating FedAvg's representation learning ability in federated image classification with heterogeneous data.

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

↑