Jie Du, Wei Li, Peng Liu, et al. Model projection based Federated Learning for Non-IID data

联邦学习算法 – Model projection based Federated Learning for Non-IID data (Under review)

This is the PyTorch implementation of our paper “Jie Du, Wei Li, Peng Liu, et al. Model projection based Federated Learning for Non-IID data” .

The experimental results (test accuracy %) on HAM10K dataset.

MethodsTwo-clientFour-client
Centralized learning68.94±0.06
Federated learning FedAvg(AISat-2017)65.43±0.29 59.22±0.77
FedProx(PMLS-2020)66.25±0.2959.22±0.29
SCAFFOLD(ICML-2020)67.08±1.3464.39±0.29
FedaGrac(TPDS-2023)67.70±0.8864.18±0.59
FedReg(ICLR-2022)66.67±1.0565.84±0.05
Our FedMoP69.36±0.30 (↑ 1.66)69.57±0.51 (↑ 3.73)

The experimental results (test accuracy %) on COVID-19 and PBC dataset.

MethodsNon-uniformOne-class
COVID-19PBCCOVID-19PBC
Centralized learning68.60±0.0597.45±0.0368.60±0.0597.45±0.03
Federated learning FedAvg(AISat-2017)66.31±0.2496.74±0.0667.05±0.1687.22±0.29
FedProx(PMLS-2020)66.41±0.3296.78±0.1066.89±0.3287.88±0.15
SCAFFOLD(ICML-2020)68.44±0.1296.83±0.0266.76±0.6569.79±0.51
FedaGrac(TPDS-2023)68.60±0.4996.98±0.0568.18±0.2588.80±0.16
FedReg(ICLR-2022)68.09±1.2296.81±0.0469.66±0.6291.93±0.36
Our FedMoP70.30±0.30 (↑1.70)97.48±0.08 (↑0.50)70.88±0.40 (↑1.22)97.24±0.07 (↑5.31)

Usage

requirements:
  • Ubuntu Server == 20.04.4 LTS
  • CUDA == 11.6
  • numpy ==1.23.1
  • Pillow == 9.2.0
  • python == 3.8.0
  • quadprog == 0.1.11
  • torch == 1.12.0
  • torchvision == 0.13.0

Datasets:

  • HAM10k:Please manually download the HAM10000 dataset from the official website, unzip it and place it in ‘./dataset/ham10k’.
  • COVID-19:Please manually download the COVID-19 Five-classes dataset from the official website, unzip it and place it in ‘./dataset/covid19’.
  • PBC: Please manually download the PBC dataset from the official website, unzip it and place it in ‘./dataset/pbc’.
Split the dataset in feature/label distribution skew:

You can use split_dataset.py to split the dataset into feature distribution skew and label distribution skew, and then save the split data set for model training.

Training:

main.py is the main file to run the federated experiments.

The experiments can be run by:

cd FedMoP
python main.py

Website: FedMop.

More detail, please ref Model projection based Federated Learning for Non-IID data or Model projection based Federated Learning for Non-IID data

用中文总结以下内容: A number of experimental and numerical investigations have been conducted to study the MBPP stack and wavy flow field characteristics with various designs [10,11]. T. Chu et al. conducted the durability test of a 10-kW MBPP fuel cell stack containing 30 cells under dynamic driving cycles and analyzed the performance degradation mechanism [12]. X. Li et al. studied the deformation behavior of the wavy flow channels with thin metallic sheet of 316 stainless steel from both experimental and simulation aspects [13]. J. Owejan et al. designed a PEMFC stack with anode straight flow channels and cathode wavy flow channels and studied the in situ water distributions with neutron radiograph [14]. T. Tsukamoto et al. simulated a full-scale MBPP fuel cell stack of 300 cm2 active area at high current densities and used the 3D model to analyze the in-plane and through-plane parameter distributions [15]. G. Zhang et al. developed a two-fluid 3D model of PEMFC to study the multi-phase and convection effects of wave-like flow channels which are symmetric between anode and cathode sides [16]. S. Saco et al. studied the scaled up PEMFC numerically and compared straight parallel, serpentine zig-zag and straight zig-zag flow channels cell with zig-zag flow field with a transient 3D numerical model to analyze the subfreezing temperature cold start operations [18]. P. Dong et al. introduced discontinuous S-shaped and crescent ribs into flow channels based on the concept of wavy flow field for optimized design and improved energy performance [19]. I. Anyanwu et al. investigated the two-phase flow in sinusoidal channel of different geometric configurations for PEMFC and analyzed the effects of key dimensions on the droplet removal in the flow channel [20]. Y. Peng et al. simulated 5-cell stacks with commercialized flow field designs, including Ballard-like straight flow field, Honda-like wavy flow field and Toyota-like 3D mesh flow field, to investigate their thermal management performance [21]. To note, the terms such as sinusoidal, zig-zag, wave-like and Sshaped flow channels in the aforementioned literatures are similar to the so called wavy flow channels in this paper with identical channel height for the entire flow field. The through-plane constructed wavy flow channels with periodically varied channel heights are beyond the scope of this paper [22,23].
02-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值