NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MedP-CLIP: Medical CLIP with region-aware prompt integration

Jiahui Peng, He Yao, Jingwen Li, Yanzhou Su, Sibo Ju, Yujie Lu, Ye Jin, Hongchun Lu, Xue Li, Lincheng Jiang, Min Zhu, Junlong Cheng

TL;DR

MedP-CLIP is a novel region-aware medical vision-language model that integrates feature-level spatial prompts (points, boxes, masks) to achieve fine-grained anatomical and lesion understanding without losing global context. Pre-trained on a massive synthesized dataset of 97.3 million region-text pairs, it serves as a flexible, plug-and-play backbone that significantly boosts performance in zero-shot classification, interactive segmentation, and medical visual question answering (VQA).

What Problem Does This Paper Address?

Standard vision-language models (VLMs) like CLIP excel at global image-text alignment but struggle with medical imaging, where clinical diagnoses depend heavily on highly localized regions of interest (RoIs), such as a tiny tumor or a specific organ boundary.

Existing attempts to make VLMs region-aware either crop the image (destroying crucial global context), mask out the background destructively, or rely on complex, task-specific pipelines. There is a critical gap for a native, flexible, and promptable interface that allows clinicians or perception models to guide a VLM's attention using simple inputs (like a single click or a bounding box) while preserving holistic image reasoning.

Methods

The authors introduce MedP-CLIP, which incorporates a lightweight, feature-level region prompt integration mechanism:

  • Prompt Encoder: Converts sparse prompts (points, boxes) into embeddings using positional encoding and type embeddings, and dense prompts (masks) via a lightweight convolutional network.
  • Attention Block: Instead of altering the input image space, prompt embeddings interact directly with image patch tokens via a cross-attention mechanism. This design effectively decouples the model from requiring high-precision masks during deployment.
  • Robust Training: To prevent over-reliance on any single prompt type, the model is trained by randomly simulating degraded inputs (points, boxes, masks, or combinations), forcing it to map imprecise spatial inputs to complex semantic regions.

Datasets

  • Pre-training: The authors constructed a massive dataset from IMed-361M, containing 6.4 million medical images and 97.3 million region-level annotations. Text descriptions were synthesized using GPT-4o, strictly constrained by the RadLex Lexicon v4.1 to ensure clinical validity and prevent hallucinations.
  • Evaluation: MedP-CLIP was evaluated on 11 public, completely held-out datasets across 8 modalities (CT, MRI, X-ray, fundus, etc.), including COVID-CT, ACL, ChestCT, ACRIMA, Br35H, AMOS2022, 3D-IRCADB, ISLES, SegThor, TotalSegmentator MRI, and MeCoVQA-R.

Key Insights and Ideas

  • Context Preservation is Crucial: Retaining global context while focusing on local regions prevents the semantic confusion common in cropping-based methods, which is vital for medical interpretation where structures exhibit complex spatial dependencies.
  • Decoupled Inference: Training on high-precision masks but simulating degraded inputs (like a single point or box) means clinicians can use low-effort prompts during real-world deployment without sacrificing accuracy.
  • Ontology-Constrained LLM Synthesis: Using LLMs to scale up region-text pairs works remarkably well for medical domains, provided the generation pipeline is strictly bound to standardized medical lexicons to maintain data integrity.

Key Results

MedP-CLIP can be flexibly deployed across various downstream clinical tasks:

MedP-CLIP multi-task deployment capabilities
  • Zero-Shot Classification: MedP-CLIP achieved an average accuracy of 54.35% across four diverse datasets, outperforming UniMed-CLIP by 4.45%.
  • Region-Level Retrieval: On the Br35H brain tumor dataset, adding a bounding box prompt boosted accuracy from 58.61% (prompt-free) to 79.37%, reaching up to 92.45% when scaled to a ViT-L/14 backbone.
  • Interactive Segmentation: Integrated with SAM (MedP-CLIP+SAM), it set new state-of-the-art performance on benchmarks like ISLES (73.14% Dice) and TotalSegmentator MRI (81.55% Dice) while fine-tuning less than 1% of total parameters.
  • Medical VQA: Combined with LLaVA-Med, it achieved SOTA results on MeCoVQA-R (67.96% precision, 70.36% recall), successfully mitigating anatomical misidentifications common in generic baselines.

Limitations and Future Work

  • 2D vs. 3D Ambiguity: The model occasionally suffers from semantic confusion when differentiating morphologically similar adjacent structures within 2D slices. The authors suggest integrating global 3D anatomical atlases to provide explicit structural priors.
  • Reliance on Explicit Guidance: It currently requires explicit user prompts to focus on an RoI. Future work aims to enable the model to autonomously infer implicit regions of interest directly from unstructured diagnostic text narratives.
  • Resolution Constraints: The architecture needs adaptation to handle higher-resolution inputs required for micron-scale pathology identification.

Summary updated

BibTeX
@article{peng2026medp,
  author = {Jiahui Peng and He Yao and Jingwen Li and Yanzhou Su and Sibo Ju and Yujie Lu and Ye Jin and Hongchun Lu and Xue Li and Lincheng Jiang and Min Zhu and Junlong Cheng},
  title = {{MedP-CLIP: Medical CLIP with region-aware prompt integration}},
  journal = {Medical Image Analysis},
  year = {2026},
  doi = {10.1016/j.media.2026.104193},
}
Figure