Glossary and FAQ
Federated-learning terms with short definitions, and answers to the questions that come up most. Search them directly.
- 36Terms
- 8FAQ
Glossary
Aggregation
Combining client updates into a global model, usually with a weighted mean.
Backdoor
A hidden model behavior activated by a specific trigger.
Client
A party (device or institution) that owns local data and trains the model on it.
Client drift
Local models moving apart because each heads toward the optimum of its local data.
Clipping
Bounding an update's norm by a maximum C before aggregation.
Communication cost
The total data moved between server and clients over the rounds.
Cross-device
Federated learning among a huge number of limited, intermittent devices.
Cross-silo
Federated learning among a small number of stable institutions.
Differential privacy
A mathematical guarantee that an algorithm's output barely changes with one individual's presence or absence.
Dirichlet distribution
A distribution used to simulate label skew; the smaller the concentration α, the stronger the skew.
Epsilon (ε)
The strength parameter of differential privacy; smaller is generally stronger.
FedAvg
Federated averaging: multi-step local training followed by a sample-weighted average.
Federated learning
Training a shared model on distributed data while raw data stays with its owners and only model updates are exchanged.
FedNova
Normalizes updates by local step counts before aggregation.
FedOpt
A framework that applies a server optimizer (Adam, Yogi, Adagrad) to the aggregated model difference.
FedProx
Adds a μ/2‖w−w_t‖² term to the local objective to reduce drift.
Global model
The shared model produced by aggregation.
Gradient leakage
Reconstructing training data from shared gradients or updates.
Homomorphic encryption
Encryption that allows computation on encrypted data.
Horizontal FL
Parties with the same features and different samples.
IID data
Independent and identically distributed samples; each client's samples resemble the global distribution.
Krum
A robust aggregation rule that selects the update closest to its neighbors.
Local epoch
One full pass over a client's data during local training in a single round.
Membership inference
An attack deciding whether a record was in the training data.
Non-IID data
Distributions that differ across clients in labels, features or quantity.
Participation fraction
The fraction of clients selected in each round.
Personalization
Obtaining a model suited to each client rather than one global model.
Poisoning
Malicious updates aimed at corrupting the global model.
Round
A full cycle of client selection, model broadcast, local training and aggregation.
SCAFFOLD
Corrects drift using control variates on the server and clients.
Secure aggregation
A protocol that reveals only the sum of updates to the server, not individual updates.
Server
The coordinator that broadcasts the model and aggregates updates.
Split learning
Splitting a network between client and server so that activations rather than weights travel.
Straggler
A slow client that delays the round or drops out.
Trusted execution environment
An isolated hardware area that runs computation protected from the host system.
Vertical FL
Parties with the same samples and different features.
Frequently asked questions
Which algorithm is best?
No algorithm wins in every setting (Li et al., 2022). The choice depends on the type of heterogeneity, communication and resources.
What can the assistant answer?
Only questions about this lab's content, from its knowledge base. A site administrator may enable an optional server-side AI provider; without it the assistant works locally.
Can I run the code?
Yes. Each example states whether it was executed during the build. Check library versions.
Is real patient data used?
No. The interactive medical scenario uses entirely synthetic data.
Does federated learning guarantee privacy?
No. Not moving raw data reduces exposure, but updates can leak information. A formal guarantee needs differential privacy, and secure aggregation hides individual updates from the server. See the privacy module.
Does the simulator train real models?
Yes, but small ones: softmax regression and a one-hidden-layer network on synthetic data and 8×8 digits, all computed in your browser. Do not generalize its results to deep networks.
Why do results change with the seed?
Because partitioning and initialization are random. Repeat with several seeds before drawing conclusions.
When is centralized learning preferable?
When data can legally and technically be pooled safely it is often simpler and more accurate. Always measure the centralized baseline.
No matching entries. Try another word.
