Med-Banana-50K: A Cross-modality Large-Scale Dataset for Text-guided Medical Image Editing

Zhihui Chen, Mengling Feng
11/2/2025
cs.CVcs.MM

Official code: richardChenzhihui/med-banana-50k (64 stars, last commit 2026-03-18).

Abstract

Medical image editing has emerged as a pivotal technology with broad applications in data augmentation, model interpretability, medical education, and treatment simulation. However, the lack of large-scale, high-quality, and openly accessible datasets tailored for medical contexts with strict anatomical and clinical constraints has significantly hindered progress in this domain. To bridge this gap, we introduce Med-Banana-50K, a comprehensive dataset of over 50k medically curated image edits spanning chest X-ray, brain MRI, and fundus photography across 23 diseases. Each sample supports bidirectional lesion editing (addition and removal) and is constructed using Gemini-2.5-Flash-Image based on real clinical images. A key differentiator of our dataset is the medically grounded quality control protocol: we employ an LLM-as-Judge evaluation framework with criteria such as instruction compliance, structural plausibility, image realism, and fidelity preservation, alongside iterative refinement over up to five rounds. Additionally, Med-Banana-50K includes around 37,000 failed editing attempts with full evaluation logs to support preference learning and alignment research. By offering a large-scale, medically rigorous, and fully documented resource, Med-Banana-50K establishes a critical foundation for developing and evaluating reliable medical image editing systems. Our dataset and code are publicly available. [https://github.com/richardChenzhihui/med-banana-50k].

View on arXivView PDF

Code Implementations(1)

Med-Banana-50K: A Diversified Large-Scale Dataset for Text-guided Medical Image Editing

646PythonNov 2, 20257 months ago

Similar Papers

Cite this paper

@article{chen2025medbananak,
  title  = {Med-Banana-50K: A Cross-modality Large-Scale Dataset for Text-guided Medical Image Editing},
  author = {Zhihui Chen and Mengling Feng},
  year   = {2025},
  eprint = {2511.00801},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.00801v3}
}

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

Discussion