The model travels to the data — the data never travels to the model. Train a shared global model across millions of devices without centralising any raw data.
Classical machine learning requires centralising all training data on a server. For many real-world applications this is illegal (medical records, financial data), commercially unviable (competing hospitals won't share patient data), or technically impractical (hundreds of gigabytes scattered across millions of phones). Federated learning, introduced by Google in 2016, inverts the paradigm: instead of bringing data to the model, send the model to the data.
Each participating device (phone, hospital, bank) trains the model locally on its private data. Only the model updates (gradients or weight deltas) are sent to a central server. The server aggregates these updates — for example by weighted averaging — to produce an improved global model. No raw data ever leaves the device.
Federated learning proceeds in rounds. Each round has four steps: distribute the current global model to a subset of clients, local training on each client with its private data, upload updates (weight deltas or gradients) back to the server, and aggregate into a new global model. The process repeats until convergence.
Google deploys FL for next-word prediction in Gboard on Android devices. Apple uses FL for Siri improvements and health data analytics. Hospitals in the EU use FL consortia to train cancer-detection models across 10+ institutions without sharing patient records. The financial sector uses FL for fraud detection across competing banks without exposing transaction histories.
Federated learning splits into two distinct scenarios with very different engineering constraints. Cross-device FL involves millions of heterogeneous clients (phones, IoT) with unstable connectivity, limited compute, and high churn — most clients drop mid-round. Cross-silo FL involves a small number (~10–100) of trusted institutional clients (hospitals, banks) with high compute and stable connections but strict regulatory boundaries.
Say the answer out loud before revealing — recalling is what makes it stick.
What is the core idea of federated learning?
What are the four steps of an FL round?
What is the difference between cross-device and cross-silo FL?
Does federated learning fully solve privacy?