SAMIC: Segment Anything with In-Context Spatial Prompt Engineering

Savinay Nagendra, Kashif Rashid, Chaopeng Shen, Daniel Kifer
12/16/2024
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Few-shot segmentation is the problem of learning to identify specific types of objects (e.g., airplanes) in images from a small set of labeled reference images. The current state of the art is driven by resource-intensive construction of models for every new domain-specific application. Such models must be trained on enormous labeled datasets of unrelated objects (e.g., cars, trains, animals) so that their ``knowledge'' can be transferred to new types of objects. In this paper, we show how to leverage existing vision foundation models (VFMs) to reduce the incremental cost of creating few-shot segmentation models for new domains. Specifically, we introduce SAMIC, a small network that learns how to prompt VFMs in order to segment new types of objects in domain-specific applications. SAMIC enables any task to be approached as a few-shot learning problem. At 2.6 million parameters, it is 94% smaller than the leading models (e.g., having ResNet 101 backbone with 45+ million parameters). Even using 1/5th of the training data provided by one-shot benchmarks, SAMIC is competitive with, or sets the state of the art, on a variety of few-shot and semantic segmentation datasets including COCO-$20^i$, Pascal-$5^i$, PerSeg, FSS-1000, and NWPU VHR-10.

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. 1 weaker match is hidden by default — 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{nagendra2024samic,
  title  = {SAMIC: Segment Anything with In-Context Spatial Prompt Engineering},
  author = {Savinay Nagendra and Kashif Rashid and Chaopeng Shen and Daniel Kifer},
  year   = {2024},
  eprint = {2412.11998},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.11998v1}
}

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/2412.11998.svg)](https://codeofpaper.com/paper/2412.11998)

Discussion