Skip to content
AIGP Quest

Glossary

Federated learning

Written with AI from the sources below and checked against our facts sheet. Last checked . How this site is made · Spot an error?

Federated learning is a way to train one AI model across many devices or organizations without pooling their data. Each holder trains the model on its own records and shares only model updates, which a server combines into a shared model. It supports data minimization and data residency, but updates can still leak information or be poisoned.

In plain English

Instead of bringing every student to one school, you send the teacher to each home. The teacher learns from every household and brings back only lesson notes, never the family photos.

Federated learning works in rounds:

  1. A coordinator sends the current model to each participant.
  2. Each participant trains it on local data.
  3. Participants send back only the model updates.
  4. The coordinator combines the updates into an improved shared model, and the cycle repeats.

The term comes from a 2016 paper by McMahan and colleagues at Google, which trained models across mobile devices without collecting the data. The same idea now links hospitals, banks and countries.

Example

Three fictional regional hospitals, Northmere, Eastvale and Southbridge, want a shared sepsis early-warning model. Each hospital's rules forbid patient records leaving its systems.

They choose federated learning, with these controls:

  • Leak protection. Updates are combined through secure aggregation, with differential privacy noise added.
  • Poisoning defense. The coordinator screens for unusual updates and can exclude a participant.
  • Agreements. A data-sharing agreement sets each party's role, and each hospital runs its own DPIA.
  • Per-site testing. The model is tested on each hospital's population, not just on average.
  • Documentation. The model card lists the participating sites and their patient mix.

Why it matters

Privacy. Keeping raw data in place supports data minimization (GDPR Art. 5(1)(c)) and data protection by design (Art. 25). It does not take local processing outside the GDPR.

Security. NIST AI 100-2 notes that most model poisoning attacks have been designed for the federated setting. Compromised participants send malicious updates to corrupt the shared model. Defenses try to identify and exclude those updates during aggregation. See data poisoning.

Localization. Where data-sovereignty laws keep data in each country, federated learning still allows one shared model (lesson IV.C.7).

EU AI Act. For high-risk systems, training data must be relevant, sufficiently representative and, as far as possible, free of errors and complete (Art. 10(3)). Federated training does not remove that duty, and it makes checking harder.

How the AIGP exam tests it

Privacy-enhancing techniques are matched to their jobs in lesson III.B.5.

Common traps:

  • Technique swaps. Data stays home: federated learning. Calibrated noise: differential privacy. New artificial records: synthetic data. Identifiers swapped for a key: pseudonymization.
  • "It's anonymous." Updates can leak, so it is not anonymization.
  • Pooling pseudonymized records. That still moves the data, which a no-sharing rule forbids.
  • Federated governance. A hybrid "federated" governance model (central policy, local assessment) is an org design, not federated learning.

The tell: if raw data must stay with each holder but everyone wants one model, the answer is federated learning. Pair it with synthetic data when rare cases are missing.

Frequently asked questions

How does federated learning protect privacy?

It keeps raw records where they are. Each device or organization trains the shared model locally and sends back only the resulting model updates. No central party collects the underlying data. That reduces the personal data moved and stored centrally, which supports data minimization and data protection by design.

Does federated learning make data anonymous?

No. Model updates can still reveal information about the data they were trained on, so federated learning is not anonymization. Teams often add protections such as secure aggregation or differential privacy on the updates. Local training on personal data is still processing under laws such as the GDPR.

What is the difference between federated learning and differential privacy?

They solve different problems and are often combined. Federated learning controls where data goes: raw records stay with their holders. Differential privacy controls what results reveal: it adds calibrated noise so no individual can be singled out. Applying differential privacy to federated updates limits what those updates can leak.

What are the risks of federated learning?

Updates can leak information about training data. A compromised participant can send malicious updates to poison the shared model, and NIST notes that most model poisoning attacks target this setting. Data quality and representativeness are harder to check when no one sees all the data. Coordination across many parties also adds cost and complexity.

Sources

  1. McMahan et al., Communication-Efficient Learning of Deep Networks from Decentralized Data (2016)
  2. NIST AI 100-2 E2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations
  3. Regulation (EU) 2016/679 (GDPR), Arts. 5(1)(c), 25 and 35, EUR-Lex
  4. EU AI Act Service Desk, Article 10: Data and data governance
Spot an error? Tell us