A Novel Framework of Horizontal-Vertical Hybrid Federated Learning for EdgeIoT

Kai Li, Yilei Liang, Xin Yuan, Wei Ni, Jon Crowcroft, Chau Yuen, Özgür B. Akan

TL;DR

This paper introduces HoVeFL, a hybrid Federated Learning framework that simultaneously integrates Horizontal (HFL) and Vertical (VFL) learning strategies for EdgeIoT environments. By allowing some devices to train on disparate features of the same samples while others train on the same features across different non-IID samples, HoVeFL effectively handles the extreme data heterogeneity found in real-world IoT applications like smart healthcare.

What Problem Does This Paper Address?

In the Internet of Things (IoT), data is rarely uniform. Imagine a smart hospital: one device might track a patient's heart rate (vital signs), while another performs an X-ray (imaging). These devices share the same "clients" (patients) but look at different "features"—this is the domain of Vertical Federated Learning (VFL). Conversely, different hospitals might collect the same types of vital signs but from entirely different groups of patients—this is Horizontal Federated Learning (HFL).

Existing FL frameworks typically focus on one or the other. However, real-world EdgeIoT deployments are often a messy mix of both. The challenge is creating a single, unified framework that can aggregate updates from devices that are heterogeneous in both the data samples they hold and the features they analyze, all while maintaining privacy and ensuring the global model converges.

Methods

The authors propose the Horizontal-Vertical Hybrid Federated Learning (HoVeFL) framework. Its core components include:

  • Hybrid Formulation: The framework defines a global loss function that accounts for $N_i$ devices training on specific features and $N_j$ devices training on specific data samples.
  • Local Training with Regularization: Each device minimizes a local loss function using Stochastic Gradient Descent (SGD). Crucially, they include a regularizer function $\zeta(\cdot)$ to mitigate the effects of local noise and potential overfitting caused by overlapping features across different devices.
  • Weighted Aggregation: The central server performs a weighted aggregation of local model updates. This process aligns HFL-type updates (which improve generalizability across populations) with VFL-type updates (which provide deep vertical insights into specific data relationships).
  • Convergence Analysis: The authors provide a mathematical proof of convergence under the Polyak-Lojasiewicz (PL) condition, showing that the framework can reach a global optimum even with non-IID (non-independent and identically distributed) data.

Datasets

The framework was evaluated using two standard image classification benchmarks, partitioned to simulate hybrid HFL/VFL environments:

  • CIFAR-10: A collection of 60,000 32x32 color images in 10 classes.
  • SVHN (Street View House Numbers): A real-world image dataset containing over 600,000 digit images.

Key Insights and Ideas

  • The IID vs. Non-IID Balance: One of the most interesting findings is that VFL-heavy configurations tend to perform better. Because VFL devices train on the same samples (effectively IID data), their updates are more homogeneous and lead to more accurate global models. HFL devices, dealing with different patient populations (non-IID data), introduce more variance.
  • Complementary Strengths: HFL provides the "breadth" (generalization across different users), while VFL provides the "depth" (understanding complex relationships between different types of data for the same user). HoVeFL is the bridge that allows a system to leverage both.
  • Optimizer Impact: The research confirms that adaptive optimizers like Adam converge significantly faster than standard SGD in this hybrid environment, which is critical for resource-constrained EdgeIoT devices.

Key Results

The authors compared different ratios of HFL and VFL devices:

  • Accuracy Trade-offs: In a setup with 12 HFL devices and 6 VFL devices, the testing loss was 5.5% higher (CIFAR-10) and 25.2% higher (SVHN) compared to a setup with 6 HFL devices and 12 VFL devices.
  • VFL Superiority: Testing losses for the hybrid HoVeFL were roughly 5.9% to 33.3% higher than a pure VFL setup. This highlights the inherent difficulty of learning from the non-IID data samples present in the HFL portion of the hybrid model.
  • Convergence: The mathematical analysis and numerical results both confirmed that the global model successfully converges despite the complex, multi-dimensional data partitioning.

Limitations and Future Work

  • Communication Overhead: While the paper addresses model accuracy and convergence, it does not deeply explore the communication costs associated with synchronizing such a complex hybrid architecture over wireless IoT links.
  • Feature Overlap Complexity: The current model uses a regularizer to handle overlapping features, but more sophisticated feature-alignment techniques might be needed as the number of disparate IoT sensors grows.
  • Privacy Granularity: The paper assumes standard FL privacy but doesn't explore how differential privacy or secure multi-party computation might specifically interact with the hybrid HFL/VFL split.

Summary updated

BibTeX
@inproceedings{li2025novel,
  author = {Kai Li and Yilei Liang and Xin Yuan and Wei Ni and Jon Crowcroft and Chau Yuen and Özgür B. Akan},
  title = {{A Novel Framework of Horizontal-Vertical Hybrid Federated Learning for EdgeIoT}},
  booktitle = {IEEE Netw. Lett},
  year = {2025},
  url = {https://openreview.net/forum?id=50s9EthaxV},
}
Figure