SlideShare a Scribd company logo
1 of 25
Federated Learning
Hifaz Hassan and Velmurugan Ramadasan
IBM Research Singapore
Agenda
2
© Copyright IBM Corporation 2020
 Federated Learning concepts and architecture overview
 IBM Federated Learning approach
 Live interactive Federated Learning demo
 Q&A
Enterprise Data is
Fragmented
 Moving data across silos is costly,
risky, and slow
 Duplication is expensive
 AI applications must be built and run
across different clouds
 Data privacy regulations prohibit
cross—border data transfers
3
3
© Copyright IBM Corporation 2020
What is
Federate
d
Learning
?
© Copyright IBM Corporation 2020
 Provides an approach to train machine
learning models in which data cannot
be centralized for a training process.
 Distributed machine learning process
in which multiple participants (parties)
collaborate to train machine learning
model without sharing data
 Interaction between parties via
learning protocol coordinated by
aggregator.
Edge and Embedded
• Predictive Maintenance at the
Edge
• Process Optimization
Consortia
• Healthcare – Patient Analytics,
Computer Vision
• Financial services – Fraud
Detection, Money Laundering
Mobile Applications
• Location Driven Predictions
• Auto Completion
Enterprises Need
Federated Learning
Federated Learning can be applied in a wide variety of use cases across hybrid cloud, multi-cloud, mobile and
edge devices.
5
© Copyright IBM Corporation 2020
Basic Federated Learning
6
…
Aggregator (A)
D1 D2 DN
Party 1 (P1) Party 2 (P2) Party N (PN)
© Copyright IBM Corporation 2020
Basic Federated Learning
7
…
Aggregator (A)
Q
D1
Q
Q
D2 DN
Party 1 (P1) Party 2 (P2) Party N (PN)
1. Aggregator queries each parties about information
necessary for learning a predictive model. (e.g.
Weights, Gradients, Samples Counts).
© Copyright IBM Corporation 2020
Basic Federated Learning
8
…
Aggregator (A)
Q
D1
Q
Q
D2 DN
Party 1 (P1) Party 2 (P2) Party N (PN)
1. Aggregator queries each parties about information
necessary for learning a predictive model. (e.g.
Weights, Gradients, Samples Counts).
2. Given the query (Q), each party computes a reply (R)
based on their own local data (D).
R1=Q(D1) R2=Q(D2) RN=Q(DN)
© Copyright IBM Corporation 2020
Basic Federated Learning
9
…
Aggregator (A)
R1
Q
D1
R2
Q
RN
Q
D2 DN
Party 1 (P1) Party 2 (P2) Party N (PN)
1. Aggregator queries each parties about information
necessary for learning a predictive model. (e.g.
Weights, Gradients, Samples Counts).
2. Given the query (Q), each party computes a reply (R)
based on their own local data (D).
R1=Q(D1) R2=Q(D2) RN=Q(DN)
3. Each party then sends its computed reply (R) back
to the aggregator, where the results are then
fused together as a single model (M).
Model (M)
F(R1, R2, …, RN)
© Copyright IBM Corporation 2020
Basic Federated Learning
10
…
Aggregator (A)
R1
Q
D1
R2
Q
RN
Q
D2 DN
Party 1 (P1) Party 2 (P2) Party N (PN)
1. Aggregator queries each parties about information
necessary for learning a predictive model. (e.g.
Weights, Gradients, Samples Counts).
2. Given the query (Q), each party computes a reply (R)
based on their own local data (D).
R1=Q(D1) R2=Q(D2) RN=Q(DN)
3. Each party then sends its computed reply (R) back
to the aggregator, where the results are then
fused together as a single model (M).
Model (M)
F(R1, R2, …, RN)
Key Point:
Raw data from each party is never shared, it
remains where it is stored.
© Copyright IBM Corporation 2020
Definition of an FL Job
Aggregator Side Fusion Algorithm
Local Training
Data Pre-Processing
For each party …
IBM FL Approach
12
© Copyright IBM Corporation 2020
 Python based framework which provides fabric to implement FL applications
 Supports wide variety of machine learning models like tensorflow, pytorch, sci-kit learn and
