SlideShare a Scribd company logo
1 of 19
Download to read offline
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
GTG-CoL: A Decentralized Fed. Learning Based
on Consensus for Dynamic Networks
M. Rebollo J. Rincón L. Hernández
F. Enguix C. Carrascosa
VRAIN. Valencian Research Inst. for AI
Univ. Politècnica de València (Spain)
Practical Applications of Agents and Multiagent Systems
Guimarães 2023
c b a
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Problem
Goal
Distributed federated learning (FL) for agents in rural areas, with
connectivity issues
Previous work:
FL using consensus
Study of best network architecture -¿ GTG
Contribution:
Extension to dynamic networks
Integration into FIVE (virtual env.)
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Federated Learning
Brendan McMahan and Daniel Ramage. Federated Learning: Collaborative Machine Learning without Centralized
Training Data. Google Research, 2017
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Consensus Process in Networks
Process to share information on a
network, ruled by
xi (t+1) = xi (t)+ε
X
j∈Ni
[xj(t) − xi (t)]
Information from direct neighbors
only 0 5 10 15 20 25
#iter
0.2
0.3
0.4
0.5
0.6
0.7
0.8
x
i
Synchronous Consensus
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Federated Learning by Consensus
n identical agents
No central server
Certain degree of
parallelization
Reduces communication
overload (depending on
topology)
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Co-Learning Algorithm
1: for f ← 1, e do
2: W ← Train(f )
3: end for
4: Xi (0) ← Wj
5: for t ← 1, c do
6: Receive Xj(t) from ai neighbors
7: Xi (t + 1) ← Xi (t) + ε
P
j∈Ni
[Xj(t) − Xi (t)]
8: Send Xi (t + 1) to ai neighbors
9: end for
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Dynamic Networks
network topology does not affect the result, but to the
convergence speed
moving agents
agents linked to nearby neighbors
convergence guaranteed for switching topologies (Olfati, 2007)
study during hyperperiod
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 20 40 60 80 100 120 140 160 180 200
time
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
pos
Speed
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Test 1: One Orchard
All agents moving in the same direction
At least, one neighbor
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Test 2: Two Perpendicular Orchards
Adjacent fields with different directions
Some agents act as bridges
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Test 3: Two Orchards + Free Agent
Additional agent following a random walk (e.g. a drone)
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Network Characterization
degree: the higher, the higher communication overload
path length: the longer, the slower convergence for consensus
0 0.2 0.4 0.6 0.8 1
1
0.8
1
1.2
1.4
1.6
1.8
2
2.2
2.4
2.6
path
length
1
2
3
4
5
6
7
8
9
degree
One orchard
0 0.2 0.4 0.6 0.8 1
1
0.5
1
1.5
2
2.5
3
3.5
path
length
0
2
4
6
8
10
12
14
16
18
20
degree
Two perpendicular orchards
0 0.2 0.4 0.6 0.8 1
1
0
0.5
1
1.5
2
2.5
3
path
length
0
1
2
3
4
5
6
7
degree
Two orchards plus dron
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Network Efficiency
How robust the network is when agents fail
random failure: similar efficiency
deliberate attack: sensitive to hubs
0 5 10 15 20 25
#removed
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
E/EG
Efficiency under random failures
test1
test2
test3
0 5 10 15 20 25
#removed
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
E/EG
Efficiency under targeted attack (degree)
test1
test2
test3
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
FIVE Architecture
FIVE: Flexible Intelligent
Virtual Environment
SPADE agents + Unity
all the SPADE agents
have a counterpart in
FIVE managing the avatar
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Environment Design
Based on text files (easily
configurable)
map.txt: with elements as
letters
map config: general
aspect of the items
map.json: unique
elements
configuration:
FIVE-SPADE agents
connection
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
A Simulation of Fruit Orchard Smart Areas
agents control tractors moving through fruit orchards
they can communicate with other agents depending on this
range
tractor 2: double speed + lane changes
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
FIVE simulation (cenital)
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
FIVE simulation (3D)
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Analytical Results
hyperperiod t = 126
two stable teams + agent as a bridge
consensus convergence in steps
0 50 100 150 200 250 300
epoch
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
x
i
Consensus Evolution
t=126
t=252
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus
Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions
Conclusions
Distributed Federated Learning using consensus
Adapted to dynamic networks. Geographical Threshold Graph
Characterization of the generated networks: communication
overload and failure tolerance
Integrated into a 3D simulator (FIVE)
Work in progress:
environment generation from aerial pictures
@mrebollo vRAIN-UPV
GTG-CoL: A new DFL based on Consensus

