AI
New approach lets medical AI adapt to changing data without replaying old patient records
UniPrompt-CL uses a shared prompt pool to help medical imaging systems learn from new data distributions while maintaining privacy and computational efficiency.
Medical AI models deployed across different hospitals and clinics face a persistent challenge: they encounter shifting data as imaging devices change, patient populations vary, and institutional practices differ. Yet privacy regulations typically forbid storing or revisiting historical patient data, which complicates the traditional machine-learning approach of retraining on past examples.
Researchers have introduced UniPrompt-CL, a continual learning framework designed to help medical imaging systems adapt to these new environments efficiently. Rather than maintaining multiple copies of the core model or running repeated computations, the system uses a unified prompt pool that is shared across transformer layers, expanding it modestly with only a few prompts each time a new domain is encountered.
How it works#
The method operates within the constraints of modern medical deployment: it requires only a single inference pass and avoids the privacy risks of storing old patient data. By centralizing the prompt pool instead of keeping independent ones at each layer, UniPrompt-CL reduces redundancy across the model's architecture while still allowing targeted adaptation to new data distributions.
Performance on medical benchmarks#
Testing on diabetic retinopathy detection showed a 2.0 percentage point improvement in average accuracy compared to the leading single-backbone baseline, while also substantially limiting how much the model "forgets" about its earlier training. On skin cancer classification, the framework achieved competitive results while maintaining the lowest training overhead among similar configurations using a DINOv2-B backbone.
When the approach helps most#
Controlled experiments varying only how prompts were organized revealed that benefits came primarily from retaining knowledge of past domains rather than learning new ones particularly well. The gains were largest on medical imaging tasks, more modest on general object classification datasets like OfficeHome, and actually reversed when tested on the more heterogeneous domain shifts in DomainNet. This suggests that cross-layer prompt sharing is especially suited to medical scenarios, where domain shifts tend to be more incremental and on-site computing resources are often limited.

