Federated Machine Learning: Concept and Applications

Qiang Yang, Yang Liu, Tianjian Chen, Yongxin Tong

Introduction

Modern artificial intelligence faces a significant "Catch-22": while high-performing models require massive amounts of data, that data is increasingly trapped in isolated silos. Organizations are often prohibited from sharing raw data due to fierce competition, administrative hurdles, or stringent privacy regulations like the EU’s General Data Protection Regulation (GDPR). Traditionally, training a model on data from multiple sources required centralizing that data, a practice that is now often legally and ethically fraught.

This seminal work by Qiang Yang and colleagues proposes Federated Learning (FL) as a comprehensive framework for inter-organizational collaboration. By enabling "Data Alliances," organizations can train powerful AI models without ever exchanging raw, sensitive data, effectively bridging data islands while maintaining strict privacy compliance.

Taxonomy of Federated Learning

The paper introduces a formal taxonomy for Federated Learning based on how data is distributed across the feature and sample spaces. This classification helps organizations determine the appropriate architectural approach for their specific data overlap.

Taxonomy of Federated Learning based on data distribution: (a) Horizontal, (b) Vertical, and (c) Transfer Learning.
  1. Horizontal Federated Learning (H-FL): Applicable when datasets share the same feature space but different samples. For example, two regional banks with different customer bases but similar accounting headers can use H-FL to improve their respective models.
  2. Vertical Federated Learning (V-FL): Applicable when datasets share the same sample ID space but differ in features. An example would be a bank and an e-commerce company in the same city sharing the same customers but possessing different types of data on them.
  3. Federated Transfer Learning (FTL): Used when datasets differ in both samples and features, requiring transfer learning techniques to find a common representation across disparate domains.

Security and Architecture

To ensure security, the FL framework employs a robust toolbox of cryptographic and privacy-preserving techniques. The general architecture involves local training on decentralized databases, where only encrypted updates are shared with a central server for aggregation.

The general architecture of a federated learning system showing the exchange of encrypted gradients and model updates.

Key technical components include:

  • Secure Multi-party Computation (SMC): Ensures parties learn nothing except their specific inputs and outputs.
  • Additively Homomorphic Encryption (HE): Allows the system to perform mathematical operations on encrypted gradients without decrypting them, preventing the central server from seeing raw data updates.
  • Differential Privacy (DP): Adds strategic noise to data to mask individual contributions and prevent reverse-engineering of sensitive information.

Key Insights and "Lossless" Learning

A major contribution of the paper is the concept of "Lossless" learning. The authors demonstrate that Vertical Federated Learning can be mathematically lossless, meaning a model trained via V-FL can achieve the exact same accuracy as a model trained on a centralized dataset. This proves that privacy does not necessarily require a trade-off in performance.

Furthermore, the authors argue that FL is not just an algorithm but a new business model for "Data Alliances." They propose using Blockchain as a consensus mechanism to create equitable rules for profit allocation, rewarding organizations based on the value their data contributes to the collective model.

Applications and Results

The paper outlines successful conceptual workflows for various industries:

  • Smart Retail: Combining bank savings data, social network preferences, and e-shop characteristics to provide personalized recommendations without data leakage.
  • Finance: Detecting "multi-party borrowing" (where users borrow from one bank to pay another) by identifying the encrypted intersection of user lists across institutions.

Limitations and Future Work

Despite its potential, Federated Learning faces several hurdles. The use of Homomorphic Encryption and the constant exchange of gradients introduce significant communication and computation overhead. Additionally, FL systems remain susceptible to indirect information leakage, such as "backdoor" attacks or malicious participants using Generative Adversarial Networks (GANs) to probe other participants' data. Future research must focus on incentive engineering and improving the efficiency of privacy-preserving protocols.

Summary updated

BibTeX
@article{yang2019federated,
  author = {Qiang Yang and Yang Liu and Tianjian Chen and Yongxin Tong},
  title = {{Federated Machine Learning: Concept and Applications}},
  journal = {ACM Trans. Intell. Syst. Technol.},
  year = {2019},
  doi = {10.1145/3298981},
}
Figure