Instruction-Guided Lesion Segmentation for Chest X-rays with Automatically Generated Large-Scale Dataset
Geon Choi, Hangyul Yoon, Hyunju Shin, Hyunki Park, Sang Hoon Seo, Eunho Yang, Edward Choi
TL;DR
This work introduces instruction-guided lesion segmentation (ILS) for chest X-rays and presents MIMIC-ILS, the first large-scale, automatically constructed dataset linking lesion masks to natural-language instructions. Trained on MIMIC-ILS, ROSALIA—a vision–language model integrated with Segment Anything Model—achieves robust, instruction-driven lesion segmentation across seven lesion types and provides textual explanations, outperforming a range of baselines. The approach hinges on an automated pipeline that grounds masks by aligning radiology reports with imaging cues, enabling diverse prompts, including absence checks. The contributions offer a scalable resource and a practical model for fine-grained CXR lesion grounding, with potential to streamline radiology workflows and broad accessibility to non-experts.
Abstract
The applicability of current lesion segmentation models for chest X-rays (CXRs) has been limited both by a small number of target labels and the reliance on long, detailed expert-level text inputs, creating a barrier to practical use. To address these limitations, we introduce a new paradigm: instruction-guided lesion segmentation (ILS), which is designed to segment diverse lesion types based on simple, user-friendly instructions. Under this paradigm, we construct MIMIC-ILS, the first large-scale instruction-answer dataset for CXR lesion segmentation, using our fully automated multimodal pipeline that generates annotations from chest X-ray images and their corresponding reports. MIMIC-ILS contains 1.1M instruction-answer pairs derived from 192K images and 91K unique segmentation masks, covering seven major lesion types. To empirically demonstrate its utility, we introduce ROSALIA, a vision-language model fine-tuned on MIMIC-ILS. ROSALIA can segment diverse lesions and provide textual explanations in response to user instructions. The model achieves high segmentation and textual accuracy in our newly proposed task, highlighting the effectiveness of our pipeline and the value of MIMIC-ILS as a foundational resource for pixel-level CXR lesion grounding.
