Home Knowledge Base Federated Learning

Federated Learning is the distributed machine learning paradigm where models are trained across many decentralized devices (phones, hospitals, banks) without raw data ever leaving the local device — enabling collaborative model improvement while preserving data privacy, regulatory compliance (GDPR/HIPAA), and data sovereignty, with the central server only receiving model updates rather than sensitive user data.

How Federated Learning Works (FedAvg)

1. Server distributes current global model weights to selected client devices. 2. Clients train locally on their private data for E epochs (typically 1-5). 3. Clients send model updates (weight deltas or gradients) back to server. 4. Server aggregates updates: $w_{global}^{t+1} = \sum_{k=1}^{K} \frac{n_k}{n} w_k^{t+1}$.

5. Repeat for multiple communication rounds until convergence.

Key Challenges

ChallengeDescriptionMitigation
Non-IID dataClients have different data distributionsFedProx, SCAFFOLD, personalization
Communication costModel updates are large, networks are slowGradient compression, quantization
StragglersSome devices are slower than othersAsync aggregation, client sampling
Privacy leakageGradients can reveal information about dataDifferential privacy, secure aggregation
Heterogeneous devicesDifferent compute/memory capabilitiesAdaptive model sizes, knowledge distillation

Non-IID Problem (The Core Challenge)

Privacy Enhancements

Real-World Deployments

Federated learning is the enabling technology for privacy-preserving AI at scale — as data privacy regulations tighten globally and data remains the most sensitive asset organizations hold, federated learning provides the only viable path for collaborative model training without centralized data collection.

federated learningfederated averagingdistributed privacy learningfedavgon device training

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.