Collaborative Federated Learning For Healthcare: Multi-Modal COVID-19 Diagnosis at the Edge

Adnan Qayyum, Kashif Ahmad, Muhammad Ahtazaz Ahsan, Ala Al-Fuqaha, Junaid QadirarXiv 2021

TL;DR

This paper introduces a Clustered Federated Learning (CFL) framework for multi-modal COVID-19 diagnosis at the edge, enabling remote healthcare centers to collaboratively train a single model on both X-ray and ultrasound data without sharing private patient information. By grouping clients based on data modality, the approach overcomes the data divergence issues that plague conventional federated learning, boosting F1-scores by up to 16%.

What Problem Does This Paper Address?

Deploying cloud-based AI for medical imaging faces major hurdles: high latency, massive bandwidth costs, and strict data privacy regulations. Federated Learning (FL) offers a decentralized alternative by training machine learning models locally on edge devices (like hospital servers) and only sharing weight updates rather than raw patient data.

However, standard FL breaks down when data is statistically heterogeneous. In a real-world pandemic scenario, different clinics use different imaging modalities—some have X-ray machines, while others rely on ultrasound devices. Forcing a single conventional FL model to learn across these vastly different data distributions leads to poor convergence and subpar diagnostic performance. The authors tackle this gap by developing a collaborative framework that can handle multi-modal data efficiently at the edge.

Methods

The authors propose a Clustered Federated Learning (CFL) framework tailored for multi-modal edge environments. Instead of treating all edge nodes identically, clients are implicitly partitioned into disjoint clusters based on their data modality (e.g., Cluster 1 for X-rays, Cluster 2 for Ultrasounds).

  • Architecture: A modified VGG16 network (with an extra convolutional layer and three fully connected layers stacked before the output) serves as the multi-modal model architecture.
  • Loss Function: To combat severe class imbalances in the datasets, the authors implement Focal Loss. This modifies standard cross-entropy by adding a modulating factor that down-weights well-classified examples, forcing the model to focus on hard-to-classify COVID-19 cases.
  • Aggregation: The central server coordinates training by performing federated averaging (FedAvg) across the clusters, updating a single shared model capable of processing both image types without needing explicit modality labels during inference.

The differences between centralized training, conventional FL, and the proposed CFL paradigm are illustrated in Figure 2.

Fig. 2: The proposed clustered federated learning based collaborative learning paradigm (Fig. 2 (c)) versus the method of model training using central data (Fig. 2 (a)) and the conventional federated learning model training method for multiple modalities (Fig. 2 (b)). The term “clients” refers to hospitals, clinics, and medical imaging facilities.

Datasets

The framework was evaluated using two distinct public datasets:

  1. Chest X-ray Dataset: Consists of 1,251 images (179 COVID-19, 1,072 Healthy) for training and 313 for testing.
  2. Lung Ultrasound (POCUS) Dataset: Contains 435 images (319 COVID-19, 116 Healthy) for training and 110 for testing.

These datasets exhibit significant inter- and intra-class variability in terms of image quality, contrast, and subject positioning, making generalization a tough challenge (see Figure 3).

Fig. 3: The depiction of inter and intra class variations observed in COVID-19 datasets (X-ray [10] and Ultrasound [13]).

Key Insights and Ideas

  • Modality Blindness with Structural Awareness: The shared model successfully learns to diagnose COVID-19 from completely different imaging types (X-ray vs. ultrasound) without being explicitly told which modality it is looking at during a given training round.
  • The "Inflection Point" Danger: A key finding is that multi-modal models in conventional FL environments quickly overfit and diverge. In CFL, there is a clear "inflection point" in communication rounds (around round 65 in their tests) where cluster weights begin to diverge significantly. This highlights the absolute necessity of early stopping mechanisms in multi-modal edge learning, as shown in Figure 5.
Test loss curves showing the inflection point

Key Results

The proposed CFL framework significantly outperformed conventional multi-modal FL and achieved performance on par with specialized models trained exclusively on a single data type (Figure 4):

  • X-ray Performance: CFL achieved an overall F1-score of 0.76 for COVID-19 detection, a massive 16% improvement over conventional multi-modal FL (which scored 0.41).
  • Ultrasound Performance: CFL reached an F1-score of 0.94, marking an 11% improvement over conventional multi-modal FL (0.84).

These results demonstrate that clustering effectively mitigates the negative impacts of data distribution divergence while preserving the collaborative benefits of decentralized training.

Fig. 4: Comparison of clustered federated learning (CFL) with two baselines (i.e., the specialized models (trained with conventional FL independently for each modality) and conventional federated learning (when the model is trained using multi-modal data)) in terms of average values of precision, recall, and F1-score on X-ray and Ultrasound imagery.

Limitations and Future Work

  • Optimization Challenges: Tuning CFL parameters remains difficult, and model performance degrades if training continues past the inflection point, requiring better automated early-stopping criteria.
  • Hardware and Statistical Heterogeneity: Edge devices vary wildly in computational power and network stability. The current work assumes synchronous updates, which can cause delays if a node goes offline. The authors note that developing asynchronous distributed ML approaches is a vital next step.
  • Security Vulnerabilities: Decentralized edge networks are highly susceptible to adversarial attacks and local model poisoning, which requires the future development of adversarially robust ML models.

Summary updated

Abstract

Despite significant improvements over the last few years, cloud-based healthcare applications continue to suffer from poor adoption due to their limitations in meeting stringent security, privacy, and quality of service requirements (such as low latency). The edge computing trend, along with techniques for distributed machine learning such as federated learning, have gained popularity as a viable solution in such settings. In this paper, we leverage the capabilities of edge computing in medicine by analyzing and evaluating the potential of intelligent processing of clinical visual data at the edge allowing the remote healthcare centers, lacking advanced diagnostic facilities, to benefit from the multi-modal data securely. To this aim, we utilize the emerging concept of clustered federated learning (CFL) for an automatic diagnosis of COVID-19. Such an automated system can help reduce the burden on healthcare systems across the world that has been under a lot of stress since the COVID-19 pandemic emerged in late 2019. We evaluate the performance of the proposed framework under different experimental setups on two benchmark datasets. Promising results are obtained on both datasets resulting in comparable results against the central baseline where the specialized models (i.e., each on a specific type of COVID-19 imagery) are trained with central data, and improvements of 16\% and 11\% in overall F1-Scores have been achieved over the multi-modal model trained in the conventional Federated Learning setup on X-ray and Ultrasound datasets, respectively. We also discuss in detail the associated challenges, technologies, tools, and techniques available for deploying ML at the edge in such privacy and delay-sensitive applications.
BibTeX
@misc{qayyum2021collaborative,
  author = {Adnan Qayyum and Kashif Ahmad and Muhammad Ahtazaz Ahsan and Ala Al-Fuqaha and Junaid Qadir},
  title = {{Collaborative Federated Learning For Healthcare: Multi-Modal COVID-19 Diagnosis at the Edge}},
  year = {2021},
  eprint = {2101.07511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.07511},
}
Figure