Open vocabulary image segmentation improves using patch correlation and memory
CorrCLIPv2: Harnessing Unlabeled Images for Open-Vocabulary Semantic Segmentation
Computer Vision and Pattern Recognition
Summary
Semantic segmentation labels every pixel in an image, but usually only for a fixed set of categories. This paper presents CorrCLIPv2, a system that uses unlabeled images and improves labeling without needing fixed categories. The authors tackle challenges like confused signals from overlapping object parts using smart masks and combining features from many images. They also gather knowledge from many unlabeled images to better understand objects in different contexts. Their method works better than previous techniques, even beating some that rely fully on labeled data.
What this means in practice
- •For computer vision engineers: Segment objects in images from unlimited categories using unlabeled data and improved patch correlation techniques for better accuracy.
- •For augmented reality developers: Provide real-time scene understanding without predefining object classes by using open-vocabulary segmentation from large unlabeled image collections.
Authors
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.