TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/WeakTr: Exploring Plain Vision Transformer for Weakly-supe...

WeakTr: Exploring Plain Vision Transformer for Weakly-supervised Semantic Segmentation

Lianghui Zhu, Yingyue Li, Jiemin Fang, Yan Liu, Hao Xin, Wenyu Liu, Xinggang Wang

2023-04-03Weakly-Supervised Semantic SegmentationWeakly supervised Semantic SegmentationSemantic Segmentation
PaperPDFCode(official)

Abstract

This paper explores the properties of the plain Vision Transformer (ViT) for Weakly-supervised Semantic Segmentation (WSSS). The class activation map (CAM) is of critical importance for understanding a classification network and launching WSSS. We observe that different attention heads of ViT focus on different image areas. Thus a novel weight-based method is proposed to end-to-end estimate the importance of attention heads, while the self-attention maps are adaptively fused for high-quality CAM results that tend to have more complete objects. Besides, we propose a ViT-based gradient clipping decoder for online retraining with the CAM results to complete the WSSS task. We name this plain Transformer-based Weakly-supervised learning framework WeakTr. It achieves the state-of-the-art WSSS performance on standard benchmarks, i.e., 78.4% mIoU on the val set of PASCAL VOC 2012 and 50.3% mIoU on the val set of COCO 2014. Code is available at https://github.com/hustvl/WeakTr.

Results

TaskDatasetMetricValueModel
Semantic SegmentationCOCO 2014 valmIoU50.3WeakTr (ViT-S, multi-stage)
Semantic SegmentationCOCO 2014 valmIoU46.9WeakTr (DeiT-S, multi-stage)
Semantic SegmentationPASCAL VOC 2012 trainMean IoU76.5WeakTr (DeiT-S, single-stage)
Semantic SegmentationPASCAL VOC 2012 valMean IoU78.4WeakTr (ViT-S, multi-stage)
Semantic SegmentationPASCAL VOC 2012 valMean IoU74WeakTr (DeiT-S, multi-stage)
Semantic SegmentationPASCAL VOC 2012 testMean IoU79WeakTr (ViT-S, multi-stage)
Semantic SegmentationPASCAL VOC 2012 testMean IoU74.1WeakTr (DeiT-S, multi-stage)
10-shot image generationCOCO 2014 valmIoU50.3WeakTr (ViT-S, multi-stage)
10-shot image generationCOCO 2014 valmIoU46.9WeakTr (DeiT-S, multi-stage)
10-shot image generationPASCAL VOC 2012 trainMean IoU76.5WeakTr (DeiT-S, single-stage)
10-shot image generationPASCAL VOC 2012 valMean IoU78.4WeakTr (ViT-S, multi-stage)
10-shot image generationPASCAL VOC 2012 valMean IoU74WeakTr (DeiT-S, multi-stage)
10-shot image generationPASCAL VOC 2012 testMean IoU79WeakTr (ViT-S, multi-stage)
10-shot image generationPASCAL VOC 2012 testMean IoU74.1WeakTr (DeiT-S, multi-stage)

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21DiffOSeg: Omni Medical Image Segmentation via Multi-Expert Collaboration Diffusion Model2025-07-17SCORE: Scene Context Matters in Open-Vocabulary Remote Sensing Instance Segmentation2025-07-17Unified Medical Image Segmentation with State Space Modeling Snake2025-07-17A Privacy-Preserving Semantic-Segmentation Method Using Domain-Adaptation Technique2025-07-17SAMST: A Transformer framework based on SAM pseudo label filtering for remote sensing semi-supervised semantic segmentation2025-07-16Tomato Multi-Angle Multi-Pose Dataset for Fine-Grained Phenotyping2025-07-15U-RWKV: Lightweight medical image segmentation with direction-adaptive RWKV2025-07-15