arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2301.10400cs.LGcs.AIcs.CR
收藏

什么时候信任聚合代理:解决联邦学习中的负客户抽样

When to Trust Aggregated Gradients: Addressing Negative Client Sampling in Federated Learning

Peking University(北京大学);Renmin University of China(中国人民大学);Shanghai AI Lab(上海人工智能实验室);Tencent Inc.(腾讯公司);Tsinghua University(清华大学)

Wenkai Yang, Yankai Lin, Guangxiang Zhao, Peng Li, Jie Zhou, Xu Sun

摘要:

联邦学习已经成为一种广泛使用的框架,它允许在保护本地数据隐私的条件下,在分散的本地数据集上学习全局模型。然而,当训练样本不是独立同分布(非独立同分布)时,联邦学习面临严重的优化困难。在本文中,我们指出,客户抽样的做法起着决定性的作用,在上述优化困难。我们发现,负客户端采样将导致合并的数据分布的当前采样的客户端严重不一致的所有可用的客户端,并进一步使聚合梯度不可靠。为了解决这个问题,我们提出了一种新的学习率自适应机制,自适应调整服务器学习率的聚合梯度在每一轮,根据合并数据分布的一致性,当前采样的客户端和所有可用的客户端。具体而言,通过理论推导,找到了一个与最优服务器学习率正相关、能有效反映样本客户端合并数据分布的有意义且鲁棒的指标,并将其用于服务器学习率自适应。在多个图像和文本分类任务上的大量实验验证了该方法的有效性。

英文摘要:

Federated Learning has become a widely-used framework which allows learning a global model on decentralized local datasets under the condition of protecting local data privacy. However, federated learning faces severe optimization difficulty when training samples are not independently and identically distributed (non-i.i.d.). In this paper, we point out that the client sampling practice plays a decisive role in the aforementioned optimization difficulty. We find that the negative client sampling will cause the merged data distribution of currently sampled clients heavily inconsistent with that of all available clients, and further make the aggregated gradient unreliable. To address this issue, we propose a novel learning rate adaptation mechanism to adaptively adjust the server learning rate for the aggregated gradient in each round, according to the consistency between the merged data distribution of currently sampled clients and that of all available clients. Specifically, we make theoretical deductions to find a meaningful and robust indicator that is positively related to the optimal server learning rate and can effectively reflect the merged data distribution of sampled clients, and we utilize it for the server learning rate adaptation. Extensive experiments on multiple image and text classification tasks validate the great effectiveness of our method.

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

↑