Segment What It Can Draw: Querying a Text-to-Image Generator with Its Own Images for Skin Lesion Segmentation
Hongyu Cao, Guangfu Guo, Jinghan Zhang, Dakshak Keerthi Chandra, Ying Zhang, Kunpeng Liu
Key points
From the paper's conclusion- We show that the direction derived from generated healthy-skin and lesion images is substantially better aligned.
Abstract
Skin lesion segmentation without annotated masks requires the target to be specified through other cues. Existing approaches rely on dermoscopy-specific rules, annotation-derived model priors, or user-selected regions. A general text-to-image diffusion transformer offers a text interface to the target, but its concept-word attention is unreliable on dermoscopy images: in the model's attention-output space, the word-derived skin-to-lesion direction is poorly aligned with the direction separating real skin from real lesions. We show that the direction derived from generated healthy-skin and lesion images is substantially better aligned. Based on this finding, we propose GENIQ, a training-free method that constructs initial skin and lesion prototypes from generated images and refines them using the most skin-like and lesion-like patches from unlabelled dermoscopy images. It scores test patches along the refined direction and applies a gated threshold to suppress contextual spill-over around small lesions. Without inference-time annotations or additional models, GENIQ achieves Dice scores of 0.85-0.88 on three dermoscopy test sets. It outperforms zero-shot and word-based attention methods on all three sets, and a hand-designed dermoscopy pipeline in Dice and IoU on two.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Enhancing semi-supervised skin lesion segmentation with text-guided pseudo descriptions.Computerized medical imaging and graphics : the official journal of the Computerized Medical Imaging Society · 2026
- Transformer-Based Foundation Learning for Robust and Data-Efficient Skin Disease ImagingDiagnostics · 2026
- Trustworthy DINOv2-based skin lesion classification with uncertainty quantification and robust learning from limited medical imagesDiscover Computing · 2026
- Multi-Aspect Knowledge-Enhanced Dermatological Vision-Language Pretraining with Multi-Agent Data Generation.IEEE transactions on medical imaging · 2026
- Self-supervised pretraining for dermoscopic lesion segmentation with limited labels: A controlled comparison of initialisation strategiesmedRxiv · 2026
- Foundation-Model-Driven Skin Lesion Segmentation and Classification Using SAM-Adapters and Vision TransformersDiagnostics · 2026