mlsanityData to 14 Oct 2026

Know Your Attention Maps: Class-specific Token Masking for Weakly Supervised Semantic Segmentation

arXiv 2507.06848 ↗First posted 9 Jul 2025cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Weakly Supervised Semantic Segmentation (WSSS) is a challenging problem that has been extensively studied in recent years. Traditional approaches often rely on external modules like Class Activation Maps to highlight regions of interest and generate pseudo segmentation masks. In this work, we propose an end-to-end method that directly utilizes the attention maps learned by a Vision Transformer (ViT) for WSSS. We propose training a sparse ViT with multiple [CLS] tokens (one for each class), using a random masking strategy to promote [CLS] token - class assignment. At inference time, we aggregate the different self-attention maps of each [CLS] token corresponding to the predicted labels to generate pseudo segmentation masks. Our proposed approach enhances the interpretability of self-attention maps and ensures accurate class assignments. Extensive experiments on two standard benchmarks and three specialized datasets demonstrate that our method generates accurate pseudo-masks, outperforming related works. Those pseudo-masks can be used to train a segmentation model which achieves results comparable to fully-supervised models, significantly reducing the need for fine-grained labeled data.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 26 of its 34 references that are in the map. First posted on arXiv 9 Jul 2025.

Builds on

26 of 34 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  5. 2023Segment Anythingcited by 8,234
  6. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  7. 2015Learning Deep Features for Discriminative Localizationcited by 2,436
  8. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,148
  9. 2023Vision Transformers Need Registerscited by 871
  10. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  11. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
  12. 2021Semi-Supervised Semantic Segmentation with Cross Pseudo Supervisioncited by 463
14 more
  1. 2016ScribbleSup: Scribble-Supervised Convolutional Networks for Semantic Segmentationcited by 331
  2. 2018Learning Pixel-level Semantic Affinity with Image-level Supervision for Weakly Supervised Semantic Segmentationcited by 321
  3. 2020Self-supervised Equivariant Attention Mechanism for Weakly Supervised Semantic Segmentationcited by 300
  4. 2016Simple Does It: Weakly Supervised Instance and Semantic Segmentationcited by 227
  5. 2017Object Region Mining with Adversarial Erasing: A Simple Classification to Semantic Segmentation Approachcited by 201
  6. 2022Multi-class Token Transformer for Weakly Supervised Semantic Segmentationcited by 138
  7. 2022Learning Affinity from Attention: End-to-End Weakly-Supervised Semantic Segmentation with Transformerscited by 118
  8. 2019Box-driven Class-wise Region Masking and Filling Rate Guided Loss for Weakly Supervised Semantic Segmentationcited by 98
  9. 2022Class Re-Activation Maps for Weakly-Supervised Semantic Segmentationcited by 75
  10. 2022Scribble-Supervised LiDAR Semantic Segmentationcited by 69
  11. 2023Segment Anything Model (SAM) Enhanced Pseudo Labels for Weakly Supervised Semantic Segmentationcited by 53
  12. 2022Max Pooling with Vision Transformers reconciles class and shape in weakly supervised semantic segmentationcited by 41
  13. 2020DDANet: Dual Decoder Attention Network for Automatic Polyp Segmentationcited by 31
  14. 2024DuPL: Dual Student with Trustworthy Progressive Learning for Robust Weakly Supervised Semantic Segmentationcited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.