IP-SAM: Rethinking Prompt-Conditioned Segmentation for Prompt-Absent Deployment

Hui-Yao Zhang, Jin-Shu Bai, Rui Guo, Jianwen Tan, Hong-Fei Wang +1 more
3/1/2026

No confident code implementation found for this paper.

Abstract

Prompt-conditioned foundation segmenters have emerged as a dominant paradigm for image segmentation, where explicit spatial prompts(e.g., points, boxes, masks) guide mask decoding. However, many real-world deployments require fully automatic segmentation, creating a structural mismatch: the decoder expects prompts that are unavailable at inference.

Show full abstract

Existing adaptations typically modify intermediate features, inadvertently bypassing the model's native prompt interface and weakening prompt-conditioned decoding. We propose IP-SAM, which revisits adaptation from a prompt-space perspective through prompt-space conditioning. Specifically, a Self-Prompt Generator (SPG) distills image context into complementary intrinsic prompts that serve as coarse regional anchors. These cues are projected through SAM2's frozen prompt encoder, restoring prompt-guided decoding without external intervention. To suppress background-induced false positives, Prompt-Space Gating (PSG) leverages the intrinsic background prompt as an asymmetric suppressive constraint prior to decoding. Under a deterministic no-external-prompt protocol, IP-SAM achieves state-of-the-art performance across four camouflaged object detection benchmarks with only 21.26M trainable parameters. Furthermore, the proposed conditioning strategy generalizes beyond COD to medical polyp segmentation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026ipsam,
  title  = {IP-SAM: Rethinking Prompt-Conditioned Segmentation for Prompt-Absent Deployment},
  author = {Hui-Yao Zhang and Jin-Shu Bai and Rui Guo and Jianwen Tan and Hong-Fei Wang and Ye Li},
  year   = {2026},
  eprint = {2603.27250},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2603.27250},
  journal = {European Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.27250.svg)](https://codeofpaper.com/paper/2603.27250)

Discussion