Skip to content

Glossary

Federated learning

Federated learning is a way to train one machine learning model on data spread across many devices. Each device computes an update from its own data, and only those updates are sent to a server, so the raw data does not have to be collected in one place.

Updated October 17, 20262 cited facts, each traced to its source

Also called on-device training.

Federated learning trains a shared model without collecting the training data in one place. Each device uses its own data to compute a change to the model, and only those changes are combined on a server. The term comes from McMahan and colleagues, who proposed in 2017 leaving the training data on the mobile devices and learning a shared model by aggregating locally computed updates 1.

How one round of training works

A federated system repeats the same round many times:

  1. The server sends the current version of the model to a set of devices.
  2. Each device trains the model briefly on the data it holds, such as the text a person typed.
  3. Each device sends back only the change to the model, not the data.
  4. The server averages the changes into a new model, and the cycle starts again.

The averaging step is the core of the method. The McMahan paper calls it iterative model averaging, and it reports experiments across five model architectures and four datasets 1.

Phone keyboards showed that the approach works

Phone keyboards are a useful test case, because the text people type is personal. In 2018, researchers showed that a language model can be trained on client devices without exporting sensitive user data to servers 2.

A concrete example: a phrase learned across many phones

Imagine that many people type "see you Thursday" after a meeting invitation, and the keyboard model should predict that phrase. Each phone uses its own typing to compute a small change that makes the phrase more likely. The server receives many of these changes, averages them, and sends back a better model. The server never receives the messages themselves. This is a hypothetical illustration, not a description of any product's data flow.

Why it matters for dictation

Federated learning is one way a dictation model can improve from real use without the audio or transcripts leaving the device. It does not happen automatically. A product has to use this method, and its privacy policy should say whether it sends audio, transcripts, or only model updates.

The updates are derived from your data, so the method reduces what leaves your device rather than removing exposure entirely. When you compare dictation apps, ask three questions: does the app train on your audio, does it send transcripts to train, and can you turn that off? The answers matter more than the name of the method.

Related terms

Guides that cover it

Evidence

Every number on this page, with where it comes from. Open a fact to see the exact words in its source.

  1. 1.
  2. 2.

Related terms

Pages that use this term