# Federated Machine Learning: Concept and Applications

Secure federated learning lets organizations train shared models without pooling raw data

Qiang Yang, Yang Liu, Tianjian Chen, Yongxin Tong · arXiv · 2019-2-13

- **Problem** Most organizations hold data in isolated silos, and privacy laws like GDPR block pooling it for AI training. Training across silos without moving raw data was hard to do.
- **Method** Federated Learning is a framework where each data owner keeps its raw data local. Owners exchange only encrypted or masked intermediate results to train one shared model.
- **Results** The authors argue the vertical linear regression protocol gives each party the same loss and gradients as pooled training. The paper runs no benchmark experiments to test this.

## Why pooling data stops working

Big-data AI depends on large training sets, and AlphaGo is the familiar example, since its 2016 version learned from 300,000 games. Most organizations don't have data at that scale, and the data they do hold sits in separate silos. Even departments inside one company often resist sharing, so pooling data across firms is harder still.

Privacy law makes the problem sharper, because the EU's GDPR, enforced on May 25, 2018, lets users have their personal data deleted. The traditional pipeline has one party collect data, another clean and fuse it, and a third build models, and that pipeline can break these rules. Users may not know how their data will be used later, so the question becomes how to train across silos without moving the raw data.

## The core idea: train locally, share protected results

The key idea is to keep each owner's raw data where it is and let the owners train one shared model by exchanging only protected intermediate results. The definition sets the target as accuracy, so the joint model's accuracy \\( V\_{FED} \\) should stay within a small non-negative \\( \\delta \\) of the accuracy \\( V\_{SUM} \\) of a model trained on all the data pooled.

The bound \\( \\delta \\) therefore sets how much accuracy the protocol may give up in exchange for keeping the data private.

## Three settings, set by how the data is split

The authors sort settings by how the feature space, label space and sample ID space are distributed across parties. Horizontal federated learning covers parties that share the same features but hold different samples, such as two regional banks with mostly different customers. Vertical federated learning covers parties that share sample IDs but hold different features, such as a bank and an e-commerce company in the same city.

Federated transfer learning handles parties that differ in both samples and features, and it uses transfer learning to bridge that gap. For example, a bank in China and an e-commerce company in the United States have a small user overlap and only a small shared feature space. In this setting a common representation is learned from the small overlap and then applied to samples that have features from only one side.

## How one horizontal training round runs

Each participant computes its training gradients locally and masks some of them with encryption, differential privacy or secret sharing. The masked results go to a central server, which aggregates them without learning anything about any single participant. The server sends the aggregated results back, and each participant updates its model with the decrypted gradients.

The loop repeats until the loss converges, and the same architecture works for logistic regression or a DNN.

The design assumes the participants are honest while the server is honest-but-curious, so the server must not learn about any participant. The authors say the protection holds against a semi-honest server when aggregation is done with SMC or homomorphic encryption. A malicious participant that trains a Generative Adversarial Network during collaboration can still attack the system under another security model.

## How vertical training runs for linear regression

Vertical training starts with encrypted entity alignment, which finds the common users of the two parties without exposing the users that don't overlap. A third party C, which can be a government body or a secure hardware node, creates the key pair and sends the public key to A and B. A and B then exchange encrypted intermediate results, and each adds its own random mask to its encrypted gradients before sending them to C.

For linear regression the training objective combines a squared error between the sum of \\( \\Theta\_A x\_{Ai} \\) and \\( \\Theta\_B x\_{Bi} \\) minus \\( y\_i \\), plus a regularization term. Party A forms \\( u\_{Ai} = \\Theta\_A x\_{Ai} \\) and party B forms \\( u\_{Bi} = \\Theta\_B x\_{Bi} \\), so the encrypted loss splits into a term for A, a term for B and a cross term.

Each party's gradient is a sum of the encrypted residual \\( \[\[d\_i\]\] \\) times its own features, plus an encrypted regularization term. C decrypts the masked gradients and loss and returns them, so each party unmasks its gradient and updates only its own parameters.

## Does the protocol keep the result exact?

The text reports no benchmark experiments, so the support for the central claim is an argument about the protocol. The authors argue the protocol is lossless, because each party receives the same loss and gradients it would get from pooled training without privacy constraints. The efficiency depends on the communication and encrypted computation, and the information sent between A and B grows with the number of overlapping samples.

The security argument says C learns only masked gradients, and A can't recover B's features from the scalar product protocol. That argument assumes the number of samples \\( N\_A \\) is much greater than the number of features \\( n\_A \\).

## Privacy tools and their trade-offs

SMC gives formal privacy proofs, but full zero knowledge usually needs complicated protocols, so partial disclosure can be accepted for efficiency. Differential privacy adds noise or generalizes data, but the data still has to be transmitted, and accuracy and privacy trade off. Homomorphic encryption avoids sending plaintext, but additively homomorphic schemes need polynomial approximations of non-linear functions.

Gradients themselves can leak data, especially with image pixels, so exposing parameter updates is not safe by default. The authors also list backdoor insertion and membership inference as attacks, and they mention blockchain as a way to verify updates.

## Where it applies, and how it differs from related systems

