Architecture and Workflow
An interactive diagram of the server, clients, system components and the steps of a round.
- 15Items
System components
Server
The central coordinator that holds the global model, selects clients each round and aggregates updates.
DetailsClient
A party (hospital, device, institution) that owns a local dataset and trains the model on it.
DetailsLocal dataset
The client's private data D_k, whose size and distribution differ across clients.
DetailsLocal model
The client's copy of the model after receiving w_t and during local training.
DetailsGlobal model
The shared model produced by aggregation and broadcast to clients.
DetailsAggregation
The step that merges client updates into a new global model.
DetailsDistribution and upload
The communication channel between server and clients each round.
DetailsWorkflow steps
1. Initialization
The global model w_0 is initialized (randomly or pretrained) and the server fixes hyperparameters.
Details2. Client selection
The server selects a set S_t of available clients for this round.
Details3. Broadcast
w_t is sent to every client in S_t.
Details4. Local training
Each client trains E epochs on D_k with mini-batch gradients per the algorithm (a regularizer may be added as in FedProx).
Details5. Upload
Each client sends w_{t+1}^k (or the delta) and its sample count n_k.
Details6. Aggregation
The server aggregates the updates with the aggregation rule (usually a weighted mean).
Details7. Global update
The result becomes the new global model w_{t+1}.
Details8. Evaluate and repeat
The server evaluates the model (or collects client metrics) and starts a new round until a stopping criterion is met.
DetailsNo matching entries.
