Set Pivot Learning: Redefining Generalized Segmentation with Vision Foundation Models

Xinhui Li, Xinyu He, Qiming Hu, Xiaojie GuoarXiv 2025 · DOI

Abstract

This paper introduces Set Pivot Learning (SPL), a novel paradigm for generalized semantic segmentation that leverages the extensive pre-training of Vision Foundation Models (VFMs). Traditional Domain Generalization (DG) assumes target domains are entirely unseen, an assumption increasingly violated by web-scale VFMs like CLIP and DINOv2. SPL redefines the task as "refocusing" a VFM's existing knowledge onto specific tasks using a frozen backbone and dynamic prompting. Our framework, featuring a Dynamic Class-aware Prompter (DCP) and a Prompt-guided Feature Focuser (PFF), achieves state-of-the-art results on synthetic-to-real benchmarks and adverse weather conditions, demonstrating superior robustness and efficiency.

The Paradigm Shift: From Generalization to Refocusing

Traditional Domain Generalization (DG) is built on a strict separation: models are trained on a "source" domain and evaluated on a completely "unseen" target domain. However, the rise of Vision Foundation Models (VFMs) has fundamentally altered this landscape. Models trained on hundreds of terabytes of data are highly likely to have encountered distributions similar to the target domain during pre-training. This makes the "unseen" assumption of classical DG obsolete.

The paradigm shift from traditional Domain Generalization to Set Pivot Learning, highlighting the transition from 'unseen' domains to 'knowledge sets' and 'application sets'.

As shown in the figure above, the challenge has shifted. We no longer need to "transfer" knowledge across a rigid domain gap; instead, we must "refocus" the VFM’s vast, generalist knowledge onto specific downstream tasks, such as urban street scene segmentation. SPL treats the VFM as a stable "pivot," using its pre-trained features as a foundation that is dynamically refined for the task at hand.

The Set Pivot Learning Framework

The authors propose a framework called Dynamic Prompt Fine-Tuning, which maintains a frozen VFM backbone to preserve its robust representations while introducing two learnable modules to guide the feature extraction process.

1. Dynamic Class-aware Prompter (DCP)

Unlike static prompting methods, the DCP generates relevant class names dynamically based on the input image. It utilizes a broad category library—enriched by large language models like GPT or vision-language models like BLIP—to identify potential objects in a scene. To ensure efficiency and relevance, the DCP employs Category Filtering and Hierarchical Clustering to select a concise, non-redundant set of labels tailored to the specific image content.

2. Prompt-guided Feature Focuser (PFF)

The PFF module is integrated directly into the VFM layers. It processes the dynamically generated class prompts alongside their similarity scores to the image. By employing a combination of text-to-text self-attention and image-to-text cross-attention, the PFF allows the model to "focus" its internal representations on the most task-relevant features. This mechanism enables the model to adapt to complex, evolving scenes without the need to update the massive weight parameters of the VFM backbone.

The SPL architecture, detailing the (a) Overall flow, (b) Dynamic Class-aware Prompter, and (c) Prompt-guided Feature Focuser.

Experimental Results and Robustness

The SPL framework was evaluated using Knowledge Sets (KS) for training (e.g., synthetic data like GTA5) and Application Sets (AS) for testing (e.g., real-world Cityscapes, BDD-100K).

Key Performance Metrics:

  • Synthetic-to-Real: On the GTA5 → {Cityscapes, BDD, Mapillary} benchmark, SPL achieved an average mIoU of 65.8% using a DINOv2 backbone, outperforming the previous state-of-the-art (Rein) by 1.5%.
  • Adverse Weather Robustness: Testing on the ACDC dataset revealed significant gains in extreme conditions. SPL achieved 56.4% mIoU in Night scenarios and 74.1% mIoU in Rain, where traditional DG models typically struggle due to severe distribution shifts.
  • Scalability: The model's performance improved further when trained on multiple knowledge sets (e.g., GTA5 + Synthia), indicating that SPL effectively scales with more diverse training data.

Conclusion and Future Work

Set Pivot Learning represents a significant step forward in adapting Vision Foundation Models for specialized tasks. By embracing the "leakage" of pre-training data as a strength and focusing on dynamic task adaptation rather than static domain transfer, SPL provides a more realistic and effective framework for modern computer vision.

Future research directions include expanding SPL to other multimodal tasks beyond semantic segmentation and further automating the construction of category libraries to reduce human intervention in the "Knowledge Set" definition process.

Summary updated

BibTeX
@misc{li2025set,
  author = {Xinhui Li and Xinyu He and Qiming Hu and Xiaojie Guo},
  title = {{Set Pivot Learning: Redefining Generalized Segmentation with Vision Foundation Models}},
  year = {2025},
  eprint = {2508.01582},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.01582},
}
Figure