Skip to content

ACM-Research/Blockchain-Based-Federated-Learning-Optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain-Based-Federated-Learning-Optimization

Team Members: Dhruv Bansal, Bryant Hargreaves, Viswa Kotra, Timothy Naumov, Akshat Sharma
Research Lead: Rohan Dave
Advisor: Dr. Murat Kantarcioglu

Introduction

Federated Learning, a decentralized machine learning approach, has advanced significantly. However, integrating it with blockchain faces challenges, particularly with high gas fees and slow epochs. Our research addresses this by combining blockchain with federated learning and optimizing this conjunction using various tree structures and off-chain computing. We aim to reduce gas costs by deploying smart contracts on Ethereum for decentralization, while mitigating computation burdens off-chain. This strategy not only cuts gas expenses but also taps into blockchain's security, enabling efficient and cost-effective implementations.

Federated Learning Visualization

Youtube_Video

Research Poster

Research  Poster

How to test run the program

  1. download python 3.9.16 python -p 3.9.16 venv .venv
  2. install dependencies python -m pip install -r requirements.txt
  3. go to the brownie folder and init and/or compile the contract(?) cd brownie brownie compile
  4. run the local dev blockchain thing with the smart contract brownie run scripts/test.py
  5. run the start_task.py script to start the task in the smart contract cd .. python start_task.py
  6. run multiple tree/client.py scripts to create new clients for federated learning python tree/client.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published