3D Guided Weakly Supervised Semantic Segmentation

Weixuan Sun, Jing Zhang, Nick Barnes

Abstract

Semantic segmentation is a critical computer vision task limited by the high cost of pixel-level annotations. This paper presents a novel framework that utilizes 3D spatial information to transform inexpensive 2D bounding box labels into high-quality segmentation masks. By leveraging multi-view consistency, the proposed 2D-3D Inference Module generates accurate pseudo-labels for both labeled and unlabeled images. Experimental results on the 2D-3D-S dataset demonstrate that this approach significantly outperforms existing weakly supervised methods and approaches the performance of fully supervised models.

The Challenge of Pixel-Wise Annotation

Semantic segmentation—assigning a category label to every pixel in an image—is essential for applications like robotics and autonomous driving. However, progress is bottlenecked by the "annotation gap": creating pixel-perfect ground truth labels is incredibly slow. Labeling a single image for segmentation can take 15 times longer than drawing bounding boxes and 60 times longer than image-level tagging.

While "weakly supervised" methods attempt to train models using cheaper labels, they often struggle to capture precise object boundaries. This paper addresses this by asking: Can we use the 3D information already captured by modern sensors (like depth cameras) to help 2D models learn better from weaker labels?

Methodology: The 2D-3D Inference Module

The authors propose a recursive framework that treats 3D space as a source of geometric truth to filter noise from 2D labels. The process functions in several distinct stages:

  1. 2D to 3D Projection: 2D bounding boxes are "extruded" into 3D space using depth maps and camera parameters to create a point cloud of potential object areas.
  2. 3D Probabilistic Inference: Because objects are seen from multiple angles, the system calculates an "objectness score" for every 3D point. Points falling within bounding boxes from multiple viewpoints receive high scores, while those appearing in only one (likely background noise) are filtered out.
  3. 3D to 2D Back-projection: High-confidence 3D points are projected back onto 2D images. Crucially, they can be projected onto unlabeled images of the same scene, effectively transferring labels across viewpoints.
  4. Refinement and Recursive Training: Sparse 2D masks are smoothed into dense segment proposals using Conditional Random Fields (CRF). These pseudo-labels train a DeepLabV3+ network, whose predictions are then fed back into the 3D module to further refine the objectness scores in a recursive cycle.
The segment proposal generation pipeline showing the 2D-3D-2D cycle.

Experimental Results

The study utilized the 2D-3D-S (Stanford 2D-3D-Semantics) dataset. Since the original dataset lacked bounding boxes, the authors manually labeled 1,822 images for five classes: chair, bookcase, sofa, board, and clutter.

  • Superior Accuracy: The proposed method achieved a 72.27% mIoU (mean Intersection over Union), significantly outperforming state-of-the-art weakly supervised methods like SDI (69.11%) and WSSL (69.06%).
  • Closing the Gap: Performance was remarkably close to a fully supervised model (75.30% mIoU) despite using much cheaper labels.
  • Data Efficiency: The model remained effective even when only 10% of the training data was labeled with bounding boxes, proving its utility for low-budget annotation scenarios.
Qualitative comparison showing how the 3D-guided approach produces masks that more closely match the ground truth than standard bounding box supervision.

Key Insights and Limitations

The "aha moment" of this research is using 3D space as a consistency constraint. While a 2D bounding box is a noisy approximation, the physical volume an object occupies is consistent. Multi-view geometry allows the model to "vote" on which pixels truly belong to an object, naturally filtering out background pixels that might be trapped inside a 2D box.

However, the method has limitations. It requires depth maps and camera poses, which are not always available in "in-the-wild" datasets. Additionally, it assumes static scenes; applying this to dynamic environments with moving objects would require complex temporal tracking. Future work may involve automating the initial bounding box generation to further reduce human effort.

Summary updated

Abstract

Pixel-wise clean annotation is necessary for fully-supervised semantic segmentation, which is laborious and expensive to obtain. In this paper, we propose a weakly supervised 2D semantic segmentation model by incorporating sparse bounding box labels with available 3D information, which is much easier to obtain with advanced sensors. We introduce a 2D-3D inference module to generate accurate pixel-wise segment proposal masks. Guided by 3D information, we first generate a point cloud of objects and calculate a per class objectness probability score for each point using projected bounding-boxes. Then we project the point cloud with objectness probabilities back to the 2D images followed by a refinement step to obtain segment proposals, which are treated as pseudo labels to train a semantic segmentation network. Our method works in a recursive manner to gradually refine the above-mentioned segment proposals. We conducted extensive experimental results on the 2D-3D-S dataset where we manually labeled a subset of images with bounding boxes. We show that the proposed method can generate accurate segment proposals when bounding box labels are available on only a small subset of training images. Performance comparison with recent state-of-the-art methods further illustrates the effectiveness of our method.
BibTeX
@inproceedings{sun2020d,
  author = {Weixuan Sun and Jing Zhang and Nick Barnes},
  title = {{3D Guided Weakly Supervised Semantic Segmentation}},
  booktitle = {ACCV},
  year = {2020},
  url = {https://openreview.net/forum?id=1yGGwEC1h8},
}

Loading related content...

Figure