Key takeaway
- Federated learning applications for enterprise leaders: where it fits, evidence from Gboard and hospitals, privacy limits, tools and adoption steps.
Federated learning applications fit where useful training data is sensitive, regulated or too costly to move, and where several parties or devices each hold a part of it. Instead of copying data to one server, each site trains the model locally and sends back only model updates, which a coordinator combines into a shared model. The approach was named and described by McMahan and colleagues (2016), who set out to train on data that stays on mobile devices.
For enterprise leaders the real question is not whether the idea works, but where it earns its extra engineering cost. This guide covers where federated learning fits, what the evidence says, the privacy limits that are often missed, and a sequence for adopting it. It also complements our comparison of Edge AI vs federated learning and the federated approach to personalised recommendations.
What is federated learning and how does it work?
Federated learning (FL) trains one model across many separate datasets without pooling them. The model travels to the data, not the other way round. The review paper Advances and Open Problems in Federated Learning (arXiv, 2019, revised 2021) describes the clients as either mobile devices or whole organisations, and says FL supports focused data collection and data minimisation and can mitigate many of the systemic privacy risks and costs of centralised machine learning.
A typical training round runs as follows:
- The coordinator chooses a starting model, pre-trained or new, and sends it to the participating devices or servers.
- Each participant trains the model on its own data and keeps that data in place.
- Each participant sends back only the model update, such as weights or gradients.
- The coordinator combines the updates into a new global model. The method described in the original paper is based on iterative model averaging.
- The improved global model is sent back out and the cycle repeats until performance is acceptable.
Cross-device and cross-silo: which setting are you in?
The two settings behave very differently in practice. The table below is a working distinction for planning, based on the clients described in the review paper above.
| Setting | Who the participants are | Typical concerns | Examples in this guide |
|---|---|---|---|
| Cross-device | Large numbers of phones, wearables or vehicles | Unreliable connections, battery and bandwidth, device drop-out | Keyboard prediction, vehicle fleets |
| Cross-silo | A small number of organisations such as hospitals or banks | Governance, legal agreements, data that differs between sites | Multi-hospital imaging and prediction, fraud and insurance consortia |
Why does federated learning matter for enterprises?
Centralised training has three weaknesses that federated learning addresses. Moving raw data to one place creates a larger attack surface and may breach local rules on where data may go. Round trips to a central server slow down on-device features. And data held by partners or regulated units often cannot be shared at all, so a model trained on one site alone generalises poorly.
Federated learning does not remove governance work. It moves it from data transfer to model-update handling, participant onboarding, and proof of what each round did. That is where a governed decision layer such as ElixirData Context OS helps, because it keeps governed context, versioned policy and decision traces in one decision layer above AI agents.
Which federated learning applications work today?
The table summarises the main application areas. Status labels reflect the sources cited in this post, not a market survey.
| Application | Why federated learning fits | Current status |
|---|---|---|
| Smartphone keyboards and voice | Text and speech are personal and phones are numerous | In production. Google reports more than twenty Gboard language models trained with federated learning and differential privacy |
| Hospitals and medical imaging | Patient data is regulated and rarely leaves the institution | Published multi-site study across 20 hospitals (EXAM, 2021); wider clinical adoption varies |
| IoT and industrial devices | Sensors produce data continuously and links are limited | Used in pilots and research; confirm per vendor |
| Autonomous vehicles | Fleets generate driving data that is costly to upload | Largely research, as the original post also noted |
| Financial fraud | Banks hold complementary fraud signals but cannot pool customer data | Studied for consortium settings; validate with your regulator |
| Insurance | Risk models need financial, medical and other data from several parties | Early stage; depends on data-sharing agreements |
| Advertising and personalisation | Behavioural data is sensitive and users resist sharing it | Explored; see our post on personalised recommendations |
Smartphones: keyboard prediction at scale
This is the best documented deployment. A Google paper, Federated Learning of Gboard Language Models with Differential Privacy (arXiv, July 2023), reports training and deploying more than twenty Gboard language models for next word prediction, Smart Compose and on-the-fly rescoring, with privacy guarantees (rho-zCDP with rho between 0.2 and 2). The authors state that all next word prediction neural network models in Gboard now carry differential privacy guarantees. Two of the models also used secure aggregation.
Healthcare: the multi-hospital evidence
The EXAM study, led by Mass General Brigham and NVIDIA and published in Nature Medicine on 15 September 2021, trained a model across 20 hospitals on five continents to estimate the oxygen a COVID-19 patient would need 24 and 72 hours after arrival. According to NVIDIA's write-up, the federated model improved average performance by 16% and generalisability by an average of 38% compared with models trained at a single site. This is a vendor-reported summary of the study, so read the paper before quoting figures in a board paper.
IoT and autonomous vehicles
Fleets of sensors and vehicles need models that adapt to local conditions while raw data stays on the device or in the region. For vehicles, treat current claims with care: published work is mostly research, and the original version of this post made the same point about steering angle prediction. Physical AI platforms such as NexaStack run agents across edge devices, on-premises and cloud environments, which is the deployment shape these use cases need.
Finance and insurance
Banks each see only part of a fraud pattern, and insurers need data from finance, health and other parties. Federated learning lets partners train together without exchanging customer records. We have no independently verified production figures to quote here, so evaluate these as consortium pilots with clear data-sharing agreements. Where model actions must stay inside policy and leave an audit trail, AgentGRC keeps autonomous agent actions inside policy, with the audit trail risk teams need.
What are the main challenges and privacy limits?
Four challenges recur in the literature: communication efficiency across the network, managing different systems in the same federation, statistical heterogeneity because each site holds different data, and privacy. Leaders often assume that keeping data local means the system is private. That is not guaranteed.
The paper Deep Leakage from Gradients (Zhu, Liu and Han, 2019) argues that private training data can be recovered from shared gradients, and reports pixel-accurate image reconstruction and token-level text matching in its experiments. Among defences discussed, it identifies gradient pruning as the most effective. In practice this is why production systems combine FL with techniques such as differential privacy and secure aggregation, as in the Gboard work above.
| Risk | What it means | Typical control |
|---|---|---|
| Update leakage | Shared gradients can reveal training data | Differential privacy, secure aggregation, update clipping |
| Data heterogeneity | Sites differ, so the global model can favour large sites | Per-site evaluation, personalised or weighted aggregation |
| Communication cost | Many rounds across slow links | Fewer, larger local steps; compressed updates |
| Weak governance | Unclear who joined, which version trained, what policy applied | Participant onboarding, versioned policy, decision traces |
Which tools can enterprises use?
Two open-source options are well established. NVIDIA FLARE describes itself as a domain-agnostic, open-source and extensible SDK for federated learning, licensed under Apache 2.0 and supporting PyTorch, TensorFlow, NumPy, scikit-learn and XGBoost. Flower describes itself as a friendly federated learning framework in Python, with strategies such as FedAvg and FedProx, differential privacy options and secure aggregation workflows.
Should we adopt federated learning? A decision sequence
| Step | Question | If the answer is no |
|---|---|---|
| 1 | Is the data genuinely unable to move, or only inconvenient to move? | Use a central pipeline with strong access control, see our machine learning pipeline guide |
| 2 | Do several parties or devices hold complementary data? | A single-site model may be enough |
| 3 | Can you evaluate the model on each site separately? | Fix measurement before training |
| 4 | Can you add differential privacy or secure aggregation? | Treat the result as a privacy-reduced, not private, system |
| 5 | Who approves participants and model versions? | Define governance before the first round |
When not to use it: if your data already sits legitimately in one governed warehouse, federated learning adds communication cost and complexity with little gain. If your concern is latency on the device rather than data location, compare it with plain edge inference. For wider context on decentralised intelligence, see our post on distributed artificial intelligence.
To map one federated learning decision your agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.
Frequently asked questions about federated learning
What is federated learning in simple terms?
It is a way to train one machine learning model across many devices or organisations without moving their raw data. Each participant trains locally and shares only model updates, which a coordinator combines. The idea was described by McMahan and colleagues in 2016.
Is federated learning fully private?
No. Keeping data local reduces exposure, but research such as Deep Leakage from Gradients (2019) shows private data can be recovered from shared gradients. Production systems add techniques such as differential privacy and secure aggregation, as in Google's Gboard work.
Where is federated learning used in production?
The best documented example is Google's Gboard, where more than twenty language models were trained with federated learning and differential privacy. Healthcare has a published multi-hospital study (EXAM, Nature Medicine, 2021). Other areas such as vehicles, finance and insurance are mainly at research or pilot stage.
What is the difference between cross-device and cross-silo federated learning?
Cross-device means many phones, wearables or vehicles as participants. Cross-silo means a few organisations, such as hospitals or banks. The first is limited by connectivity and drop-out, the second by governance and differences between sites.
Which open-source tools support federated learning?
NVIDIA FLARE (Apache 2.0) and Flower are two established frameworks. Both support common machine learning libraries and privacy features such as secure aggregation or differential privacy options.
When should an enterprise avoid federated learning?
Avoid it when data can legitimately be centralised under good governance, or when the real problem is device latency and not data location. It adds communication cost and engineering effort.
Next Steps towards Federated Learning
Talk to our experts about implementing Federated Learning systems. Discover how industries and different departments leverage decentralized machine learning to enhance data privacy and collaboration. Utilize Federated Learning to train AI models across distributed data sources, improving efficiency and maintaining security
Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.
Ready to put AI agents to work? Explore ElixirClaw, the agentic OS platform to build, orchestrate and govern AI agents.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE