Perceptual Anchoring: Prototype-Guided Text Calibration for Training-free Open-Vocabulary Semantic Segmentation

Wanli Ma, Jiangwen Lu, Qinmu Peng, Xinge YouarXiv 2026

TL;DR

Training-free open-vocabulary semantic segmentation often struggles with a "semantic gap" between generic text descriptions and the specific visual instances present in an image. This paper introduces Prototype-Guided Text Calibration (PTC), a plug-and-play module that dynamically calibrates text embeddings using reliable visual evidence extracted directly from the input image. Without requiring any additional training or parameters, PTC consistently boosts the segmentation accuracy of multiple state-of-the-art baselines across eight benchmarks.

What Problem Does This Paper Address?

Open-Vocabulary Semantic Segmentation (OVSS) aims to partition an image into semantically meaningful regions based on arbitrary text prompts. To avoid the massive computational costs of dense annotation and training, recent trends favor "training-free" approaches that leverage pre-trained vision-language models (VLMs) like CLIP.

However, existing training-free methods almost exclusively focus on refining visual representations while treating text embeddings as fixed classification references. This creates a severe semantic gap: a text embedding generated from a prompt like "a photo of a cat" captures a generic, input-agnostic concept. In contrast, the visual features represent a highly specific instance of a cat with a unique pose, lighting condition, and background. This misalignment typically leads to two issues:

  1. Partial Activation: The model only recognizes the most representative parts of an object (e.g., just a cat's head).
  2. False Positives: Generic text embeddings mistakenly match visually similar background textures.
Figure 1: Motivation and effectiveness of PTC. (a) Compared with the ProxyCLIP baseline, adding PTC yields more complete activation over object regions and suppresses background-biased responses. (b) Introducing PTC consistently improves ProxyCLIP across all eight benchmarks.

Methods

Inspired by the concept of "perceptual anchoring" in cognitive robotics—which links abstract symbols to concrete physical percepts—the authors propose Prototype-Guided Text Calibration (PTC). Instead of keeping text embeddings static, PTC dynamically updates them using a two-stage framework:

1. Perceiving Stage (Reliable Visual Prototype Construction)

To prevent background noise and category confusion from corrupting the calibration, PTC carefully filters the image's visual tokens:

  • Margin-based Reliability Assessment: Instead of relying on absolute confidence scores (which can be deceptively high for ambiguous regions), PTC calculates the score margin—the difference between the top-1 and top-2 predicted class scores for each token. A larger margin implies a highly certain, unambiguous assignment.
  • Hybrid Evidence-Quantity Strategy: To handle objects of varying scales, PTC determines how many tokens to sample by combining a minimum-count constraint (ensuring enough data for small objects) with proportional sampling (providing broad coverage for large objects).
  • These selected tokens are then weighted by their score margins and aggregated into a category-specific visual prototype.

2. Anchoring Stage (Evidence-Driven Text Calibration)

Once the visual prototypes are built, they are used to calibrate the original generic text embeddings. Crucially, the calibration strength is adaptive: PTC scales the blending factor logarithmically based on the number of supporting visual tokens. If an object has very little visual evidence, the calibration is conservative to prevent semantic drift. If evidence is abundant, the strength saturates at a predefined upper bound to keep the text embedding from losing its generic open-vocabulary meaning.

The overall framework of PTC, illustrating the Feature Extraction, Perceiving, Anchoring, and Prediction pipelines.

Datasets

The authors evaluated PTC across eight standard semantic segmentation benchmarks, categorized by the inclusion of a background class:

  • With Background Class: PASCAL VOC21, PASCAL Context60, and COCO-Object.
  • Without Background Class: PASCAL VOC20, Cityscapes, PASCAL Context59, ADE20K-150, and COCO-Stuff.

Key Insights and Ideas

  • Text Embeddings Should Be Dynamic: Traditional zero-shot classification treats text as a static anchor. This paper demonstrates that for dense prediction tasks like segmentation, text embeddings must adapt to the specific visual context of the scene to achieve precise alignment.
  • The Power of the Margin: Absolute confidence is a poor metric for token selection because a background patch might score highly for multiple unrelated classes. The score margin effectively filters out these ambiguous, high-noise regions.
  • Evidence-Driven Moderation: A major risk of text calibration is over-fitting the text to a noisy or misclassified visual patch. Tying the calibration strength to the quantity of visual evidence acts as an automated guardrail against semantic distortion.

Key Results

PTC was evaluated as a plug-and-play addition to six representative training-free OVSS baselines: SCLIP, ClearCLIP, NACLIP, ResCLIP, ProxyCLIP, and CorrCLIP.

  • Quantitative Improvements: Adding PTC consistently improved the average mIoU across all six baselines, with gains ranging from +0.8% to +2.2%. Notably, it raised the average mIoU of NACLIP from 39.0% to 41.2% and pushed the already strong CorrCLIP baseline to a top-tier 51.9%.
  • Qualitative Improvements: Visualizations demonstrate that PTC successfully expands mask coverage to encompass entire objects rather than just localized, highly representative features. It also significantly suppresses false positives caused by complex backgrounds or co-occurring classes.

Limitations and Future Work

The primary limitation of PTC is its dependency on the quality of the initial visual prototypes. In exceptionally chaotic scenes with severe occlusions or extreme category confusion, the initial matching scores may fail to isolate enough clean visual evidence. If the initial token selection is highly corrupted, the resulting prototypes will be less reliable.

The authors note that future research will focus on designing more robust prototype construction mechanisms capable of handling highly complex scenes and further stabilizing the text calibration process.

Summary updated

BibTeX
@misc{ma2026perceptual,
  author = {Wanli Ma and Jiangwen Lu and Qinmu Peng and Xinge You},
  title = {{Perceptual Anchoring: Prototype-Guided Text Calibration for Training-free Open-Vocabulary Semantic Segmentation}},
  year = {2026},
  eprint = {2608.03991},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.03991},
}
Figure