Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 2.8 KB

File metadata and controls

57 lines (35 loc) · 2.8 KB

Back to https://github.com/Kwangkee/FL


BlockLearning Framework Master Thesis, https://hacdias.com/2022/09/07/thesis-blocklearning-framework
Github, https://github.com/hacdias/blocklearning
Slide, https://cdn.hacdias.com/media/f04b0bb5bd8034d205d1568b76e99670201c07e5fdda53bd134f6194c13bef97.pdf


Chapter 4

Framework Design and Implementation

image

  1. Finally, the model owner sends a transaction to the blockchain in order to terminate the round. At this point, the smart contract checks if the majority of the aggregators agreed on the aggregation. If so, the round is marked as terminated. Otherwise, the round fails, indicating that the aggregators did not reach an agreement, which may indicate that some of the aggregators are compromised.

image

4.1.1.1 Smart Contracts

The first component of the framework is the smart contracts. The smart contracts live on the blockchain and are the main means of communication between FL clients and servers. In addition, the smart contracts hold information regarding the current status of the round, as well as the updates, scores, aggregations, among others.

4.2.1 Smart Contracts

image

5.2 Client Sampling

5.2.1 Horizontal

In order to perform the horizontal client sampling, we used a publicly available tool [79] that supports sampling from the MNIST data set directly using the Dirichlet distribution.

image

5.2.2 Vertical

image

5.4 Hardware and Software Specifications

image

5.5.3 Model Accuracy

To compare the model accuracy, we use a global Accuracy metric for the FL model, where the model owner, that is, the one that initiates the process, has some data set with which it can test the model. The logs produced by the model owner contain the accuracy and are used to extract the accuracy of each round.

Chapter 6

Impact Analysis of Consensus Algorithms

Chapter 7

Impact Analysis of Participant Selection and Scoring Algorithms in Horizontal Blockchain-based Federated Learning

Chapter 8

Proof of Concept of Vertical Blockchain-based Federated Learning

Chapter 9

Conclusions and Future Directions