arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15567cs.LGcs.DCcs.ITmath.ITmath.OC
收藏

联邦优化中数据异构性的新理论视角

A New Theoretical Perspective on Data Heterogeneity in Federated Optimization

University of Utah(犹他大学);IBM T. J. Watson Research Center(IBM T. J. 沃森研究中心)

Jiayi Wang, Shiqiang Wang, Rong-Rong Chen, Mingyue Ji

AI总结:

本文提出异构性驱动的伪Lipschitz假设,从新视角分析联邦优化中的数据异构性,证明FedAvg的收敛上界可显著降低,并在二次目标下优于小批量SGD。

摘要:

在联邦学习(FL)中,数据异构性是导致现有理论分析对收敛速率持悲观态度的主要原因。具体而言,对于许多联邦学习算法,当本地更新次数变大时,收敛速率会急剧恶化,尤其是当梯度散度与本地Lipschitz常数的乘积较大时。然而,经验研究表明,即使这两个参数较大,更多的本地更新也能改善收敛速率,这与理论结果不一致。本文旨在通过从数据异构性的新视角提供理论分析,弥合理论理解与实际性能之间的差距。我们提出了一种相比本地Lipschitz梯度假设更弱的新假设,称为异构性驱动的伪Lipschitz假设。我们证明该假设与梯度散度假设可以共同刻画数据异构性的影响。通过推导FedAvg及其扩展的收敛上界,我们表明,与现有工作相比,本地Lipschitz常数被更小的异构性驱动的伪Lipschitz常数所取代,并且在相同的本地更新次数下,相应的收敛上界可以显著减小,尽管其阶数保持不变。此外,当本地目标函数为二次函数时,利用异构性驱动的伪Lipschitz常数可以获得关于数据异构性影响的更多见解。例如,我们可以确定一个区域,在该区域内,即使梯度散度可以任意大,FedAvg也能优于小批量SGD。我们的发现通过实验得到了验证。

英文摘要:

In federated learning (FL), data heterogeneity is the main reason that existing theoretical analyses are pessimistic about the convergence rate. In particular, for many FL algorithms, the convergence rate grows dramatically when the number of local updates becomes large, especially when the product of the gradient divergence and local Lipschitz constant is large. However, empirical studies can show that more local updates can improve the convergence rate even when these two parameters are large, which is inconsistent with the theoretical findings. This paper aims to bridge this gap between theoretical understanding and practical performance by providing a theoretical analysis from a new perspective on data heterogeneity. In particular, we propose a new and weaker assumption compared to the local Lipschitz gradient assumption, named the heterogeneity-driven pseudo-Lipschitz assumption. We show that this and the gradient divergence assumptions can jointly characterize the effect of data heterogeneity. By deriving a convergence upper bound for FedAvg and its extensions, we show that, compared to the existing works, local Lipschitz constant is replaced by the much smaller heterogeneity-driven pseudo-Lipschitz constant and the corresponding convergence upper bound can be significantly reduced for the same number of local updates, although its order stays the same. In addition, when the local objective function is quadratic, more insights on the impact of data heterogeneity can be obtained using the heterogeneity-driven pseudo-Lipschitz constant. For example, we can identify a region where FedAvg can outperform mini-batch SGD even when the gradient divergence can be arbitrarily large. Our findings are validated using experiments.

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

↑