Introduction
In clinical settings, medical AI models must adapt to new diseases and data without losing previously acquired knowledge. Standard deep learning models suffer from "catastrophic forgetting," where training on new tasks overwrites weights for old ones. While retraining from scratch is a solution, it is often infeasible due to data privacy constraints or lack of access to historical datasets. This paper presents Adapter-based Continual Learning (ACL), a framework designed to maintain model plasticity for new tasks while ensuring stability for old ones.
Methodology
The ACL framework introduces a modular approach to continual learning by utilizing a frozen pretrained backbone and task-specific components.
Architecture
The core architecture consists of three main elements:
- Fixed Feature Extractor: The pretrained backbone (e.g., ResNet18) remains frozen to preserve fundamental feature representations.
- Lightweight Adapters: Small, two-layer convolutional modules are inserted between stages of the feature extractor. These adapters learn task-specific features without significantly increasing model parameters.
- Task-Specific Heads with OOD Detection: Each task is assigned a dedicated classifier head. These heads include an "Others" category to identify samples that do not belong to the current task, facilitating out-of-distribution (OOD) detection.
Collaborative Fine-Tuning
To ensure comparability between independent task heads, a final calibration step is performed. A small, balanced subset of data is used to fine-tune the system, allowing for accurate cross-task inference.
Experimental Results
The framework was evaluated on medical datasets (Skin8, Path16, MedMNIST) and general-purpose benchmarks (CIFAR100).
Performance Comparison
ACL consistently outperformed established continual learning baselines such as iCaRL, DynaER, and DER++. On the Skin8 dataset, ACL achieved a Mean Class Recall (MCR) of 50.38% at the final round, compared to 41.94% for iCaRL.
Key Insights
- Efficiency: Adapters provide a lightweight alternative to full model expansion, preventing exponential growth in parameters.
- Stability: ACL exhibits graceful performance decay as more tasks are added, maintaining higher accuracy over time compared to rehearsal-based or expansion-based methods.
- Generalizability: The method is architecture-agnostic, showing consistent gains across ResNet, EfficientNet, and MobileNet backbones.
Conclusion
ACL offers a robust solution for sequential disease learning in medical AI. By leveraging frozen feature extractors and task-specific adapters, it mitigates catastrophic forgetting while remaining computationally efficient. Future work will explore extending this framework to more complex vision tasks such as lesion detection and segmentation.
Summary updated