[Paper Review] Federated Contrastive Learning for Dermatological Disease Diagnosis via On-device Learning
This paper proposes an on-device federated contrastive learning framework for dermatological disease diagnosis that enhances model performance using limited labeled data. By enabling feature sharing among devices during self-supervised pre-training and removing local negatives, the method improves data diversity and representation quality, achieving state-of-the-art recall and precision gains on dermatological datasets compared to existing federated and contrastive learning baselines.
Deep learning models have been deployed in an increasing number of edge and mobile devices to provide healthcare. These models rely on training with a tremendous amount of labeled data to achieve high accuracy. However, for medical applications such as dermatological disease diagnosis, the private data collected by mobile dermatology assistants exist on distributed mobile devices of patients, and each device only has a limited amount of data. Directly learning from limited data greatly deteriorates the performance of learned models. Federated learning (FL) can train models by using data distributed on devices while keeping the data local for privacy. Existing works on FL assume all the data have ground-truth labels. However, medical data often comes without any accompanying labels since labeling requires expertise and results in prohibitively high labor costs. The recently developed self-supervised learning approach, contrastive learning (CL), can leverage the unlabeled data to pre-train a model, after which the model is fine-tuned on limited labeled data for dermatological disease diagnosis. However, simply combining CL with FL as federated contrastive learning (FCL) will result in ineffective learning since CL requires diverse data for learning but each device only has limited data. In this work, we propose an on-device FCL framework for dermatological disease diagnosis with limited labels. Features are shared in the FCL pre-training process to provide diverse and accurate contrastive information. After that, the pre-trained model is fine-tuned with local labeled data independently on each device or collaboratively with supervised federated learning on all devices. Experiments on dermatological disease datasets show that the proposed framework effectively improves the recall and precision of dermatological disease diagnosis compared with state-of-the-art methods.
Motivation & Objective
- To address the challenge of training accurate dermatological disease diagnosis models when labeled data is scarce and distributed across mobile devices.
- To overcome the limitation of contrastive learning in federated settings, where low data diversity per device degrades performance.
- To preserve patient privacy by avoiding raw data sharing while enhancing representation learning through feature exchange across devices.
- To improve labeling efficiency by enabling effective fine-tuning with minimal labeled data using pre-trained models.
- To develop a two-stage framework combining federated self-supervised pre-training and collaborative or local fine-tuning for medical image diagnosis.
Proposed method
- Introduces a two-stage framework: federated self-supervised pre-training using contrastive learning on unlabeled data, followed by fine-tuning with limited labeled data.
- Proposes feature exchange (FE) among devices during pre-training to increase data diversity and improve contrastive learning quality without sharing raw images.
- Removes local negatives during contrastive learning to enhance clustering of learned representations and reduce noise.
- Uses FedAvg as the aggregation strategy for both pre-training and fine-tuning stages to maintain model consistency across devices.
- Employs a Siamese network architecture with data augmentations (e.g., random cropping, color jittering) to generate positive and negative pairs for contrastive loss.
- Supports both local and federated fine-tuning, allowing flexibility in deployment based on data availability and privacy constraints.
Experimental results
Research questions
- RQ1Can federated contrastive learning effectively learn robust representations for dermatological disease diagnosis when each device has only limited and unlabeled data?
- RQ2How does feature sharing among devices improve the performance of contrastive learning in a federated setting with low data diversity per client?
- RQ3What is the impact of removing local negatives on the quality of learned representations and downstream diagnosis accuracy?
- RQ4To what extent can the proposed framework reduce labeling requirements while maintaining or improving diagnostic performance?
- RQ5How does the proposed method compare to state-of-the-art federated and contrastive learning baselines in terms of recall and precision on dermatological datasets?
Key findings
- With 10% labeled data, the proposed method achieved 48.03% recall and 42.87% precision in federated fine-tuning, outperforming the best baseline (FedSimCLR) by 2.14 percentage points in recall and 1.43 points in precision.
- At 40% label fraction, the proposed method reached 55.13% recall and 48.73% precision, matching or exceeding the performance of baselines trained with twice the labeled data.
- The ablation study confirmed that feature exchange improved recall from 44.72% to 47.45%, and removing local negatives further increased it to 48.03% with 10% labels.
- The proposed method consistently improved both recall and precision across all label fractions (10%, 20%, 40%, 80%) compared to all baselines in both local and federated fine-tuning settings.
- The framework demonstrated robustness across diverse skin types, as evaluated on dermatological datasets with varied pigmentation and disease presentations.
- The results indicate that feature sharing significantly enhances representation learning in low-data, privacy-constrained environments, making it suitable for real-world mobile dermatology applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.