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

异构数据联邦学习中部分方差缩减的有效性研究

On the effectiveness of partial variance reduction in federated learning with heterogeneous data

Technical University of Denmark(丹麦技术大学);CISPA(CISPA亥姆霍兹信息安全中心)

Bo Li, Mikkel N. Schmidt, Tommy S. Alstrøm, Sebastian U. Stich

AI总结:

针对联邦学习中数据异构性导致过参数化模型性能不佳的问题,本文发现FedAvg中分类层差异阻碍性能,提出仅对最终层做方差缩减修正漂移,在更低或相近通信成本下性能优于基准,还证明了收敛速率。

摘要:

客户端间的数据异构性是联邦学习面临的一项核心挑战。现有研究要么通过对齐客户端与服务器模型,要么采用控制变量来修正客户端模型漂移,以此应对该问题。尽管这些方法在凸问题或简单非凸问题中实现了快速收敛,但在深度神经网络这类过参数化模型中的表现欠佳。本文首先重新审视深度神经网络中广泛使用的FedAvg(联邦平均)算法,以探究数据异构性如何影响神经网络各层的梯度更新。我们观察到,尽管特征提取层可通过FedAvg高效学习,但各客户端最终分类层的显著差异会阻碍性能提升。受此启发,我们提出仅在最终层通过方差缩减来修正模型漂移。实验证明,该方法在通信成本相近甚至更低的情况下,性能显著优于现有基准方法。此外,我们还为所提算法的收敛速率提供了证明。

英文摘要:

Data heterogeneity across clients is a key challenge in federated learning. Prior works address this by either aligning client and server models or using control variates to correct client model drift. Although these methods achieve fast convergence in convex or simple non-convex problems, the performance in over-parameterized models such as deep neural networks is lacking. In this paper, we first revisit the widely used FedAvg algorithm in a deep neural network to understand how data heterogeneity influences the gradient updates across the neural network layers. We observe that while the feature extraction layers are learned efficiently by FedAvg, the substantial diversity of the final classification layers across clients impedes the performance. Motivated by this, we propose to correct model drift by variance reduction only on the final layers. We demonstrate that this significantly outperforms existing benchmarks at a similar or lower communication cost. We furthermore provide proof for the convergence rate of our algorithm.

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

↑