Introduction
In modern healthcare, data is inherently multimodal, spanning clinical notes, lab results, medical imaging, and diagnostic codes. However, this data is often siloed across disparate databases. For instance, a patient's chest X-rays might be stored in one system (e.g., MIMIC-CXR), while their longitudinal Electronic Health Records (EHR) reside in another (e.g., MIMIC-IV). This fragmentation leads to significant data scarcity—frequently, less than 25% of patients overlap between these sources—and limits the ability of AI models to generalize across different medical tasks.
The MEDCSP Framework
To address these challenges, we present MEDCSP (Medical Cross-Source Pre-training), a novel framework designed to "stitch" fragmented medical data sources together. MEDCSP employs a three-layered contrastive learning strategy to align representations across different modalities and sources, even when explicit patient identifiers are missing.
The framework operates through three primary alignment mechanisms:
- Intra-source Alignment: Within a single record, the model learns to associate different modalities (e.g., matching clinical notes to ICD-10 codes) by pulling their embeddings toward a unified record representation.
- Cross-source (Same Patient): For patients appearing in multiple databases, records within a 30-day temporal window are aligned, ensuring the multimodal view remains clinically relevant.
- Cross-source (Similar Cohorts): This "secret sauce" leverages diagnostic history as a universal link. By calculating the similarity of patients' multi-hot diagnosis vectors, the model aligns records from different patients across silos, effectively turning every patient into a potential bridge for learning.
Experimental Results
MEDCSP was pre-trained on the massive MIMIC-IV and MIMIC-CXR datasets and evaluated across various downstream tasks, including zero-shot image classification and EHR predictive modeling.
The model demonstrated a significant "Unity in Diversity" advantage. In text-image retrieval on MIMIC-CXR, MEDCSP achieved a Precision@1 of 12.06%, vastly outperforming standard medical CLIP-based models which often struggle to exceed 0.5%. In zero-shot COVID-19 image classification, it reached an F1 score of 62.36%, surpassing specialized models like CXRCLIP and LLaVAMed.
Furthermore, the diversity of imaging data during pre-training enhanced performance on purely clinical EHR tasks. As shown in the evaluation of ICU mortality prediction, MEDCSP outperformed established baselines like MedHMP and DCMN, proving that cross-modal diversity aids clinical understanding.
Conclusion
MEDCSP breaks down the barriers between fragmented medical data sources by leveraging temporal alignment and diagnostic similarities. By moving beyond simple patient-matching, it enables the development of more robust, generalizable medical AI. Future work will explore scaling this framework to broader hospital systems and integrating advanced Large Language Models to further enhance reasoning capabilities.
Summary updated