arXiv AI
Oct 15

PR-MaGIC: Prompt Refinement Via Mask Decoder Gradient Flow For In-Context Segmentation

PR-MaGIC is a training‑free, test‑time framework that refines prompts for in‑context image segmentation by using gradient flow from the mask decoder of the Segment Anything Model (SAM). It integrates seamlessly into existing in‑context segmentation pipelines and employs a simple top‑1 selection strategy to stabilize performance. Extensive evaluations show that PR‑MaGIC consistently improves segmentation quality across multiple benchmarks without requiring additional training or architectural changes.

By Minjae Lee, Sungwoo Hur, Soojin Hwang, Won Hwa Kim
arXiv Computer Vision
Sep 4

FoRIS: Progressive Foreground Refinement for Training-Free In-Context Segmentation

FoRIS is a training‑free in‑context segmentation framework that refines foreground masks through a coarse‑to‑fine process. It operates in three stages—Foreground Purification, Localization, and Consolidation—to suppress background noise, pinpoint target regions, and reconstruct complete foreground structures. The method achieves state‑of‑the‑art performance, improving mIoU by 4.5 and 4.8 points in 1‑shot and 5‑shot settings respectively.

By Ming Hu, Jianfu Yin, Mingyu Dou, Miaomiao Zhang, Yao Wang, Cong Hu, Bingliang Hu, Quan Wang