Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.19 KB

readme.md

File metadata and controls

23 lines (18 loc) · 1.19 KB

Byrd-SAGA

This hub stores the code for paper Byzantine-Resilient Distributed Finite-Sum Optimization over Networks (short version) and Federated Variance-Reduced Stochastic Gradient Descent with Robustness to Byzantine Attacks (full version, which can be seen in Full.pdf). The code should be run in the jupyter notebook.

Environment

  • python 3.7.4
  • pytorch 1.2.0
  • matplotlib 3.1.1

Construction

The main programs can be found in the following files:

  • Byrd_SAGA_torch_LinearRegression.ipynb: The experiment on linear regression.
  • Byrd_SAGA_torch_ANN.ipynb: The experiment on neural network.
  • draw.ipynb: The script to draw picture.

Runing

Download the dataset to the file folder ./dataset and create a file folder named ./cache. The experiment output will be stored in ./cache.

Download dataset

Acknowledgement

We would like to thanks to Runhua Wang, SYSU, for helping us to review and improve our code.