Home

Awesome

Introduction

This is the implementation of our paper FedCP: Separating Feature Information for Personalized Federated Learning via Conditional Policy (accepted by KDD 2023).

Citation

@inproceedings{Zhang2023fedcp,
  author = {Zhang, Jianqing and Hua, Yang and Wang, Hao and Song, Tao and Xue, Zhengui and Ma, Ruhui and Guan, Haibing},
  title = {FedCP: Separating Feature Information for Personalized Federated Learning via Conditional Policy},
  year = {2023},
  booktitle = {Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining}
}

TL;DR: Existing personalized federated learning (pFL) mehtods focus on exploiting global and personalized information in model parameters rather than the source of information: data, so we propose FedCP to automatically separate global and personalized information from data (i.e., feature representations) in iterative federated learning procedure, as shown in the following figures.

Datasets and Environments

Due to the file size limitation of GitHub repository, we only upload the mnist dataset with the default practical setting ($\beta=0.1$). You can generate other datasets and environment settings based on my other repository PFLlib.

System

Federated Conditional Policy (FedCP)

Training and Evaluation

All codes corresponding to FedCP are stored in ./system. Just run the following commands.

cd ./system
sh run_me.sh # for Linux