arXiv:2610.24757cs.CVOct 2026

Manuscript Offprint

arXiv:2610.24757

CorrCLIPv2: Harnessing Unlabeled Images for Open-Vocabulary Semantic Segmentation

Dengke Zhang, Fagui Liu, Quan Tang, C. L. Philip Chen

Abstract

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.

Keywords: Open-vocabulary semantic segmentation; Vision foundation model; Correlation reconstruction; Unlabeled images

1 Introduction

Open-vocabulary semantic segmentation (OVSS) (Zhao et al. 2017; Ghiasi et al. 2022; Yuan et al. 2024) performs dense prediction by assigning semantic labels to image regions based on an open

This preprint has not undergone peer review (when applicable) or any post-submission improvements or corrections. The Version of Record of this article is published in International Journal of Computer Vision, and is available online at https://doi.org/10.1007/s11263-026-03027-3.

Figure

Fig. 1 Impact of intra-class and intra-object correlations and different proportions of inter-class correlations on CLIP's segmentation performance on COCO Stuff. "Lowest" and "Highest" denote the interactions with the least and most similar inter-class patches, respectively. Intra-Class and Intra-Object correlations achieve superior performance. In contrast, reintroducing inter-class interactions, even with high similarity, results in consistent degradation.

set of textual descriptions. In recent years, the Contrastive Language-Image Pre-training (CLIP) (Radford et al. 2021) model has emerged as a predominant paradigm for this task. Leveraging massive-scale supervision from image-text pairs, CLIP demonstrates unprecedented zero-shot generalization capabilities, thereby serving as a foundational backbone for contemporary OVSS frameworks.

Adapting CLIP to OVSS requires a fine-grained alignment between localized image patches and category embeddings. However, a fundamental discrepancy arises from CLIP's contrastive pre-training, which prioritizes global information. As a result, distinct patches tend to share overly similar representations, undermining local discriminability. To enhance such local discriminability while preserving the pretrained alignment with the textual feature space, training-free methods typically limit their intervention to the final Vision Transformer (ViT) (Dosovitskiy et al. 2021) layer. Within this layer, the self-attention mechanism serves as the primary conduit for feature aggregation. Therefore, reshaping the attention patterns to restore local discriminability becomes the key challenge.

Existing methods aim to enhance segmentation primarily by adjusting attention maps heuristically. Specifically, SCLIP (Wang et al. 2024) and ClearCLIP (Lan et al. 2024a) substitute the conventional query-key interaction with query-query or key-key attention, enabling patches to focus more strongly on themselves to preserve local feature distinctiveness. Alternatively, SC-CLIP (Bai

Figure

Fig. 2 Comparison of OVSS performance on ten standard benchmarks. CorrCLIP shows promising results. CorrCLIPv2 further improves it and sets a new state-of-the-art across all benchmarks

et al. 2025) and ResCLIP (Yang et al. 2025) observe that lower layer attentions exhibit superior coherence compared to the final layer, and thus leverage these shallower patterns to refine the noisy attention maps in the final block. Moreover, ProxyCLIP (Lan et al. 2024b) and Trident (Shi et al. 2025) bypass CLIP's internal inconsistencies by computing attention maps using features from other Visual Foundation Models (VFMs) that possess higher coherence. Critically, these methods do not explicitly identify which types of patch correlations degrade segmentation performance, thereby limiting their potential for further improvement.

To analyze this issue in depth, we conduct a breakdown analysis. For the segmentation task, ideal patch correlations in CLIP should maintain feature discriminability across classes and aggregate semantic information for semantic alignment. We categorize correlations into intra-class and inter-class types. Intuitively, intra-class correlations inherently satisfy both objectives. However, the impact of inter-class correlations presents a complex ambiguity. On one hand, aggregating information from distinct categories may introduce noise that compromises discriminability. On the other hand, it may provide useful contextual cues that facilitate alignment. To resolve this ambiguity, we conduct a controlled investigation starting from a restricted setting of pure intra-class correlations. The empirical results are shown in Fig. 1, suggesting a substantial improvement in CLIP's segmentation performance, which confirms the efficacy of intra-class aggregation. Additionally, intra-object correlations achieve results competitive with intra-class correlations. In contrast, we observe consistent degradation as inter-class correlations are reintroduced. Notably, even the most semantically similar inter-class patches are detrimental. These results suggest that, in the context of dense prediction, inter-class correlations primarily act as noise rather than providing useful contextual information.

