InstEditSeg: Instruction-Driven Image Editing for Polyp and Skin Lesion Segmentation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 38 of its 45 references that are in the map. First posted on arXiv 2 Sep 2026.
Builds on
38 of 45 references.
References · 38
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2023Segment Anythingcited by 8,158
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,591
- 2018UNet++: A Nested U-Net Architecture for Medical Image Segmentationcited by 1,518
- 2018Attention U-Net: Learning Where to Look for the Pancreascited by 1,420
- 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Modelscited by 1,339
- 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 588
26 more
- 2017Skin Lesion Analysis Toward Melanoma Detection: A Challenge at the 2017 International Symposium on Biomedical Imaging (ISBI), Hosted by the International Skin Imaging Collaboration (ISIC)cited by 549
- 2023Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentationcited by 485
- 2021Pix2seq: A Language Modeling Framework for Object Detectioncited by 345
- 2021SegDiff: Image Segmentation with Diffusion Probabilistic Modelscited by 279
- 2022Diffusion Models for Medical Image Analysis: A Comprehensive Surveycited by 269
- 2023Unleashing Text-to-Image Diffusion Models for Visual Perceptioncited by 266
- 2023CLIP-Driven Universal Model for Organ Segmentation and Tumor Detectioncited by 224
- 2019ResUNet++: An Advanced Architecture for Medical Image Segmentationcited by 211
- 2021Diffusion Models for Implicit Image Segmentation Ensemblescited by 198
- 2016Skin Lesion Analysis toward Melanoma Detection: A Challenge at the International Symposium on Biomedical Imaging (ISBI) 2016, hosted by the International Skin Imaging Collaboration (ISIC)cited by 197
- 2022MedSegDiff: Medical Image Segmentation with Diffusion Probabilistic Modelcited by 180
- 2021Polyp-PVT: Polyp Segmentation with Pyramid Vision Transformerscited by 159
- 2023MedSegDiff-V2: Diffusion based Medical Image Segmentation with Transformercited by 124
- 2022A Generalist Framework for Panoptic Segmentation of Images and Videoscited by 99
- 2025MedSAM2: Segment Anything in 3D Medical Images and Videoscited by 88
- 2023Polyp-SAM: Transfer SAM for Polyp Segmentationcited by 64
- 2024EMCAD: Efficient Multi-scale Convolutional Attention Decoding for Medical Image Segmentationcited by 64
- 2021A multi-centre polyp detection and segmentation dataset for generalisability assessmentcited by 63
- 2026Image Generators are Generalist Vision Learnerscited by 40
- 2023Segment Anything Model for Medical Images?cited by 39
- 2023SegGen: Supercharging Segmentation Models with Text2Mask and Mask2Img Synthesiscited by 18
- 2024A Simple Latent Diffusion Approach for Panoptic Segmentation and Mask Inpaintingcited by 18
- 2024Stable Diffusion Segmentation for Biomedical Images with Single-step Reverse Processcited by 16
- 2024Enhancing Label-efficient Medical Image Segmentation with Text-guided Diffusion Modelscited by 13
- 2026Vision as Unified Multimodal Generationcited by 5
- 2026GenMed: A Pairwise Generative Reformulation of Medical Diagnostic Taskscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024DiffSeg: A Segmentation Model for Skin Lesions Based on Diffusion Difference
- 2025SkinDualGen: Prompt-Driven Diffusion for Simultaneous Image-Mask Generation in Skin Lesions
- 2023DermoSegDiff: A Boundary-aware Segmentation Diffusion Model for Skin Lesion Delineation
- 2024Generalize Polyp Segmentation via Inpainting across Diverse Backgrounds and Pseudo-Mask Refinement
- 2025UniSegDiff: Boosting Unified Lesion Segmentation via a Staged Diffusion Model
- 2025Latent Space Synergy: Text-Guided Data Augmentation for Direct Diffusion Biomedical Segmentation
- 2024LeFusion: Controllable Pathology Synthesis via Lesion-Focused Diffusion Models
- 2023Boosting Dermatoscopic Lesion Segmentation via Diffusion Models with Visual and Textual Prompts