利用CLIP的细粒度图文对齐,提升弱监督语义分割精度
Exploring CLIP's Dense Knowledge for Weakly Supervised Semantic Segmentation
- 通过图文块级对齐,挖掘CLIP的深层语义知识
- 在PASCAL VOC和MS COCO上超越现有方法,训练成本更低
- 适合关注零样本迁移与高效模型设计的研究者
弱监督语义分割(WSSS)仅需图像级别标签即可实现像素级预测,依赖类别激活图(CAM)。近期研究将对比语言-图像预训练(CLIP)引入WSSS,但主要聚焦图像-文本对齐以生成CAM,忽视了CLIP在块-文本对齐方面的潜力。本文提出ExCEL,通过新型块-文本对齐范式探索CLIP的密集知识。设计文本语义增强(TSE)模块,利用大语言模型构建全局知识库,隐式挖掘属性以丰富文本表示;提出视觉校准(VC)模块,包括非参数化的静态视觉校准(SVC)和可学习的动态视觉校准(LVC),从视觉特征中挖掘细粒度知识。实验表明,ExCEL保持了CLIP无训练的优势,在PASCAL VOC和MS COCO数据集上显著优于现有最优方法,且训练开销更小。
原文摘要 · Abstract (English)
Weakly Supervised Semantic Segmentation (WSSS) with image-level labels aims to achieve pixel-level predictions using Class Activation Maps (CAMs). Recently, Contrastive Language-Image Pre-training (CLIP) has been introduced in WSSS. However, recent methods primarily focus on image-text alignment for CAM generation, while CLIP's potential in patch-text alignment remains unexplored. In this work, we propose ExCEL to explore CLIP's dense knowledge via a novel patch-text alignment paradigm for WSSS. Specifically, we propose Text Semantic Enrichment (TSE) and Visual Calibration (VC) modules to improve the dense alignment across both text and vision modalities. To make text embeddings semantically informative, our TSE module applies Large Language Models (LLMs) to build a dataset-wide knowledge base and enriches the text representations with an implicit attribute-hunting process. To mine fine-grained knowledge from visual features, our VC module first proposes Static Visual Calibration (SVC) to propagate fine-grained knowledge in a non-parametric manner. Then Learnable Visual Calibration (LVC) is further proposed to dynamically shift the frozen features towards distributions with diverse semantics. With these enhancements, ExCEL not only retains CLIP's training-free advantages but also significantly outperforms other state-of-the-art methods with much less training cost on PASCAL VOC and MS COCO.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。