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
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.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
T2ISpec: Benchmarking Speculative Decoding for Text-to-Image Generation
Shared title terminologycs.CVYifan Zhang, Shatong Zhu, Hui Shen et al.
Seeing Through Preferences: Recovering Hidden Local Preference Neighborhoods for Text-to-Image Alignment
Shared title terminologycs.CVPulkit Bansal, Vivek Srivastava, Shirish Karande
Robust Concept Erasure in Text-to-Image Models via Simulating Brain Functional Localization
Shared title terminologycs.CVManyi Li, Yufan Liu, Bing Li et al.
Same Layout, Different Count: What Number Words Do Past Ten in Text-to-Image Models
Shared title terminologycs.CVLiang Yue, Eric A. Vance
Agent-Driven Generative Priors for Pathology Image Synthesis and Segmentation
Shared title terminologycs.CVSicheng Yang, Rui Tang, Haipeng Zhou et al.
UniDR: Learning To Generate Anatomical Deformations From Images via Unified Diffusion Modeling and Registration
Shared title terminologycs.CVSwakshar Deb, Tonmoy Hossain, Tom Fletcher et al.