[Paper Review] Achieving Fairness in Dermatological Disease Diagnosis through Automatic Weight Adjusting Federated Learning and Personalization
This paper proposes a two-stage fairness-aware federated learning framework for dermatological disease diagnosis that uses automatic loss-based weight adjustment during global model aggregation and personalized fine-tuning post-FL to reduce skin-type bias. The method improves fairness by prioritizing underperforming clients (e.g., dark skin types) and selects optimal models per skin type, achieving a 9.6% accuracy gain and 68% reduction in accuracy variance compared to baseline models.
Dermatological diseases pose a major threat to the global health, affecting almost one-third of the world's population. Various studies have demonstrated that early diagnosis and intervention are often critical to prognosis and outcome. To this end, the past decade has witnessed the rapid evolvement of deep learning based smartphone apps, which allow users to conveniently and timely identify issues that have emerged around their skins. In order to collect sufficient data needed by deep learning and at the same time protect patient privacy, federated learning is often used, where individual clients aggregate a global model while keeping datasets local. However, existing federated learning frameworks are mostly designed to optimize the overall performance, while common dermatological datasets are heavily imbalanced. When applying federated learning to such datasets, significant disparities in diagnosis accuracy may occur. To address such a fairness issue, this paper proposes a fairness-aware federated learning framework for dermatological disease diagnosis. The framework is divided into two stages: In the first in-FL stage, clients with different skin types are trained in a federated learning process to construct a global model for all skin types. An automatic weight aggregator is used in this process to assign higher weights to the client with higher loss, and the intensity of the aggregator is determined by the level of difference between losses. In the latter post-FL stage, each client fine-tune its personalized model based on the global model in the in-FL stage. To achieve better fairness, models from different epochs are selected for each client to keep the accuracy difference of different skin types within 0.05. Experiments indicate that our proposed framework effectively improves both fairness and accuracy compared with the state-of-the-art.
Motivation & Objective
- Address the significant skin-type bias in dermatological AI models, where dark skin types are underrepresented in training data.
- Improve fairness in federated learning for dermatological disease diagnosis by mitigating performance disparities across skin types.
- Develop a dynamic, automatic weight adjustment mechanism that prioritizes clients with higher loss during global model aggregation.
- Enable personalized model adaptation post-FL to balance fairness and accuracy across diverse skin types.
- Achieve a target accuracy gap of ≤5% between skin types while maximizing overall performance.
Proposed method
- In the in-FL stage, an automatic weight aggregator assigns higher global model update weights to clients with higher local loss, with intensity dynamically adjusted based on loss difference.
- The weight adjustment function uses a non-linear exponential mapping to amplify the influence of high-loss clients, with upper bound M and scaling factor m tuned for optimal performance.
- In the post-FL stage, each client fine-tunes its personalized model on the global model using selected checkpoints from different training epochs.
- Model selection is guided by a fairness constraint: the accuracy gap between skin types is maintained within 5% by choosing models with accuracy between 0.7 and 0.75 for each type.
- The framework uses the Fitzpatrick 17k dataset, with skin types 1–6 representing varying pigmentation levels, and evaluates fairness via accuracy gap and variance metrics.
- Hyperparameters such as M and m are tuned via ablation, with M=3 identified as optimal for balancing accuracy and stability.
Experimental results
Research questions
- RQ1Can automatic, loss-based weight adjustment in federated learning reduce performance disparities across skin types in dermatological disease diagnosis?
- RQ2How does dynamic weight adjustment compare to fixed or static weighting schemes in improving fairness under data imbalance?
- RQ3To what extent can personalized fine-tuning after global model training further enhance fairness and accuracy for underrepresented skin types?
- RQ4What is the optimal trade-off between fairness (accuracy gap ≤5%) and overall accuracy when selecting models from different training epochs?
- RQ5Does the proposed framework outperform state-of-the-art federated learning methods in fairness and accuracy on real-world dermatological datasets?
Key findings
- The proposed FedAuto method achieved a 9.6% absolute increase in overall accuracy compared to the baseline FedAvg model.
- The accuracy variance across skin types was reduced to 32% of the original model’s variance, indicating significant fairness improvement.
- Skin type 6 (darkest skin) saw the most substantial accuracy improvement, reaching 0.725 after post-FL fine-tuning, closing the gap with higher-performing skin types.
- The optimal upper bound M=3 for the weight adjustment function yielded the highest F1 score (0.7003) and lowest accuracy variation (0.00015).
- Dynamic weight adjustment outperformed fixed hyperparameter settings, demonstrating the benefit of automatic intensity adaptation based on loss differences.
- Model selection from different epochs enabled a fairness-accuracy trade-off, with selected models maintaining accuracy within 0.05 of each other across all skin types.
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.