Prompts Forms Resume Reports ★ Saved ★ Saved★ + Submit a tool
Techniques

Federated Learning

About 1204 characters Updated Nov 30, 2026 28 views AI wiki

Federated learning is a technology that allows joint model training "without the data leaving the local site", and its core is privacy protection.

The problem it solves

Training a good model requires lots of data, but in reality data is scattered across institutions and highly sensitive: hospitals cannot share medical records, and banks cannot exchange customer transactions.

Federated learning allows all parties to exchange only model parameters, not raw data.

Workflow

  1. The server distributes an initial model to each participant
  2. Each party trains on local data and obtains parameter updates
  3. Only the updated parameters (or gradients) are uploaded to the server
  4. The server aggregates all updates to obtain a new global model
  5. Repeat the above until convergence

The raw data always stays local and never leaves.

Two types

  • Horizontal federation: parties share the same data features but different samples (similar cases from multiple hospitals)
  • Vertical federation: parties share the same samples but different features (a bank has spending data, an e-commerce company has shopping data)

Challenges

  • High communication overhead: model parameters are transmitted repeatedly, creating bandwidth pressure
  • Non-IID data: data distributions differ greatly across parties, affecting convergence
  • Security risk: parameter updates may themselves leak information, needing differential privacy or secure aggregation