Introduction
In the rapidly evolving field of medical artificial intelligence, models are frequently required to integrate new diagnostic capabilities without losing proficiency in previously learned tasks. This paradigm, known as Class Incremental Learning (CIL), is essential for clinical applications where new diseases emerge or data is collected sequentially. However, CIL is plagued by "catastrophic forgetting," where the optimization for new classes significantly degrades performance on older ones.
In medical imaging, this issue is compounded by a "double imbalance" problem, often referred to as "Imbalance Squared." First, there is an incremental imbalance: the model has access to the full dataset for new classes but only a limited "memory buffer" for old classes. Second, there is an inherent dataset imbalance: certain medical conditions are naturally rarer than others. This paper proposes a novel framework utilizing two "plug-in" loss functions to mitigate these biases and improve feature representation.
Methodology
The authors introduce a two-pronged strategy designed to address imbalance at both the classification and feature embedding levels.
CIL-Balanced Classification Loss ($L_{cbc}$)
Standard Cross-Entropy loss functions often fail in incremental settings because they do not account for the disparity in sample sizes between old and new classes. The proposed $L_{cbc}$ incorporates logit adjustment to counteract classifier bias. By adjusting the output scores (logits) based on category frequency, the loss penalizes the model more heavily for misclassifying rare or underrepresented old classes. A scale factor, $\alpha$, is introduced to balance the trade-off between preserving old knowledge and acquiring new information.
Distribution Margin Loss ($L_{dm}$)
While $L_{cbc}$ addresses decision-making bias, $L_{dm}$ focuses on the underlying feature space. Traditional margin losses typically operate on individual data points, which can be ineffective when the memory buffer is small. Instead, this method models each class as a Gaussian distribution within the feature space. By enforcing a margin between these distributions, the model promotes inter-class separation and intra-class compactness. This approach is more robust to the limited sample sizes of old classes, as it optimizes for the distribution's "spread" rather than specific, potentially non-representative, samples.
Experimental Evaluation
The framework was evaluated on three diverse medical benchmarks:
- CCH5000: A histological dataset for colorectal cancer with eight balanced classes.
- HAM10000: A skin cancer dataset characterized by high imbalance, where a single class represents nearly 67% of the total data.
- EyePACS: A large-scale dataset for diabetic retinopathy (DR) classification, featuring five stages of disease severity and significant class imbalance.
Results and Insights
The proposed method demonstrated superior performance compared to state-of-the-art (SOTA) CIL frameworks such as LO2LN and DER.
On the HAM10000 dataset (3-2 incremental setting), the model achieved an accuracy of 85.0%, representing a 3% improvement over previous SOTA methods and a 5% reduction in forgetting. On the EyePACS dataset, the method achieved an accuracy of 82.8% and a forgetting rate of -0.5%, indicating that the model's performance on initial tasks actually improved slightly as it learned subsequent stages of the disease.
Ablation studies confirmed the synergy between the two losses. $L_{cbc}$ effectively corrected the decision-making bias toward frequent/new classes, while $L_{dm}$ reduced overlap in the feature space, leading to more distinct and tighter clusters for different diseases as evidenced by t-SNE visualizations.
Discussion and Limitations
Despite the performance gains, the authors identify several areas for future research. The model's effectiveness is somewhat dependent on the selection of hyper-parameters, specifically the $\alpha$ coefficient and margin values, which currently require dataset-specific tuning. Furthermore, the reliance on a memory buffer for rehearsal-based learning poses challenges in highly regulated medical environments where data privacy is paramount. Future work may explore "data-free" incremental learning to eliminate the need for storing patient samples.
Conclusion
By addressing the "Imbalance Squared" problem through logit adjustment and distribution-based margin losses, this research provides a robust framework for incremental learning in medical imaging. The ability to maintain high diagnostic accuracy across both rare and common conditions, while continuously learning new tasks, marks a significant step toward deployable, lifelong medical AI systems.
Summary updated