Precision matters: Precision-aware ensemble for weakly supervised semantic segmentation

Junsung Park, Hyunjung ShimarXiv 2024 · DOI

Abstract

Weakly Supervised Semantic Segmentation (WSSS) often struggles with noisy pseudo-masks that prioritize recall over precision. We present ORANDNet, an ensemble approach that leverages architectural diversity between Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs) to generate high-precision pseudo-masks. By employing probabilistic logic and a scale scheduling curriculum, ORANDNet significantly reduces label noise, achieving state-of-the-art performance on the PASCAL VOC 2012 benchmark.

Introduction

Semantic segmentation typically requires expensive pixel-level annotations. Weakly Supervised Semantic Segmentation (WSSS) attempts to mitigate this by training models using only image-level labels. The standard WSSS pipeline involves two stages: generating pseudo-masks via Class Activation Maps (CAMs) and training a segmentation model using these masks as ground truth.

A critical gap in current research is the over-emphasis on mean Intersection over Union (mIoU) for pseudo-masks. Because mIoU balances precision and recall, high-recall masks often introduce significant noise (false positives). This noise confuses the segmentation model during the second stage. We argue that precision matters more: a sparse but highly accurate mask provides a more stable signal for learning object boundaries than a full mask riddled with errors.

Methods

ORANDNet is an ensemble framework designed to boost precision through three primary components: architectural diversity, probabilistic logic, and scale scheduling.

The two-stage ORANDNet framework. Stage 1 generates high-precision pseudo-masks via architectural ensemble and probabilistic logic, while Stage 2 trains the final segmentation model.

Architectural Diversity

The framework combines CAMs from two fundamentally different backbones: ResNet-50 (a CNN focusing on local, discriminative parts) and ViT (a Vision Transformer providing denser, global coverage). By using an ensemble of these complementary "ways of seeing," ORANDNet identifies consistent activations across both, filtering out architecture-specific errors.

Probabilistic Logic (OR and AND)

The system calculates a probabilistic OR map (the union of activations) and a probabilistic AND map (the intersection). The AND map represents high-confidence, high-precision regions, while the OR map represents the total potential object area. A small Fully Convolutional Network (FCN), termed ORANDNet, is trained to predict the precise AND map using the noisy OR map as input.

Scale Scheduling

To further mitigate noise, we employ a curriculum learning strategy called scale scheduling. The model is initially trained on heavily downsampled image-mask pairs (1/8 size), which naturally blurs out small, noisy false-positive activations. As training progresses, the model gradually transitions to full-resolution images.

Key Results

ORANDNet was evaluated on the PASCAL VOC 2012 benchmark, which includes 20 object categories. The method demonstrates significant improvements in both pseudo-mask quality and final segmentation accuracy.

Evaluation of pseudo-mask quality on PASCAL VOC 2012. ORANDNet significantly boosts precision compared to individual backbones and naive ensembles.

Quantitative Performance

  • Pseudo-mask Quality: ORANDNet achieved a +9.5% increase in precision compared to a naive ensemble of ResNet and ViT. While recall slightly decreased, the gain in precision led to a higher overall mIoU.
  • Final Segmentation: Using basic ResNet-50 and ViT backbones, the method achieved 72.1% mIoU on the PASCAL VOC test set. When integrated with advanced models like AMN and MCTformer, it reached 72.9% mIoU, outperforming complex state-of-the-art methods.

Qualitative Insights

Visualizations confirm that ORANDNet is particularly effective at removing "co-occurrence" errors—such as misidentifying railroad tracks as part of a train—and refining object boundaries. The complementary nature of CNNs and ViTs allows the model to recover more complete object shapes while maintaining high boundary accuracy.

Conclusion

ORANDNet demonstrates that prioritizing precision in the pseudo-mask generation stage is vital for high-performance WSSS. By leveraging architectural diversity and probabilistic refinement, the framework provides a simple yet effective "add-on" module for existing models. Future work may explore extending this to more diverse ensembles or integrating refinement dynamically during the segmentation training process.

Summary updated

BibTeX
@misc{park2024precision,
  author = {Junsung Park and Hyunjung Shim},
  title = {{Precision matters: Precision-aware ensemble for weakly supervised semantic segmentation}},
  year = {2024},
  eprint = {2406.19638},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.19638},
}
Figure