SymetryML6.1
  • Introduction
  • Guides
    • Onboarding Guide
    • Technical Requirements
    • Admin User Guide
    • Installation Guide
      • Installation Guide - GPU
      • Installation Guide - Spark
  • SymetryML GUI
    • ML Toolkit
      • The SymetryML Difference
      • Data Mining Lifecycle
      • SymetryML Concepts
      • Data Sources
      • Streams
      • Encoders
      • Projects
      • Models
    • Sequence Models
    • SymetryML Federated Learning
      • Creating the Federation
      • Load data to local project
      • Requesting Federation Information from Admin Node
      • Joining a Federation with a peer node
      • Federated Data & Modelling
      • Appendix
    • DEM Generator
  • SymetryML Rest Client
    • REST API Reference Guide
      • SymetryML REST API Security
      • SymetryML JSON API Objects
      • Encoder Object REST API
      • SymetryML Projects REST API
      • About Federated Learning
      • Hipaa Compliance and Federated Learning
      • Federated Learning API
        • Federated Learning Topologies
        • Federated Learning with Nats
        • Federated Learning with AWS
        • Fusion Projects
      • Exploration API
      • Modeling API
      • Exporting and Importing Model
      • Third Party Model Rest API
      • SymetryML Job Information
      • Prediction API
      • Data Source API
      • Project Data Source Logs
      • Stream Data Source API
      • AutoML with SymetryML
      • Transform Dataframe
      • Select Model with SymetryML
      • Auto Select with SymetryML
      • Tasks API
      • Miscellaneous API
      • WebSocket API
      • Appendix A JSON Data Structure Schema
      • Appendix B Sample Code
  • SymetryML SaaS
    • SaaS Homepage
    • SaaS Dashboard
    • SaaS Account
    • SaaS Users
    • SaaS Licence
Powered by GitBook
On this page
  • Various Topologies Available for Federated Learning with SymetryML
  • Decentralized Federated Learning:
  • Centralized Federated Learning
  • Hybrid Federated Learning
  1. SymetryML Rest Client
  2. REST API Reference Guide
  3. Federated Learning API

Federated Learning Topologies

This section describes the various network topologies available when building federated learning with SymetryML.

PreviousFederated Learning APINextFederated Learning with Nats

Last updated 2 years ago

Various Topologies Available for Federated Learning with SymetryML

  1. Decentralized: In a decentralized setting every peer will sync their SymetryML Project with the other peers at some regular periodic interval. Please see below for an example of a deployment with 3 nodes.

  2. Centralized / Hierarchical: In a centralized setting a Master aggregator node exists, and only it has a global view on the ‘data’ – again it does not access the data but only aggregates the SymetryML projects of all the individual peers. Please see below for details.

  3. Hybrid: It’s actually possible to compose hybrid topologies, involving combinations of Decentralized & Centralized topologies. Please see n below for details.

Decentralized Federated Learning:

In a decentralized federation each peer shares their PSR with all other peers in the federation via a queuing system. Each peer is able to merge all the PSRs received from fellow peers in the federation and create one merged PSR which now contains all the information from the datasets of its fellow peers in the federation. Each peer is then free to do their own independent modelling from the information in their newly created merged PSR.

In a decentralized network, the administrator is responsible for the following:

  • Creating the Federation

  • Inviting peers to join the Federation via passwords & authentication information

  • Managing the frequency the Federation will routinely ‘sync’ information (PSRs)

    • Frequency sync options : minutes, hours, days

Centralized Federated Learning

In a centralized federation, the Administrator is the only peer in the federation that receives PSRs from other peers, unlike the decentralized network where all peers in the federation send/receive PSRs to/from one another. In a centralized federation the Administrator is the only peer in the federation that is able to merge all PSRs from participants in the federation to create one merged PSR which now contains all the information from the datasets of its fellow peers in the federation. The Admin node is now able to do all the modelling from the merged PSR as though it had access to all the proprietary datasets of the members of the federation.

In a centralized network, the Administrator is responsible for the following:

  • Creating the centralized Federation

  • Adding/Inviting peers to join the Federation

  • The Admin node merged Project updates automatically when peer node project update with new information

  • Admin node is the only peer in the network that receives Projects from other nodes

  • Admin node is the only peer in the network able to perform model building on a merged project from the project received from fellow peers in the federation.

Hybrid Federated Learning

A Hybrid Federation allows an Administrator to build a Federated Learning network with combinations of Centralized and Decentralized federated networks. This allows the Administrator to regulate which peers in the Federation have visibility or do not have visibility to fellow peers PSRs. It allows for managing information sharing, and exclusion of sharing, as desired and/or mandated.

In the example illustrated in Figure 3 we can see that this hybrid structure allows for peers 1, 2, and 3 to get equal access to SymetryML project information from peers 1, 2, and 3, plus access to SymetryML project information of peers 4 and 5 via peer 3. However, in this example, peers 4 and 5 do not receive SymetryML projects from anyone else in the network, they simply share and send their SymetryML projects to be shared with the network. This is just one illustration of a Hybrid Federation, one is able to create any customized Hybrid Federation which can contain several decentralized and centralized federated networks within ones customized Hybrid Federation.

Centralized federated learning is called Fusion project with SymetryML. The Rest API for fusion project is documented in the .

Fusion Projects section
Section Decentralized Federated Learning
Centralized federated learning section
Hybrid Federated Learning sectio
figure 1: Decentralized federated learning
figure 2: Centralized federated learning
Hybrid Federation: Example of combination of centralized and decentralized networks