Introduction
In the quest to give computers human-like vision, instance segmentation remains a challenging frontier. It requires a model to not only detect where an object is (bounding boxes) but also to label every single pixel belonging to that specific object (masks). At CVPR 2018, researchers introduced MaskLab, a framework that tackles this by combining the strengths of object detection with clever pixel-level directional features.
The Challenge of Overlapping Instances
Before MaskLab, instance segmentation methods generally fell into two camps: detection-based models (like Mask R-CNN) and segmentation-based models. Detection-based models often struggle with precise boundaries, while segmentation-based models find it difficult to distinguish between adjacent objects of the same type—such as two people standing shoulder-to-shoulder. The core bottleneck identified by the authors is disambiguating pixels when bounding boxes overlap significantly.
The MaskLab Architecture
MaskLab is built on top of the Faster R-CNN architecture using a ResNet-101 backbone. It produces three distinct outputs to refine the final mask:
- Box Detection: Standard refined bounding boxes for object localization.
- Semantic Segmentation: A pixel-wise classification map that helps the model ignore background noise within a box.
- Direction Prediction: The core innovation. For every pixel, the model predicts a direction vector pointing toward the center of the object it belongs to.
To generate the final mask, the model performs Direction Pooling. It divides the predicted box into a grid and assembles "regional logits" from the direction map. If a pixel in a specific region of a box points toward the center of that box, it receives a high score. Finally, a Mask Refinement stage uses "Hypercolumns"—concatenating high-level semantic features with low-level, high-resolution features—to sharpen boundaries.
Key Insights: Direction as a Disambiguator
The "aha moment" of MaskLab is that while two objects might share the same semantic label (e.g., both are "person"), their pixels point to different centers. Directional features provide a geometric "vote" that makes instance separation much cleaner than using simple "inside/outside" scores. Furthermore, by pulling features from earlier layers (like conv2 or conv3), MaskLab recovers the fine details needed for crisp edges.
Performance and Results
The model was primarily evaluated on the COCO (Common Objects in Context) benchmark. MaskLab achieved 38.1% mask mAP on the COCO test-dev set (using JFT-300M pre-training), outperforming previous state-of-the-art methods like FCIS+++.
Ablation studies demonstrated that direction features are crucial for high-precision masks; adding direction prediction improved [email protected] from 24.4% to 27.4%. The model proved particularly effective at handling "crowded" scenes where multiple instances of the same class overlap.
Limitations and Future Work
Despite its power, MaskLab relies heavily on the initial Faster R-CNN box detection; if the detector misses an object, the segmentation branches cannot recover it. Additionally, the multi-branch approach adds computational overhead compared to simpler architectures. Future work may involve more efficient decoding of directional information or integration into one-stage detectors.
Summary updated