Abstract
Deep learning has shown great potential in assisting radiologists in reading chest X-ray (CXR) images, but its need for expensive annotations for improving performance prevents widespread clinical application. Visual language pre-training (VLP) can alleviate the burden and cost of annotation by leveraging routinely generated reports for radiographs. However, the formulation proposed by locality-aware VLP literature actually leads to a loss in spatial relationships required for downstream localization tasks. Therefore, we propose Empowering Locality of VLP with Intra-modal Similarity, ELVIS, a VLP aware of intra-modal locality, to better preserve the locality within radiographs or reports. Our method significantly outperforms state-of-the art baselines in multiple segmentation tasks and the MS-CXR phrase grounding task.
Introduction
Deep learning has the potential to revolutionize radiology, but it usually requires thousands of expensive, hand-drawn annotations from board-certified experts. To avoid this, researchers use Vision-Language Pre-training (VLP), where models learn by reading existing radiologist reports paired with X-rays.
However, a significant challenge exists: when models align a specific sentence (e.g., "opacity in the left lower lobe") with a specific patch of an image, they often lose the "spatial map" of the original data. Existing methods often use distance-based objectives that assume distant patches are unrelated. In chest X-rays, abnormalities like pneumonia often appear bilaterally, meaning distant patches are semantically similar. Current VLP models struggle to preserve these "intra-modal" relationships, leading to poor performance on downstream tasks like lesion segmentation.
Methods
The ELVIS framework utilizes a dual-objective approach to maintain spatial integrity:
- Global Contrastive Learning: A standard technique ensuring a whole image matches its corresponding whole report.
- Local Contrastive Learning with Intra-modal Similarity: This core innovation enforces a consistency constraint. It calculates an "intra-modal similarity map" for the image (how similar each patch is to every other patch) and the text.
During training, the model uses a cross-attention mechanism to bridge modalities. ELVIS ensures that the similarity between local representations after this cross-modal projection remains consistent with the original similarity within their own modality. If two lung regions appear similar to the image encoder, they should remain similar after being linked to the text report.
Evaluation and Results
The model was pre-trained on a subset of 203,992 frontal-view image-text pairs from MIMIC-CXR-JPG. Evaluation spanned several segmentation tasks (RSNA Pneumonia, COVID Rural, SIIM Pneumothorax) and phrase grounding (MS-CXR).
Key Findings
- Superior Segmentation: ELVIS achieved the highest Dice scores across almost all tasks. On the challenging COVID Rural dataset, it reached a 51.5% Dice score in linear probing, outperforming the LoVT baseline by nearly 2%.
- Enhanced Phrase Grounding: The model showed a massive improvement in Contrast-to-Noise Ratio (CNR). On the MS-CXR benchmark, ELVIS scored an average CNR of 1.117, while baselines like CLIP and ConVIRT hovered near zero.
- Bilateral Awareness: Unlike traditional local VLP methods that penalize similarity between distant patches, ELVIS recognizes that the left and right lungs are often semantically linked.
- Foreground-Background Separation: Qualitative results show ELVIS is remarkably good at separating the "foreground" (lungs and heart) from the "background," whereas baselines often produce noisy similarity maps.
Conclusion
ELVIS demonstrates that preserving intra-modal locality acts as a powerful regularizer, helping models learn more efficiently and understand complex spatial distributions. While excellent at broadly attending to correct regions, future work may involve refining granularity to better pinpoint very small, localized lesions like minor pneumothorax.
Summary updated