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

DP-FedPGN:通过惩罚梯度范数寻找差分隐私联邦学习全局平坦极小值

DP-FedPGN: Finding Global Flat Minima for Differentially Private Federated Learning via Penalizing Gradient Norm

School of Computer Science and Technology, College of Intelligence and Computing, Tianjin University(计算机科学与技术学院,智能与计算学院,天津大学);Medical College, Tianjin University(医学学院,天津大学);School of Artificial Intelligence, Xidian University(人工智能学院,西安电子科技大学)

Junkang Liu, Yuxuan Tian, Fanhua Shang, Yuanyuan Liu, Hongying Liu, Junchao Zhou, Daorui Ding

AI总结:

提出DP-FedPGN算法,通过引入全局梯度范数惩罚寻找全局平坦极小值,缓解差分隐私导致的模型泛化能力下降,减少梯度裁剪误差,并消除数据异质性影响,在多项视觉和NLP任务上取得显著提升。

摘要:

为了防止联邦学习(FL)中的推理攻击并减少敏感信息泄露,客户端级差分隐私联邦学习(CL-DPFL)被广泛使用。然而,当前的CL-DPFL方法通常通常会导致更尖锐的损失景观,从而导致在差分隐私保护后模型泛化能力下降。通过使用锐度感知最小化(SAM),,当前流行的联邦学习方法是寻找局部平坦极小值来缓解这一问题。然而,局部平坦度可能无法反映CL-DPFL中的全局平坦度。因此,为了解决这一问题并寻找模型的全局平坦极小值,我们提出了一种新的CL-DPFL算法DP-FedPGN,其中我们向局部损失函数引入全局梯度范数惩罚以寻找全局平坦极小值。此外,通过使用我们的全局梯度范数惩罚,我们不仅找到了更平坦的全局极小值,还减少了局部更新范数,这意味着我们进一步减少了梯度裁剪的误差。从理论角度,我们分析了DP-FedPGN如何缓解由DP引起的性能退化。同时,提出的DP-FedPGN算法消除了数据异构性的影响并实现了快速收敛。我们还使用Rényi DP提供了严格的隐私保证,并对局部更新提供了了敏感性分析。最后,我们在ResNet和Transformer模型上均进行了有效性测试,与现有最先进算法相比,在六项视觉和自然语言处理任务中取得了显著改进。代码可在https://github.com/junkangLiu0/DP-FedPGN获取

英文摘要:

To prevent inference attacks in Federated Learning (FL) and reduce the leakage of sensitive information, Client-level Differentially Private Federated Learning (CL-DPFL) is widely used. However, current CL-DPFL methods usually result in sharper loss landscapes, which leads to a decrease in model generalization after differential privacy protection. By using Sharpness Aware Minimization (SAM), the current popular federated learning methods are to find a local flat minimum value to alleviate this problem. However, the local flatness may not reflect the global flatness in CL-DPFL. Therefore, to address this issue and seek global flat minima of models, we propose a new CL-DPFL algorithm, DP-FedPGN, in which we introduce a global gradient norm penalty to the local loss to find the global flat minimum. Moreover, by using our global gradient norm penalty, we not only find a flatter global minimum but also reduce the locally updated norm, which means that we further reduce the error of gradient clipping. From a theoretical perspective, we analyze how DP-FedPGN mitigates the performance degradation caused by DP. Meanwhile, the proposed DP-FedPGN algorithm eliminates the impact of data heterogeneity and achieves fast convergence. We also use Rényi DP to provide strict privacy guarantees and provide sensitivity analysis for local updates. Finally, we conduct effectiveness tests on both ResNet and Transformer models, and achieve significant improvements in six visual and natural language processing tasks compared to existing state-of-the-art algorithms. The code is available at https://github.com/junkangLiu0/DP-FedPGN

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

↑