aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 17. Distributed ML
Lesson 5 of 7 8 min · 114 words

Federated averaging

Averaging client models weighted by their data size.

Federated averaging (FedAvg) is the standard aggregation rule. After local training, the server averages the client models, weighting each by its share of the data:

Doing several local epochs before averaging dramatically reduces how many communication rounds are needed compared with sending a gradient every step.

The catch: with very different client data, local models drift in different directions and their average can be poor. Variants like FedProx add a term keeping local models close to the global one.

Formula to remember

Federated averaging

Global model = data-weighted average of client models.

Quick check · +5 XP

Which technique lets the server see only the sum of client updates?

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser