Abstract
Medical AI models often struggle to generalize across diverse clinical environments due to distribution shifts. We introduce FedMedICL, a benchmark that evaluates federated medical imaging models under the simultaneous pressures of label imbalance, demographic shifts, and temporal changes. Our evaluation of various state-of-the-art algorithms reveals that a simple federated class-balancing technique often outperforms more complex methods, highlighting the need for robust solutions to the plasticity-stability dilemma in real-world medical deployments.
Introduction
Building AI for medical imaging is a high-stakes challenge in generalization. To be clinically useful, a model must work across different hospitals, patient demographics, and evolving disease patterns. However, two major hurdles stand in the way: data silos, which necessitate Federated Learning (FL) for privacy, and distribution shifts, which require Continual Learning (CL) to handle evolving data. While researchers have developed FL and CL independently, they are rarely tested together in a medical context.
Existing benchmarks are often too narrow, focusing on one type of shift while ignoring others. This paper introduces FedMedICL, a benchmark designed to evaluate how models handle label imbalance, demographic shifts, and temporal changes simultaneously.
The FedMedICL Framework
The authors propose a dual-function problem formulation that simulates a realistic medical ecosystem using two main strategies:
- Client Splitting: Datasets are divided into "Balanced" and "Skewed" clients to mimic how different institutions (e.g., a retirement community hospital vs. a city center clinic) serve different demographic populations.
- Temporal Task Splitting: This models how data evolves over time, including localized seasonal changes and the sudden emergence of a pandemic (the "Novel Disease Split").
Experimental Setup
The study utilizes six diverse medical imaging datasets covering chest X-rays, skin lesions, abdominal CTs, and eye fundus images: CheXpert, Fitzpatrick17k, HAM10000, OL3I, PAPILA, and CheXCOVID (a custom dataset simulating pandemic propagation). Several popular algorithms—ranging from data augmentation (MixUp) to domain generalization (SWAD) and class-imbalance methods (CRT)—were adapted into federated versions (prefixed with "F-") for evaluation. The benchmark required approximately 550 GPU hours to complete, reflecting the complexity of holistic evaluation.
Results and Discussion
The primary metric used was Long-Tailed Recognition (LTR) Accuracy, which prevents models from "cheating" by simply predicting the most common disease classes.
Key Insights
- The Efficacy of Simplicity: In 5 out of 6 datasets, a straightforward class-balancing technique (F-CB) outperformed much more sophisticated algorithms. This suggests that addressing fundamental label imbalance is often more effective than complex weight-averaging schemes in multi-shift environments.
- Complexity as a Liability: Methods like SWAD (Stochastic Weight Averaging) require many iterations to converge, making them less suitable for the fast-paced, communication-heavy environment of federated continual learning.
- The Plasticity-Stability Dilemma: In the COVID-19 simulation, a stark trade-off was observed. Standard models forgot old diseases when learning about COVID, while specialized CL models were often too slow to recognize the new threat in the early stages of the pandemic.
- Demographics vs. Labels: In the PAPILA (eye) dataset, demographic shifts (age) were more disruptive than label imbalance. The physical structure of the eye changes significantly with age, creating a "feature shift" that simple balancing cannot fix.
Conclusion
FedMedICL provides a significant step toward holistically evaluating medical AI in the wild. The results highlight a critical need for new algorithms that can handle the high-plasticity requirements of a pandemic without sacrificing the stability of existing diagnostic capabilities. Future work will expand the framework to include more demographic attributes and multi-modal data.
Summary updated