cs.CVNov 24, 2026

SegPFN: Training-Free In-Context Segmentation with Tabular Prior-Data Fitted Networks

Authors: Jiajian Ma, Yihao Qiao, Ke Chen, Kaiyue Feng, Wushuang Rui, Abhishek Jha, Aarti Darji, Yiqiu Shen

Organizations: New York University · NYU Langone Health

Abstract

In-context segmentation (ICS) uses one or a few annotated reference images to specify what to segment in a target image. Existing training-free ICS approaches typically rely on manually designed inference procedures, which may limit how flexibly reference information is combined. Learned in-context inference offers an adaptive alternative, but acquiring this capability through segmentation-specific training can compromise generalization to unseen domains. We therefore ask: can a pretrained in-context learner infer what to segment from annotated references without segmentation-specific training? We introduce SegPFN, a training-free framework that reformulates ICS as tabular classification over frozen visual features. A frozen tabular prior-data fitted network (PFN) uses labeled reference patches as context to classify patches in the target image. We comprehensively benchmark SegPFN against major existing ICS methods across 11 datasets spanning semantic, part, and personalized segmentation. SegPFN improves overall mean intersection-over-union (mIoU) by 4.7 points over the strongest overall baseline and achieves the highest average mIoU in four of five task-shot settings. Further analyses show that hard-negative reference patches improve fine-grained target discrimination, while joint conditioning enables SegPFN to use multiple references effectively. These results show that SegPFN offers a simple and effective paradigm for training-free in-context segmentation.

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

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

    Sep 3, 2026Ming Hu, Jianfu Yin, Mingyu Dou +5Image SegmentationFew-Shot Semantic Segmentation

  2. REBASE: Reference-Background Subspace Elimination for Training-Free In-Context Segmentation

    Jul 10, 2026Mantha Sai Gopal, Jaison Saji Chacko, Harsh Nandwana +3Image SegmentationPromptable Image Segmentation

  3. DINO-KNN: Training-Free Multiclass In-Context Segmentation via Nearest Neighbors

    Nov 18, 2026Hussain Alasmawi, Numan Saeed, Mohammad YaqubImage SegmentationSemantic Segmentation