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

联邦学习:一种随机逼近方法

Federated Learning: A Stochastic Approximation Approach

Department of Electrical Engineering, IIT Madras(印度理工学院马德拉斯分校电子工程系)

Srihari P, Anik Kumar Paul, Bharath Bhikkaji

AI总结:

本文提出了一种基于随机逼近的联邦学习方法,通过客户端特定的衰减步长实现几乎必然收敛,并利用步长比率调节客户端对全局模型的影响。

摘要:

本文考虑在随机逼近(SA)框架下进行联邦学习(FL)。在此框架中,每个客户端 $i$ 使用其数据集 $\mathcal{D}^{(i)}$ 训练本地模型,并定期将模型参数 $w^{(i)}_n$ 传输到中央服务器,这些参数被聚合为全局模型参数 $\bar{w}_n$ 并送回。客户端通过使用全局模型参数重新初始化本地模型继续训练。先前的工作通常假设客户端之间的步长(学习率)是恒定的(且通常相同)。因此,聚合的模型仅在期望意义上收敛。在本文中,使用了客户端特定的衰减步长 $a^{(i)}_n$。全局模型被证明可以跟踪一个微分方程,其驱动函数等于各个客户端负梯度的加权和。权重是步长的极限比率 $p^{(i)}=\lim_{n \to \infty} \frac{a^{(i)}_n}{a^{(1)}_n}$,其中 $a^{(1)}_n \geq a^{(i)}_n, \forall n$。与恒定步长不同,这里的收敛是几乎必然的。在该框架中,具有较大 $p^{(i)}$ 的客户端对全局模型的影响更大,这可以用于优先考虑拥有稀有和不常见数据的客户端。进行了数值实验以验证收敛性,并展示了步长的选择如何调节客户端的影响。

英文摘要:

This paper considers the Federated learning (FL) in a stochastic approximation (SA) framework. Here, each client $i$ trains a local model using its dataset $\mathcal{D}^{(i)}$ and periodically transmits the model parameters $w^{(i)}_n$ to a central server, where they are aggregated into a global model parameter $\bar{w}_n$ and sent back. The clients continue their training by re-initializing their local models with the global model parameters. Prior works typically assumed constant (and often identical) step sizes (learning rates) across clients for model training. As a consequence the aggregated model converges only in expectation. In this work, client-specific tapering step sizes $a^{(i)}_n$ are used. The global model is shown to track an ODE with a forcing function equal to the weighted sum of the negative gradients of the individual clients. The weights being the limiting ratios $p^{(i)}=\lim_{n \to \infty} \frac{a^{(i)}_n}{a^{(1)}_n}$ of the step sizes, where $a^{(1)}_n \geq a^{(i)}_n, \forall n$. Unlike the constant step sizes, the convergence here is with probability one. In this framework, the clients with the larger $p^{(i)}$ exert a greater influence on the global model than those with smaller $p^{(i)}$, which can be used to favor clients that have rare and uncommon data. Numerical experiments were conducted to validate the convergence and demonstrate the choice of step-sizes for regulating the influence of the clients.

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

↑