Git repo for paper "Federated Learning with Convex Global and Local Constraints"
task | datasets |
---|---|
Linear Equality Constrainted Quadratic Programming (LCQP) | synthetic data (automatically generated when running the scripts) |
Nayman-Pearson Classification (NP) | breast-cancer-wisc; adult-a, monks-1 download 🔗 |
Classification with Fairness Constraints (Fairness) | breast-cancer-wisc; adult-a, monks-1 download 🔗 |
git clone https://github.com/PL97/Constr_FL.git
Download the dataset using the link in the table. Create a new folder named
cd LCQP
python lcqp.py
centralized training 👇
cd NP/decentralized_alg/
python np.py --dataset [choose from "breast-cancer-wisc", "monks-1", "adult"] \
--n_clinet [e.g., 1, 5, 10, 20]
centralized training 👇
cd NP/Fairness/wglobal/
python fairClassification.py --n_client [e.g., 1, 5, 10, 20] --repeat_idx [random seed, e.g., 0, 1, 2]
@article{
he2024federated,
title={Federated Learning with Convex Global and Local Constraints},
author={Chuan He and Le Peng and Ju Sun},
journal={Transactions on Machine Learning Research},
issn={2835-8856},
year={2024},
url={https://openreview.net/forum?id=qItxVbWyfe},
note={}
}