more
 Provides communication layer with many in-built connectors like flask, web sockets and
RabbitMQ
 Supports wide variety of fusion algorithms and other security features like crypto,
differential privacy and more
 Available as IBM FL CE library for developer community and IBM Cloud service for enterprise
deployment (Beta Release)
IBM FL Approach
…
Aggregator (A)
D1 D2 DN
Party 1 (P1) Party 2 (P2) Party N (PN)
© Copyright IBM Corporation 2020
Party Client
Library
Party Client
Library
Party Client
Library
Aggregator
Fusion
Algo
Local
Model
Local
Model
IBM Federated Learning Features
Fusion Algos
• FedAvg McMahan et al.
• FedAvgPlus
• Cordinate Median
• PFNMYurochkin et al.
• Krum
• Zeno and more
Supported ML Libraries
• Sklearn
• Keras
• Tensorflow
• Pytorch
• RLlib
Supported Models
• Neural networks
• XGBoost
• Linear/Logistic
regressors/classifiers
• Decision Tree ID3
• K-means
• Reinforcement Learning
Connectivity
• Web sockets
• gRPC
• Flask
• Rabbit MQ
FL Process Mgmt
• Early termination
• Quorum support
Data Handlers
• MNIST
• FEMNIST
• Adult
• Diabetes
• CIFAR-10 and more
Others
• Crypto
• Experiment Manager
• Differential Privacy
• Fairness
* Features only available in IBM Cloud version
Configurable Federated Learning Stacks
15
15
FLConnection
ProtoHandler
FusionHandler
FLModel
Aggregator
FLConnection
PartyProtoHandler
TrainingHandler
FLModel
Party
DataHandler
Aggregator Stack Party Stack
© Copyright IBM Corporation 2020
Configurable Communication
16
16
FLConnection
ProtoHandler
FusionHandler
FLModel
Aggregator
FLConnection
PartyProtoHandler
TrainingHandler
FLModel
Party
DataHandler
Aggregator Stack Party Stack
© Copyright IBM Corporation 2020
Communications
for deployment
scenario (https/Flask,
RabbitMQ, Web-
socket, …)
Supports Learning Protocol Innovation
17
17
FLConnection
ProtoHandler
FusionHandler
FLModel
Aggregator
FLConnection
PartyProtoHandler
TrainingHandler
FLModel
Party
DataHandler
Aggregator Stack Party Stack
© Copyright IBM Corporation 2020
Different learning
protocols
Abstracts from ML Library used
18
18
FLConnection
ProtoHandler
FusionHandler
FLModel
Aggregator
FLConnection
PartyProtoHandler
TrainingHandler
FLModel
Party
DataHandler
Aggregator Stack Party Stack
© Copyright IBM Corporation 2020
Wraps ML libra-
ries such as
Keras, PyTorch,
RLLib, SKLearn
Classifiers, ..
New FL Algos are matching pairs of Fusion and Training Handlers
19
19
FLConnection
ProtoHandler
FusionHandler
FLModel
Aggregator
FLConnection
PartyProtoHandler
TrainingHandler
FLModel
Party
DataHandler
Aggregator Stack Party Stack
© Copyright IBM Corporation 2020
Aggregator
side FL
code …
Party side
FL code …
Data Handlers: Read Data Party-Specifically
20
20
FLConnection
ProtoHandler
FusionHandler
FLModel
Aggregator
FLConnection
PartyProtoHandler
TrainingHandler
FLModel
Party
DataHandler
Aggregator Stack Party Stack
© Copyright IBM Corporation 2020
21
© Copyright IBM Corporation 2020
Steps to train a neural network in IBM Federated learning
1. Specify any Keras, Pytorch, or TensorFlow model 2. Configure the federation, select the fusion algorithm
AggregatorConfig File Snippet
Party Config File Snippet
3. Train
In all this process, parties keep the training
data to themselves.
22
© Copyright IBM Corporation 2020
IBMFL Job FLow
IBM FL Community Edition
23
Github: https://github.com/IBM/federated-
learning-lib
Getting Started :-
1. examples
2. Experiment Manager notebook
Web site: https://ibmfl.mybluemix.net
Slack Channel : https://ibm-fl.slack.com/
Distributes as WHL file, not open
source
24
© Copyright IBM Corporation 2020
Live Federated Learning Demo
Train TensorFlow model using MNIST dataset
Thank you
© Copyright IBM Corporation 2020. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of
any kind, express or implied. Any statement of direction represents IBM’s current intent, is subject to change or withdrawal, and represent only goals and objectives. IBM, the IBM logo, and
ibm.com are trademarks of IBM Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM
trademarks is available at Copyright and trademark information.
IBM Research AI/ © 2020 IBM Corporation 25
IBM FL Web Site https://ibmfl.mybluemix.net
https://arxiv.org/abs/2007.10987
IBM FL White Paper
Github https://github.com/IBM/federated-learning-lib

