Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M1605

Federated Learning

Federated Learning
TechnicalHigh supportArtificial Intelligence
Included
account_tree

Updated 2026-07-28

Loading revision record…

Summary

Federated learning is a machine learning technique in which algorithms are trained across multiple decentralized edge devices or servers that hold local data samples. This approach differs significantly from traditional centralized machine learning techniques, which upload all local datasets to a single server, and from more classical distributed methods, which typically assume that local data samples are identically distributed.

Definition

Federated learning is a machine learning technique in which algorithms are trained across multiple decentralized edge devices or servers that hold local data samples. This approach differs significantly from traditional centralized machine learning techniques, which upload all local datasets to a single server, and from more classical distributed methods, which typically assume that local data samples are identically distributed. Federated learning enables multiple participants to build a common, robust machine learning model without sharing data, thereby addressing critical issues such as data privacy, data security, data access rights, and access to heterogeneous data. Federated Averaging (FedAvg) is a generalization of FedSGD that allows local nodes to perform multiple batch updates on local data and exchange updated weights rather than gradients. Moreover, averaging adjusted weights from the same initialization does not necessarily harm the performance of the resulting averaged model. Despite its simplicity, it lacks theoretical guarantees in real-world settings.

How to use

Federated learning is a machine learning technique in which algorithms are trained across multiple decentralized edge devices or servers that hold local data samples. This approach differs significantly from traditional centralized machine learning techniques, which upload all local datasets to a single server, and from more classical distributed methods, which typically assume that local data samples are identically distributed.

Mechanism

The central server distributes the global model to devices; each device trains locally and sends back only parameter updates (gradients); the server aggregates the updates to form a new model. Raw data always remains local, achieving "data stays, model moves," which reduces privacy leakage by design.

Practice

In progress 0/6

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Mobile keyboards learn user input habits locally and only send back model improvements; hospitals jointly model without sharing medical records; browser prediction trains on-device to protect privacy.

Common pitfalls

  • Assuming that 'not uploading data' is absolutely secure, ignoring that gradients can still be used to infer information (requires differential privacy); overlooking device heterogeneity and communication costs; equating federated learning with fully decentralized systems.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E8%81%AF%E9%82%A6%E5%AD%B8%E7%BF%92ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS