DeCLIP: Decoupled Learning for Open-Vocabulary Dense Perception
Junjie Wang, Bin Chen, Yulin Li, Bin Kang, Yichi Chen, Zhuotao Tian
TL;DR
This work analyzes why CLIP struggles in open-vocabulary dense perception, identifying a proxy-token phenomenon that distributes attention away from local regions. It introduces DeCLIP, which decouples CLIP's final attention into content and context streams and distills them from image crops (content) and Vision Foundation Models (context) to improve local discriminability and spatial consistency. Across extensive open-vocabulary detection and segmentation benchmarks, DeCLIP consistently outperforms state-of-the-art methods, with ablations showing the benefits of decoupled distillation and VFM guidance. The approach enables more accurate region-level recognition and pixel-precise segmentation in open-ended visual concept spaces, advancing practical open-vocabulary vision systems.
Abstract
Dense visual prediction tasks have been constrained by their reliance on predefined categories, limiting their applicability in real-world scenarios where visual concepts are unbounded. While Vision-Language Models (VLMs) like CLIP have shown promise in open-vocabulary tasks, their direct application to dense prediction often leads to suboptimal performance due to limitations in local feature representation. In this work, we present our observation that CLIP's image tokens struggle to effectively aggregate information from spatially or semantically related regions, resulting in features that lack local discriminability and spatial consistency. To address this issue, we propose DeCLIP, a novel framework that enhances CLIP by decoupling the self-attention module to obtain ``content'' and ``context'' features respectively. The ``content'' features are aligned with image crop representations to improve local discriminability, while ``context'' features learn to retain the spatial correlations under the guidance of vision foundation models, such as DINO. Extensive experiments demonstrate that DeCLIP significantly outperforms existing methods across multiple open-vocabulary dense prediction tasks, including object detection and semantic segmentation. Code is available at \textcolor{magenta}{https://github.com/xiaomoguhz/DeCLIP}.
