Horizontal vs. Vertical Federated Learning

Horizontal Federated Learning (HFL)

Horizontal Federated Learning (also known as Sample-based FL) occurs when datasets across different participants share the same feature space but differ in samples. Essentially, the datasets have the same structure (features) but contain data about different entities.

Key Features:

  • Same Features: Datasets have the same features but different samples.
  • Collaboration: Participants can collaboratively train a model without sharing their actual data.
  • Applicability: Suitable for scenarios where different entities have similar data structures.

Example Use Case: Multiple banks training a fraud detection model on their transaction data without sharing the actual transaction records.

Vertical Federated Learning (VFL)

Vertical Federated Learning (also known as Feature-based FL) occurs when participants have datasets that share the same sample space but differ in features. This means that each participant holds different attributes about the same set of entities.

Key Features:

  • Same Samples: Datasets have the same entities but different features.
  • Feature Combination: Enables the combination of features from different participants to train a more comprehensive model.
  • Privacy: Data privacy is maintained as participants only share intermediate computations.

Example Use Case: A partnership between a retail company and a bank where the retail company has purchasing data and the bank has financial data about the same customers.

Types of Federated Learning in Machine Learning

Federated Learning is a powerful technique that allow a single machine to learn from many different source and converting the data into small pieces sending them to different Federated Learning (FL) is a decentralized of the machine learning paradigm that can enables to model training across various devices while preserving your data the data privacy.

In this article, we are going to learn about federated learning and discuss itā€™s types.

Table of Content

  • What is Federated Learning?
  • Types of Federated Learning
  • 1. Centralized vs. Decentralized Federated Learning
  • 2. Horizontal vs. Vertical Federated Learning
  • 3. Cross-Silo vs. Cross-Device Federated Learning
  • Conclusion

Similar Reads

What is Federated Learning?

Federated learning is a machine learning setting where the goal is to train a model across multiple decentralized edge devices or servers holding local data samples, without exchanging them. This approach contrasts with traditional centralized machine learning techniques where all data is uploaded to one server. Instead, in federated learning, the model is trained iteratively at multiple points of data origin, which send model updates rather than raw data to a central server....

Types of Federated Learning

Centralized vs. Decentralized Federated Learning Horizontal vs. Vertical Federated Learning Cross-silo vs. Cross-device Federated Learning...

Centralized vs. Decentralized Federated Learning

Centralized Federated Learning...

Horizontal vs. Vertical Federated Learning

Horizontal Federated Learning (HFL)...

Cross-Silo vs. Cross-Device Federated Learning

Cross-Silo Federated Learning...

Conclusion

Federated Learning offers a versatile framework for collaborative machine learning while preserving data privacy. By understanding the different types of Federated Learningā€”Centralized vs. Decentralized, Horizontal vs. Vertical, and Cross-Silo vs. Cross-Deviceā€”organizations can choose the approach that best fits their needs and constraints. Each type has its unique advantages and challenges, but all share the common goal of enabling robust, privacy-preserving machine learning across distributed data sources....

Contact Us