computer vision

Toward Robust In-Context Segmentation via Concept Guidance

arXiv:2606.28149

summary

The paper proposes Concept-Guided In-Context Segmentation (CG-ICS), which improves the robustness of few-shot image segmentation by extracting high-level semantic concepts from reference images using a large language model and combining them with visual exemplars to guide a frozen SAM3 backbone.

Abstract

In-context segmentation (ICS) requires a model to segment target regions in a query image using only a few reference images and their corresponding masks, without updating any parameters. Despite recent progress, prior ICS studies have largely overlooked a critical aspect: system robustness, ie, whether the model can produce stable segmentation results for the same query under different references. In this work, we revisit ICS from the robustness perspective and introduce a novel paradigm, Concept-Guided In-Context Segmentation (CG-ICS), which performs segmentation by extracting high-level semantic concepts from references rather than relying solely on low-level visual matching. Specifically, CG-ICS introduces a concept reasoning module that uses an MLLM to propose candidates and a SAM3-driven scoring function with tree-search refinement to select reliable textual concepts, together with a parallel visual exemplar route that provides query-side spatial grounding via a simple context construction. Both the textual concept and the visual exemplar are then used to activate the segmentation capability of a frozen SAM3 backbone. Extensive experiments on standard ICS benchmarks demonstrate that CG-ICS not only achieves state-of-the-art accuracy but also substantially improves robustness, yielding a more reliable ICS system with significantly reduced variance across diverse reference choices. Code is available at https://github.com/Kakarot1103/CG-ICS.

ECCV 2026

Topics & keywords

#in-context segmentation#robustness#concept guidance#few-shot segmentation#large language modelsconcept reasoning moduleMLLMSAM3tree-search refinementtextual conceptsvisual exemplar
Toward Robust In-Context Segmentation via Concept Guidance · wovepaper