More Related Content

What's hot

A Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated LearningA Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated LearningDebmalya Biswas
 
Big Data in Education Sector
Big Data in Education SectorBig Data in Education Sector
Big Data in Education SectorKaran Sachdeva
 
What is Deep Learning?
What is Deep Learning?What is Deep Learning?
What is Deep Learning?NVIDIA
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsAbdullah Alfadhly
 
Machine Learning for Fraud Detection
Machine Learning for Fraud DetectionMachine Learning for Fraud Detection
Machine Learning for Fraud DetectionNitesh Kumar
 
Documentation on bigmarket copy
Documentation on bigmarket   copyDocumentation on bigmarket   copy
Documentation on bigmarket copyswamypotharaveni
 
Image classification using CNN
Image classification using CNNImage classification using CNN
Image classification using CNNNoura Hussein
 
Part 10: 5G Use cases - 5G for Absolute Beginners
Part 10: 5G Use cases - 5G for Absolute BeginnersPart 10: 5G Use cases - 5G for Absolute Beginners
Part 10: 5G Use cases - 5G for Absolute Beginners3G4G
 
Big Data Evolution
Big Data EvolutionBig Data Evolution
Big Data Evolutionitnewsafrica
 
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)Sergey Karayev
 

What's hot (20)

A Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated LearningA Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated Learning
 
5G Shared Spectrum
5G Shared Spectrum5G Shared Spectrum
5G Shared Spectrum
 
Big Data in Education Sector
Big Data in Education SectorBig Data in Education Sector
Big Data in Education Sector
 
What is Deep Learning?
What is Deep Learning?What is Deep Learning?
What is Deep Learning?
 
Fog computing in IoT
Fog computing in IoTFog computing in IoT
Fog computing in IoT
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and Protocols
 
Wireless Sensor Networks ppt
Wireless Sensor Networks pptWireless Sensor Networks ppt
Wireless Sensor Networks ppt
 
Big Data Ecosystem
Big Data EcosystemBig Data Ecosystem
Big Data Ecosystem
 
Big_data_ppt
Big_data_ppt Big_data_ppt
Big_data_ppt
 
Machine Learning for Fraud Detection
Machine Learning for Fraud DetectionMachine Learning for Fraud Detection
Machine Learning for Fraud Detection
 
IOT Networks
IOT NetworksIOT Networks
IOT Networks
 
Documentation on bigmarket copy
Documentation on bigmarket   copyDocumentation on bigmarket   copy
Documentation on bigmarket copy
 
Deep learning ppt
Deep learning pptDeep learning ppt
Deep learning ppt
 
IoT Networking Part 2
IoT Networking Part 2IoT Networking Part 2
IoT Networking Part 2
 
Image classification using CNN
Image classification using CNNImage classification using CNN
Image classification using CNN
 
IOT gateways.pptx
IOT gateways.pptxIOT gateways.pptx
IOT gateways.pptx
 
Three Big Data Case Studies
Three Big Data Case StudiesThree Big Data Case Studies
Three Big Data Case Studies
 