More Related Content

Similar to GTG-CoL: A Decentralized Federated Learning Based on Consensus for Dynamic Networks

Full resume dr_russell_john_childs_2013
Full resume dr_russell_john_childs_2013Full resume dr_russell_john_childs_2013
Full resume dr_russell_john_childs_2013
Russell Childs
 
convolutional_neural_networks.pptx
convolutional_neural_networks.pptxconvolutional_neural_networks.pptx
convolutional_neural_networks.pptx
MsKiranSingh
 
Ncct Ieee Software Abstract Collection Volume 2 50+ Abst
Ncct   Ieee Software Abstract Collection Volume 2   50+ AbstNcct   Ieee Software Abstract Collection Volume 2   50+ Abst
Ncct Ieee Software Abstract Collection Volume 2 50+ Abst
ncct
 
OpenFlow in the access - pushing OpenFlow switches - Richard G Clegg
OpenFlow in the access - pushing OpenFlow switches - Richard G CleggOpenFlow in the access - pushing OpenFlow switches - Richard G Clegg
OpenFlow in the access - pushing OpenFlow switches - Richard G Clegg
CPqD
 
Victoria A. White Head, Computing Division Fermilab
Victoria A. White Head, Computing Division FermilabVictoria A. White Head, Computing Division Fermilab
Victoria A. White Head, Computing Division Fermilab
Videoguy
 
AN EFFICIENT SECURE CRYPTOGRAPHY SCHEME FOR NEW ML-BASED RPL ROUTING PROTOCOL...
AN EFFICIENT SECURE CRYPTOGRAPHY SCHEME FOR NEW ML-BASED RPL ROUTING PROTOCOL...AN EFFICIENT SECURE CRYPTOGRAPHY SCHEME FOR NEW ML-BASED RPL ROUTING PROTOCOL...
AN EFFICIENT SECURE CRYPTOGRAPHY SCHEME FOR NEW ML-BASED RPL ROUTING PROTOCOL...
IJNSA Journal
 
Comparing Write-Ahead Logging and the Memory Bus Using
Comparing Write-Ahead Logging and the Memory Bus UsingComparing Write-Ahead Logging and the Memory Bus Using
Comparing Write-Ahead Logging and the Memory Bus Using
jorgerodriguessimao
 

Similar to GTG-CoL: A Decentralized Federated Learning Based on Consensus for Dynamic Networks (20)

Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018
Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018
Transfer Learning and Domain Adaptation - Ramon Morros - UPC Barcelona 2018
 
Simultech 2020 21
Simultech 2020 21Simultech 2020 21
Simultech 2020 21
 
Understanding operarinal 5 g
Understanding operarinal 5 gUnderstanding operarinal 5 g
Understanding operarinal 5 g
 
Resume yue yang
Resume yue yangResume yue yang
Resume yue yang
 
Global Network Advancement Group - Next Generation Network-Integrated Systems
Global Network Advancement Group - Next Generation Network-Integrated SystemsGlobal Network Advancement Group - Next Generation Network-Integrated Systems
Global Network Advancement Group - Next Generation Network-Integrated Systems
 
Global Network Advancement Group Next Generation Network-Integrated Sys...
      Global Network Advancement GroupNext Generation Network-Integrated Sys...      Global Network Advancement GroupNext Generation Network-Integrated Sys...
Global Network Advancement Group Next Generation Network-Integrated Sys...
 
Full resume dr_russell_john_childs_2013
Full resume dr_russell_john_childs_2013Full resume dr_russell_john_childs_2013
Full resume dr_russell_john_childs_2013
 
convolutional_neural_networks.pptx
convolutional_neural_networks.pptxconvolutional_neural_networks.pptx
convolutional_neural_networks.pptx
 
