Skip to content

Robust Heterogeneous Federated Learning under Data Corruption

Notifications You must be signed in to change notification settings

FangXiuwen/AugHFL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AugHFL

This repository provides resources for the following paper:

[Robust Heterogeneous Federated Learning under Data Corruption](ICCV 2023 Open Access Repository)
Xiuwen Fang, Mang Ye, Xiyuan Yang ICCV 2023

AugHFL(Augmented Heterogeneous Federated Learning) is a federated learning framework to investigate the problem of data corruption in the model heterogeneous federated learning:

  1. Local Learning with Data Corruption.

  2. Robust Corrupted Clients Communication.

Our experiments are conducted on two datasets, Cifar-10-C and Cifar-100. We set public dataset on the server as a subset of Cifar-100, and randomly divide Cifar-10-C to different clients as private datasets.

Dataset used: CIFAR-10-CCIFAR-100

Note: Cifar-10-C can be genearetd by make_cifar_c.py. Data will be processed in init_data.py.

After installing MindSpore via the official website, you can start training and evaluation as follows:

# init public data and local data
python Dataset/init_data.py
# pretrain local models
python Network/pretrain.py
# AugHFL
python AugHFL/AugHFL.py
├── Robust_FL
    ├── Dataset
        ├── augmentations.py
        ├── cifar.py
        ├── dataaug.py
        ├── init_dataset.py
        ├── utils.py
    ├── Network
        ├── Models_Def
            ├── mobilnet_v2.py
            ├── resnet.py
            ├── shufflenet.py
        ├── pretrain.py
    ├── AugHFL
        ├── AugHFL.py
    ├── loss.py
    ├── README.md

In the heterogeneous model scenario, we assign four different networks:ResNet10,ResNet12,ShuffleNet,Mobilenetv2

@inproceedings{fang2023robust,
  title={Robust heterogeneous federated learning under data corruption},
  author={Fang, Xiuwen and Ye, Mang and Yang, Xiyuan},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
  pages={5020--5030},
  year={2023}
}

About

Robust Heterogeneous Federated Learning under Data Corruption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages