Cyclic Guidance for Weakly Supervised Joint Detection and Segmentation.

Yunhang Shen, Rongrong Ji, Yan Wang, Yongjian Wu, Liujuan CaoCVPR 2019 · DOI

Introduction

Deep learning has revolutionized computer vision, yet its reliance on dense pixel-level or bounding-box annotations remains a significant bottleneck. Weakly supervised learning—where models are trained using only image-level labels (e.g., "this image contains a horse")—presents a scalable alternative. However, current weakly supervised methods for object detection (WSOD) and semantic segmentation (WSSS) often operate in isolation, leading to characteristic failure modes.

WSSS models frequently produce "bloppy" segmentation maps that ignore object boundaries, while WSOD models suffer from "over-merging" (grouping multiple objects into a single box) or "over-tightening" (focusing only on the most discriminative part of an object, such as a bird's head). This paper introduces WS-JDS, a framework that jointly tackles these tasks through a symbiotic learning process.

The WS-JDS Framework

The authors propose a multi-task framework called Weakly Supervised Joint Detection and Segmentation (WS-JDS). Built upon a shared VGG16 backbone, the architecture branches into specialized heads for detection and segmentation. The core innovation is the Cyclic Guidance Learning (CGL) scheme, which allows the two tasks to iteratively refine one another.

Overview of the Cyclic Guidance Learning (CGL) scheme for joint detection and segmentation.

Cyclic Guidance Learning (CGL)

The CGL mechanism creates a reciprocal relationship between the detection and segmentation branches:

  1. Detection-to-Segmentation Guidance: The detection branch utilizes gradient-based saliency—back-propagating classification scores to the input—to generate initial "rough" segmentation masks. These masks serve as the supervision seeds for the segmentation branch, providing localization cues directly from the learned features of the detector without requiring extra modules.
  2. Segmentation-to-Detection Guidance: The segmentation branch predicts pixel-wise masks that are used to calculate a "confident weight" for region proposals. If a proposal aligns well with the predicted mask, its score is boosted. This helps the detector "leap" out of local minima, such as instances where it might have previously ignored parts of an object or failed to distinguish between adjacent instances.

Experimental Results

The WS-JDS model was evaluated on the PASCAL VOC (2007, 2010, 2012) and MS COCO benchmarks. On PASCAL VOC 2007, the model achieved a state-of-the-art 45.6% mAP for weakly supervised detection. When these results were used to generate pseudo-ground truth for a fully supervised Fast-RCNN, performance further improved to 52.5% mAP.

Qualitative results showing the evolution of segmentation masks and localization seeds across various categories.

On the more complex MS COCO dataset, the joint framework outperformed baseline methods by 1.0% in detection AP and 0.6% in instance segmentation AP. Visualizations demonstrate that cyclic guidance successfully corrects initial errors; for instance, if the detector initially misses one of two objects, the segmentation branch often captures both, subsequently guiding the detector to the correct localization in the next iteration.

Discussion and Conclusion

The primary insight of this work is that the flaws of detection and segmentation are complementary. Segmentation provides spatial precision but lacks object-level context, while detection understands "objectness" but is spatially coarse. By coupling them, the segmenter helps the detector find the full extent of an object, and the detector helps the segmenter distinguish foreground from background.

While highly effective, the framework currently faces challenges regarding initial instability in segmentation masks during early training and a continued dependency on traditional region proposal methods like MCG. Future work may explore proposal-free joint frameworks to further streamline the pipeline. Nonetheless, WS-JDS represents a significant step forward in making weakly supervised systems more robust and accurate.

Summary updated

BibTeX
@inproceedings{shen2019cyclic,
  author = {Yunhang Shen and Rongrong Ji and Yan Wang and Yongjian Wu and Liujuan Cao},
  title = {{Cyclic Guidance for Weakly Supervised Joint Detection and Segmentation.}},
  booktitle = {CVPR},
  year = {2019},
  doi = {10.1109/cvpr.2019.00079},
}
Figure