All Projects → OpenMined → PyAriesFL

OpenMined / PyAriesFL

Licence: Apache-2.0 license
Federated Learning on HyperLedger Aries

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
shell
77523 projects

Projects that are alternatives of or similar to PyAriesFL

Awesome Mlops
A curated list of references for MLOps
Stars: ✭ 7,119 (+37368.42%)
Mutual labels:  federated-learning
FedFusion
The implementation of "Towards Faster and Better Federated Learning: A Feature Fusion Approach" (ICIP 2019)
Stars: ✭ 30 (+57.89%)
Mutual labels:  federated-learning
federated pca
Federated Principal Component Analysis Revisited!
Stars: ✭ 30 (+57.89%)
Mutual labels:  federated-learning
FedDA
Source code for 'Dual Attention Based FL for Wireless Traffic Prediction'
Stars: ✭ 41 (+115.79%)
Mutual labels:  federated-learning
Awesome-Federated-Learning-on-Graph-and-GNN-papers
Federated learning on graph, especially on graph neural networks (GNNs), knowledge graph, and private GNN.
Stars: ✭ 206 (+984.21%)
Mutual labels:  federated-learning
federated
Bachelor's Thesis in Computer Science: Privacy-Preserving Federated Learning Applied to Decentralized Data
Stars: ✭ 25 (+31.58%)
Mutual labels:  federated-learning
baai-federated-learning-crane-baseline
电力人工智能数据竞赛——液压吊车目标检测赛道
Stars: ✭ 17 (-10.53%)
Mutual labels:  federated-learning
FedNLP
FedNLP: An Industry and Research Integrated Platform for Federated Learning in Natural Language Processing, Backed by FedML, Inc. The Previous Research Version is Accepted to NAACL 2022
Stars: ✭ 215 (+1031.58%)
Mutual labels:  federated-learning
FedScale
FedScale is a scalable and extensible open-source federated learning (FL) platform.
Stars: ✭ 274 (+1342.11%)
Mutual labels:  federated-learning
baai-federated-learning-helmet-baseline
电力人工智能数据竞赛——安全帽未佩戴行为目标检测赛道基准模型
Stars: ✭ 26 (+36.84%)
Mutual labels:  federated-learning
DeML-Golem
Proof Of Concept of DEcentralised Machine Learning on top of the Golem (https://golem.network/) architecture
Stars: ✭ 35 (+84.21%)
Mutual labels:  federated-learning
NIID-Bench
Federated Learning on Non-IID Data Silos: An Experimental Study (ICDE 2022)
Stars: ✭ 304 (+1500%)
Mutual labels:  federated-learning
Addressing-Class-Imbalance-FL
This is the code for Addressing Class Imbalance in Federated Learning (AAAI-2021).
Stars: ✭ 62 (+226.32%)
Mutual labels:  federated-learning
Pysyft
A library for answering questions using data you cannot see
Stars: ✭ 7,811 (+41010.53%)
Mutual labels:  federated-learning
DBA
DBA: Distributed Backdoor Attacks against Federated Learning (ICLR 2020)
Stars: ✭ 98 (+415.79%)
Mutual labels:  federated-learning
Fate
An Industrial Grade Federated Learning Framework
Stars: ✭ 3,775 (+19768.42%)
Mutual labels:  federated-learning
CRFL
CRFL: Certifiably Robust Federated Learning against Backdoor Attacks (ICML 2021)
Stars: ✭ 44 (+131.58%)
Mutual labels:  federated-learning
ambianic-edge
The core runtime engine for Ambianic Edge devices.
Stars: ✭ 98 (+415.79%)
Mutual labels:  federated-learning
federated-learning
tf implementation of federated learning
Stars: ✭ 36 (+89.47%)
Mutual labels:  federated-learning
FEDL
FEDL-Federated Learning algorithm using TensorFlow (Transaction on Networking 2021)
Stars: ✭ 41 (+115.79%)
Mutual labels:  federated-learning

Distributed Deep-learning with HL-Aries

This repo has been forked from Hyperledger Aries Cloud agent link provided by British Columbia Government.

We have created a set of agents that can be run using docker to experiment with a federated deep learning scenario using didCOMM to pass secure messages between the participants - e.g. the ML model parameters. Furthermore the scenario explores using credentials so that participants can verify that who they are communicating with. In the example this is verifying a hospital is indeed a hospital and a researcher has been accredited by a regulator. However the credentials abnd issuers within this use case could be adapted to any ecosystem.

The agents connect, by default, to the BC government development instance of Hyperledger Indy ledger link.

Guide

Full Aries Scenario

To run the scenario:

git clone https://github.com/blockpass-identity-lab/aries-fl-demo.git

cd demo

Hospital gets verified by the NHS Trust.

  1. Start the NHS Trusted agent.
    ./run_demo nhsheadoffice
    
  1. Start each of the hospitals in separate terminals.

    ./run_demo hospital1(2,3)
    
  2. Copy NHS's invitation URL into the hospitals terminal to initiate DIDExchange and establish pairwise DID connection.

  3. Issue verified hospital credential to the Hospital. This first requests a self attested proof of hospital name from the hospital then issues this name in a credential.

  4. Create new invitation from the NHSTrust and repeat steps 3 and 4 for each hospital

The Researcher gets accredited by the regulatory authority.

  1. Start the Coordinator.
./run_demo coordinator
  1. Start the regulator.
./run_demo regulator
  1. Enter command to allow coordinator to accept new invitation

  2. Copy regulator's invitation URL into coordinator terminal.

  3. Issue a credential from the Regulator to the Coordinator.

The researcher validates the hospital's credential. The hospital validates the researcher's accreditation. The training procedure starts.

Researcher and hospital verify respective credentials

  1. Create New Invitation in the coordinator for the hospital.

  2. Input new connection into the hospital terminal

  3. Coordinator request proof connection is from a valid hospital. If proof is valid, the coordinator adds this hospital to the list of the trusted connections.

  4. Hospital to request proof that the coordinator connection is from a certified research. If so add to list of trusted connections.

  5. Either add another trusted connection between a new hospital and current researcher by repeating steps 11 - 14

or..

  1. In the coordinator terminal initiate training process which loops through all trusted hospital connections in turn, sending a message containing the model. The hospital checks if the message is from a trusted research, if so they initiate the training process using their private date. Once complete the trained model is sent back to the coordinator who validates the model and forwards it onto the next trusted connection.

Researcher coordinates federated learning

Created by

Will Abramson (wip-abramson)
Adam James Hall (H4LL)
Pavlos Papadopoulos (pavlos-p)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].