Distilling Spectral Graph for Object-Context Aware Open-Vocabulary Semantic Segmentation
Chanyoung Kim, Dayun Ju, Woojung Han, Ming-Hsuan Yang, Seong Jae Hwang
TL;DR
This work tackles Open-Vocabulary Semantic Segmentation (OVSS) by addressing the lack of object-level context in training-free methods. It introduces CASS, which distills object-level contextual knowledge from Vision Foundation Models (VFMs) into CLIP’s attention through spectral graph matching and low-rank refinement, and further refines text embeddings with an object presence prior to align with object-specific semantics. The approach combines Energy-based Low-rank Approximation and Dynamic Eigenscaling to produce a tailored VFM graph ${\ddot{A}}_{\text{VFM}}^i$ that complements CLIP’s attention, defined via ${A}_{\psi}^j$, and uses an Object-Presence Prior to adjust patch-text similarities for cohesive object-level masks. Across multiple datasets (e.g., VOC, Context, COCO-Stuff, ADE20K, Cityscapes), CASS achieves state-of-the-art performance among training-free OVSS methods, demonstrating robust generalization to unseen classes and real-world scenes, with practical implications for tasks like image inpainting and object removal.
Abstract
Open-Vocabulary Semantic Segmentation (OVSS) has advanced with recent vision-language models (VLMs), enabling segmentation beyond predefined categories through various learning schemes. Notably, training-free methods offer scalable, easily deployable solutions for handling unseen data, a key goal of OVSS. Yet, a critical issue persists: lack of object-level context consideration when segmenting complex objects in the challenging environment of OVSS based on arbitrary query prompts. This oversight limits models' ability to group semantically consistent elements within object and map them precisely to user-defined arbitrary classes. In this work, we introduce a novel approach that overcomes this limitation by incorporating object-level contextual knowledge within images. Specifically, our model enhances intra-object consistency by distilling spectral-driven features from vision foundation models into the attention mechanism of the visual encoder, enabling semantically coherent components to form a single object mask. Additionally, we refine the text embeddings with zero-shot object presence likelihood to ensure accurate alignment with the specific objects represented in the images. By leveraging object-level contextual knowledge, our proposed approach achieves state-of-the-art performance with strong generalizability across diverse datasets.
