Skip to content

hyhmia/DisTrans

Repository files navigation

DisTrans

This is the repository for "Addressing Heterogeneity in Federated Learning via Distributional Transformation".

DisTrans is a novel generic framework designed to improve federated learning(FL) under various level of data heterogeneity using a double-input-channel model structure and a carefully optimized offset.

Screen Shot 2022-07-17 at 12 00 35

The global model in FL setting with DisTrans learns better features than with state-of-the-art (SOTA) methods and thus gets higher accuracy.

Screen Shot 2022-07-17 at 12 08 41

We perform extensive evaluation of DisTrans using five different image datasets and compare it against SOTA methods. DisTrans outperforms SOTA FL methods across various distributional settings of the clients' local data by 1%--10% with respect to testing accuracy. Moreover, our evaluation shows that \sys achieves 1%--7% higher testing accuracy than data transformation (or augmentation), i.e., mixup and AdvProp.

For more details of our method and evaluations, please refer to Section 5 of the paper.

To run the code, for i.i.d. federated learning scenario,

python hyperMACFed.py

for non-i.i.d federated learning scenario,

python MACFed.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages