[Paper Review] Regional Semantic Contrast and Aggregation for Weakly Supervised Semantic Segmentation
This paper proposes Regional Semantic Contrast and Aggregation (RCA), a novel method for weakly supervised semantic segmentation using only image-level labels. RCA leverages a continuously updated memory bank of pseudo-regions to enable dataset-level semantic contrast and aggregation, significantly improving object localization and representation learning, achieving new state-of-the-art mIoU scores of 73.2% on PASCAL VOC 2012 and 72.8% on COCO 2014.
Learning semantic segmentation from weakly-labeled (e.g., image tags only) data is challenging since it is hard to infer dense object regions from sparse semantic tags. Despite being broadly studied, most current efforts directly learn from limited semantic annotations carried by individual image or image pairs, and struggle to obtain integral localization maps. Our work alleviates this from a novel perspective, by exploring rich semantic contexts synergistically among abundant weakly-labeled training data for network learning and inference. In particular, we propose regional semantic contrast and aggregation (RCA) . RCA is equipped with a regional memory bank to store massive, diverse object patterns appearing in training data, which acts as strong support for exploration of dataset-level semantic structure. Particularly, we propose i) semantic contrast to drive network learning by contrasting massive categorical object regions, leading to a more holistic object pattern understanding, and ii) semantic aggregation to gather diverse relational contexts in the memory to enrich semantic representations. In this manner, RCA earns a strong capability of fine-grained semantic understanding, and eventually establishes new state-of-the-art results on two popular benchmarks, i.e., PASCAL VOC 2012 and COCO 2014.
Motivation & Objective
- To address the challenge of learning dense object localization from sparse image-level labels in weakly supervised semantic segmentation.
- To overcome the limitations of single-image or pairwise context modeling by exploiting holistic semantic structures across the entire training dataset.
- To improve feature representation learning and CAM-based localization by leveraging rich, diverse contextual knowledge from massive weakly-labeled data.
- To develop a memory-augmented framework that enables effective, scalable, and robust semantic contrast and aggregation for weakly supervised learning.
Proposed method
- RCA introduces a regional memory bank that stores and continuously updates pseudo-region features from all training images, capturing diverse object patterns across the dataset.
- It performs semantic contrast by pulling embeddings of the same category from the memory bank closer and pushing those of different categories apart, enhancing discriminative representation learning.
- Semantic aggregation is achieved via a non-parametric attention mechanism that summarizes relevant memory features for each image, enriching local representations with global contextual knowledge.
- The method uses coarse CAM predictions to generate categorical pseudo-regions per image, which are then used to compute contrastive and aggregative signals during training.
- The framework is compatible with standard classification backbones and can be seamlessly integrated into existing weakly supervised segmentation pipelines.
- The final segmentation map is generated by refining the CAM using the aggregated context-aware features from the memory bank, improving localization accuracy.

Experimental results
Research questions
- RQ1Can dataset-level semantic context, derived from massive weakly-labeled data, significantly improve object localization in weakly supervised semantic segmentation?
- RQ2How can a memory bank of pseudo-regions be effectively used to model inter-image semantic relationships without requiring dense supervision?
- RQ3To what extent does semantic contrast between regions across the dataset enhance feature discrimination and representation quality?
- RQ4Can semantic aggregation from a global memory bank improve the robustness and accuracy of CAM-based localization in complex scenes?
- RQ5Does the proposed RCA framework achieve state-of-the-art performance on standard benchmarks like PASCAL VOC 2012 and COCO 2014 using only image-level supervision?
Key findings
- RCA achieves a new state-of-the-art mIoU of 73.2% on the PASCAL VOC 2012 validation set when combined with the OAA++ baseline, representing a 3.8% improvement over the baseline.
- On the COCO 2014 validation set, RCA achieves an mIoU of 72.8%, a 2.0% improvement over the EPS baseline and a 1.3% improvement over the previous SOTA method.
- The method demonstrates superior generalization on challenging cases such as small objects, scale variations, occlusions, and multiple instances, as shown in qualitative results.
- The ablation study confirms that both semantic contrast and aggregation components contribute significantly to performance gains, with the memory bank playing a crucial role in capturing long-range contextual dependencies.
- The proposed RCA framework consistently outperforms existing methods across multiple backbones and datasets, including ResNet and VGG, confirming its robustness and scalability.
- The final segmentation maps generated by RCA are significantly more accurate and complete than intermediate CAM predictions, validating the effectiveness of the aggregation and refinement mechanism.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.