Part 10: 5G Use cases - 5G for Absolute Beginners
Part 10: 5G Use cases - 5G for Absolute BeginnersPart 10: 5G Use cases - 5G for Absolute Beginners
Part 10: 5G Use cases - 5G for Absolute Beginners
 
Big Data Evolution
Big Data EvolutionBig Data Evolution
Big Data Evolution
 
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
 

Similar to Federated Machine Learning Framework

Distributed deep learning reference architecture v3.2l
Distributed deep learning reference architecture v3.2lDistributed deep learning reference architecture v3.2l
Distributed deep learning reference architecture v3.2lGanesan Narayanasamy
 
TensorFlow 16: Building a Data Science Platform
TensorFlow 16: Building a Data Science Platform TensorFlow 16: Building a Data Science Platform
TensorFlow 16: Building a Data Science Platform Seldon
 
Kamanja: Driving Business Value through Real-Time Decisioning Solutions
Kamanja: Driving Business Value through Real-Time Decisioning SolutionsKamanja: Driving Business Value through Real-Time Decisioning Solutions
Kamanja: Driving Business Value through Real-Time Decisioning SolutionsGreg Makowski
 
Implementing AI: Running AI at the Edge: Adapting AI to available resource in...
Implementing AI: Running AI at the Edge: Adapting AI to available resource in...Implementing AI: Running AI at the Edge: Adapting AI to available resource in...
Implementing AI: Running AI at the Edge: Adapting AI to available resource in...KTN
 
In Network Computing Prototype Using P4 at KSC/KREONET 2019
In Network Computing Prototype Using P4 at KSC/KREONET 2019In Network Computing Prototype Using P4 at KSC/KREONET 2019
In Network Computing Prototype Using P4 at KSC/KREONET 2019Kentaro Ebisawa
 
Transcending IT Planetary Boundaries: Future of cloud, By Pradeep Gupta, Cha...
Transcending  IT Planetary Boundaries: Future of cloud, By Pradeep Gupta, Cha...Transcending  IT Planetary Boundaries: Future of cloud, By Pradeep Gupta, Cha...
Transcending IT Planetary Boundaries: Future of cloud, By Pradeep Gupta, Cha...HCL Infosystems
 
Dom introduction-website-v1.0
Dom introduction-website-v1.0Dom introduction-website-v1.0
Dom introduction-website-v1.0Cogility
 
Leverage Cloud Computing to Accelerate Development and Test
Leverage Cloud Computing to Accelerate Development and TestLeverage Cloud Computing to Accelerate Development and Test
Leverage Cloud Computing to Accelerate Development and TestRightScale
 
10 Ace 2010 Aras Federation Workshop
10 Ace 2010 Aras Federation Workshop10 Ace 2010 Aras Federation Workshop
10 Ace 2010 Aras Federation WorkshopProdeos
 
The Security Of Cloud Computing
The Security Of Cloud ComputingThe Security Of Cloud Computing
The Security Of Cloud ComputingJulie May
 
110404 Ddc Cloud Factory For Hosters Show
110404 Ddc Cloud Factory For Hosters Show110404 Ddc Cloud Factory For Hosters Show
110404 Ddc Cloud Factory For Hosters ShowEmile Voogt
 
Bhadale group of companies projects portfolio
Bhadale group of companies  projects portfolioBhadale group of companies  projects portfolio
Bhadale group of companies projects portfolioVijayananda Mohire
 
Inteligencia artificial, open source e IBM Call for Code
Inteligencia artificial, open source e IBM Call for CodeInteligencia artificial, open source e IBM Call for Code
Inteligencia artificial, open source e IBM Call for CodeLuciano Resende
 
IBM COE AI Lab at your University
IBM COE AI Lab at your University IBM COE AI Lab at your University
IBM COE AI Lab at your University Ganesan Narayanasamy
 
How to build containerized architectures for deep learning - Data Festival 20...
How to build containerized architectures for deep learning - Data Festival 20...How to build containerized architectures for deep learning - Data Festival 20...
How to build containerized architectures for deep learning - Data Festival 20...Antje Barth
 
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...Amit Sheth
 
