Introduction
In the mid-2010s, computer vision research was largely bifurcated into two distinct tasks: object detection, which localized objects using coarse bounding boxes, and semantic segmentation, which labeled pixels by category but failed to distinguish between individual object instances. In their 2014 paper, Bharath Hariharan and colleagues at UC Berkeley introduced Simultaneous Detection and Segmentation (SDS)—a task now widely recognized as instance segmentation. The goal of SDS is to detect every individual object in an image and precisely delineate its spatial extent with a pixel-level mask.
The SDS Pipeline
The authors proposed a unified four-stage pipeline that extends the R-CNN (Regions with CNN features) framework to handle masks rather than just rectangles.
- Proposal Generation: Instead of standard bounding box proposals, the system utilizes Multiscale Combinatorial Grouping (MCG) to generate high-quality candidate regions (masks).
- Feature Extraction: Features are extracted from each proposal using a specialized dual-path Convolutional Neural Network (CNN).
- Region Classification: A linear SVM assigns category scores to each proposal based on the extracted features.
- Region Refinement: To improve localization, the system predicts a coarse 10x10 top-down mask, which is then projected onto superpixels to produce a final, boundary-respecting segmentation.
Dual-Path Feature Extraction
The core innovation of SDS lies in its feature extraction architecture. The authors argue that both the object's internal shape and its surrounding context are vital for accurate classification.
As shown in the architecture above, every region proposal is processed through two parallel pathways:
- The Box Path: Processes the full cropped bounding box of the region, providing environmental context.
- The Region Path: Processes the cropped box with the background masked out, forcing the network to focus purely on the object's foreground shape.
The features from both paths are concatenated and fed into a classifier. The authors found that training these paths jointly (End-to-End) significantly outperformed training them in isolation, proving that context and shape provide complementary information.
Metrics and Results
To evaluate this new task, the authors popularized the $AP^r$ (Average Precision for regions) metric. Unlike traditional detection metrics that use bounding box overlap, $AP^r$ requires a predicted mask to have a significant Intersection over Union (IoU) with the ground truth mask to be considered a success.
On the PASCAL VOC 2012 benchmark, the SDS model (with refinement) achieved a mean $AP^r$ of 49.7%, a substantial improvement over previous baselines like O2P (25.2%). Furthermore, the method improved the state-of-the-art in traditional semantic segmentation by 5 points and even boosted standard bounding box detection ($AP^b$) from 51.0% to 53.0% compared to the original R-CNN.
Conclusion and Impact
While the SDS pipeline faced limitations—such as difficulty capturing thin structures with its 10x10 refinement grid and high computational complexity—it laid the essential groundwork for modern instance segmentation. By demonstrating that detection and segmentation are deeply intertwined, this work paved the way for subsequent architectures like Mask R-CNN.
Summary updated