A Decentralized Collaborative Learning Framework Across Heterogeneous Devices for Personalized Predictive Analytics

Guanhua Ye, Hongzhi Yin, Tong Chen · DOI

Abstract

The Similarity-Quality-based Messenger Distillation (SQMD) framework addresses the critical challenges of model heterogeneity and data sparsity in collaborative machine learning for healthcare. By utilizing "messengers"—soft labels generated on a public reference dataset—SQMD enables effective knowledge transfer between devices with entirely different architectures. This approach preserves privacy, mitigates the "global bias" inherent in standard Federated Learning, and provides personalized models tailored to individual patient profiles. Our evaluations on sleep classification and apnea detection datasets demonstrate that SQMD significantly outperforms existing baselines, maintaining high accuracy even under extreme data sparsity.

Introduction

The proliferation of Healthcare Internet-of-Things (IoT) devices offers unprecedented opportunities for personalized predictive analytics. However, traditional Federated Learning (FL) paradigms are often hindered by the requirement for architectural homogeneity; every participant must typically use the same neural network to allow for weight averaging. In practice, devices ranging from high-end smartphones to low-power wearables possess vastly different computational constraints, necessitating heterogeneous models.

Furthermore, healthcare data is inherently sparse and biased. A single user's physiological data rarely represents the broader population, and centralized training on cloud servers introduces significant privacy risks and latency. Existing heterogeneous FL methods often suffer from "global bias," where the majority's data distribution dominates, potentially ignoring the specific needs of minority groups or rare medical conditions.

Methodology: The SQMD Framework

The proposed SQMD framework shifts the focus from sharing model parameters to sharing knowledge via "Messenger Distillation." This process utilizes a small, public, unlabeled reference dataset as a "universal language" for communication.

Overview of the SQMD framework architecture showing the interaction between clients and the server via messenger distillation.

The architecture, as illustrated in the figure above, involves several key components:

  1. Messenger Generation: Each client uses its local model to predict soft labels (logits) for the reference dataset. These logits, or "messengers," encapsulate the model's learned patterns without revealing its internal structure or private training data.
  2. Quality Filtering: To ensure the integrity of the collaborative network, the server evaluates the quality of each messenger against ground-truth labels for the reference set. This prevents poorly trained or malicious models from degrading the performance of others.
  3. Dynamic Collaboration Graph: The server calculates the similarity between clients using the Kullback–Leibler (KL) divergence of their messengers. It then constructs a personalized collaboration graph, ensuring that each client only receives knowledge from its $k$ most similar and high-quality neighbors.
  4. Personalized Local Updates: During training, clients optimize a joint loss function. This function balances local classification accuracy with a distillation loss that aligns the local model with the "merged messenger" received from its selected peers.

Experimental Evaluation

We evaluated SQMD across three datasets representing diverse healthcare and general challenges:

  • Sleep Cassette (SC): 153 overnight EEG recordings for sleep stage classification (Awake, NREM, REM).
  • PhysioNet Apnea-ECG (PAD): ECG recordings for detecting Obstructive Sleep Apnea events.
  • Fashion-MNIST (FMNIST): A benchmark for testing generalizability in non-IID settings. The experimental setup included a heterogeneous mix of ResNet8, ResNet20, and ResNet50 architectures to simulate a realistic IoT environment.

Results and Discussion

SQMD consistently demonstrated superior performance compared to state-of-the-art baselines like FedMD and isolated training (I-SGD). On the PAD dataset, SQMD achieved an accuracy of 92.03%, surpassing FedMD (91.52%) and D-Dist (90.72%).

Impact of data sparsity on model accuracy for the Sleep Cassette (SC) and PhysioNet Apnea-ECG (PAD) datasets.

A standout feature of SQMD is its robustness to data sparsity. As shown in the figure above, when local training data is reduced to just 0.1% of the original set, SQMD maintains significantly higher accuracy than isolated training. This indicates that the distillation of "messengers" from similar peers effectively compensates for the lack of local information. Furthermore, SQMD exhibits enhanced stability in asynchronous scenarios, showing shallower accuracy drops and faster recovery when new facilities join the network compared to traditional methods.

Conclusion

SQMD presents a robust and flexible framework for decentralized collaborative learning across heterogeneous devices. By prioritizing personalization and quality-controlled knowledge distillation, it effectively addresses the limitations of traditional Federated Learning in the healthcare domain. While the reliance on a reference dataset and the associated communication overhead remain areas for optimization, SQMD represents a significant step toward practical, privacy-preserving, and personalized IoT analytics. Future research will explore fully decentralized peer-to-peer implementations to further enhance scalability and resilience.

Summary updated

BibTeX
@article{ye2023decentralized,
  author = {Guanhua Ye and Hongzhi Yin and Tong Chen},
  title = {{A Decentralized Collaborative Learning Framework Across Heterogeneous Devices for Personalized Predictive Analytics}},
  journal = {IEEE J. Biomed. Health Informatics},
  year = {2023},
  doi = {10.1109/jbhi.2023.3247463},
}
Figure