Skip to content

InstEditSeg: Instruction-Driven Image Editing for Polyp and Skin Lesion Segmentation

Sep 2026 · 0 citations · 45 references
Computer Science

TL;DR

InstEditSeg is proposed, a unified generative framework that reformulates medical segmentation as an instruction-driven image editing problem, and achieves accuracy competitive with strong discriminative baselines, and demonstrates concrete advantages of the generative formulation.

Abstract

Accurate segmentation of polyps and skin lesions is pivotal for clinical diagnosis, yet existing methods struggle with low contrast, ambiguous boundaries, and cross-domain distribution discrepancies. Discriminative networks and most diffusion-based segmentation approaches predict standalone binary masks, leaving the visual priors of large-scale pretrained generative models largely unexploited. We propose InstEditSeg, a unified generative framework that reformulates medical segmentation as an instruction-driven image editing problem. Instead of emitting a mask, the model renders a color-coded overlay on the original image, conditioned on a textual instruction, so that the edited output aligns with the natural image distribution learned by latent diffusion models and mitigates the domain gap between natural and medical imagery. To recover fine anatomical structures, we introduce DINOv3 as an auxiliary visual encoder and a DINO Feature Guidance Block that builds a multi-scale feature pyramid. The pyramid is fused into the diffusion U-Net by channel concatenation and zero-initialized convolution so that hierarchical discriminative priors can be injected without perturbing the pretrained weights. A dual-branch classifier-free guidance strategy requiring only two forward passes per denoising step reduces inference cost. On polyp and skin lesion benchmarks the framework achieves accuracy competitive with strong discriminative baselines, and it further demonstrates concrete advantages of the generative formulation: notably better cross-domain generalization on unseen data, more complete multi-lesion segmentation, instruction-conditioned task control, and sampling flexibility. We also analyze the strengths and limitations of the paradigm, including its color sensitivity and unsupported attribute-conditioned selection. Code is available at: https://github.com/wincharm001/InstEditSeg.

View source

Similar papers

Open access Sep 2026

GSCA-UNet: a gated spatial-channel attention U-net for accurate skin lesion segmentation

This work proposes GSCA-UNet (Gated Spatial-Channel Attention UNet), a novel segmentation architecture for skin lesions that consistently outperforms competitive baselines across multiple metrics and exhibits superior robustness on challenging cases with blurry borders, irregular shapes, and severe artifacts.

La-Zhen Zhou, Wen-Jie Ou, Xiu-Hua Chen et al. · 0 citations
Conference Aug 2026

Focus-UNet: Deep-stage Decomposition and Context Gating for Medical Image Segmentation

Accurate segmentation of tumors and lesions in brain magnetic resonance imaging (MRI) is of great importance for clinical diagnosis, surgical planning, and prognosis assessment. However, brain lesions often exhibit substantial variations in size, irregular shapes, and blurred boundaries. Traditional U-Net relies on a b...

Shuo Wang, Bo Peng, Ze-Hua Peng · 0 citations
Preprint Aug 2026

EA-LiteUNet: An Edge-Adaptive and Resource-Efficient U-Net for Boundary-Sensitive Dermoscopic Image Segmentation

This work proposes EA-LiteUNet, an edge-adaptive and computationally efficient U-Net variant specifically designed for boundary-sensitive medical image segmentation, and demonstrates that EA-LiteUNet consistently achieves superior boundary precision.

Jiangtao Wang, N. Ruhaiyem, Panpan Fu et al. · 0 citations
Review Sep 2026

CGSM: Concept-Guided Segmentation Model for Precise Pulmonary Lesion Delineation

A Concept-Guided Segmentation Model is proposed that integrates LLM-generated and clinically reviewed concepts into the segmentation process, and a Concept-Visual Alignment Module (CVAM) is designed to activate relevant tokens within the concepts that align with visual features, enhancing the interaction between textua...

Chang-Heng Lin, Wen-Jie Zhang, Yu-Shan Lu et al. · 0 citations
Preprint Aug 2026

B-MIM: Biased Masked Image Modeling for Generalizable Segmentation of Fine-Grained Anatomical Structures

B-MIM is introduced, a modification of the iBOT objective that stochastically reduces global semantic alignment to prioritize local patch reconstruction and suggests that reducing global semantic pressure during pretraining enhances generalization to intricate anatomical structures.

S. González, Karen Sanchez, J. M. Saavedra et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.