Simpler Does It: Generating Semantic Labels with Objectness Guidance

Md. Amirul Islam, Matthew Kowal, Sen Jia, Konstantinos G. Derpanis, Neil D. B. Bruce

TL;DR

This paper introduces a novel method for generating high-quality semantic segmentation pseudo-labels by combining a class-agnostic "objectness" prior with weak supervision (image-level or bounding box labels). This approach significantly improves the accuracy of pseudo-labels, especially at object boundaries, and is used to train a joint semantic segmentation and objectness network (SONet) that achieves competitive or superior performance compared to existing weakly and semi-supervised methods.

What Problem Does This Paper Address?

Semantic segmentation, the task of assigning a class label to every pixel in an image, typically requires a large amount of pixel-level annotations. This is expensive and time-consuming to obtain. Weakly-supervised semantic segmentation (WSSS) and semi-supervised semantic segmentation (SSSS) aim to reduce this annotation burden by using less precise supervision, such as image-level labels or bounding boxes. However, a major challenge in these settings is the generation of accurate "pseudo-labels" for training. Existing methods often produce noisy pseudo-labels, particularly around object boundaries, which hinders the learning of robust segmentation models. This paper addresses the problem of generating more accurate pseudo-labels in WSSS and SSSS settings to improve semantic segmentation performance.

Methods

The core of the proposed method lies in a two-stage process:

  1. Pseudo-label Generation:
    • Objectness Network Training: An "objectness" network is trained on a source dataset (COCO-Binary) to predict a class-agnostic "objectness score" for each pixel. This score indicates how likely a pixel belongs to any object (as opposed to background/stuff classes). This network is trained in two settings: "overlapping" (source and target datasets share categories) and "non-overlapping" (no shared categories), with the latter being more challenging.
  2. Combining Objectness with Weak Supervision: The generated objectness prior is then combined with weak supervision signals:
  3. Class Activation Maps (CAMs): For image-level supervision, raw CAMs are used to get rough object localization. The objectness prior is then used to refine these CAMs, improving boundary accuracy.
  4. Bounding Boxes: For bounding box supervision, a novel "ignoring strategy" is introduced. This strategy selectively discards outer portions of bounding boxes that have high overlap with other boxes, aiming for higher precision at the cost of some recall. The objectness map is then used to mask and filter the bounding box proposals, further refining the pseudo-labels.
  5. Joint Semantic Segmentation and Objectness Network (SONet):
    • A multi-task learning framework is proposed where a segmentation network (based on DeepLabv3) and an objectness module are trained jointly.
  6. The segmentation branch uses the generated pseudo-labels as supervision to predict semantic labels.
  7. The objectness branch takes the semantic segmentation output as input and predicts a binary objectness mask.
  8. The joint training encourages the propagation of objectness information to improve semantic segmentation, particularly at object boundaries, leading to more accurate and smoother predictions.

Datasets

  • Source Dataset for Objectness Training: COCO-Binary (a modified version of COCO-Stuff with only "thing" and "stuff" categories).
  • Target Datasets for Evaluation:
    • PASCAL VOC 2012
    • Cityscapes
    • OpenV5 (used for domain adaptation experiments)
    • YouTube-Object (YTO) dataset (for video object segmentation)
    • Berkeley DeepDrive (for generalization to different domains)

Key Insights and Ideas

  • Objectness as a Universal Prior: The core idea is that a class-agnostic "objectness" prior can effectively guide semantic segmentation, even for objects not seen during the objectness network's training. This is a significant departure from methods relying on class-specific cues or saliency maps that can suffer from center bias.
  • Refining Noisy Pseudo-Labels: The objectness prior acts as a powerful filter, significantly improving the quality of pseudo-labels generated from noisy sources like CAMs and bounding boxes, especially at object boundaries.
  • "Ignoring Strategy" for Bounding Boxes: The novel strategy of selectively ignoring parts of overlapping bounding boxes demonstrates a clever trade-off between recall and precision, leading to more accurate pseudo-labels.
  • Joint Learning for Mutual Benefit: Training semantic segmentation and objectness prediction jointly allows the objectness branch to provide explicit boundary guidance, while the semantic branch helps refine the objectness prediction, creating a synergistic learning process.
  • Generalizability: The objectness prior shows good generalization capabilities, performing well even when trained on a source dataset with no category overlap with the target dataset.

Key Results

  • Pseudo-label Quality: The generated pseudo-labels achieve high upper-bound mIoU scores: 70.6% for CAMs refined with objectness (GCm) and 76.6% for bounding boxes combined with objectness (GB).
  • WSSS Performance: SONet achieves state-of-the-art performance in WSSS, reaching 68.1% mIoU on PASCAL VOC 2012 validation set using image-level supervision with objectness guidance, outperforming previous methods.
  • Box-Level Supervision: With bounding box supervision, SONet achieves 74.8% mIoU on VOC12 validation, competitive with fully supervised methods.
  • Domain Adaptation: SONet shows strong performance in domain adaptation scenarios, achieving 71.0% mIoU when trained on OpenV5 and evaluated on VOC12.
  • SSSS Performance: In the SSSS setting, SONet marginally outperforms existing methods, achieving 66.1% mIoU.
  • Cityscapes: SONet achieves 76.6% mIoU on the Cityscapes dataset, demonstrating its effectiveness on a different domain.
  • Video Object Segmentation: SONet outperforms existing weakly supervised methods on the YouTube-Object dataset, even without using temporal cues.

Limitations and Future Work

  • Computational Cost: While the pseudo-label generation is described as efficient, the overall training of SONet still involves deep learning models, which can be computationally intensive.
  • "Stuff" Classes: The objectness network is trained to identify "thing" classes, and the current approach does not explicitly handle "stuff" classes (e.g., sky, road) in the same way.
  • Future Work: The paper suggests that the objectness branch can be further explored and optimized. The effectiveness of the pseudo-label generation pipeline for large-scale data annotation is highlighted, implying its potential for broader applications. The authors also mention conducting experiments on video object segmentation and generalizing to different domains, which have been explored in the supplementary material.

Summary updated

Abstract

Existing weakly or semi-supervised semantic segmentation methods utilize image or box-level supervision to generate pseudo-labels for weakly labeled images. However, due to the lack of strong supervision, the generated pseudo-labels are often noisy near the object boundaries, which severely impacts the network's ability to learn strong representations. To address this problem, we present a novel framework that generates pseudo-labels for training images, which are then used to train a segmentation model. To generate pseudo-labels, we combine information from: (i) a class agnostic objectness network that learns to recognize object-like regions, and (ii) either image-level or bounding box annotations. We show the efficacy of our approach by demonstrating how the objectness network can naturally be leveraged to generate object-like regions for unseen categories. We then propose an end-to-end multi-task learning strategy, that jointly learns to segment semantics and objectness using the generated pseudo-labels. Extensive experiments demonstrate the high quality of our generated pseudo-labels and effectiveness of the proposed framework in a variety of domains. Our approach achieves better or competitive performance compared to existing weakly-supervised and semi-supervised methods.
BibTeX
@inproceedings{islam2021simpler,
  author = {Md. Amirul Islam and Matthew Kowal and Sen Jia and Konstantinos G. Derpanis and Neil D. B. Bruce},
  title = {{Simpler Does It: Generating Semantic Labels with Objectness Guidance}},
  booktitle = {BMVC},
  year = {2021},
  url = {https://openreview.net/forum?id=Us69Mv5Ymw},
}
Figure