KEPIL: Knowledge-Enhanced Prompt-Image Learning for Prompt-Robust Disease Detection

Haozhe Luo, Shelley Zixin Shu, Ziyu Zhou, Robert Berke, Mauricio Reyes
5/9/2026
2 citations
cs.CV

Official code: Roypic/KEPIL (0 stars, Python, last commit 2026-09-08).

Abstract

Vision--language models (VLMs) show promise for clinical decision support in radiology because they enable joint reasoning over radiological images and clinical text, thereby leveraging complementary clinical information. However, radiological findings are long-tailed in practice, leaving some conditions underrepresented and making zero-shot inference essential.

Show full abstract

Yet current CLIP-style medical VLMs are sensitive to prompt variations and often lack trustworthy external knowledge at inference time, which hinders reliable clinical deployment. We present \textit{KEPIL}, a prompt-robust framework that integrates curated medical knowledge to stabilize zero-shot generalization. KEPIL comprises: (i) \emph{dynamic prompt enrichment} using ontologies with LLM assistance, (ii) a \emph{semantic-aware contrastive loss} aligning embeddings of equivalent prompt variants via a dual-embedding objective, and (iii) \emph{entity-centric report standardization} to yield ontology-aligned representations. Across seven benchmarks, KEPIL achieves state-of-the-art zero-shot inference performance; under prompt-variation tests, it improves AUC by \(6.37\%\) on \textit{CheXpert} and by \(4.11\%\) on average. These results suggest that structured knowledge and robust prompt design are key to clinically reliable radiology-facing VLMs. Code will be released at https://github.com/Roypic/KEPIL.

View on arXivView PDF

Code Implementations(1)

Roypic/KEPILOfficial100%
00PythonMay 9, 20262 months ago

Similar Papers

Cite this paper

@article{luo2026kepil,
  title  = {KEPIL: Knowledge-Enhanced Prompt-Image Learning for Prompt-Robust Disease Detection},
  author = {Haozhe Luo and Shelley Zixin Shu and Ziyu Zhou and Robert Berke and Mauricio Reyes},
  year   = {2026},
  eprint = {2605.09132},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.09132v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.09132.svg)](https://codeofpaper.com/paper/2605.09132)

Discussion