Learning Affinity from Attention: End-to-End Weakly-Supervised Semantic Segmentation with Transformers
Not on the map. Why?
Abstract (arXiv)
Weakly-supervised semantic segmentation (WSSS) with image-level labels is an important and challenging task. Due to the high training efficiency, end-to-end solutions for WSSS have received increasing attention from the community. However, current methods are mainly based on convolutional neural networks and fail to explore the global information properly, thus usually resulting in incomplete object regions. In this paper, to address the aforementioned problem, we introduce Transformers, which naturally integrate global information, to generate more integral initial pseudo labels for end-to-end WSSS. Motivated by the inherent consistency between the self-attention in Transformers and the semantic affinity, we propose an Affinity from Attention (AFA) module to learn semantic affinity from the multi-head self-attention (MHSA) in Transformers. The learned affinity is then leveraged to refine the initial pseudo labels for segmentation. In addition, to efficiently derive reliable affinity labels for supervising AFA and ensure the local consistency of pseudo labels, we devise a Pixel-Adaptive Refinement module that incorporates low-level image appearance information to refine the pseudo labels. We perform extensive experiments and our method achieves 66.0% and 38.9% mIoU on the PASCAL VOC 2012 and MS COCO 2014 datasets, respectively, significantly outperforming recent end-to-end methods and several multi-stage competitors. Code is available at https://github.com/rulixiang/afa.
Key facts. Cited by 118 papers in the map (data through 7 Oct 2026). Builds on 46 of its 59 references that are in the map. First posted on arXiv 5 Mar 2022.
Builds on
46 of 59 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2017Graph Attention Networkscited by 8,854
- 2016Layer Normalizationcited by 5,579
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2021Vision Transformers for Dense Predictioncited by 1,789
- 2021ViViT: A Video Vision Transformercited by 1,610
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
34 more
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2016ScribbleSup: Scribble-Supervised Convolutional Networks for Semantic Segmentationcited by 330
- 2018Learning Pixel-level Semantic Affinity with Image-level Supervision for Weakly Supervised Semantic Segmentationcited by 321
- 2020Self-supervised Equivariant Attention Mechanism for Weakly Supervised Semantic Segmentationcited by 299
- 2019Weakly Supervised Learning of Instance Segmentation with Inter-pixel Relationscited by 245
- 2020Causal Intervention for Weakly-Supervised Semantic Segmentationcited by 229
- 2017Object Region Mining with Adversarial Erasing: A Simple Classification to Semantic Segmentation Approachcited by 201
- 2016Seed, Expand and Constrain: Three Principles for Weakly-Supervised Image Segmentationcited by 198
- 2015Weakly- and Semi-Supervised Learning of a DCNN for Semantic Image Segmentationcited by 189
- 2016Wider or Deeper: Revisiting the ResNet Model for Visual Recognitioncited by 184
- 2020Single-Stage Semantic Segmentation from Image Labelscited by 167
- 2020Weakly-Supervised Semantic Segmentation via Sub-category Explorationcited by 145
- 2020Mining Cross-Image Semantics for Weakly Supervised Semantic Segmentationcited by 144
- 2021Anti-Adversarially Manipulated Attributions for Weakly and Semi-Supervised Semantic Segmentationcited by 134
- 2021Railroad is not a Train: Saliency as Pseudo-pixel Supervision for Weakly Supervised Semantic Segmentationcited by 127
- 2019Pixel-Adaptive Convolutional Neural Networkscited by 126
- 2021TS-CAM: Token Semantic Coupled Attention Map for Weakly Supervised Object Localizationcited by 122
- 2018On Regularized Losses for Weakly-supervised CNN Segmentationcited by 121
- 2021BBAM: Bounding Box Attribution Map for Weakly Supervised Semantic and Instance Segmentationcited by 104
- 2018Learning random-walk label propagation for weakly-supervised semantic segmentationcited by 101
- 2021Non-Salient Region Object Mining for Weakly Supervised Semantic Segmentationcited by 95
- 2019Reliability Does Matter: An End-to-End Weakly Supervised Semantic Segmentation Approachcited by 88
- 2021Leveraging Auxiliary Tasks with Affinity Learning for Weakly Supervised Semantic Segmentationcited by 77
- 2021Complementary Patch for Weakly Supervised Semantic Segmentationcited by 75
- 2021Context Decoupling Augmentation for Weakly Supervised Semantic Segmentationcited by 69
- 2021Reducing Information Bottleneck for Weakly Supervised Semantic Segmentationcited by 65
- 2020Group-Wise Semantic Mining for Weakly Supervised Semantic Segmentationcited by 52
- 2021Discriminative Region Suppression for Weakly-Supervised Semantic Segmentationcited by 50
- 2018Adaptive Affinity Fields for Semantic Segmentationcited by 48
- 2021Pseudo-mask Matters in Weakly-supervised Semantic Segmentationcited by 48
- 2021Affinity Attention Graph Neural Network for Weakly Supervised Semantic Segmentationcited by 47
- 2021Adaptive Affinity Loss and Erroneous Pseudo-Label Refinement for Weakly Supervised Semantic Segmentationcited by 22
- 2022Weakly-Supervised Semantic Segmentation with Visual Words Learning and Hybrid Poolingcited by 19
- 2021Towards Single Stage Weakly Supervised Semantic Segmentationcited by 5
Built on by
Citing papers per year: 2022: 14; 2023: 43; 2024: 36; 2025: 17; 2026: 8.
118 papers.
Sort:
By area:
- 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Modelscited by 162
- 2022CLIP is Also an Efficient Segmenter: A Text-Driven Approach for Weakly Supervised Semantic Segmentationcited by 118
- 2023CLIP as RNN: Segment Countless Visual Concepts without Training Endeavorcited by 69
- 2023Token Contrast for Weakly-Supervised Semantic Segmentationcited by 64
- 2023Segment Anything Model (SAM) Enhanced Pseudo Labels for Weakly Supervised Semantic Segmentationcited by 53
- 2022A Survey on Label-efficient Deep Image Segmentation: Bridging the Gap between Weak Supervision and Dense Predictioncited by 46
- 2023CorrMatch: Label Propagation via Correlation Matching for Semi-Supervised Semantic Segmentationcited by 43
- 2022Max Pooling with Vision Transformers reconciles class and shape in weakly supervised semantic segmentationcited by 41
- 2022BoxTeacher: Exploring High-Quality Pseudo Labels for Weakly Supervised Instance Segmentationcited by 31
- 2023Foundation Model Assisted Weakly Supervised Semantic Segmentationcited by 31
- 2022Towards Label-efficient Automatic Diagnosis and Analysis: A Comprehensive Survey of Advanced Deep Learning-based Weakly-supervised, Semi-supervised and Self-supervised Techniques in Histopathological Image Analysiscited by 29
- 2023DeMT: Deformable Mixer Transformer for Multi-Task Learning of Dense Predictioncited by 27
38 more
- 2023Uncovering Prototypical Knowledge for Weakly Open-Vocabulary Semantic Segmentationcited by 27
- 2022Out-of-Candidate Rectification for Weakly Supervised Semantic Segmentationcited by 26
- 2023Semantic Image Segmentation: Two Decades of Researchcited by 26
- 2023Self Correspondence Distillation for End-to-End Weakly-Supervised Semantic Segmentationcited by 26
- 2022Box2Mask: Box-supervised Instance Segmentation via Level-set Evolutioncited by 22
- 2023WeakTr: Exploring Plain Vision Transformer for Weakly-supervised Semantic Segmentationcited by 22
- 2023MCTformer+: Multi-Class Token Transformer for Weakly Supervised Semantic Segmentationcited by 22
- 2022CAMANet: Class Activation Map Guided Attention Network for Radiology Report Generationcited by 21
- 2023An Alternative to WSSS? An Empirical Study of the Segment Anything Model (SAM) on Weakly-Supervised Semantic Segmentation Problemscited by 19
- 2023Image Augmentation with Controlled Diffusion for Weakly-Supervised Semantic Segmentationcited by 19
- 2023Weakly-Supervised Semantic Segmentation with Image-Level Labels: from Traditional Models to Foundation Modelscited by 19
- 2023TagCLIP: A Local-to-Global Framework to Enhance Open-Vocabulary Multi-Label Classification of CLIP Without Trainingcited by 19
- 2023Background Activation Suppression for Weakly Supervised Object Localization and Semantic Segmentationcited by 17
- 2024Spatial Structure Constraints for Weakly Supervised Semantic Segmentationcited by 17
- 2024DuPL: Dual Student with Trustworthy Progressive Learning for Robust Weakly Supervised Semantic Segmentationcited by 17
- 2024Hunting Attributes: Context Prototype-Aware Learning for Weakly Supervised Semantic Segmentationcited by 16
- 2024Prompt Categories Cluster for Weakly Supervised Semantic Segmentationcited by 16
- 2026VisionTrim: Unified Vision Token Compression for Training-Free MLLM Accelerationcited by 16
- 2023Emergent Open-Vocabulary Semantic Segmentation from Off-the-shelf Vision-Language Modelscited by 15
- 2024Adaptive Patch Contrast for Weakly Supervised Semantic Segmentationcited by 15
- 2024Image Augmentation Agent for Weakly Supervised Semantic Segmentationcited by 15
- 2023USAGE: A Unified Seed Area Generation Paradigm for Weakly Supervised Semantic Segmentationcited by 14
- 2024Separate and Conquer: Decoupling Co-occurrence via Decomposition and Representation for Weakly Supervised Semantic Segmentationcited by 14
- 2024Frozen CLIP: A Strong Backbone for Weakly Supervised Semantic Segmentationcited by 14
- 2024GLASS: Guided Latent Slot Diffusion for Object-Centric Learningcited by 14
- 2022Centralized Feature Pyramid for Object Detectioncited by 13
- 2023MARS: Model-agnostic Biased Object Removal without Additional Supervision for Weakly-Supervised Semantic Segmentationcited by 13
- 2023Cross-Modal Concept Learning and Inference for Vision-Language Modelscited by 12
- 2022eX-ViT: A Novel eXplainable Vision Transformer for Weakly Supervised Semantic Segmentationcited by 11
- 2022Background-Mixed Augmentation for Weakly Supervised Change Detectioncited by 11
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulationcited by 11
- 2024Learning to Discover Forgery Cues for Face Forgery Detectioncited by 11
- 2023Top-K Pooling with Patch Contrastive Learning for Weakly-Supervised Semantic Segmentationcited by 10
- 2024MoRe: Class Patch Attention Needs Regularization for Weakly Supervised Semantic Segmentationcited by 9
- 2025Training-Free Class Purification for Open-Vocabulary Semantic Segmentationcited by 9
- 2023Scribble-Supervised RGB-T Salient Object Detectioncited by 8
- 2023Using Unreliable Pseudo-Labels for Label-Efficient Semantic Segmentationcited by 8
- 2023Semantic-Aware Dual Contrastive Learning for Multi-label Image Classificationcited by 8
50 most cited of 118 All 118 (JSON)
- 2026ProBAG: Prototype-Guided Boundary-Aware Graph Diffusion for Weakly Supervised Histopathology Segmentation12 Aug 2026
- 2026Early Semantic Grounding in Image Editing Models for Zero-Shot Referring Image Segmentation13 May 2026
- 2026DiCLIP: Diffusion Model Enhances CLIP's Dense Knowledge for Weakly Supervised Semantic Segmentation6 May 2026
- 2026ModuSeg: Decoupling Object Discovery and Semantic Retrieval for Training-Free Weakly Supervised Segmentation8 Apr 2026
- 2026SAPNet++: Evolving Point-Prompted Instance Segmentation with Semantic and Spatial Awareness25 Feb 2026
- 2026VisionTrim: Unified Vision Token Compression for Training-Free MLLM Acceleration30 Jan 2026
- 2026Context Patch Fusion With Class Token Enhancement for Weakly Supervised Semantic Segmentation21 Jan 2026
- 2026Pairing-free Group-level Knowledge Distillation for Robust Gastrointestinal Lesion Classification in White-Light Endoscopy14 Jan 2026
- 2025SSR: Semantic and Spatial Rectification for CLIP-based Weakly Supervised Segmentation1 Dec 2025
- 2025Lightweight Transformer Framework for Weakly Supervised Semantic Segmentation24 Nov 2025
- 2025RAA-MIL: A Novel Framework for Classification of Oral Cytology15 Nov 2025
- 2025Supervised Multilabel Image Classification Using Residual Networks with Probabilistic Reasoning15 Nov 2025
38 more
- 2025SA2Net: Scale-Adaptive Structure-Affinity Transformation for Spine Segmentation from Ultrasound Volume Projection Imaging30 Oct 2025
- 2025A drone-based framework for coral habitat mapping via weakly supervised segmentation26 Aug 2025
- 2025Contrastive Prompt Clustering for Weakly Supervised Semantic Segmentation23 Aug 2025
- 2025Training-Free Class Purification for Open-Vocabulary Semantic Segmentation1 Aug 2025
- 2025Decouple before Align: Visual Disentanglement Enhances Prompt Tuning1 Aug 2025
- 2025Mitigating Spurious Correlations in Weakly Supervised Semantic Segmentation via Cross-architecture Consistency Regularization29 Jul 2025
- 2025Know Your Attention Maps: Class-specific Token Masking for Weakly Supervised Semantic Segmentation9 Jul 2025
- 2025Automated Learning of Semantic Embedding Representations for Diffusion Models9 May 2025
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learning3 Apr 2025
- 2025Exploring CLIP's Dense Knowledge for Weakly Supervised Semantic Segmentation26 Mar 2025
- 2025Approximate Size Targets Are Sufficient for Accurate Semantic Segmentation10 Mar 2025
- 2025WeakMedSAM: Weakly-Supervised Medical Image Segmentation via SAM with Sub-Class Exploration and Prompt Affinity Mining6 Mar 2025
- 2025DOEI: Dual Optimization of Embedding Information for Attention-Enhanced Class Activation Maps21 Feb 2025
- 2024Image Augmentation Agent for Weakly Supervised Semantic Segmentation29 Dec 2024
- 2024Prompt Categories Cluster for Weakly Supervised Semantic Segmentation18 Dec 2024
- 2024MoRe: Class Patch Attention Needs Regularization for Weakly Supervised Semantic Segmentation15 Dec 2024
- 2024Text-Driven Weakly Supervised OCT Lesion Segmentation with Structural Guidance19 Nov 2024
- 2024Free-Mask: A Novel Paradigm of Integration Between the Segmentation Diffusion Model and Image Editing4 Nov 2024
- 2024Upsampling DINOv2 features for unsupervised vision tasks and weakly supervised materials segmentation20 Oct 2024
- 2024Cognition Transferring and Decoupling for Text-supervised Egocentric Semantic Segmentation2 Oct 2024
- 2024DIAL: Dense Image-text ALignment for Weakly Supervised Semantic Segmentation24 Sep 2024
- 2024Learning to Discover Forgery Cues for Face Forgery Detection2 Sep 2024
- 2024Scribbles for All: Benchmarking Scribble Supervised Segmentation Across Datasets22 Aug 2024
- 2024Pixel-Level Domain Adaptation: A New Perspective for Enhancing Weakly Supervised Semantic Segmentation4 Aug 2024
- 2024Leveraging Adaptive Implicit Representation Mapping for Ultra High-Resolution Image Segmentation31 Jul 2024
- 2024GLASS: Guided Latent Slot Diffusion for Object-Centric Learning25 Jul 2024
- 2024Adaptive Patch Contrast for Weakly Supervised Semantic Segmentation15 Jul 2024
- 2024WPS-SAM: Towards Weakly-Supervised Part Segmentation with Foundation Models14 Jul 2024
- 2024Knowledge Transfer with Simulated Inter-Image Erasing for Weakly Supervised Semantic Segmentation3 Jul 2024
- 2024Frozen CLIP: A Strong Backbone for Weakly Supervised Semantic Segmentation17 Jun 2024
- 2024Learning Robust Correlation with Foundation Model for Weakly-Supervised Few-Shot Segmentation30 May 2024
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation26 May 2024
- 2024Tuning-free Universally-Supervised Semantic Segmentation23 May 2024
- 2024Weakly-supervised Semantic Segmentation via Dual-stream Contrastive Learning of Cross-image Contextual Information8 May 2024
- 2024Unified Unsupervised Salient Object Detection via Knowledge Transfer23 Apr 2024
- 2024Tackling Ambiguity from Perspective of Uncertainty Inference and Affinity Diversification for Weakly Supervised Semantic Segmentation12 Apr 2024
- 2024Rethinking Saliency-Guided Weakly-Supervised Semantic Segmentation1 Apr 2024
- 2024DHR: Dual Features-Driven Hierarchical Rebalancing in Inter- and Intra-Class Regions for Weakly-Supervised Semantic Segmentation30 Mar 2024
50 newest of 118 All 118 (JSON)
- 2026VisionTrim: Unified Vision Token Compression for Training-Free MLLM Accelerationcited by 16
- 2023Emergent Open-Vocabulary Semantic Segmentation from Off-the-shelf Vision-Language Modelscited by 15
- 2023Cross-Modal Concept Learning and Inference for Vision-Language Modelscited by 12
- 2025Training-Free Class Purification for Open-Vocabulary Semantic Segmentationcited by 9
- 2025Decouple before Align: Visual Disentanglement Enhances Prompt Tuningcited by 7
- 2023Unsupervised Prototype Adapter for Vision-Language Modelscited by 5
- 2026VisionTrim: Unified Vision Token Compression for Training-Free MLLM Acceleration30 Jan 2026
- 2025Training-Free Class Purification for Open-Vocabulary Semantic Segmentation1 Aug 2025
- 2025Decouple before Align: Visual Disentanglement Enhances Prompt Tuning1 Aug 2025
- 2023Emergent Open-Vocabulary Semantic Segmentation from Off-the-shelf Vision-Language Models28 Nov 2023
- 2023Unsupervised Prototype Adapter for Vision-Language Models22 Aug 2023
- 2023Cross-Modal Concept Learning and Inference for Vision-Language Models28 Jul 2023
- 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Modelscited by 162
- 2024Free-Mask: A Novel Paradigm of Integration Between the Segmentation Diffusion Model and Image Editingcited by 2
- 2025Automated Learning of Semantic Embedding Representations for Diffusion Modelscited by 0
- 2026DiCLIP: Diffusion Model Enhances CLIP's Dense Knowledge for Weakly Supervised Semantic Segmentationcited by 0
- 2026DiCLIP: Diffusion Model Enhances CLIP's Dense Knowledge for Weakly Supervised Semantic Segmentation6 May 2026
- 2025Automated Learning of Semantic Embedding Representations for Diffusion Models9 May 2025
- 2024Free-Mask: A Novel Paradigm of Integration Between the Segmentation Diffusion Model and Image Editing4 Nov 2024
- 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Models21 Mar 2023
- 2022CLIP is Also an Efficient Segmenter: A Text-Driven Approach for Weakly Supervised Semantic Segmentationcited by 118
- 2023CLIP as RNN: Segment Countless Visual Concepts without Training Endeavorcited by 69
- 2023Token Contrast for Weakly-Supervised Semantic Segmentationcited by 64
- 2023Segment Anything Model (SAM) Enhanced Pseudo Labels for Weakly Supervised Semantic Segmentationcited by 53
- 2022A Survey on Label-efficient Deep Image Segmentation: Bridging the Gap between Weak Supervision and Dense Predictioncited by 46
- 2023CorrMatch: Label Propagation via Correlation Matching for Semi-Supervised Semantic Segmentationcited by 43
- 2022Max Pooling with Vision Transformers reconciles class and shape in weakly supervised semantic segmentationcited by 41
- 2022BoxTeacher: Exploring High-Quality Pseudo Labels for Weakly Supervised Instance Segmentationcited by 31
- 2023Foundation Model Assisted Weakly Supervised Semantic Segmentationcited by 31
- 2022Towards Label-efficient Automatic Diagnosis and Analysis: A Comprehensive Survey of Advanced Deep Learning-based Weakly-supervised, Semi-supervised and Self-supervised Techniques in Histopathological Image Analysiscited by 29
- 2023DeMT: Deformable Mixer Transformer for Multi-Task Learning of Dense Predictioncited by 27
- 2023Uncovering Prototypical Knowledge for Weakly Open-Vocabulary Semantic Segmentationcited by 27
12 most cited of 107 All 107 (JSON)
- 2026ProBAG: Prototype-Guided Boundary-Aware Graph Diffusion for Weakly Supervised Histopathology Segmentation12 Aug 2026
- 2026Early Semantic Grounding in Image Editing Models for Zero-Shot Referring Image Segmentation13 May 2026
- 2026ModuSeg: Decoupling Object Discovery and Semantic Retrieval for Training-Free Weakly Supervised Segmentation8 Apr 2026
- 2026SAPNet++: Evolving Point-Prompted Instance Segmentation with Semantic and Spatial Awareness25 Feb 2026
- 2026Context Patch Fusion With Class Token Enhancement for Weakly Supervised Semantic Segmentation21 Jan 2026
- 2026Pairing-free Group-level Knowledge Distillation for Robust Gastrointestinal Lesion Classification in White-Light Endoscopy14 Jan 2026
- 2025SSR: Semantic and Spatial Rectification for CLIP-based Weakly Supervised Segmentation1 Dec 2025
- 2025Lightweight Transformer Framework for Weakly Supervised Semantic Segmentation24 Nov 2025
- 2025RAA-MIL: A Novel Framework for Classification of Oral Cytology15 Nov 2025
- 2025Supervised Multilabel Image Classification Using Residual Networks with Probabilistic Reasoning15 Nov 2025
- 2025SA2Net: Scale-Adaptive Structure-Affinity Transformation for Spine Segmentation from Ultrasound Volume Projection Imaging30 Oct 2025
- 2025A drone-based framework for coral habitat mapping via weakly supervised segmentation26 Aug 2025
12 newest of 107 All 107 (JSON)