Prototype-Enhanced Confidence Modeling for Cross-Modal Medical Image-Report Retrieval

Shreyank N. Gowda, Xiaobo Jin, Christian WagnerarXiv 2025 · OpenReview

Abstract

In cross-modal retrieval tasks, such as image-to-report and report-to-image retrieval, accurately aligning medical images with relevant text reports is essential but challenging due to the inherent ambiguity and variability in medical data. Existing models often struggle to capture the nuanced, multi-level semantic relationships in radiology data, leading to unreliable retrieval results. To address these issues, we propose the Prototype-Enhanced Confidence Modeling (PECM) framework, which introduces multi-level prototypes for each modality to better capture semantic variability and enhance retrieval robustness. PECM employs a dual-stream confidence estimation that leverages prototype similarity distributions and an adaptive weighting mechanism to control the impact of high-uncertainty data on retrieval rankings. Applied to radiology image-report datasets, our method achieves significant improvements in retrieval precision and consistency, effectively handling data ambiguity and advancing reliability in complex clinical scenarios. We report results on multiple different datasets and tasks including fully supervised and zero-shot retrieval obtaining performance gains of up to 10.17%, establishing in new state-of-the-art.

Introduction

Cross-modal retrieval in radiology—matching medical images with their corresponding clinical reports—is a cornerstone of modern clinical decision-support systems. However, this task is fraught with challenges. Medical data exhibits significant visual overlap, where distinct pathologies may appear visually similar, and granularity gaps, where reports vary in terminology and detail. Most conventional models treat every image-report pair as an ideal match, neglecting aleatoric uncertainty—the inherent noise and ambiguity within the data. Forcing alignments without accounting for confidence leads to unreliable rankings that can compromise clinical utility.

Methodology

The PECM framework addresses these challenges by moving beyond static, single-vector representations. It introduces a three-pronged approach to model uncertainty and enhance alignment.

The PECM framework architecture, illustrating the dual-stream confidence estimation and adaptive re-ranking process.

Multi-Level Prototype Construction

Rather than a global embedding, PECM decomposes images and reports into multiple "prototypes." For images, it generates 25 regional prototypes from a $5 \times 5$ grid of patches alongside a global prototype. Textual reports are similarly decomposed by grouping sentences into regional prototypes. This multi-level approach allows the model to align specific anatomical regions with corresponding descriptive text.

Dual-Stream Confidence Estimation (DSCE)

PECM calculates a confidence score by analyzing the distribution of similarities across all prototype pairs. If prototypes align consistently, the confidence score is high. This mechanism quantifies the reliability of a match rather than relying solely on a raw similarity score.

Adaptive Re-ranking Mechanism

Retrieval is performed in two stages. An initial ranking based on global similarity is refined by the confidence scores. This re-ranking "demotes" ambiguous or low-confidence matches, ensuring that high-certainty, high-quality results are prioritized.

Experimental Setup

The framework was evaluated on several large-scale datasets:

  • MIMIC-CXR: The primary training and evaluation set, containing over 377,000 images.
  • Generalization Datasets: A combined set of 1.6M+ images from RadImageNet, NIH14, MIMIC, and CheXpert.
  • Zero-Shot Benchmarks: ROCO (Radiology Objects in Context) and MURA (Musculoskeletal Radiographs) were used to test out-of-distribution performance.

Results

PECM establishes a new state-of-the-art across multiple benchmarks. On the MIMIC-CXR dataset, it significantly outperformed previous leaders like CXR-CLIP and MCR.

Performance comparison on the MIMIC-CXR dataset for image-to-report (I→R) and report-to-image (R→I) retrieval tasks.

Notably, in zero-shot scenarios on the ROCO dataset, PECM achieved a performance gain of 10.17% over existing methods without any fine-tuning. Ablation studies confirmed that the combination of multi-level prototypes, confidence estimation, and adaptive re-ranking is essential for these gains.

Discussion and Conclusion

The core insight of PECM is that uncertainty is not merely noise to be suppressed but an informative signal. By explicitly modeling how "sure" the model is about a match, PECM provides more robust and clinically relevant retrieval. The model's strong zero-shot performance suggests it learns fundamental medical concepts rather than dataset-specific biases.

Future work will explore more flexible, object-aware segmentation (such as the Segment Anything Model) to replace fixed prototype grids and focus on optimizing computational overhead for real-time clinical deployment.

Summary updated

BibTeX
@misc{gowda2025prototype,
  author = {Shreyank N. Gowda and Xiaobo Jin and Christian Wagner},
  title = {{Prototype-Enhanced Confidence Modeling for Cross-Modal Medical Image-Report Retrieval}},
  year = {2025},
  eprint = {2508.03494},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.03494},
}
Figure