Federated Learning

Training a shared model across many devices or organizations without pooling all raw data in one place.

Train across branches without pooling reading logs

Suppose several library branches want a shared model for predicting checkout-counter demand. Their local training examples contain time windows and observed demand.

  1. Send a starting model

    Each participating branch receives the current model and trains locally on its own records.

  2. Combine updates

    A coordinator aggregates the participating branches’ model updates according to the training design. It sends the resulting model into the next round.

  3. Check each branch

    The busy city branch may dominate an example-weighted average. Evaluate the smaller rural branches separately to see whether the shared model helps them.

What leaves each branch?

Raw training rows can stay local while model updates and operational metadata travel. Updates can still carry information about local data. Secure aggregation can limit visibility into each branch’s update, and a separately specified privacy mechanism may be needed for stronger guarantees.

What To Keep In Mind

Federated learning adds coordination complexity. Participants may have different data quality, data distributions, hardware limits, and connectivity. Good results therefore depend on careful evaluation, security design, and realistic expectations about what the approach can and cannot protect.

Follow the idea

Privacy-Enhancing Technologies (PETs) · Privacy-enhancing technologies can complement distributed training.

Differential privacy can bound the influence of a protected contribution.

Related concepts (5)
Related Yenra articles (9)

Source · McMahan and colleagues on federated averaging

Return to Federated Learning in the A–Z glossary