Ncct Ieee Software Abstract Collection Volume 2 50+ Abst
Ncct   Ieee Software Abstract Collection Volume 2   50+ AbstNcct   Ieee Software Abstract Collection Volume 2   50+ Abst
Ncct Ieee Software Abstract Collection Volume 2 50+ Abst
 
Richard - MedComNet Panel - Final Version.pdf
Richard - MedComNet Panel - Final Version.pdfRichard - MedComNet Panel - Final Version.pdf
Richard - MedComNet Panel - Final Version.pdf
 
OpenFlow in the access - pushing OpenFlow switches - Richard G Clegg
OpenFlow in the access - pushing OpenFlow switches - Richard G CleggOpenFlow in the access - pushing OpenFlow switches - Richard G Clegg
OpenFlow in the access - pushing OpenFlow switches - Richard G Clegg
 
Research portfolio
Research portfolio Research portfolio
Research portfolio
 
Co-Learning: Consensus-based Learning for Multi-Agent Systems
 Co-Learning: Consensus-based Learning for Multi-Agent Systems Co-Learning: Consensus-based Learning for Multi-Agent Systems
Co-Learning: Consensus-based Learning for Multi-Agent Systems
 
9-2020.pdf
9-2020.pdf9-2020.pdf
9-2020.pdf
 
1809.05680.pdf
1809.05680.pdf1809.05680.pdf
1809.05680.pdf
 
Riding the Light: How Dedicated Optical Circuits are Enabling New Science
Riding the Light: How Dedicated Optical Circuits are Enabling New ScienceRiding the Light: How Dedicated Optical Circuits are Enabling New Science
Riding the Light: How Dedicated Optical Circuits are Enabling New Science
 
