ReSA: Preserving Reference-Specified Foreground in In-Context Segmentation
Dezhao Su, Bingxu Hou, Jingdi Lei, Lin Qian, Likai Wang, Yunyun Wan
Key points
From the paper's conclusion- We propose ReSA, a reference-guided framework that unifies query adaptation and mask selection through a shared reference kernel.
Abstract
In-context segmentation uses annotated references to specify the target and its extent in a query image. Accurately transferring this reference-specified foreground requires recovering target regions while suppressing irrelevant predictions. We propose ReSA, a reference-guided framework that unifies query adaptation and mask selection through a shared reference kernel. ReSA leverages foreground and background reference prototypes to constrain prediction changes during adaptation and guide foreground selection through reference-weighted reconstruction. This shared guidance promotes consistent use of reference information across prediction refinement and mask formation. ReSA further selects among adapted predictions and aligns boundary refinement with the selected foreground threshold. We establish a theoretical bound connecting reference-response changes during adaptation and soft reconstruction. With a frozen visual encoder and lightweight test-time adaptation, ReSA requires no offline task training. Ablation studies demonstrate improved foreground retention and effective suppression of false-positive regions, while qualitative results show more complete masks with fewer isolated artifacts. Across ten object, part, and cross-domain segmentation benchmarks, ReSA achieves the highest average mIoU among the evaluated methods, reaching 62.6% in 1-shot and 71.8% in 5-shot.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SegPFN: Training-Free In-Context Segmentation with Tabular Prior-Data Fitted NetworksarXiv · 2026
- LAS-CLIP: A Lightweight Adapter Steering Approach for CLIP's Visual EncoderarXiv · 2026
- One-Shot Adaptive Segmentation For Scientific ImagesarXiv · 2026
- OneRef ‐Seg: A Single‐Reference Framework for Efficient Medical Image SegmentationInternational Journal of Imaging Systems and Technology · 2026
- From Visual Matching to Textual Conditioning: Cross-Domain Few-Shot Segmentation via Reference InversionarXiv · 2026
- FuseAdapt: Parameter-Efficient Multimodal Fusion for Semantic Segmentation with Missing ModalitiesarXiv · 2026