IRJET - Multitenancy using Cloud Computing Features
IRJET - Multitenancy using Cloud Computing FeaturesIRJET - Multitenancy using Cloud Computing Features
IRJET - Multitenancy using Cloud Computing FeaturesIRJET Journal
 
IRJET- Improving Data Spillage in Multi-Cloud Capacity Administration
IRJET- Improving Data Spillage in Multi-Cloud Capacity AdministrationIRJET- Improving Data Spillage in Multi-Cloud Capacity Administration
IRJET- Improving Data Spillage in Multi-Cloud Capacity AdministrationIRJET Journal
 
IRJET- Improving Data Spillage in Multi-Cloud Capacity Administration
IRJET-  	  Improving Data Spillage in Multi-Cloud Capacity AdministrationIRJET-  	  Improving Data Spillage in Multi-Cloud Capacity Administration
IRJET- Improving Data Spillage in Multi-Cloud Capacity AdministrationIRJET Journal
 

Similar to Federated Machine Learning Framework (20)

Distributed deep learning reference architecture v3.2l
Distributed deep learning reference architecture v3.2lDistributed deep learning reference architecture v3.2l
Distributed deep learning reference architecture v3.2l
 
TensorFlow 16: Building a Data Science Platform
TensorFlow 16: Building a Data Science Platform TensorFlow 16: Building a Data Science Platform
TensorFlow 16: Building a Data Science Platform
 
Kamanja: Driving Business Value through Real-Time Decisioning Solutions
Kamanja: Driving Business Value through Real-Time Decisioning SolutionsKamanja: Driving Business Value through Real-Time Decisioning Solutions
Kamanja: Driving Business Value through Real-Time Decisioning Solutions
 
Mohini_Singh_CV
Mohini_Singh_CVMohini_Singh_CV
Mohini_Singh_CV
 
Implementing AI: Running AI at the Edge: Adapting AI to available resource in...
Implementing AI: Running AI at the Edge: Adapting AI to available resource in...Implementing AI: Running AI at the Edge: Adapting AI to available resource in...
Implementing AI: Running AI at the Edge: Adapting AI to available resource in...
 
In Network Computing Prototype Using P4 at KSC/KREONET 2019
In Network Computing Prototype Using P4 at KSC/KREONET 2019In Network Computing Prototype Using P4 at KSC/KREONET 2019
In Network Computing Prototype Using P4 at KSC/KREONET 2019
 
Transcending IT Planetary Boundaries: Future of cloud, By Pradeep Gupta, Cha...
Transcending  IT Planetary Boundaries: Future of cloud, By Pradeep Gupta, Cha...Transcending  IT Planetary Boundaries: Future of cloud, By Pradeep Gupta, Cha...
Transcending IT Planetary Boundaries: Future of cloud, By Pradeep Gupta, Cha...
 
Dom introduction-website-v1.0
Dom introduction-website-v1.0Dom introduction-website-v1.0
Dom introduction-website-v1.0
 
Leverage Cloud Computing to Accelerate Development and Test
Leverage Cloud Computing to Accelerate Development and TestLeverage Cloud Computing to Accelerate Development and Test
Leverage Cloud Computing to Accelerate Development and Test
 
10 Ace 2010 Aras Federation Workshop
10 Ace 2010 Aras Federation Workshop10 Ace 2010 Aras Federation Workshop
10 Ace 2010 Aras Federation Workshop
 
The Security Of Cloud Computing
The Security Of Cloud ComputingThe Security Of Cloud Computing
The Security Of Cloud Computing
 
110404 Ddc Cloud Factory For Hosters Show
110404 Ddc Cloud Factory For Hosters Show110404 Ddc Cloud Factory For Hosters Show
110404 Ddc Cloud Factory For Hosters Show
 
Bhadale group of companies projects portfolio
Bhadale group of companies  projects portfolioBhadale group of companies  projects portfolio
Bhadale group of companies projects portfolio
 
Inteligencia artificial, open source e IBM Call for Code
Inteligencia artificial, open source e IBM Call for CodeInteligencia artificial, open source e IBM Call for Code
Inteligencia artificial, open source e IBM Call for Code
 
IBM COE AI Lab at your University
IBM COE AI Lab at your University IBM COE AI Lab at your University
IBM COE AI Lab at your University
 
How to build containerized architectures for deep learning - Data Festival 20...
How to build containerized architectures for deep learning - Data Festival 20...How to build containerized architectures for deep learning - Data Festival 20...
How to build containerized architectures for deep learning - Data Festival 20...
 
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
 
IRJET - Multitenancy using Cloud Computing Features
IRJET - Multitenancy using Cloud Computing FeaturesIRJET - Multitenancy using Cloud Computing Features
IRJET - Multitenancy using Cloud Computing Features
 
IRJET- Improving Data Spillage in Multi-Cloud Capacity Administration
IRJET- Improving Data Spillage in Multi-Cloud Capacity AdministrationIRJET- Improving Data Spillage in Multi-Cloud Capacity Administration
IRJET- Improving Data Spillage in Multi-Cloud Capacity Administration
 
IRJET- Improving Data Spillage in Multi-Cloud Capacity Administration
IRJET-  	  Improving Data Spillage in Multi-Cloud Capacity AdministrationIRJET-  	  Improving Data Spillage in Multi-Cloud Capacity Administration
IRJET- Improving Data Spillage in Multi-Cloud Capacity Administration
 

Recently uploaded

9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Colleen Farrelly
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 

Recently uploaded (20)

9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 

