AI GLOSSARY · AI CONCEPTS

Federated learning

Markdown version · Wikidata Q50818671

Definition

Federated learning trains models using data held by multiple participants without pooling the raw training data. Participants exchange model information; a central server can aggregate updates, but decentralized arrangements also exist.

Also called: federated machine learning, federated learning AI, FL, federated training.

In plain language

In centralized-data training, records are collected in one place. Federated learning instead keeps training data with multiple participants. Each phone, hospital or company trains the shared model on data that stays with them, and sends back only the update, meaning the small changes to the model's numbers. In a common server-coordinated design, a server aggregates the local updates. Decentralized designs instead coordinate among participants without one central server. It is like a class where each student studies from their own notebook and only the study notes are pooled. It does not make data automatically safe: according to IBM, updates can still be attacked, and methods such as differential privacy are added to make it harder to tell who contributed what. It also requires communication among participants and, in server-coordinated designs, the server.

Technical definition

McMahan and colleagues (arXiv, submitted 17 February 2016) describe training a model by aggregating updates computed locally on each device, with data kept on the devices. They present a method based on iterative model averaging and report that it holds up on unbalanced and non-IID data, meaning data whose distribution differs between devices. They state that communication costs are the principal constraint. IBM classifies federated learning as cross-device (mobile and IoT devices) or cross-silo (a limited number of servers or data centres), and as horizontal (shared features, different samples) or vertical (shared samples, different features), and lists adversarial attacks, communication overhead and heterogeneity as challenges.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    sensitive-data-redaction 55/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Emails, phones, cards, IBANs, keys, IPs and listed names in a file replaced with consistent placeholders before you share it.
    Why it exercises the concept
    A contrast case. Federated learning keeps raw data where it is. This skill takes the other route to privacy, removing identifiers from data before it leaves your hands. It does not run federated training.
  2. Skill by Skill Almanac · Illustrative, not executed

    pdf-metadata-privacy-check 42/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A PDF's document metadata checked for personal names, e-mail addresses and local file paths before the file is shared.
    Why it exercises the concept
    A contrast case. It shows a privacy habit for files that must be shared, which federated learning aims to avoid for training data. It does not train or aggregate models.
  3. Skill by Skill Almanac · Illustrative, not executed

    split-leakage-check 53/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Train, validation and test files checked for duplicates, shared groups, time leakage and label leakage, with the result printed as JSON.
    Why it exercises the concept
    A contrast case. Each federated participant still needs a clean split of its own local data. The catalogue has no federated-learning skill, so this checks a neighbouring step.
  4. Guide · Illustrative, not executed

    Self-Hosting an AI Agent: What You Take On

    What you see
    What you own when an AI agent runs on your machine: model memory, network exposure, file access and vetting skills, as a checklist with decision points.
    Why it exercises the concept
    Adjacent. Both ideas move work to hardware you control, but this guide is about running agents, not training models.

How it shows up when you use agents

Federated learning does not usually appear inside a coding agent session. It is a training technique, so you meet it when a team decides how a model will learn from data that cannot be pooled, for example data held on phones or in separate organisations. Coding agents may write the code for a client or server, but the design choices are yours.

What breaks when it is misunderstood: people hear that data stays local and assume the privacy question is closed. IBM's page lists adversarial attacks such as data poisoning among the challenges, and says methods such as differential privacy are used to make it harder to tell which node contributed an update. Updates are derived from the data, so treat them as sensitive until a review says otherwise. See AI privacy and data poisoning.

A second break is cost. The original paper says communication costs are the principal constraint, so the number of rounds between devices and server matters as much as the model.

Next actions: write down who holds the data, what is sent, and who can see it; decide whether this is cross-device or cross-silo; and keep a plain centralised baseline to compare against. The catalogue has no federated-learning skill, so the examples are contrast cases about privacy and data hygiene. Related background: machine learning, edge AI and training data.

Common confusions

  • Federated learning versus distributed training. Federated learning is a form of distributed learning. Unlike conventional distributed training over centrally collected data, it trains with data held by participants; its coordination may be server-based or decentralized.
  • Federated learning versus differential privacy. They are different tools. IBM describes differential privacy as a method that can be added to federated learning, not as part of its definition.
  • Cross-device versus cross-silo. IBM uses the first for many mobile and IoT devices and the second for a limited number of servers or data centres.
  • Myth: the server learns nothing about the data. The server receives updates computed from the data. IBM's page lists attacks and notes privacy methods as additions, so the risk is reduced by design choices, not removed by the architecture.

More in AI concepts

Next steps

  1. Self-Hosting an AI Agent: What You Take On The long-form guide.
  2. sensitive-data-redaction A skill that exercises it.
  3. Machine learning (ML) Related term.
  4. Training data Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude (original draft) and Codex (targeted revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (5)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : First version.
  • : Verifier pass: applied verifier corrections to unsupported or overstated claims.
  • : Applied bounded batch06 source-scope repairs; independent affected-claim recheck pending.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.