arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08181cs.CV
收藏

关注你的邻居:免训练的开放词汇语义分割

Pay Attention to Your Neighbours: Training-Free Open-Vocabulary Semantic Segmentation

ÉTS Montreal(蒙特利尔高等技术学院)

Sina Hajimiri, Ismail Ben Ayed, Jose Dolz

AI总结:

针对现有开放词汇语义分割方法依赖额外预训练或监督的问题,提出免训练的NACLIP方法,通过强化CLIP视觉Transformer自注意力的块定位能力提升性能,在8个基准上多数场景达SOTA。

摘要:

尽管深度学习在语义分割等密集视觉识别任务上已取得显著进展,但传统方法受限于固定类别集。与此同时,CLIP等视觉-语言基础模型凭借其强大的泛化能力,在众多零样本图像级任务中展现出卓越成效。近期已有一系列研究探索将这类模型应用于开放词汇语义分割(OVSS),但现有方法往往依赖不切实际的有监督预训练,或需要接入额外的预训练网络。本文提出一种适用于免训练OVSS的强基线方法,名为Neighbour-Aware CLIP(NACLIP,即邻居感知CLIP),是针对该场景定制的CLIP直接适配方案。我们的方法在CLIP视觉Transformer的自注意力机制中强化图像块的定位能力——这一点对密集预测任务至关重要,却在现有OVSS研究中被忽视。通过引入适配分割任务的设计选择,该方法无需额外数据、辅助预训练网络或大量超参数调优即可显著提升性能,在实际应用中极具实用性。我们在8个主流语义分割基准上开展实验,在大多数场景下取得了当前最优性能。代码已公开于https://github.com/sinahmr/NACLIP。

英文摘要:

Despite the significant progress in deep learning for dense visual recognition problems, such as semantic segmentation, traditional methods are constrained by fixed class sets. Meanwhile, vision-language foundation models, such as CLIP, have showcased remarkable effectiveness in numerous zero-shot image-level tasks, owing to their robust generalizability. Recently, a body of work has investigated utilizing these models in open-vocabulary semantic segmentation (OVSS). However, existing approaches often rely on impractical supervised pre-training or access to additional pre-trained networks. In this work, we propose a strong baseline for training-free OVSS, termed Neighbour-Aware CLIP (NACLIP), representing a straightforward adaptation of CLIP tailored for this scenario. Our method enforces localization of patches in the self-attention of CLIP's vision transformer which, despite being crucial for dense prediction tasks, has been overlooked in the OVSS literature. By incorporating design choices favouring segmentation, our approach significantly improves performance without requiring additional data, auxiliary pre-trained networks, or extensive hyperparameter tuning, making it highly practical for real-world applications. Experiments are performed on 8 popular semantic segmentation benchmarks, yielding state-of-the-art performance on most scenarios. Our code is publicly available at https://github.com/sinahmr/NACLIP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