Make Landscape Flatter in Differentially Private Federated Learning

Yifan Shi, Yingqi Liu, Kang Wei, Li Shen, Xueqian Wang +1 more
3/20/2023
cs.LGcs.CRcs.CV

Official code: YMJS-Irfan/DP-FedSAM (56 stars, last commit 2025-10-12).

Abstract

To defend the inference attacks and mitigate the sensitive information leakages in Federated Learning (FL), client-level Differentially Private FL (DPFL) is the de-facto standard for privacy protection by clipping local updates and adding random noise. However, existing DPFL methods tend to make a sharper loss landscape and have poorer weight perturbation robustness, resulting in severe performance degradation. To alleviate these issues, we propose a novel DPFL algorithm named DP-FedSAM, which leverages gradient perturbation to mitigate the negative impact of DP. Specifically, DP-FedSAM integrates Sharpness Aware Minimization (SAM) optimizer to generate local flatness models with better stability and weight perturbation robustness, which results in the small norm of local updates and robustness to DP noise, thereby improving the performance. From the theoretical perspective, we analyze in detail how DP-FedSAM mitigates the performance degradation induced by DP. Meanwhile, we give rigorous privacy guarantees with Rényi DP and present the sensitivity analysis of local updates. At last, we empirically confirm that our algorithm achieves state-of-the-art (SOTA) performance compared with existing SOTA baselines in DPFL. Code is available at https://github.com/YMJS-Irfan/DP-FedSAM

View on arXivView PDF

Code Implementations(1)

This repository contains the official implementation for the manuscript: Make Landscape Flatter in Differentially Private Federated Learning (2023 CVPR)

564Shell, PythonMay 3, 20231 years ago

Similar Papers

Cite this paper

@article{shi2023make,
  title  = {Make Landscape Flatter in Differentially Private Federated Learning},
  author = {Yifan Shi and Yingqi Liu and Kang Wei and Li Shen and Xueqian Wang and Dacheng Tao},
  year   = {2023},
  eprint = {2303.11242},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.11242v2},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.11242.svg)](https://codeofpaper.com/paper/2303.11242)

Discussion