[论文解读] Understanding How Consistency Works in Federated Learning via Stage-wise Relaxed Initialization
该论文提出 FedInit,一种新颖的联邦学习方法,通过分阶段松弛初始化提升本地模型的一致性,其中本地模型在与最新本地状态相反的方向上远离全局模型进行初始化。该方法在不增加额外训练成本的前提下提升了泛化性能,在 CIFAR-10/100 上实现了最先进性能,通过提升一致性减少了客户机漂移,经由过剩风险分析和大量实验验证。
Federated learning (FL) is a distributed paradigm that coordinates massive local clients to collaboratively train a global model via stage-wise local training processes on the heterogeneous dataset. Previous works have implicitly studied that FL suffers from the ``client-drift'' problem, which is caused by the inconsistent optimum across local clients. However, till now it still lacks solid theoretical analysis to explain the impact of this local inconsistency. To alleviate the negative impact of the ``client drift'' and explore its substance in FL, in this paper, we first design an efficient FL algorithm extit{FedInit}, which allows employing the personalized relaxed initialization state at the beginning of each local training stage. Specifically, extit{FedInit} initializes the local state by moving away from the current global state towards the reverse direction of the latest local state. This relaxed initialization helps to revise the local divergence and enhance the local consistency level. Moreover, to further understand how inconsistency disrupts performance in FL, we introduce the excess risk analysis and study the divergence term to investigate the test error of the proposed extit{FedInit} method. Our studies show that optimization error is not sensitive to this local inconsistency, while it mainly affects the generalization error bound in extit{FedInit}. Extensive experiments are conducted to validate this conclusion. Our proposed extit{FedInit} could achieve state-of-the-art~(SOTA) results compared to several advanced benchmarks without any additional costs. Meanwhile, stage-wise relaxed initialization could also be incorporated into the current advanced algorithms to achieve higher performance in the FL paradigm.
研究动机与目标
- 为解决由于数据异构性导致的本地最优解不一致所引发的联邦学习中客户机漂移问题。
- 提供对本地不一致性如何影响联邦学习中泛化误差的理论理解,特别是通过过剩风险分析。
- 设计一种轻量级、即插即用的方法,提升本地一致性,同时不增加通信或计算开销。
- 验证优化误差对不一致性不敏感,而泛化误差则显著受其影响。
- 证明 FedInit 可无缝集成到现有联邦学习框架中以提升性能。
提出的方法
- FedInit 引入一种个性化的松弛初始化策略,将本地模型初始化位置设置在与当前全局模型相反于最新本地模型状态的方向上。
- 该初始化技术减少了本地差异,促进了各客户端向更一致的本地解收敛。
- 该方法使用常数系数控制松弛程度,实现对初始化差异的精细调控。
- FedInit 设计为现有联邦学习算法的即插即用组件,仅需在每个本地训练阶段开始时增加一次额外计算。
- 通过过剩风险分解进行理论分析,在光滑非凸目标下分离优化误差与泛化误差分量。
- 在 PŁ 条件下,分析表明一致性主要影响泛化误差界,而非优化误差。
实验结果
研究问题
- RQ1联邦学习中本地不一致性如何影响全局模型的泛化性能?
- RQ2为何优化误差对本地不一致性相对不敏感,而泛化误差却显著受影响?
- RQ3一种简单、轻量的初始化策略能否有效减少联邦学习中的客户机漂移并提升模型一致性?
- RQ4分阶段松弛初始化在不增加通信或计算成本的前提下,能在多大程度上提升性能?
- RQ5FedInit 是否能有效集成到现有先进联邦学习算法中以进一步提升其性能?
主要发现
- FedInit 在无需额外训练成本的情况下,在 CIFAR-10 和 CIFAR-100 上实现了最先进性能,优于 FedAvg、FedAdam、FedSAM、SCAFFOLD、FedDyn 和 FedCM。
- 在 CIFAR-10 上,10% 客户端参与时,FedInit 仅需 172 轮通信即可达到 70% 准确率,优于 FedAvg(371 轮)和 FedCM(183 轮)。
- 在 CIFAR-100 上,10% 客户端参与时,FedInit 在 132 轮内达到 30% 准确率,显著快于 FedAvg(191 轮)和 FedCM(95 轮)。
- 实际运行时间实验表明,FedInit 仅比 FedAvg 慢 5%(比值为 1.05×),而 SCAFFOLD 和 FedDyn 分别慢 47% 和 30%。
- 过剩风险分析确认,在 PŁ 条件下,泛化误差主要由一致性项主导,而优化误差基本不受不一致性影响。
- 该方法具有高度实用性,可无缝嵌入现有联邦学习框架中,仅需极少修改即可显著提升性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。