Federated Machine Learning Framework

  • 1. Federated Learning Hifaz Hassan and Velmurugan Ramadasan IBM Research Singapore
  • 2. Agenda 2 © Copyright IBM Corporation 2020  Federated Learning concepts and architecture overview  IBM Federated Learning approach  Live interactive Federated Learning demo  Q&A
  • 3. Enterprise Data is Fragmented  Moving data across silos is costly, risky, and slow  Duplication is expensive  AI applications must be built and run across different clouds  Data privacy regulations prohibit cross—border data transfers 3 3 © Copyright IBM Corporation 2020
  • 4. What is Federate d Learning ? © Copyright IBM Corporation 2020  Provides an approach to train machine learning models in which data cannot be centralized for a training process.  Distributed machine learning process in which multiple participants (parties) collaborate to train machine learning model without sharing data  Interaction between parties via learning protocol coordinated by aggregator.
  • 5. Edge and Embedded • Predictive Maintenance at the Edge • Process Optimization Consortia • Healthcare – Patient Analytics, Computer Vision • Financial services – Fraud Detection, Money Laundering Mobile Applications • Location Driven Predictions • Auto Completion Enterprises Need Federated Learning Federated Learning can be applied in a wide variety of use cases across hybrid cloud, multi-cloud, mobile and edge devices. 5 © Copyright IBM Corporation 2020
  • 6. Basic Federated Learning 6 … Aggregator (A) D1 D2 DN Party 1 (P1) Party 2 (P2) Party N (PN) © Copyright IBM Corporation 2020
  • 7. Basic Federated Learning 7 … Aggregator (A) Q D1 Q Q D2 DN Party 1 (P1) Party 2 (P2) Party N (PN) 1. Aggregator queries each parties about information necessary for learning a predictive model. (e.g. Weights, Gradients, Samples Counts). © Copyright IBM Corporation 2020
  • 8. Basic Federated Learning 8 … Aggregator (A) Q D1 Q Q D2 DN Party 1 (P1) Party 2 (P2) Party N (PN) 1. Aggregator queries each parties about information necessary for learning a predictive model. (e.g. Weights, Gradients, Samples Counts). 2. Given the query (Q), each party computes a reply (R) based on their own local data (D). R1=Q(D1) R2=Q(D2) RN=Q(DN) © Copyright IBM Corporation 2020
  • 9. Basic Federated Learning 9 … Aggregator (A) R1 Q D1 R2 Q RN Q D2 DN Party 1 (P1) Party 2 (P2) Party N (PN) 1. Aggregator queries each parties about information necessary for learning a predictive model. (e.g. Weights, Gradients, Samples Counts). 2. Given the query (Q), each party computes a reply (R) based on their own local data (D). R1=Q(D1) R2=Q(D2) RN=Q(DN) 3. Each party then sends its computed reply (R) back to the aggregator, where the results are then fused together as a single model (M). Model (M) F(R1, R2, …, RN) © Copyright IBM Corporation 2020
  • 10. Basic Federated Learning 10 … Aggregator (A) R1 Q D1 R2 Q RN Q D2 DN Party 1 (P1) Party 2 (P2) Party N (PN) 1. Aggregator queries each parties about information necessary for learning a predictive model. (e.g. Weights, Gradients, Samples Counts). 2. Given the query (Q), each party computes a reply (R) based on their own local data (D). R1=Q(D1) R2=Q(D2) RN=Q(DN) 3. Each party then sends its computed reply (R) back to the aggregator, where the results are then fused together as a single model (M). Model (M) F(R1, R2, …, RN) Key Point: Raw data from each party is never shared, it remains where it is stored. © Copyright IBM Corporation 2020
  • 11. Definition of an FL Job Aggregator Side Fusion Algorithm Local Training Data Pre-Processing For each party …
  • 12. IBM FL Approach 12 © Copyright IBM Corporation 2020  Python based framework which provides fabric to implement FL applications  Supports wide variety of machine learning models like tensorflow, pytorch, sci-kit learn and more  Provides communication layer with many in-built connectors like flask, web sockets and RabbitMQ  Supports wide variety of fusion algorithms and other security features like crypto, differential privacy and more  Available as IBM FL CE library for developer community and IBM Cloud service for enterprise deployment (Beta Release)
  • 13. IBM FL Approach … Aggregator (A) D1 D2 DN Party 1 (P1) Party 2 (P2) Party N (PN) © Copyright IBM Corporation 2020 Party Client Library Party Client Library Party Client Library Aggregator Fusion Algo Local Model Local Model
  • 14. IBM Federated Learning Features Fusion Algos • FedAvg McMahan et al. • FedAvgPlus • Cordinate Median • PFNMYurochkin et al. • Krum • Zeno and more Supported ML Libraries • Sklearn • Keras • Tensorflow • Pytorch • RLlib Supported Models • Neural networks • XGBoost • Linear/Logistic regressors/classifiers • Decision Tree ID3 • K-means • Reinforcement Learning Connectivity • Web sockets • gRPC • Flask • Rabbit MQ FL Process Mgmt • Early termination • Quorum support Data Handlers • MNIST • FEMNIST • Adult • Diabetes • CIFAR-10 and more Others • Crypto • Experiment Manager • Differential Privacy • Fairness * Features only available in IBM Cloud version
  • 15. Configurable Federated Learning Stacks 15 15 FLConnection ProtoHandler FusionHandler FLModel Aggregator FLConnection PartyProtoHandler TrainingHandler FLModel Party DataHandler Aggregator Stack Party Stack © Copyright IBM Corporation 2020
  • 16. Configurable Communication 16 16 FLConnection ProtoHandler FusionHandler FLModel Aggregator FLConnection PartyProtoHandler TrainingHandler FLModel Party DataHandler Aggregator Stack Party Stack © Copyright IBM Corporation 2020 Communications for deployment scenario (https/Flask, RabbitMQ, Web- socket, …)
  • 17. Supports Learning Protocol Innovation 17 17 FLConnection ProtoHandler FusionHandler FLModel Aggregator FLConnection PartyProtoHandler TrainingHandler FLModel Party DataHandler Aggregator Stack Party Stack © Copyright IBM Corporation 2020 Different learning protocols
  • 18. Abstracts from ML Library used 18 18 FLConnection ProtoHandler FusionHandler FLModel Aggregator FLConnection PartyProtoHandler TrainingHandler FLModel Party DataHandler Aggregator Stack Party Stack © Copyright IBM Corporation 2020 Wraps ML libra- ries such as Keras, PyTorch, RLLib, SKLearn Classifiers, ..
  • 19. New FL Algos are matching pairs of Fusion and Training Handlers 19 19 FLConnection ProtoHandler FusionHandler FLModel Aggregator FLConnection PartyProtoHandler TrainingHandler FLModel Party DataHandler Aggregator Stack Party Stack © Copyright IBM Corporation 2020 Aggregator side FL code … Party side FL code …
  • 20. Data Handlers: Read Data Party-Specifically 20 20 FLConnection ProtoHandler FusionHandler FLModel Aggregator FLConnection PartyProtoHandler TrainingHandler FLModel Party DataHandler Aggregator Stack Party Stack © Copyright IBM Corporation 2020
  • 21. 21 © Copyright IBM Corporation 2020 Steps to train a neural network in IBM Federated learning 1. Specify any Keras, Pytorch, or TensorFlow model 2. Configure the federation, select the fusion algorithm AggregatorConfig File Snippet Party Config File Snippet 3. Train In all this process, parties keep the training data to themselves.
  • 22. 22 © Copyright IBM Corporation 2020 IBMFL Job FLow
  • 23. IBM FL Community Edition 23 Github: https://github.com/IBM/federated- learning-lib Getting Started :- 1. examples 2. Experiment Manager notebook Web site: https://ibmfl.mybluemix.net Slack Channel : https://ibm-fl.slack.com/ Distributes as WHL file, not open source
  • 24. 24 © Copyright IBM Corporation 2020 Live Federated Learning Demo Train TensorFlow model using MNIST dataset
  • 25. Thank you © Copyright IBM Corporation 2020. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. Any statement of direction represents IBM’s current intent, is subject to change or withdrawal, and represent only goals and objectives. IBM, the IBM logo, and ibm.com are trademarks of IBM Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available at Copyright and trademark information. IBM Research AI/ © 2020 IBM Corporation 25 IBM FL Web Site https://ibmfl.mybluemix.net https://arxiv.org/abs/2007.10987 IBM FL White Paper Github https://github.com/IBM/federated-learning-lib

