arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.04163cs.CRcs.AIcs.DCcs.LG
收藏

联邦学习中调整迭代次数的差分隐私实用性研究

On the Practicality of Differential Privacy in Federated Learning by Tuning Iteration Times

Sun Yat-sen University(中山大学);Guangdong Key Laboratory of Big Data Analysis and Processing(广东省大数据分析与处理重点实验室);Macquarie University(麦考瑞大学);University of Technology Sydney(悉尼科技大学);Nanyang Technological University(南洋理工大学);Tencent Technology (Shenzhen) Co. Ltd(腾讯科技(深圳)有限公司)

Yao Fu, Yipeng Zhou, Di Wu, Shui Yu, Yonggang Wen, Chao Li

摘要:

尽管联邦学习(FL)在分布式客户端协作训练机器学习模型时以其隐私保护而闻名,但最近的研究指出朴素FL容易受到梯度泄漏攻击。与此同时,差分隐私(DP)作为一种很有前途的对策,以防止梯度泄漏攻击。然而,客户在FL中采用DP可能会严重危及模型的准确性。如何从理论上理解动态规划的实用性,仍然是一个有待解决的问题。在本文中,我们第一次尝试通过调整进行迭代的次数来了解DP在FL中的实用性。在FedAvg算法的基础上,形式化地推导了FL中DP噪声的收敛速度,并从理论上推导了:1)当全局迭代次数(GI)趋于无穷大时,基于DP的FedAvg算法收敛的条件; 2)为使DP噪声的负面影响最小化而设置局部迭代次数(LI)的方法.通过进一步将Laplace和Gaussian机制分别代入到导出的收敛率中,我们证明了:3)基于DP的FedAvg在Laplace机制下不能收敛,但通过设置LI的个数,我们的方法可以有效地抑制发散率; 4)如果每个GI使用固定数量的LI,则具有高斯机制的基于DP的FedAvg的学习误差最终可以收敛到常数。为了验证我们的理论研究结果,我们使用两个真实世界的数据集进行了广泛的实验。结果不仅验证了我们的分析结果,而且还提供了有用的指导方针,如何优化模型的精度时,纳入DP到FL

英文摘要:

In spite that Federated Learning (FL) is well known for its privacy protection when training machine learning models among distributed clients collaboratively, recent studies have pointed out that the naive FL is susceptible to gradient leakage attacks. In the meanwhile, Differential Privacy (DP) emerges as a promising countermeasure to defend against gradient leakage attacks. However, the adoption of DP by clients in FL may significantly jeopardize the model accuracy. It is still an open problem to understand the practicality of DP from a theoretic perspective. In this paper, we make the first attempt to understand the practicality of DP in FL through tuning the number of conducted iterations. Based on the FedAvg algorithm, we formally derive the convergence rate with DP noises in FL. Then, we theoretically derive: 1) the conditions for the DP based FedAvg to converge as the number of global iterations (GI) approaches infinity; 2) the method to set the number of local iterations (LI) to minimize the negative influence of DP noises. By further substituting the Laplace and Gaussian mechanisms into the derived convergence rate respectively, we show that: 3) The DP based FedAvg with the Laplace mechanism cannot converge, but the divergence rate can be effectively prohibited by setting the number of LIs with our method; 4) The learning error of the DP based FedAvg with the Gaussian mechanism can converge to a constant number finally if we use a fixed number of LIs per GI. To verify our theoretical findings, we conduct extensive experiments using two real-world datasets. The results not only validate our analysis results, but also provide useful guidelines on how to optimize model accuracy when incorporating DP into FL

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

↑