Introduction
In the Internet of Things (IoT) landscape, data is rarely uniform. Consider a smart healthcare environment: 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 analyze different "features"—a scenario typically addressed by Vertical Federated Learning (VFL). Conversely, different hospitals might collect the same types of vital signs but from entirely different groups of patients, which falls under Horizontal Federated Learning (HFL).
Existing Federated Learning (FL) frameworks typically focus on either HFL or VFL. However, real-world EdgeIoT deployments are often a complex mixture of both. This paper introduces HoVeFL, a hybrid framework designed to simultaneously integrate HFL and VFL strategies, effectively handling the extreme data heterogeneity found in modern IoT applications.
The HoVeFL Framework
The authors propose the Horizontal-Vertical Hybrid Federated Learning (HoVeFL) framework to bridge the gap between breadth and depth in data analysis.
The core components of HoVeFL include:
- Hybrid Formulation: A global loss function that accounts for $N_i$ devices training on specific features (VFL) and $N_j$ devices training on specific data samples (HFL).
- Local Training with Regularization: Each device minimizes a local loss function using Stochastic Gradient Descent (SGD). A regularizer function $\zeta(\cdot)$ is employed 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.
Experimental Evaluation
The framework was evaluated using two standard image classification benchmarks partitioned to simulate hybrid HFL/VFL environments:
- CIFAR-10: 60,000 32x32 color images in 10 classes.
- SVHN (Street View House Numbers): Over 600,000 real-world digit images.
Key Results and Insights
The research highlights several critical trade-offs in hybrid learning environments. One of the most significant findings is the impact of the HFL/VFL device ratio on model performance.
- VFL Superiority and Data Homogeneity: VFL-heavy configurations tend to perform better. Because VFL devices train on the same samples (effectively IID data), their updates are more homogeneous, leading to more accurate global models. In contrast, HFL devices deal with different patient populations (non-IID data), introducing more variance. For example, in a setup with 12 HFL devices and 6 VFL devices, the testing loss was 5.5% higher on CIFAR-10 and 25.2% higher on SVHN compared to a setup with 6 HFL devices and 12 VFL devices.
- Optimizer Performance: As shown in the experimental results, adaptive optimizers like Adam converge significantly faster than standard SGD in this hybrid environment. This is a critical factor for resource-constrained EdgeIoT devices where communication efficiency is paramount.
- Complementary Strengths: While VFL provides "depth" in understanding complex relationships for specific users, HFL provides the "breadth" necessary for generalization across different users. HoVeFL serves as the bridge allowing systems to leverage both.
Conclusion and Future Work
HoVeFL demonstrates that a unified framework can successfully aggregate updates from devices that are heterogeneous in both data samples and features. Mathematical analysis and numerical results confirm that the global model converges even under complex, multi-dimensional data partitioning.
However, several areas remain for future exploration:
- Communication Overhead: The costs associated with synchronizing this complex architecture over wireless IoT links need further investigation.
- Feature Overlap: More sophisticated feature-alignment techniques may be required as the variety of IoT sensors grows.
- Privacy: Future work should explore how differential privacy or secure multi-party computation interacts with the unique hybrid HFL/VFL split.
Summary updated