Motivated by the aforementioned observation, we contend that explicitly regulating the interaction scope is imperative. To this end, we propose Scope Reconstruction that utilizes object masks generated by class-agnostic mask generators (Kirillov et al. 2023; Ravi et al. 2024; Qi et al. 2023) to strictly confine patch interactions within objects, thereby minimizing inter-class correlations. Furthermore, to avoid potential multi-class ambiguities in masks, we introduce Value Reconstruction to refine similarity measures via coherent features of Self-Supervised Learning (SSL) VFMs (Oquab et al. 2023; Siméoni et al. 2025; Heinrich et al. 2025), further suppressing the weight of irrelevant correlations. Beyond optimizing patch correlations, we present Feature Refinement, which introduces a spatial branch to recover spatial details from lower layers and a semantic branch utilizing mask class tokens to consolidate regional semantics. Finally, in the output space, we introduce Map Correction to unify predictions via voting in each mask, ensuring spatial consistency. These mechanisms effectively establish a robust object-centric framework, which reconstructs patch correlations, refines feature representations, and unifies prediction outputs within each object instance. While this framework improves object classification accuracy, inherent contextual bias may still cause object representations to deviate from their intrinsic semantics, leading to misclassification. This issue stems from the necessity of global contextual interaction in the preceding ViT layers of CLIP. Unlike the final layer where we can strictly confine the scope, early layers must aggregate information globally to form semantic concepts. Consequently, an object's embedding may be susceptible to interference from its surrounding context (e.g., a "cat" in a dark cage may be embedded closer to "fence"). In such cases, relying solely on information from a single input image is insufficient to correct this semantic drift.

To this end, we extend our framework to a cross-image object retrieval paradigm, CorrCLIPv2, which incurs only marginal inference overhead. The core insight is that the feature representation of a single object instance may fluctuate due to contextual bias. In contrast, a semantic prototype distilled from multiple instances of the same class across diverse environments is more robust and reliable. Following this insight, we first construct an offline memory bank populated with CorrCLIP-enhanced features from a large collection of unlabeled data. A key challenge here is accurately linking the query object to semantically consistent support objects. To address this challenge, we introduce VFM-Indexed Semantic Retrieval (VISR). Unlike CLIP, SSL-based VFMs produce visually discriminative representations at the fine-grained object level, where intra-class features maintain high affinity, whereas inter-class features are well-separated. By utilizing VFM features as a stable anchor to retrieve a visual support set and aggregating their corresponding CorrCLIP features, VISR effectively marginalizes out the context-induced variance, stabilizing predictions under complex backgrounds.

Moreover, we exploit the decoupled design of our retrieval mechanism to enable a scalable approach for open-ended model integration, proposing a Decoupled Multi-CLIP Ensemble strategy. Unlike traditional ensembles that incur linear computational costs with each added model, our framework decouples the costly feature encoding of different CLIP variants, which is performed offline, from the online inference stage. Consequently, we can effectively fuse complementary knowledge dimensions from multiple pre-trained models with negligible marginal inference overhead, improving robustness without compromising efficiency.

Our contributions are summarized as follows:

  • We conduct a breakdown analysis revealing that inter-class correlations predominantly manifest as destructive noise rather than constructive context in CLIP-based segmentation.

• Based on the above observation, we propose a unified training-free object-centric framework that reconstructs intrinsic patch correlations, refines feature representations, and unifies prediction outputs within each object instance.

  • To further enhance prediction accuracy, we extend our framework to a cross-image object retrieval paradigm, leveraging external support to mitigate contextual bias and incurring only marginal inference overhead.

  • We index a large-scale memory bank using SSL-based VFMs to retrieve semantically consistent objects, and develop a decoupled multi-CLIP ensemble strategy that integrates diverse pre-trained models efficiently.

  • Extensive experiments demonstrate the efficacy of CorrCLIPv2. It sets a new state-of-the-art on 10 standard benchmarks as shown in Fig. 2 and outperforms fully supervised open-vocabulary counterparts on the multi-domain MESS benchmark comprising 22 datasets.

This work extends our preliminary study, CorrCLIP (Zhang et al. 2025), which has been accepted as an oral paper at ICCV'25. We evolve CorrCLIP into a cross-image paradigm with minimal inference overhead. The major improvements include: (1) a retrieval-augmented framework that leverages unlabeled images to rectify contextual bias; (2) the integration of SSL-based VFMs to construct a robust index, enabling the effective retrieval of semantically consistent support features; (3) a decoupled ensemble strategy designed to efficiently leverage diverse pre-trained CLIP models; (4) a substantial expansion of experiments on two challenging large-vocabulary benchmarks (ADE20K-847 (Zhou et al. 2017), Pascal Context-459 (Mottaghi et al. 2014)) and the MESS benchmark (Blumenstiel et al. 2023) with 22 multi-domain datasets, ensuring a more rigorous assessment.

References (85)