The parameter server keeps a central node in control, whereas in federated learning each data owner decides when and how to join. Federated database systems manage integrated units with no privacy mechanism, while federated learning aims at a joint model under privacy.

For smart retail, the authors combine bank savings, social network and e-shop data, and they pair the approach with transfer learning for heterogeneous features. In finance, detecting multi-party borrowing is treated as a vertical setting, where the encrypted user lists are intersected and only the borrowers are revealed. In healthcare the authors expect transfer learning to fill missing labels, but this is a vision the paper does not test.

## Limitations

The paper tests none of its protocols on real data, and the claims rest on the cited protocols and the stated assumptions. The security analysis assumes semi-honest parties, and a party that submits one non-zero feature can recover the value of \\( u\_{Bi} \\) for that feature. That party still can't recover \\( x\_{Bi} \\) or \\( \\Theta\_B \\), and the distortion it causes can alert the other party.

The horizontal design remains exposed to a malicious participant training a GAN, and vertical leakage to C depends on whether extra masks are added. The authors say that information leakage to C may or may not count as a privacy violation, so that question stays open. The incentive mechanism for profit sharing is described without an evaluation.

## Paper info

- **Authors**: Qiang Yang, Yang Liu, Tianjian Chen, Yongxin Tong
- **Venue**: arXiv · Preprint
- **First published**: 2019-2-13
- **Added**: 2026-11-11
- **Updated**: 2019-2-13
- **Version**: v1
- **arXiv**: 1902.04885
- **Category**: cs.AI · cs.CR · cs.LG
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1902.04885v1) · [PDF ↗](https://arxiv.org/pdf/1902.04885v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Qiang Yang, Yang Liu, Tianjian Chen, Yongxin Tong (2019). Federated Machine Learning: Concept and Applications. arXiv:1902.04885v1. https://arxiv.org/abs/1902.04885v1

**BibTeX**

```
@misc{yang2019federated,
  title = {{Federated Machine Learning: Concept and Applications}},
  author = {Qiang Yang and Yang Liu and Tianjian Chen and Yongxin Tong},
  year = {2019},
  eprint = {1902.04885},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.04885v1}
}
```

## Other paper commentary

- [A Comprehensive Survey on Transfer Learning](https://refivu.com/en/papers/c3ef16ed-6b27-4ef6-a0f1-b20616ba3e47-a-comprehensive-survey-on-transfer-learning.md)
- [Deep Learning with Differential Privacy](https://refivu.com/en/papers/a0a5e243-9f30-4599-aa16-17cc0c7b4ba8-deep-learning-with-differential-privacy.md)
- ["Why Should I Trust You?": Explaining the Predictions of Any Classifier](https://refivu.com/en/papers/856ed702-7f55-4af3-8fa5-45538051a0a4-why-should-i-trust-you-explaining-the-predictions.md)
- [A Survey on Bias and Fairness in Machine Learning](https://refivu.com/en/papers/74d1cfa5-92d6-42d0-bf31-348c21768dc6-a-survey-on-bias-and-fairness-in-machine.md)
- [Artificial Intelligence: the global landscape of ethics guidelines](https://refivu.com/en/papers/d19d6be2-ce31-43ea-b84d-0b4bbe03543f-artificial-intelligence-the-global-landscape-of-ethics.md)
- [Towards A Rigorous Science of Interpretable Machine Learning](https://refivu.com/en/papers/584740f7-6441-4b76-a65b-06c10d825506-towards-a-rigorous-science-of-interpretable-machine-learning.md)
- [FCOS: Fully Convolutional One-Stage Object Detection](https://refivu.com/en/papers/2e08cffe-e9be-4c49-9238-8afaab98cecc-fcos-fully-convolutional-one-stage-object-detection.md)
- [Coordinate Attention for Efficient Mobile Network Design](https://refivu.com/en/papers/dfcb6641-7770-48f4-826a-22a20dca2f0b-coordinate-attention-for-efficient-mobile-network-design.md)
- [Dual Attention Network for Scene Segmentation](https://refivu.com/en/papers/849ff02e-2552-4ac6-a139-a8a0f4332d34-dual-attention-network-for-scene-segmentation.md)
- [ADADELTA: An Adaptive Learning Rate Method](https://refivu.com/en/papers/e2abf038-96af-4e19-bbda-5c8262404473-adadelta-an-adaptive-learning-rate-method.md)

## Terms in this paper

- [transfer learning](https://refivu.com/en/terms/9c71d6928a00-transfer-learning)
- [Federated Learning](https://refivu.com/en/terms/c6fc55e6f812-federated-learning)
- [differential privacy](https://refivu.com/en/terms/7f2cc899605c-differential-privacy)
- [Federated Transfer Learning](https://refivu.com/en/terms/0566f6922a4c-federated-transfer-learning)
- [honest-but-curious](https://refivu.com/en/terms/640cfca865e0-honest-but-curious)
- [Linear Regression](https://refivu.com/en/terms/772ea5657e9d-linear-regression)
- [Vertical federated learning](https://refivu.com/en/terms/36a5e392fb02-vertical-federated-learning)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/d845d53f-b001-4e9b-be12-12d49f74b856-federated-machine-learning-concept-and-applications)
