SegPFN: Training-Free In-Context Segmentation with Tabular Prior-Data Fitted Networks
Jiajian Ma, Yihao Qiao, Ke Chen, Kaiyue Feng, Wushuang Rui, Abhishek Jha, Aarti Darji, Yiqiu Shen
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.
Create a lesson
Metadata
- Comments
- 18 pages, including 8 pages of supplementary material
Related papers
Déjà-VAE: Training-Free Consistent Editing with Pseudo-Invertible Encoders and Latent Back-Projection
Shared title terminologycs.CVRon Libman, Yamit Ehrlich, Ohad Fried et al.
COHERE4D: Training-Free Dense Surface Alignment for Coherent Metric 4D Human-Scene Reconstruction
Shared title terminologycs.CVZhumei Wang, Shaofei Wang, Xiang An et al.
One Subspace Is Not Enough: LocalSubspaceAD for Training-Free Few-Shot Anomaly Detection
Shared title terminologycs.CVDaniel Pröll, Sebastian Hegenbart
Every Edit Its Own Budget: Per-Instruction Token Freezing for Training-Free Acceleration of Multi-Edit Image Editing
Shared title terminologycs.CVJyotirmoy Nath, Neeraj Kumar, Brejesh Lall
VIDE : Training-Free Video Anomaly Detection via Visual Intrinsic Distribution Estimation
Shared title terminologycs.CVKevin D. Nguetche, Atif Belal, Lilian Hollard et al.
ICLWorld: Benchmarking In-Context Learning of Agents from Digital to Physical Worlds
Shared title terminologycs.CVQingle Liu, Jieming Li, Pei-lin Li et al.