Giter Site home page Giter Site logo

k-vib's Introduction

K-Vib

Code for paper - Exploring Federated Optimization by Reducing Variance of Adaptive Unbiased Client Sampling

Dataset

Our experiment setting of FEMNIST follows Optimal Client Sampling, please download the modified dataset following their instructions. You can download from google driver as well.

They are expected to be located in datasets directory.

Run

synthetic task

python main_synthetic.py -com_round 500 -sample_ratio 0.1 -num_clients 100 -batch_size 64 -epochs 1 -lr 0.02 -dseed 4399 -seed [run_seed] -data synthetic -sampler [uniform/kvib] -reg 0.1

femnist task

python main_femnist.py -com_round 500 -k [num_of_client_per_round] -dataset v2 -batch_size 20 -epochs 3 -lr [learning_rate] -freq 10 -sampler [uniform/kvib] -reg 0.1 -seed [run_seed]

Citation

@article{zeng2023exploring,
  title={Exploring Federated Optimization by Reducing Variance of Adaptive Unbiased Client Sampling},
  author={Zeng, Dun and Xu, Zenglin and Pan, Yu and Wang, Qifan and Tang, Xiaoying},
  journal={arXiv preprint arXiv:2310.02698},
  year={2023}
}

k-vib's People

Contributors

dunzeng avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.