What the Background Hides: Thresholds, Vocabularies and Collisions in Training-Free Open-Vocabulary Segmentation
Authors: Wendong Yao, Binhua Huang, Soumyabrata Dev
Organizations: ADAPT Research Centre, O’Reilly Institute, Trinity College Dublin, Dublin 2, Ireland · School of Computer Science, University College Dublin, Belfield, Dublin 4, Ireland · School of Computer Science and Statistics, Trinity College Dublin, College Green, Dublin 2, Ireland
Training-free open-vocabulary semantic segmentation (OVSS) built on CLIP has advanced rapidly, with methods typically ranked by mean intersection-over-union (mIoU) across standard benchmarks. On datasets with a background class, however, implementations rely on per-dataset thresholds and background word lists that are rarely documented or unified (11 of 13 surveyed methods configure per-dataset background decisions). We audit configurations and papers of 13 training-free OVSS methods, re-run seven from official codebases, and compare official settings against a strict unified protocol under pre-registered contracts. The protocol gap depends strongly on the benchmark---ranging from 22.8 mIoU points on PASCAL VOC (VOC21) to 0.1 points (indistinguishable from zero) on ADE20K---and alters pairwise method rankings. Despite large shifts in absolute mIoU, most of the reported improvement of later CLIP-only methods over SCLIP remains under the unified protocol (roughly 79% of the published gain). Decomposing official background handling shows that it combines numeric settings and class-name files whose dominant component reverses across benchmarks, while no tested tuning-free rule transfers reliably across all datasets. Moreover, exact collisions between background words and target names---present in six of seven official COCO-Object configurations through "bed"---make affected classes unpredictable under official post-processing, while the main per-class drops under language-model-generated vocabularies on VOC21 are largely attributable to a few generated terms. We offer reporting recommendations and release our evaluation code, frozen configurations, contracts, and a collision-check tool.
Figures & tables
Method
Venue
Thr.
#bg
Ren.
Post.
Res.
Doc.
Untuned
MaskCLIP
ECCV 2022
none
–
minor
opt.
✓
–
✓
GEM
CVPR 2024
0.85 (VOC)
–
?
–
✗
✓
✗
CLIP-DINOiser
ECCV 2024
saliency (VOC/Object)
1/1
minor
–
✗
✓
✓
SCLIP
ECCV 2024
0.1/0.1/0.1
26/26
✓
–
✗
✗
∘
ClearCLIP
ECCV 2024
0.5/0.4/0.15
1/1
minor
–
✗
∘
✓
ProxyCLIP
ECCV 2024
0.2/0.25/0.15
26/17
minor
–
✓
✗
✗
Table 1: Literature and configuration audit of training-free OVSS methods (official repositories and paper text, checked November 2026). Thr.: per-dataset background decision in the official configs (VOC21/COCO-Object/Context-60); #bg: background words in the official class-name file (VOC21/COCO-Object); Ren.: class renaming or synonyms; Post.: pixel-level post-processing in the main table; Res.: resolution or window differs across datasets; Doc.: the paper text documents the background choices; Untuned: results without the dataset-specific choices are reported. ✓ yes, ∘ partial, ✗ no, ? not verifiable from public material, – not applicable.
VOC21
COCO-Object
Context-60
Method
#var
τ
s
a
#bg
τ
s
#bg
τ
s
#bg
SCLIP
3
0.1
65
0.1
26
0.1
50
26
0.10
50
1
ClearCLIP
1
0.5
–
–
1
0.4
–
1
0.15
–
1
NACLIP
2
0.1
–
–
26
0.1
–
26
0.10
–
1
ResCLIP
5
0.1
–
–
26
0.1
–
26
0.10
–
1
SC-CLIP
3
0.15
50
0.1
26
0.35
55
26
0.15
–
1
Table 2: Official per-dataset settings that touch background handling. “#var” counts model keys (other than the class-name file) whose value differs across the official VOC21/VOC20/COCO-Object/ADE20K configs. τ : probability threshold for background; s : logit scale; a : area threshold; “#bg”: number of background words in the official class-name file. “–”: not set (class default).
Figure 1: Overview of the evaluation settings. Thumbnails show SCLIP on one COCO-Object validation image (the 90th-percentile image of Fig. 7 ); colors follow the PASCAL VOC palette and heat maps show class probabilities from 0 (dark) to 1 (bright). (a) Official background handling at inference (maps from the bgb run): query similarities zq(x) are normalized by a softmax over all class and background names with logit scale s (Eq. ( 2 )), merged per class by a maximum (Eq. ( 3 )), filtered by an area threshold a (Eq. ( 5 )) and thresholded at τ (Eq. ( 4 )). Because “ bed ” is also a background word, the background probability P0 equals or exceeds the bed probability Pbed at every pixel and bed is not predicted in this image. (b) Final predictions of the compared settings on the same image. Starting from P * , adding the official numeric settings gives thr , adding the official class-name file gives bgb , and removing colliding background words gives nc , so that ΔBG=Δthr+Δname . Single-image panels are illustrative only. The diagram was drawn with AI assistance (see the declaration of generative AI use).
Method
VOC21
VOC20
COCO-Object
ADE20K
Context-60
SCLIP
59.63 ( + 0.00)
81.53 ( − 0.01)
33.52 ( + 0.00)
16.45 ( + 0.00)
31.75 ( + 0.01)
ClearCLIP
51.80 ( + 0.00)
80.93 ( + 0.03)
33.04 ( + 0.04)
16.65 ( − 0.05)
32.57 ( − 0.03)
NACLIP
64.06 ( − 0.01)
83.02 ( − 0.01)
36.20 ( + 0.01)
18.18 ( − 0.87)
34.99 ( + 0.00)
ResCLIP
61.05 ( − 0.05)
86.02 ( + 0.02)
34.95 ( − 0.05)
18.02 ( + 0.02)
33.50 ( + 0.00)
SC-CLIP
64.61 ( + 0.01)
84.29 ( − 0.01)
37.72 ( + 0.02)
20.06 ( − 0.04)
36.81 ( + 0.01)
ProxyCLIP
61.24 ( − 0.06)
80.33 ( + 0.03)
37.54 ( + 0.04)
20.17 ( − 0.03)
35.30 ( + 0.00)
Table 3: Official configurations (O) re-run from the official code, with the difference to the number reported by each method in parentheses. Reported targets were fixed before running.
Figure 2: Protocol gap ( O−P\textsuperscript∗ ) across the five original benchmarks. Gray dots denote the seven individual methods and blue markers denote the seven-method mean with 95% image-level paired bootstrap confidence intervals. The gap depends strongly on the benchmark, spanning from 22.8 mIoU points on VOC21 to 0.1 points (indistinguishable from zero) on ADE20K.
VOC21
VOC20
COCO-Object
ADE20K
Context-60
Method
O
P*
BGB
O
P*
BGB
O
P*
BGB
O
P*
BGB
O
P*
BGB
SCLIP
59.63
35.91
60.76
81.53
75.59
–
33.52
21.68
33.07
16.45
17.02
–
31.75
30.41
31.93
ClearCLIP
51.80
37.77
51.80
80.93
80.93
–
33.04
23.32
33.04
16.65
16.65
–
32.57
31.45
32.57
NACLIP
64.06
36.79
57.02
83.02
70.43
–
36.20
21.55
32.34
18.18
17.69
–
34.99
30.65
31.89
ResCLIP
61.05
36.66
60.35
86.02
75.23
–
34.95
22.00
34.56
18.02
18.43
–
33.50
31.84
33.41
SC-CLIP
64.61
42.07
64.34
84.29
78.65
–
37.72
24.74
36.75
20.06
20.11
–
36.81
34.49
36.33
Table 4: mIoU under the official configuration (O), the strict unified protocol (P*), and P* with only the official background handling transplanted (BGB). BGB is defined only for datasets with a background class.
Figure 3: Method rankings under the official configuration (O) and the strict unified protocol (P * ) on the three benchmarks with a background class. Blue lines mark methods whose rank changes between settings. Pairwise rank swaps number 6/21 on VOC21, 5/21 on COCO-Object, and 2/21 on Context-60 (where the top three methods keep their order).
Figure 4: Background pixel share versus seven-method mean gain from official background handling ( bgb − P * ) across original datasets and controlled derived variants; vertical bars show 95% image-level paired bootstrap confidence intervals. Gains rise with background share overall ( ρ=0.857 ), yet diverge sharply near 71% coverage and turn negative on COCO 31% when stuff queries remain.
Figure 5: Decomposition of official background handling ( bgb − P * ) into numeric settings ( thr − P * ) and official class-name files ( bgb − thr ) on VOC21 and COCO-Object. The primary driver reverses across datasets, shifting from class-name files on VOC21 (threshold share 0.23) to numeric thresholds on COCO-Object (threshold share 0.77).
Figure 6: Qualitative SCLIP predictions under P * , thr , bgb and the official configuration (O). For each benchmark, rows are the validation images whose per-image gain \textscbgb−P\textsuperscript∗ lies closest to the 10th, 50th and 90th percentiles among images with at least one foreground class and 20–80% background pixels (VOC21: 760 of 1,449 images; COCO-Object: 2,495 of 5,000); selection used frozen per-image statistics only. Numbers give per-image mIoU of the original runs. Black denotes background. Images from PASCAL VOC 2012 and COCO val2017 .
Figure 7: Effect of removing the colliding background word “ bed ” on COCO-Object (SCLIP). Rows are the images whose per-image bed IoU change ( \textscnc−\textscbgb ) lies closest to the 10th, 50th and 90th percentiles among the 137 validation images with at least 5% bed pixels; selection used frozen per-image statistics only. Under bgb , bed is absorbed into background (bed IoU 0 in all three images); with the colliding word removed ( nc ), it is recovered.
COCO 31% background (165 classes)
COCO 51% background (151 classes)
Method
P*
THR
BGB
NC
#rm
Δvoc
P*
THR
BGB
NC
#rm
Δvoc
SCLIP
21.11
20.99
19.19
20.73
15
+ 1.54
20.30
21.75
20.35
21.71
13
+ 1.36
ClearCLIP
22.64
18.12
18.12
–
0
–
21.73
19.31
19.31
–
0
–
NACLIP
21.54
21.65
19.91
21.63
15
+ 1.72
20.35
22.08
20.81
22.21
13
+ 1.40
ResCLIP
22.67
24.17
22.53
24.40
15
+ 1.87
21.34
24.22
23.31
24.74
13
+ 1.43
SC-CLIP
23.97
24.39
22.56
24.39
15
+ 1.83
22.70
25.21
23.66
25.27
13
+ 1.61
Table 5: Trick decomposition on COCO-Stuff variants that keep stuff classes as queries (background share 31% and 51%). NC: BGB with colliding background words removed; “#rm”: number of removed words; Δvoc= NC − BGB. ClearCLIP’s official file has no background words.
Rule
VOC21
COCO-Object
Context-60
P* (plain “background”)
38.54
23.15
32.78
Otsu rule
48.22
30.81
–
SEL26 (26 words + Otsu)
60.44
35.13
24.89
LLM vocabulary (CC)
56.00
36.37
–
Conflict-filtered (CF)
57.14
36.71
29.83
Official trick (BGB)
60.37
35.39
34.27
Table 6: Background handling rules, mean mIoU over the seven methods. The tuning-free rules (Otsu, SEL26, CC, CF) use no per-dataset parameters; SEL26 was selected on training splits only. Otsu for Trident lacks its SAM refinement (corrected run: conclusions unchanged; see Appendix Table A.1 ). “–”: not run. Per-method values are in Appendix Table A.1 .
Figure 8: Per-class IoU change on VOC21 (seven-method mean) for the LLM-generated vocabulary (CC) and conflict-filtered vocabulary (CF) relative to the 26-word rule (SEL26). Losses concentrate in specific classes such as boat , tvmonitor , diningtable , and person , and are only partially reduced by LLM conflict filtering.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
VOC21
COCO-Object
Context-60
Method
P*
Otsu
SEL26
CC
CF
BGB
P*
Otsu
SEL26
CC
CF
BGB
P*
Otsu
SEL26
CC
CF
BGB
SCLIP
35.91
49.79
57.61
52.63
53.45
60.76
21.68
30.26
33.16
31.78
32.41
33.07
30.41
–
23.47
–
25.19
31.93
ClearCLIP
37.77
47.65
58.43
56.40
56.90
51.80
23.32
30.59
34.36
35.01
35.58
33.04
31.45
–
24.45
–
28.76
32.57
NACLIP
36.79
45.48
55.89
50.37
51.80
57.02
21.55
28.52
32.97
33.07
33.48
32.34
30.65
–
22.72
–
27.44
31.89
ResCLIP
36.66
44.91
58.52
53.63
55.05
60.35
22.00
29.76
34.47
36.34
36.59
34.56
31.84
–
24.18
–
29.66
33.41
SC-CLIP
42.07
48.61
62.51
57.21
58.98
64.34
24.74
30.73
35.52
37.87
37.96
36.75
34.49
–
25.69
–
32.08
36.33
Appendix
Table A.1: Per-method mIoU for the background rules of Table 6 . Otsu for Trident is the V2-P2 run without SAM refinement (corrected values 50.99/33.48 in V3; conclusions unchanged).
Method
Ctx 35%
Ctx 53%
Ctx 71%
COCO 31%
COCO 51%
SCLIP
27.33/31.90
25.12/30.34
20.08/25.31
21.11/19.19
20.30/20.35
ClearCLIP
29.02/32.38
26.45/30.29
21.68/26.01
22.64/18.12
21.73/19.31
NACLIP
27.64/31.17
25.08/28.83
19.98/23.75
21.54/19.91
20.35/20.81
ResCLIP
28.72/32.54
26.14/29.88
21.14/24.58
22.67/22.53
21.34/23.31
SC-CLIP
31.19/36.20
28.41/34.14
23.00/29.13
23.97/22.56
22.70/23.66
ProxyCLIP
31.24/36.18
28.19/34.35
22.71/29.88
24.99/19.67
23.46/21.15
Appendix
Table A.2: Derived variants with controlled background share: P*/BGB per method.
VOC21
COCO-Object
Method
P*
THR
BGB
Δthr
Δname
P*
THR
BGB
Δthr
Δname
Δvoc
SCLIP
35.91
38.25
60.76
+ 2.34
+ 22.51
21.68
29.72
33.07
+ 8.04
+ 3.35
+ 0.61
ClearCLIP
37.77
51.80
51.80
+ 14.03
+ 0.00
23.32
33.04
33.04
+ 9.72
+ 0.00
–
NACLIP
36.79
37.00
57.02
+ 0.21
+ 20.02
21.55
27.72
32.34
+ 6.17
+ 4.62
+ 0.57
ResCLIP
36.66
36.84
60.35
+ 0.18
+ 23.51
22.00
28.10
34.56
+ 6.10
+ 6.46
+ 0.58
SC-CLIP
42.07
43.99
64.34
+ 1.92
+ 20.35
24.74
33.87
36.75
+ 9.13
+ 2.88
+ 0.61
Appendix
Table A.3: Where the official background gain comes from on the original datasets. THR: P* plus only the numeric part of the official trick ( τ , s , a ); BGB: THR plus the official class-name file. Δthr= THR − P*, Δname= BGB − THR; Δvoc : gain from removing background words that collide with a query class name (“bed” on COCO-Object; VOC21 has none). Threshold share =Δthr/BGB−P* .
Table B.1: Classes merged into background for the derived datasets (frozen before inference). Classes are merged cumulatively in descending order of validation pixel frequency; COCO variants merge stuff classes only.
Stage
Question
Frozen rule (abridged)
Outcome
Dev.
V2
Do protocol differences rival method differences?
median protocol effect ≥ median method gap; ranking changes in ≥50% of 12 cells
ADVANCE_TO_DESIGN
5
V2-P2
T1: how much reported progress over SCLIP survives P * ? T2: can a tuning-free rule match tuned tricks?
Can a rule selected on training splits approach tuned tricks?
Δtrick≥−2.0 and Δplain≥+3.0
ADVANCE
2
V4
Does the rule survive an LLM-generated vocabulary?
Δtrick(\textsccc)≥−2.0 ( STOP if <−4.0 )
PASS ( −1.70 ; VOC21 alone −4.38 )
4
V5
Q1: does the protocol effect replicate on Context-60? Q2: conflict-filtered vocabulary
Q1: mean (O−P\textsuperscript∗)≥5.0 and ≥3/21 swaps; Q2: Δtrick(\textsccf)≥−2.0
Q1 STOP (2.01); Q2 vocabulary-sensitive ( −2.12 )
5
S1
Does the gain grow with background share?
H1: ρ≥0.8 , slope CI excludes 0, monotone for ≥5/7 methods; H2: per-image bins ρ≥0.9 on ≥2/3 datasets
H1 SUPPORTED ; H2 NOT_SUPPORTED
8
Appendix
Table C.1: Pre-registered stages: question, frozen decision rule, outcome, and number of dated deviations. All contracts, deviations, and result files are released.
Figure D.1: Additional qualitative SCLIP predictions on VOC21. Rows are the images whose per-image gain \textscbgb−P\textsuperscript∗ lies closest to the 5th, 15th, …, 95th percentiles among eligible validation images (images shown in Fig. 6 excluded); selection used frozen per-image statistics only. Numbers give per-image mIoU of the original runs.
Figure D.2: Additional qualitative SCLIP predictions on COCO-Object, selected as in Fig. D.1 .
Figure D.3: Additional examples for the colliding word “ bed ” on COCO-Object (SCLIP): images closest to the 5th–45th (left) and 55th–95th (right) percentiles of the per-image bed IoU change \textscnc−\textscbgb (images shown in Fig. 7 excluded). Bed IoU is 0 under bgb in all ten images.
Dataset
Δvoc
E-type contrib.
T-type contrib.
Rest contrib.
E-type share
COCO-Object
+ 0.635
+ 0.614
+ 0.000
+ 0.021
0.97
COCO 31%
+ 1.631
+ 1.153
+ 0.186
+ 0.292
0.71
COCO 51%
+ 1.393
+ 0.971
+ 0.163
+ 0.259
0.70
Appendix
Table E.1: Decomposition of Δvoc (six-method mean over methods with collisions) into contributions from structurally zeroed exact sole-name collisions (E-type), other colliding classes (T-type), and remaining classes.
Class c
Attributed words in A
Dc
Rc
Relation
ship
sailboat , tugboat
29.97
23.48
subtype
tvmonitor
laptop , tv_stand , stereo
13.70
14.83
scene object
table
napkin
12.69
4.55
co-occurring item
person
collar
12.21
2.77
co-occurring item
bottle
wine
10.89
12.57
content
bird
feather
10.36
7.75
part
Appendix
Table E.2: Layer 3 leave-one-word-out attribution on VOC21 (seven-method mean on validation). Dc=IoUc(\textscsel26)−IoUc(\textsccc) ; Rc=IoUc(\textsccc−A)−IoUc(\textsccc) . Overall recovery F=∑c∈KRc/∑c∈KDc=0.70 . Class names follow P * (where boat and diningtable are written ship and table ).
Open-vocabulary semantic segmentation aims to classify pixels without being restricted to a fixed set of categories. Although Contrastive Language-Image Pre-training (CLIP) demonstrates remarkable potential for open-vocabulary recognition, its segmentation capability is impaired by noisy inter-class patch interactions. To this end, this work proposes a unified training-free object-centric framework, named CorrCLIPv2, from three complementary aspects of patch correlation, feature representation, and output regularization. Specifically, for patch correlation, we leverage class-agnostic mask generators to explicitly disentangle inter-class interactions. Moreover, we utilize spatially-coherent features from self-supervised models to compute attention scores to mitigate mask inaccuracies. Regarding feature representation, we devise a refinement mechanism to simultaneously strengthen spatial details and semantic representation. Within the output space, we unify predictions via voting in each mask to enhance spatial consistency. To mitigate contextual bias and enhance prediction accuracy of objects, we further extend the framework by incorporating a cross-image object retrieval paradigm, which incurs minimal computational overhead. We build a memory bank of CorrCLIP-enhanced features from unlabeled images and implement a regime of multi-CLIP ensemble. By aggregating semantically consistent object features across diverse contexts retrieved from the memory bank, CorrCLIPv2 mitigates context-induced interference and obtains more robust predictions. Extensive experiments demonstrate that our approach establishes a new state-of-the-art on 10 standard benchmarks. Remarkably, it even surpasses fully supervised open-vocabulary methods across 22 multi-domain datasets. Code is available at: https://github.com/zdk258/CorrCLIP.
Dengke Zhang, Fagui Liu, Quan Tang +1
School of Computer Science and Engineering, South China University of Technology, Guangzhou, 510006, China. · Department of New Network, Pengcheng Laboratory, Shenzhen, 518000, China.
Open-vocabulary semantic segmentation (OVSS) repurposes a pretrained CLIP encoder for dense prediction without additional labeled supervision. Existing methods improve CLIP's spatial behavior either by redesigning its internal attention or by injecting features from auxiliary vision foundation models; both require access to the host's internal computation and are tailored to its specific forward pass. In this work, we propose Test-time Prototype Adaptation (TPA), a training-free plug-in that operates at the output level, leaving the host's forward pass and weights unmodified. By leveraging a lightweight transductive adaptation phase, TPA identifies confident anchor patches from the host's own output predictions on a small pool of unlabeled deployment-domain images, and aggregates their frozen DINO features into per-class prototypes; at inference, a single cosine similarity lookup against this frozen bank provides an auxiliary score fused linearly with the host's logits. TPA composes with five representative OVSS hosts spanning attention-redesign and VFM-injection designs, across three CLIP backbones, eight benchmarks, and multiple internal VFM choices. Under a single set of hyper-parameters and without per-host tuning or parameter updates, TPA consistently improves segmentation accuracy, with as few as approximately 10% of unlabeled deployment-domain images sufficing for effective bank construction on most benchmarks.
Haozhe Wang, Jintao Cheng, Weibin Li +1
South China Normal University · The Hong Kong University of Science and Technology
Open-vocabulary semantic segmentation (OVSS) aims to segment arbitrary category regions in images using open-vocabulary prompts, necessitating that existing methods possess pixel-level vision-language alignment capability. Typically, this capability involves computing the cosine similarity, \ie, logits, between visual and linguistic features, and minimizing the distribution discrepancy between the logits and the ground truth (GT) to generate optimal logits that are subsequently used to construct segmentation maps, yet it depends on time-consuming iterative training or model-specific attention modulation. In this work, we propose a more direct approach that eschews the logits-optimization process by directly deriving an analytic solution for the segmentation map. We posit a key hypothesis: the distribution discrepancy encodes semantic information; specifically, this discrepancy exhibits consistency across patches belonging to the same category but inconsistency across different categories. Based on this hypothesis, we directly utilize the analytic solution of this distribution discrepancy as the semantic maps. In other words, we reformulate the optimization of the distribution discrepancy as deriving its analytic solution, thereby eliminating time-consuming iterative training, freeing us from model-specific attention modulation, and achieving state-of-the-art performance on eight benchmark datasets.
Jiahao Li, Yang Lu, Yachao Zhang +3
Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China, Xiamen University. · Hanjiang National Laboratory. · East China Normal University.