Convolutional Simplex Projection Network for Weakly Supervised Semantic Segmentation

Rania Briq, Michael Moeller, Jürgen Gall

Abstract

The Convolutional Simplex Projection Network (CSPN) introduces a novel, efficient neural network layer that enforces object size constraints for weakly supervised semantic segmentation. By projecting network outputs onto a simplex that satisfies specific area priors, the authors significantly improve segmentation accuracy and training convergence speed compared to existing penalty-based methods.

Introduction

Semantic segmentation—the task of assigning a class label to every pixel in an image—is a cornerstone of computer vision. However, training state-of-the-art models typically requires "dense" annotations (pixel-perfect masks), which are incredibly expensive and time-consuming to produce.

"Weakly supervised" learning attempts to solve this by training models using only image-level labels (e.g., "this image contains a cow"). The challenge is that image-level labels do not provide information on object location or scale. Previous attempts to use "size priors" (estimates of how many pixels an object should occupy) relied on complex penalty functions that required additional optimization steps during every training iteration. The CSPN framework seeks a more integrated, "plug-and-play" way to incorporate these constraints directly into the neural network architecture.

Methods

The core contribution of this work is the Simplex Projection Layer.

Overview of the CSPN architecture integrated with the SEC framework.

The Projection Mechanism

Instead of just penalizing the network when it predicts an object that is too small or too large, the authors treat the size constraint as a mathematical projection. Given a predicted heatmap, the layer finds the "closest" heatmap (in terms of Frobenius norm) that exactly satisfies a size constraint $\upsilon_k$ (the expected number of pixels for class $k$). To ensure this does not slow down training, the authors utilize an efficient, linear-time algorithm to solve the projection.

Integration with SEC

The authors integrate their layer into the popular "Seed, Expand, and Constrain" (SEC) framework. They replace the original "Expand" loss—which used a softer heuristic to encourage objects to grow—with their stricter Projection Loss. During training, the output of the projection layer acts as a "pseudo-ground truth," and the network is trained to match this projected output using standard cross-entropy loss.

Datasets and Evaluation

The approach was evaluated on the PASCAL VOC 2012 segmentation benchmark, using 10,582 training images and approximately 1,450 images each for validation and testing. To obtain the initial size estimates ($\upsilon_k$) needed for the projection, the authors used a pre-trained saliency model which also only requires weak supervision.

Key Results and Insights

CSPN demonstrates significant improvements in both accuracy and training efficiency. On the PASCAL VOC 2012 dataset, the model achieved a mean Intersection over Union (mIoU) of 54.5% on the validation set and 55.5% on the test set, representing a +3.8% improvement over the baseline SEC model.

Visual comparison of heatmaps for different object classes (car, cow, person) showing the effect of the projection layer.

Efficiency and Convergence

The authors found that the model reached optimal performance in just 4–5 epochs. This rapid convergence is attributed to the projection layer drastically reducing the search space for the optimizer by ensuring the network's output always resides within a feasible space of solutions.

Strictness and Agnosticism

The projection loss acts as a "stricter" version of previous expansion losses. By forcing the network to match a specific area estimate rather than just "expanding," the model learns more accurate object boundaries. Furthermore, the CSPN framework is agnostic to the source of size estimates; any improved method for estimating object area can be swapped in to further enhance performance.

Limitations and Future Work

The method's success is closely tied to the quality of the initial size estimate ($\upsilon_k$). If the saliency map significantly under- or over-estimates the object size, the projection will enforce an incorrect constraint. Additionally, while the layer manages total area, it does not inherently understand object shape or boundaries, relying on other components like CRFs for spatial consistency. Future work may explore adapting this projection layer for other tasks where feasible solutions can be defined by linear constraints.

Summary updated

BibTeX
@inproceedings{briq2018convolutional,
  author = {Rania Briq and Michael Moeller and Jürgen Gall},
  title = {{Convolutional Simplex Projection Network for Weakly Supervised Semantic Segmentation}},
  booktitle = {BMVC},
  year = {2018},
  url = {https://openreview.net/forum?id=qpu92ILHE94},
}
Figure