FedCG: Leverage Conditional GAN for Protecting Privacy and Maintaining Competitive Performance in Federated Learning

Yuezhou Wu, Yan Kang, Jiahuan Luo, Yuanqin He, Qiang Yang
11/16/2021
cs.LG

Official code: yankang18/FedCG (8 stars, last commit 2024-09-08). Most starred: FederatedAI/research, a community implementation (179 stars, Apache-2.0, last commit 2024-10-24, 22× the official stars). 1 more implementation below.

Abstract

Federated learning (FL) aims to protect data privacy by enabling clients to build machine learning models collaboratively without sharing their private data. Recent works demonstrate that information exchanged during FL is subject to gradient-based privacy attacks, and consequently, a variety of privacy-preserving methods have been adopted to thwart such attacks. However, these defensive methods either introduce orders of magnitude more computational and communication overheads (e.g., with homomorphic encryption) or incur substantial model performance losses in terms of prediction accuracy (e.g., with differential privacy). In this work, we propose $\textsc{FedCG}$, a novel federated learning method that leverages conditional generative adversarial networks to achieve high-level privacy protection while still maintaining competitive model performance. $\textsc{FedCG}$ decomposes each client's local network into a private extractor and a public classifier and keeps the extractor local to protect privacy. Instead of exposing extractors, $\textsc{FedCG}$ shares clients' generators with the server for aggregating clients' shared knowledge, aiming to enhance the performance of each client's local networks. Extensive experiments demonstrate that $\textsc{FedCG}$ can achieve competitive model performance compared with FL baselines, and privacy analysis shows that $\textsc{FedCG}$ has a high-level privacy-preserving capability. Code is available at https://github.com/yankang18/FedCG

View on arXivView PDF

Code Implementations(2)

yankang18/FedCGOfficial100%

The implementation of FedCG algorithm, published in the paper "FedCG: Leverage Conditional GAN for Protecting Privacy and Maintaining Competitive Performance in Federated Learning"

81Shell, PythonJul 7, 20242 years ago
Apache-2.0
17923Shell, CythonOct 22, 20201 years agoApache-2.0

Similar Papers

Cite this paper

@article{wu2021fedcg,
  title  = {FedCG: Leverage Conditional GAN for Protecting Privacy and Maintaining Competitive Performance in Federated Learning},
  author = {Yuezhou Wu and Yan Kang and Jiahuan Luo and Yuanqin He and Qiang Yang},
  year   = {2021},
  eprint = {2111.08211},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.08211}
}

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/2111.08211.svg)](https://codeofpaper.com/paper/2111.08211)

Discussion