arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.17828cs.CVcs.AI

利用Swin Transformer实现局部到全局的弱监督语义分割

Leveraging Swin Transformer for Local-to-Global Weakly Supervised Semantic Segmentation

Sharif University of Technology(谢里夫理工大学)

Rozhan Ahmadi, Shohreh Kasaei

AI总结:

针对弱监督语义分割中CAMs仅关注物体局部判别区域的问题,提出融合局部与全局视野的SWTformer系列模型,在PascalVOC 2012数据集上显著提升了初始种子CAMs的定位精度。

摘要:

近年来,以图像级标签为监督信号的弱监督语义分割在计算机视觉领域受到广泛关注。现有大多数方法通过从类激活图(CAMs)生成伪标签来促进监督学习,以此解决这类标签缺乏空间信息带来的挑战。由于CNN的局部模式检测特性,CAMs往往仅突出物体最具判别性的部分,导致难以准确区分不同前景物体以及前景与背景。近期研究表明,Vision Transformer(ViT)的特征因具备全局视野,在捕捉场景布局方面比CNN更有效,但层级式ViT在该领域的应用尚未得到广泛探索。本研究探索了Swin Transformer的应用,提出了SWTformer,通过融合局部与全局视野提升初始种子CAMs的精度。SWTformer-V1仅将patch token作为特征来生成类别概率与CAMs。SWTformer-V2引入多尺度特征融合机制以提取额外信息,并利用背景感知机制生成定位更准确、跨物体判别能力更强的定位图。在PascalVOC 2012数据集上的实验显示,SWTformer-V1的定位精度mAP比现有最优模型高出0.98%;在仅依赖分类网络生成初始定位图的任务中,其平均mIoU比其他方法高出0.82%,性能具有竞争力。SWTformer-V2将生成的种子CAMs精度进一步提升了5.32% mIoU,进一步验证了Swin Transformer提供的局部到全局视野的有效性。代码可在https://github.com/RozhanAhmadi/SWTformer获取。

英文摘要:

In recent years, weakly supervised semantic segmentation using image-level labels as supervision has received significant attention in the field of computer vision. Most existing methods have addressed the challenges arising from the lack of spatial information in these labels by focusing on facilitating supervised learning through the generation of pseudo-labels from class activation maps (CAMs). Due to the localized pattern detection of CNNs, CAMs often emphasize only the most discriminative parts of an object, making it challenging to accurately distinguish foreground objects from each other and the background. Recent studies have shown that Vision Transformer (ViT) features, due to their global view, are more effective in capturing the scene layout than CNNs. However, the use of hierarchical ViTs has not been extensively explored in this field. This work explores the use of Swin Transformer by proposing "SWTformer" to enhance the accuracy of the initial seed CAMs by bringing local and global views together. SWTformer-V1 generates class probabilities and CAMs using only the patch tokens as features. SWTformer-V2 incorporates a multi-scale feature fusion mechanism to extract additional information and utilizes a background-aware mechanism to generate more accurate localization maps with improved cross-object discrimination. Based on experiments on the PascalVOC 2012 dataset, SWTformer-V1 achieves a 0.98% mAP higher localization accuracy, outperforming state-of-the-art models. It also yields comparable performance by 0.82% mIoU on average higher than other methods in generating initial localization maps, depending only on the classification network. SWTformer-V2 further improves the accuracy of the generated seed CAMs by 5.32% mIoU, further proving the effectiveness of the local-to-global view provided by the Swin transformer. Code available at: https://github.com/RozhanAhmadi/SWTformer

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

↑