1 Star 0 Fork 1

顺顺 / asynchronous-federated-learning

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Async FL using PySyft

My bachelor thesis project, to fulfill a degree requirement from Bandung Institute of Technology

by Senapati Sang Diwangkara, 13516107

This paper was published on ICITSI 2020

This work examines the effect of asynchronicity in aggregation algorithm (i.e. when the nodes' training round / epoch don't have to be in sync with one another). In particular, I'm interested in the effect of data imbalance. Intuitively speaking, if we have some true/false dataset that is split between 2 nodes, but each node only have either true or false data, and one node is faster than the other, than the trained model should perform worse than if the model is trained centrally, right? So here, we tried to verify that intuition quntitatively.

Experiment Architecture

Arch

Clients are implemented in src/client.py. It will spool up some client threads to connect to each server, and an evaluator process to evaluate the latest model periodically. Each client threads will communicate with the evaluator process with the evaluator_q variable, that acts as a queue. The threads will enqueue their evaluation order and they will be consumed by the evaluator process, which then will evaluate the snapshoted model and print the result.

Servers are implemented in src/servers.py. It will split a given dataset (using src/split_dataset.py) and started the servers that will host said data.

To measure optimization performance, we use yappi as a profiler to measure how much time each function is spending.

Questions?

Poke me on Twitter!

空文件

简介

Study of data imbalance and asynchronous aggregation algorithm on Federated Learning system(联邦学习系统中数据不平衡与异步聚合算法研究) 展开 收起
Python
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/shun20160114/asynchronous-federated-learning.git
git@gitee.com:shun20160114/asynchronous-federated-learning.git
shun20160114
asynchronous-federated-learning
asynchronous-federated-learning
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891