Giter Site home page Giter Site logo

oort-flower's Introduction

Flower implementation of Oort client selection

Joseph Rance | Federated Learning final project

This codebase contains experiments to test a flower implementation of the Oort client selection algorithm. This is part of my Federated Learning module project. The original paper on Oort can be found at:

https://www.usenix.org/system/files/osdi21-lai.pdf


Installation

To run this project, first modify lines 204 and 205 of project/task/cifar10/dataset_preparation.py to point to a suitable location to save the CIFAR10 dataset. Then run:

pip install .
bash run_scripts/download_cifar10.sh
bash run_scripts/launch.sh

The default configuration uses random sampling with $\sigma=2$. Oort can be activated by modifying line 198 of project/main.py.

Structure

This codebase closely follows the structure of the CaMLSys template.

THE MAIN CONTRIBUTION OF THIS PROJECT IS IN project/fed/server/oort_client_manager.py.

The main additions are discussed in my technical report, and can be found in project/task/cifar10 (CIFAR10 model implementation), project/task/speech (Google speech model implementation), and project/fed/server/stategy/strategy.py (custom strategy for aggregating client utility values).

oort-flower's People

Contributors

joseph-rance 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.