Retrieval-Guided Generation for Safer Histopathology Image Captioning

Md. Enamul Hoq, Wataru Uegami, Saghir Alfasly, Ghazal Alabtah, Sahar Rahimi Malakshan +4 more
4/27/2026
cs.CVcs.AIcs.IR

No confident code implementation found for this paper.

Abstract

Generative vision-language models can produce fluent medical image captions but remain prone to hallucination, over-specific diagnostic claims, and factual inconsistency-serious issues in pathology. We investigate retrieval-guided generation (RGG) as a safer alternative, where captions are formed by summarizing expert text from visually similar cases rather than generated de novo.

Show full abstract

On the ARCH histopathology dataset, RGG improves semantic alignment with ground truth, achieving cosine similarity of $\approx$0.60 versus $\approx$0.47 from MedGemma, with non-overlapping confidence intervals indicating a robust gain. A pathologist-led qualitative review shows better preservation of morphology-relevant terminology and fewer unsupported diagnoses, while revealing failure modes such as concept mixing and inherited over-specific labeling. Overall, retrieval-guided captioning offers a more transparent and reliable approach with clearer opportunities for auditing than fully generative methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hoq2026retrievalguided,
  title  = {Retrieval-Guided Generation for Safer Histopathology Image Captioning},
  author = {Md. Enamul Hoq and Wataru Uegami and Saghir Alfasly and Ghazal Alabtah and Sahar Rahimi Malakshan and Armita Kazemi and Alex T. Schmitgen and Fred Prior and H. R. Tizhoosh},
  year   = {2026},
  eprint = {2605.00893},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.00893v1}
}

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.00893.svg)](https://codeofpaper.com/paper/2605.00893)

Discussion