[Paper Review] FedIIC: Towards Robust Federated Learning for Class-Imbalanced Medical Image Classification
FedIIC proposes a privacy-preserving federated learning framework to address class imbalance in medical image classification by jointly optimizing feature learning and classifier calibration. It employs two-level contrastive learning (intra- and inter-client) to improve class-specific representation and difficulty-aware logit adjustment to dynamically balance decision boundaries, achieving state-of-the-art performance on real-world and simulated medical datasets with significant gains in balanced accuracy.
Federated learning (FL), training deep models from decentralized data without privacy leakage, has shown great potential in medical image computing recently. However, considering the ubiquitous class imbalance in medical data, FL can exhibit performance degradation, especially for minority classes (e.g. rare diseases). Existing methods towards this problem mainly focus on training a balanced classifier to eliminate class prior bias among classes, but neglect to explore better representation to facilitate classification performance. In this paper, we present a privacy-preserving FL method named FedIIC to combat class imbalance from two perspectives: feature learning and classifier learning. In feature learning, two levels of contrastive learning are designed to extract better class-specific features with imbalanced data in FL. In classifier learning, per-class margins are dynamically set according to real-time difficulty and class priors, which helps the model learn classes equally. Experimental results on publicly-available datasets demonstrate the superior performance of FedIIC in dealing with both real-world and simulated multi-source medical imaging data under class imbalance. Code is available at https://github.com/wnn2000/FedIIC.
Motivation & Objective
- To address the critical challenge of class imbalance in federated learning for medical image classification, where minority disease classes are underrepresented and poorly recognized.
- To develop a privacy-preserving FL framework that does not require sharing raw data across institutions.
- To simultaneously mitigate attribute bias (due to imbalanced background attributes) and class bias (due to prior probability differences) in global model training.
- To improve performance on minority classes without sacrificing accuracy on majority classes in decentralized, multi-source medical imaging settings.
Proposed method
- Two-level contrastive learning is introduced: intra-client contrastive learning enhances feature discrimination within each client’s local data, while inter-client contrastive learning aligns features across clients to improve generalization.
- The feature extractor is calibrated using a temperature-scheduled contrastive loss that adapts to class priors, reducing inter-class similarity and improving representation quality.
- A difficulty-aware logit adjustment (DALA) mechanism dynamically adjusts classifier logits based on real-time sample difficulty and class prior probabilities to balance decision boundaries.
- The framework integrates both components—contrastive feature learning and dynamic classifier calibration—within a unified FL pipeline to jointly reduce attribute and class biases.
- The method uses a global model aggregation strategy with full client participation per round, ensuring robust convergence across heterogeneous, imbalanced data sources.
- The approach is implemented with standard deep learning backbones and is compatible with existing FL training protocols, ensuring practical deployment in clinical settings.
Experimental results
Research questions
- RQ1Can joint optimization of feature learning and classifier calibration improve performance in federated learning under global class imbalance in medical imaging?
- RQ2How effective is two-level contrastive learning (intra- and inter-client) in learning robust, class-specific representations when data is globally imbalanced?
- RQ3Does dynamic logit adjustment based on sample difficulty and class priors lead to better decision boundaries and improved minority class recognition?
- RQ4How does FedIIC compare to state-of-the-art methods in handling both real-world and simulated multi-source, class-imbalanced medical image datasets?
Key findings
- FedIIC achieves the highest balanced accuracy (BACC) across all evaluated datasets, outperforming the second-best method (CReFF) by 3.99% on Real, 7.32% on ISIC, and 2.01% on ICH.
- The ablation study confirms that combining both intra- and inter-client contrastive learning with DALA yields the best performance, with BACC of 78.84% on ISIC and 84.22% on ICH.
- Setting the temperature parameter t=0.5 (based on class priors) significantly improves performance compared to t=0, validating the importance of dynamic temperature scheduling.
- Orthogonalization of prototype vectors reduces inter-class similarity and improves performance, with BACC increasing from 72.64% to 78.84% when applied.
- Introducing difficulty-aware logit adjustment (d=0.25) increases BACC but slightly reduces F1, confirming the trade-off between balanced accuracy and harmonic mean of precision/recall.
- The full FedIIC framework achieves the best F1 score of 78.05 on ISIC and 84.73 on ICH, demonstrating consistent improvement across all metrics.
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.