Abstract
Contemporary medical contrastive learning faces challenges from inconsistent semantics and sample pair morphology, leading to dispersed and converging semantic shifts. The variability in text reports, due to multiple authors, complicates semantic consistency. To tackle these issues, we propose a two-step approach. Initially, text reports are converted into a standardized triplet format, laying the groundwork for our novel concept of "observations" and "verdicts". This approach refines the {Entity, Position, Exist} triplet into binary questions, guiding towards a clear "verdict". We also innovate in visual pre-training with a Meijering-based masking, focusing on features representative of medical images' local context. By integrating this with our text conversion method, our model advances cross-modal representation in a multimodal contrastive learning framework, setting new benchmarks in medical image analysis.
Introduction
Deep learning has revolutionized computer vision, yet its application to medical imaging remains constrained by unique domain-specific hurdles. While general-purpose vision-language models like CLIP leverage massive datasets of natural images and captions, medical data is comparatively scarce. Furthermore, the "captions" in medicine—radiology reports—are notoriously inconsistent. Variations in terminology and style across different clinicians introduce significant "semantic noise," which often confuses AI models during the pre-training phase.
Beyond linguistic challenges, standard self-supervised techniques such as Masked Image Modeling (MIM) often fall short in clinical contexts. MIM typically relies on random patch masking to force a model to reconstruct hidden parts of an image. While effective for identifying macroscopic objects like cars or animals, medical diagnosis frequently hinges on subtle, fine-grained details—such as the thin line of a pneumothorax or minute vascular changes. Random masking can obscure these critical features, resulting in reconstructions that fail to capture the "local context" essential for accurate clinical assessment.
Methodology
To address these limitations, we introduce M&M (Masks and Manuscripts), a dual-strategy framework designed to enhance both the linguistic and visual components of medical pre-training.
1. Narrative Structuring (The "Manuscripts")
Rather than processing raw, unstructured radiology reports, M&M utilizes RadGraph to extract structured triplets consisting of an Entity, its Position, and its Existence. These triplets are then refined into a standardized format of "observations" and "verdicts." By converting complex, narrative paragraphs into a series of structured binary questions, the model is forced to learn clear and consistent semantic relationships, effectively mimicking the deductive reasoning of a radiologist.
2. Meijering-based Masking (The "Masks")
To improve visual feature extraction, we replace random masking with a strategy guided by the Meijering filter. This classical computer vision technique is specifically designed to highlight tubular and ridge-like structures, which are prevalent in medical X-rays. By focusing the masking process on these clinically relevant features, the model is compelled to reconstruct high-resolution, fine-grained structures rather than just general global shapes.
The underlying architecture utilizes a Vision Transformer (ViT-B) for image processing and ClinicalBERT for text. The training objective combines three distinct losses: a joint modeling loss for image reconstruction, an image-text contrastive (ITC) loss for alignment, and an image-text matching (ITM) loss for fine-tuning cross-modal relationships.
Experimental Setup and Results
The M&M model was pre-trained on the MIMIC-CXR v2 dataset and evaluated across a diverse suite of benchmarks, including RSNA Pneumonia Detection, SIIM-ACR Pneumothorax, NIH Chest X-Ray, CheXpert, COVIDx CXR, and Edema Severity grading.
Efficiency and Performance
A primary finding of this research is the significant gain in training efficiency. M&M achieved state-of-the-art (SOTA) results in just 100 epochs, a fraction of the 800 epochs typically required by comparable models. This suggests that the quality and structure of data representation (narrative structuring) are more critical than raw computational volume.
Key performance metrics include:
- Supervised Classification: M&M outperformed previous SOTA models by up to 2.64% across multiple datasets.
- Zero-Shot Generalization: The model demonstrated superior performance in identifying diseases it had not specifically encountered during fine-tuning, outperforming existing methods by up to 3.16% (including a 3.29% improvement on COVID-19 detection).
- Low-Data Segmentation: In scenarios where only 1% of labeled data was available, M&M consistently outperformed leading methods, highlighting its utility for rare diseases where annotated data is scarce.
- Ablation Success: Our specific masking strategy achieved a 77.92 AUC, significantly higher than the 58.87 AUC produced by standard MaskVLM, validating the efficacy of the Meijering-based approach.
Conclusion
The M&M framework demonstrates that by prioritizing local visual context and semantic consistency, medical AI can achieve higher accuracy with significantly less training time. While currently optimized for X-ray data, the success of Meijering-based masking and narrative structuring provides a robust foundation for future applications. Subsequent research will explore the generalizability of this framework to more heterogeneous and complex modalities, such as MRI and CT scans, to further bridge the gap between automated analysis and clinical expertise.
Summary updated