aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← Machine Learning learning path
17
Neural & generative models

Distributed ML

Training across many machines or devices, including when the data cannot leave them.

7 lessons~58 min2 formulas5 questions
0%
Not started yet
Quiz mastery0%
Start
What you’ll take away
  • Data parallelism splits the data; model parallelism splits the network.
  • All-reduce and parameter servers combine gradients; sync vs async trades speed for staleness.
  • Federated learning keeps data on devices and averages model updates (FedAvg).
  • Non-i.i.d. data, unreliable clients and privacy leakage are the main challenges.
Major concepts (syllabus)

Distributed Learning, Federated Learning, Distributed Generative Adversarial Networks (DGANs)

Lessons

  1. Why distributed learningData and models too large for one machine.7 min
  2. Data and model parallelismSplitting the data versus splitting the network.9 min
  3. Synchronising updatesParameter servers, all-reduce, synchronous vs. asynchronous training.8 min
  4. Federated learningTraining on devices; only model updates leave them.9 min
  5. Federated averagingAveraging client models weighted by their data size.8 min
  6. Challenges: privacy and heterogeneityNon-i.i.d. data, unreliable clients and leaking information through updates.8 min
  7. Distributed GANs (DGANs)Training generators and discriminators across distributed data sources.9 min

Key formulas

Federated averaging

Global model = data-weighted average of client models.

Data-parallel gradient

Each worker computes a gradient on its shard; results are averaged.

Key terms

Federated learning
Training a shared model on decentralised data; only model updates leave the clients.
Full glossary →
Practice this topic5 questions · earn XP and build your streak
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser