Skip to content
Sign in

What is Federated Learning?

Federated learning is a machine learning technique that trains models across many decentralized devices or servers, each holding its own local data, without ever moving the raw data to a central location.

In federated learning, a central server first sends an initial model to participating devices. Each device then trains the model locally using only its own private data and computes updates such as gradients or parameter changes.

These updates are sent back to the server, which aggregates them (often by averaging) to improve a shared global model. The updated global model is then redistributed to devices for the next round, repeating until the model converges.

The approach emphasizes data privacy, reduces the need to transfer large datasets, and works well when data is naturally distributed or sensitive, such as on mobile phones or in hospitals.

Example

A smartphone keyboard app improves its next-word prediction model by training on each user's typing habits locally; only the model updates are shared with the central server, never the actual messages typed by users.

Why it matters

It enables large-scale training on private, distributed data while complying with privacy regulations and reducing data-transfer costs, making it essential for mobile, edge, and healthcare AI applications today.

Frequently asked questions

Yes, raw data stays on the device; only model updates are shared, though extra techniques like differential privacy can add further protection.