ClearCLIP: Decomposing CLIP Representations for Dense Vision-Language Inference

Mengcheng Lan, Chaofeng Chen, Yiping Ke, Xinjiang Wang, Litong Feng +1 more
2/14/2026

No official code found. Best implementation: mc-lan/ClearCLIP (99 stars, last commit 2025-03-26).

Abstract

Despite the success of large-scale pretrained Vision-Language Models (VLMs) especially CLIP in various open-vocabulary tasks, their application to semantic segmentation remains challenging, producing noisy segmentation maps with mis-segmented regions. In this paper, we carefully re-investigate the architecture of CLIP, and identify residual connections as the primary source of noise that degrades segmentation quality. With a comparative analysis of statistical properties in the residual connection and the attention output across different pretrained models, we discover that CLIP's image-text contrastive training paradigm emphasizes global features at the expense of local discriminability, leading to noisy segmentation results. In response, we propose ClearCLIP, a novel approach that decomposes CLIP's representations to enhance open-vocabulary semantic segmentation. We introduce three simple modifications to the final layer: removing the residual connection, implementing the self-self attention, and discarding the feed-forward network. ClearCLIP consistently generates clearer and more accurate segmentation maps and outperforms existing approaches across multiple benchmarks, affirming the significance of our discoveries.

View on arXivView PDF

Code Implementations(1)

mc-lan/ClearCLIPCommunity76%

[ECCV2024] ClearCLIP: Decomposing CLIP Representations for Dense Vision-Language Inference

998Shell, PythonJul 17, 20241 years ago

Similar Papers

Cite this paper

@article{lan2026clearclip,
  title  = {ClearCLIP: Decomposing CLIP Representations for Dense Vision-Language Inference},
  author = {Mengcheng Lan and Chaofeng Chen and Yiping Ke and Xinjiang Wang and Litong Feng and Wayne Zhang},
  year   = {2026},
  eprint = {2407.12442},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.12442},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.12442.svg)](https://codeofpaper.com/paper/2407.12442)

Discussion