Editor's Notes

  1. https://event.on24.com/wcc/r/2282646/3912A6162DF3F3014A7D7CEC244A8E08
  2. Here are a subset of use cases and industries where Federated Learning is already being used. There are many use cases for Financial Services, Manufacturing, Healthcare, and Mobile Applications. Something common across the use cases and industries are that they require Strict data privacy rules, both for regulatory and competitive reasons ---- Traditionally, banks use rule-based and manual efforts to detect fraud and risk, which is prone to human error Risky small and micro enterprise loans are an important rising indicator of bank success, without credit risk identification Save time from banks using manual and rule-based human identification of fraud and increase accuracy which saves money and better customer experience Webank united several banks and trained anti money laundering models jointly LINK High, given IBM’s expertise in the area of Fraud analysis Predictive Maintenance & Quality (Manufacturing) Largest amount of data from sensors/IOT devices on individual machines Data cannot be gathered fast enough in one place to do analysis Unscheduled machine break down is a top challenge that can derail the business Achieve high asset utilization and savings in operational costs Model trained on many factories’ data is more robust in predicting failures ByteLake, an AI consultancy based in Poland, recently released a POC in concert with Lenovo for predictive maintenance LINK High, as IBM offers a PMQ solution that can be applied Patient Analytics (Healthcare) Cannot freely share or pool patient data due to policies like GDPR, HIPAA, CCPA etc. Need for more complex analysis data sets, such as medical images or from medical sensors Data is also a valuable proprietary resource for pharma/healthcare organizations Delivers exceptional performance in deep learning while keeping patient data secure and private Using pre-trained models and transfer learning techniques, NVIDIA AI assists radiologists in labeling, reducing the time for complex 3D studies from hours to minutes LINK High, as IBM offers strong capabilities in medical imaging analysis (Watson) and IOT Motivation to adopt FL Solution Benefits Competitive Use cases Ability for IBM to Execute this use case