[Paper Review] MaskLab: Instance Segmentation by Refining Object Detection with Semantic and Direction Features
MaskLab proposes a novel instance segmentation framework that refines object detection proposals from Faster R-CNN by integrating semantic segmentation and direction prediction to improve foreground/background separation and instance disambiguation. It achieves state-of-the-art performance on COCO, with a 43.0% mask AP using ResNet-101 and JFT pretraining, outperforming Mask R-CNN variants and matching more complex models.
In this work, we tackle the problem of instance segmentation, the task of simultaneously solving object detection and semantic segmentation. Towards this goal, we present a model, called MaskLab, which produces three outputs: box detection, semantic segmentation, and direction prediction. Building on top of the Faster-RCNN object detector, the predicted boxes provide accurate localization of object instances. Within each region of interest, MaskLab performs foreground/background segmentation by combining semantic and direction prediction. Semantic segmentation assists the model in distinguishing between objects of different semantic classes including background, while the direction prediction, estimating each pixel's direction towards its corresponding center, allows separating instances of the same semantic class. Moreover, we explore the effect of incorporating recent successful methods from both segmentation and detection (i.e. atrous convolution and hypercolumn). Our proposed model is evaluated on the COCO instance segmentation benchmark and shows comparable performance with other state-of-art models.
Motivation & Objective
- To address the challenge of joint instance segmentation—simultaneously detecting and segmenting object instances with pixel-level accuracy.
- To overcome limitations in prior methods that redundantly encode background or require complex post-processing for instance separation.
- To improve mask quality and instance disambiguation by combining semantic classification and center direction prediction within region proposals.
- To leverage recent advances in segmentation and detection, such as atrous convolution, hypercolumns, and deformable operations, to enhance feature representation.
Proposed method
- MaskLab extends Faster R-CNN to produce three outputs: bounding box detection, semantic segmentation logits per class, and direction prediction logits for each pixel toward its instance center.
- Within each region of interest (RoI), the model crops semantic logits based on the predicted class and performs direction pooling to aggregate directional features across the RoI.
- The cropped semantic and direction features are concatenated and passed through a 1×1 convolution to predict foreground/background segmentation masks.
- The model incorporates atrous convolution for dense feature extraction, hypercolumn features for multi-scale context, and multi-grid settings to capture diverse receptive fields.
- A novel TensorFlow operation, 'deformable crop and resize', is introduced to learn adaptive RoI sampling, improving detection and segmentation by focusing on contextual regions.
- The framework avoids complex template matching by directly using direction logits in a differentiable manner, enabling end-to-end training.
Experimental results
Research questions
- RQ1Can combining semantic segmentation and direction prediction within R-CNN-style proposals improve instance segmentation accuracy without increasing model complexity?
- RQ2How does the integration of semantic and direction features compare to prior methods that use only position-sensitive score maps or template matching?
- RQ3To what extent do advanced modules like atrous convolution, hypercolumns, and deformable operations enhance instance segmentation performance?
- RQ4Can a detection-based approach with refined mask prediction achieve performance comparable to state-of-the-art models like Mask R-CNN or FCIS?
Key findings
- MaskLab achieves a 43.0% mask AP on COCO test-dev using a ResNet-101 backbone with JFT pretraining, outperforming the ResNet-101-based Mask R-CNN and matching the performance of more complex models.
- With scale augmentation during training, MaskLab+ achieves 41.9% mAP on box detection, surpassing G-RMI and TDM despite using a less powerful backbone.
- The model demonstrates that semantic segmentation helps eliminate redundant background encoding, improving efficiency and accuracy over methods like FCIS that use inside/outside score maps.
- Deformable crop and resize learns circle-shaped context around objects, improving detection by capturing longer-range context, as visualized in feature maps.
- Failure cases are primarily due to detection errors (missed or misclassified boxes) and coarse boundary predictions, indicating that detection reliability remains a key bottleneck.
- Ablation studies confirm that both semantic and direction features are essential, with each component contributing significantly to the final performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.