Introduction
Standard Federated Learning (FL) often requires participants to share identical model architectures, feature spaces, or public datasets for alignment. In real-world applications, such as collaboration between financial institutions with different database schemas and proprietary models, these constraints are prohibitive. This paper introduces a framework for Completely Heterogeneous Federated Learning, enabling collaboration across diverse model architectures, data features, and label distributions without compromising local privacy.
Methodology
The proposed approach addresses heterogeneity through three primary mechanisms:
1. Parameter Decoupling
Rather than aggregating full models, the framework splits local models into a large, private feature extractor (the "non-head" module) and a small classification "head." For architectures like ResNet-18, the head comprises less than 5% of total parameters. Only these heads are synchronized with the server, allowing clients to maintain unique, proprietary architectures for the remaining 95% of their models.
2. Data-Free Knowledge Distillation (KD)
To facilitate knowledge transfer without sharing raw data, the system employs a distillation process. Each client maintains a local head and a global head (received from the server). During training, the local model treats the global head as a "teacher," distilling global insights into the local architecture.
3. Decoupled Knowledge Distillation (DKD) Loss
To mitigate issues arising from non-i.i.d. data (where clients may lack certain classes), a specialized DKD loss is used. This loss separates target class predictions from non-target probabilities, preventing the model from being biased by a global teacher's confidence in classes the local client has never encountered.
Experimental Setup
The framework was evaluated on both image and tabular datasets to simulate extreme heterogeneity.
- Image Data: A combination of MNIST, MNIST-M, and Synthetic Digits was used to test cross-domain performance.
- Tabular Data: Datasets such as ADULT, HCC, BCD, and ILPD were sliced into sub-datasets with varying features to simulate real-world database heterogeneity.
Key Results
- Accuracy Gains: In cross-domain image experiments, the method achieved 82.87% accuracy, compared to 64.48% for standard parameter averaging.
- Tabular Robustness: On the BCD dataset, accuracy reached 90.66%, a significant improvement over the 71.40% achieved by isolated local training (SOLO).
- Guaranteed Positive Effect: Unlike many FL methods that can degrade performance in heterogeneous settings ("negative effect"), this approach consistently improved local model performance across all tested scenarios.
Discussion and Future Work
While the "5% rule" for head synchronization effectively preserves privacy and handles architectural diversity, some constraints remain. Currently, clients must agree on a shared label space and a fixed embedding length for the vector entering the head module. Future research will focus on removing these remaining coordination requirements and exploring even more complex non-i.i.d. environments.
Summary updated