[论文解读] FedDC: Federated Learning with Non-IID Data via Local Drift Decoupling and Correction
FedDC 引入客户端本地漂移变量以解耦并纠正本地与全局模型之间的差距,从而在非 IID 联邦学习任务上实现更快收敛和更高准确率。
Federated learning (FL) allows multiple clients to collectively train a high-performance global model without sharing their private data. However, the key challenge in federated learning is that the clients have significant statistical heterogeneity among their local data distributions, which would cause inconsistent optimized local models on the client-side. To address this fundamental dilemma, we propose a novel federated learning algorithm with local drift decoupling and correction (FedDC). Our FedDC only introduces lightweight modifications in the local training phase, in which each client utilizes an auxiliary local drift variable to track the gap between the local model parameter and the global model parameters. The key idea of FedDC is to utilize this learned local drift variable to bridge the gap, i.e., conducting consistency in parameter-level. The experiment results and analysis demonstrate that FedDC yields expediting convergence and better performance on various image classification tasks, robust in partial participation settings, non-iid data, and heterogeneous clients.
研究动机与目标
- 动机:研究 FL 中统计异质性及其对局部/全局优化方向的影响。
- 提出一个轻量级的客户端侧机制,用于跟踪并弥合本地和全局模型之间的本地漂移。
- 提出一个带本地漂移惩罚和梯度校正的无约束优化表述,以提高收敛性。
提出的方法
- 为每个客户端定义一个本地漂移变量 h_i,以捕捉本地模型与全局模型之间的差距。
- 将客户端目标函数表述为 L_i(theta_i) + (alpha/2) R_i(theta_i; w_i, w) + G_i(theta_i; g_i, g)。
- 使用惩罚项 R_i = ||h_i + theta_i - w||^2 将漂移与全局模型耦合。
- 引入梯度校正项 G_i 以降低梯度方差,灵感来自 Scaffold。
- 通过在 K 个本地步骤使用 SGD 最小化增广目标来更新本地参数。
- 近似更新本地漂移为 h_i^+ ≈ h_i + (theta_i^+ − theta_i),以避免额外的反向传播。
- 在服务器端聚合修正后的本地模型 theta_i^+ + h_i^+,以形成新的全局模型 w^+。
实验结果
研究问题
- RQ1在非 IID 数据和部分客户端参与的情况下,建模和纠正本地漂移如何影响收敛?
- RQ2在各种数据集上,FedDC 是否比 FedAvg、FedProx、Scaffold 和 FedDyn 在收敛速度和准确性上更优?
- RQ3在联邦设置中,FedDC 对不均衡的数据分布和变化的客户端数量是否具有鲁棒性?
主要发现
- FedDC 在 IID 和非 IID 任务中都实现比 FedAvg、FedProx、Scaffold 和 FedDyn 更快的收敛。
- 在多种参与设置下,FedDC 在 CIFAR10 和 CIFAR100 的 top-1 测试准确率高于基线方法。
- FedDC 在不均衡数据下保持鲁棒性,在部分参与情形下表现出强大性能。
- 表格级结果显示,与基线方法相比,在若干数据集上达到目标准确率所需的通信轮次显著减少。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。