Federated Learning
Updated 2026-07-28
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.
Introduction
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/6Practice this model in one real situation:
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.
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E8%81%AF%E9%82%A6%E5%AD%B8%E7%BF%92verified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS