LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

What is federated learning, and how does it preserve privacy?

A way to train a shared machine-learning model across many parties where each trains locally on its own data and only model updates (not raw data) are sent and aggregated.

Clients train locally and send model updates to a central server that aggregates them.

* Local training and update aggregation in federated learning. — MarcT0K, CC BY-SA 4.0, via Wikimedia Commons. *

The four-step cycle:

  1. Local training — each node trains on its own data, which never leaves the device/org.
  2. Update sharing — only model parameters/gradients are sent to a central server.
  3. Aggregation — the server combines the updates into an improved global model.
  4. Distribution — the improved model is sent back to the nodes, and the cycle repeats.

Why it helps privacy: raw data stays put, dramatically reducing leakage risk in distributed settings while still enabling powerful collaborative analytics (e.g. training a keyboard predictor across millions of phones).

Caveat: updates can still leak information (gradient-inversion attacks), so federated learning is often combined with differential privacy or secure aggregation.

Go deeper:

From Quiz: PRIVACY / Cryptographic Privacy & Big Data — Zero-Knowledge Proofs, MPC, Homomorphic Encryption & Anonymization | Updated: Jul 05, 2026