Transfer Learning and Domain Adaptation (DLAI D5L2 2017 UPC Deep Learning for...
Transfer Learning and Domain Adaptation (DLAI D5L2 2017 UPC Deep Learning for...Transfer Learning and Domain Adaptation (DLAI D5L2 2017 UPC Deep Learning for...
Transfer Learning and Domain Adaptation (DLAI D5L2 2017 UPC Deep Learning for...
 
Victoria A. White Head, Computing Division Fermilab
Victoria A. White Head, Computing Division FermilabVictoria A. White Head, Computing Division Fermilab
Victoria A. White Head, Computing Division Fermilab
 
AN EFFICIENT SECURE CRYPTOGRAPHY SCHEME FOR NEW ML-BASED RPL ROUTING PROTOCOL...
AN EFFICIENT SECURE CRYPTOGRAPHY SCHEME FOR NEW ML-BASED RPL ROUTING PROTOCOL...AN EFFICIENT SECURE CRYPTOGRAPHY SCHEME FOR NEW ML-BASED RPL ROUTING PROTOCOL...
AN EFFICIENT SECURE CRYPTOGRAPHY SCHEME FOR NEW ML-BASED RPL ROUTING PROTOCOL...
 
Comparing Write-Ahead Logging and the Memory Bus Using
Comparing Write-Ahead Logging and the Memory Bus UsingComparing Write-Ahead Logging and the Memory Bus Using
Comparing Write-Ahead Logging and the Memory Bus Using
 

More from Miguel Rebollo

More from Miguel Rebollo (20)

Análisis de la red de autores de ciencia ficción de Clarkesworld
Análisis de la red de autores de ciencia ficción de ClarkesworldAnálisis de la red de autores de ciencia ficción de Clarkesworld
Análisis de la red de autores de ciencia ficción de Clarkesworld
 
Y sin embargo... se mueve. Dinámica de las redes complejas
Y sin embargo... se mueve. Dinámica de las redes complejasY sin embargo... se mueve. Dinámica de las redes complejas
Y sin embargo... se mueve. Dinámica de las redes complejas
 
Exámenes en grupo y pruebas de corrección como alternativas a la evaluación
Exámenes en grupo y pruebas de corrección como alternativas a la evaluaciónExámenes en grupo y pruebas de corrección como alternativas a la evaluación
Exámenes en grupo y pruebas de corrección como alternativas a la evaluación
 
Gamification. Key Concepts
Gamification. Key ConceptsGamification. Key Concepts
Gamification. Key Concepts
 
Using Distributed Risk Maps by Consensus as a Complement to Contact Tracing Apps
Using Distributed Risk Maps by Consensus as a Complement to Contact Tracing AppsUsing Distributed Risk Maps by Consensus as a Complement to Contact Tracing Apps
Using Distributed Risk Maps by Consensus as a Complement to Contact Tracing Apps
 
Distributed Ledger and Robust Consensus for Agreements
Distributed Ledger and Robust Consensus for AgreementsDistributed Ledger and Robust Consensus for Agreements
Distributed Ledger and Robust Consensus for Agreements
 
Detección de nodos tramposos en procesos de consenso en redes
Detección de nodos tramposos en procesos de consenso en redesDetección de nodos tramposos en procesos de consenso en redes
Detección de nodos tramposos en procesos de consenso en redes
 
La hora del código: ApS para fomentar el pensamiento computacional
La hora del código: ApS para fomentar el pensamiento computacionalLa hora del código: ApS para fomentar el pensamiento computacional
La hora del código: ApS para fomentar el pensamiento computacional
 
Procesos de enseñanza-aprendizaje en red
Procesos de enseñanza-aprendizaje en redProcesos de enseñanza-aprendizaje en red
Procesos de enseñanza-aprendizaje en red
 
desarrollo de competencias a través de narrativas transmedia
desarrollo de competencias a través de narrativas transmediadesarrollo de competencias a través de narrativas transmedia
desarrollo de competencias a través de narrativas transmedia
 
Distributed Group Analytical Hierarchical Process by Consensus
 Distributed Group Analytical Hierarchical Process by Consensus Distributed Group Analytical Hierarchical Process by Consensus
Distributed Group Analytical Hierarchical Process by Consensus
 
Análisis de ciudades a través de su actividad en redes sociales
Análisis de ciudades a través de su actividad en redes socialesAnálisis de ciudades a través de su actividad en redes sociales
Análisis de ciudades a través de su actividad en redes sociales
 
Análisis de datos en redes sociales
Análisis de datos en redes socialesAnálisis de datos en redes sociales
Análisis de datos en redes sociales
 
The multigent Layer for CALMeD SURF
The multigent Layer for CALMeD SURFThe multigent Layer for CALMeD SURF
The multigent Layer for CALMeD SURF
 
Narrativa transmedia en el aula
Narrativa transmedia en el aulaNarrativa transmedia en el aula
Narrativa transmedia en el aula
 
Using geo-tagged sentiment to better understand social interactions
 Using geo-tagged sentiment to better understand social interactions Using geo-tagged sentiment to better understand social interactions
Using geo-tagged sentiment to better understand social interactions
 
Transport Network Analysis for Smart Open Fleets
Transport Network Analysis for Smart Open FleetsTransport Network Analysis for Smart Open Fleets
Transport Network Analysis for Smart Open Fleets
 
Análisis de sentimientos en Twitter mediante HMM
Análisis de sentimientos en Twitter mediante HMMAnálisis de sentimientos en Twitter mediante HMM
Análisis de sentimientos en Twitter mediante HMM
 
La (poca) soledad del corredor de fondo
La (poca) soledad del corredor de fondoLa (poca) soledad del corredor de fondo
La (poca) soledad del corredor de fondo
 
U-Tool: A Urban-Toolkit for enhancing city maps through citizens’ activity
U-Tool: A Urban-Toolkit for enhancing city maps through citizens’ activityU-Tool: A Urban-Toolkit for enhancing city maps through citizens’ activity
U-Tool: A Urban-Toolkit for enhancing city maps through citizens’ activity
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

GTG-CoL: A Decentralized Federated Learning Based on Consensus for Dynamic Networks

  • 1. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions GTG-CoL: A Decentralized Fed. Learning Based on Consensus for Dynamic Networks M. Rebollo J. Rincón L. Hernández F. Enguix C. Carrascosa VRAIN. Valencian Research Inst. for AI Univ. Politècnica de València (Spain) Practical Applications of Agents and Multiagent Systems Guimarães 2023 c b a @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 2. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Problem Goal Distributed federated learning (FL) for agents in rural areas, with connectivity issues Previous work: FL using consensus Study of best network architecture -¿ GTG Contribution: Extension to dynamic networks Integration into FIVE (virtual env.) @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 3. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Federated Learning Brendan McMahan and Daniel Ramage. Federated Learning: Collaborative Machine Learning without Centralized Training Data. Google Research, 2017 @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 4. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Consensus Process in Networks Process to share information on a network, ruled by xi (t+1) = xi (t)+ε X j∈Ni [xj(t) − xi (t)] Information from direct neighbors only 0 5 10 15 20 25 #iter 0.2 0.3 0.4 0.5 0.6 0.7 0.8 x i Synchronous Consensus @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 5. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Federated Learning by Consensus n identical agents No central server Certain degree of parallelization Reduces communication overload (depending on topology) @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 6. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Co-Learning Algorithm 1: for f ← 1, e do 2: W ← Train(f ) 3: end for 4: Xi (0) ← Wj 5: for t ← 1, c do 6: Receive Xj(t) from ai neighbors 7: Xi (t + 1) ← Xi (t) + ε P j∈Ni [Xj(t) − Xi (t)] 8: Send Xi (t + 1) to ai neighbors 9: end for @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 7. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Dynamic Networks network topology does not affect the result, but to the convergence speed moving agents agents linked to nearby neighbors convergence guaranteed for switching topologies (Olfati, 2007) study during hyperperiod 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 20 40 60 80 100 120 140 160 180 200 time 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 pos Speed @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 8. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Test 1: One Orchard All agents moving in the same direction At least, one neighbor @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 9. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Test 2: Two Perpendicular Orchards Adjacent fields with different directions Some agents act as bridges @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 10. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Test 3: Two Orchards + Free Agent Additional agent following a random walk (e.g. a drone) @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 11. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Network Characterization degree: the higher, the higher communication overload path length: the longer, the slower convergence for consensus 0 0.2 0.4 0.6 0.8 1 1 0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 path length 1 2 3 4 5 6 7 8 9 degree One orchard 0 0.2 0.4 0.6 0.8 1 1 0.5 1 1.5 2 2.5 3 3.5 path length 0 2 4 6 8 10 12 14 16 18 20 degree Two perpendicular orchards 0 0.2 0.4 0.6 0.8 1 1 0 0.5 1 1.5 2 2.5 3 path length 0 1 2 3 4 5 6 7 degree Two orchards plus dron @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 12. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Network Efficiency How robust the network is when agents fail random failure: similar efficiency deliberate attack: sensitive to hubs 0 5 10 15 20 25 #removed 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 E/EG Efficiency under random failures test1 test2 test3 0 5 10 15 20 25 #removed 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 E/EG Efficiency under targeted attack (degree) test1 test2 test3 @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 13. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions FIVE Architecture FIVE: Flexible Intelligent Virtual Environment SPADE agents + Unity all the SPADE agents have a counterpart in FIVE managing the avatar @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 14. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Environment Design Based on text files (easily configurable) map.txt: with elements as letters map config: general aspect of the items map.json: unique elements configuration: FIVE-SPADE agents connection @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 15. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions A Simulation of Fruit Orchard Smart Areas agents control tractors moving through fruit orchards they can communicate with other agents depending on this range tractor 2: double speed + lane changes @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 16. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions FIVE simulation (cenital) @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 17. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions FIVE simulation (3D) @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 18. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Analytical Results hyperperiod t = 126 two stable teams + agent as a bridge consensus convergence in steps 0 50 100 150 200 250 300 epoch 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 x i Consensus Evolution t=126 t=252 @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus
  • 19. Introduction Co-Learning Network Characterization Digital Twin with FIVE Case Study Conclusions Conclusions Distributed Federated Learning using consensus Adapted to dynamic networks. Geographical Threshold Graph Characterization of the generated networks: communication overload and failure tolerance Integrated into a 3D simulator (FIVE) Work in progress: environment generation from aerial pictures @mrebollo vRAIN-UPV GTG-CoL: A new DFL based on Consensus