Abstract
Semantic segmentation and instance detection are traditionally treated as distinct tasks in computer vision. This paper introduces the Instance Mask Projection (IMP) operator, a novel bridge that utilizes predicted instance masks as auxiliary features for pixel-level segmentation. By projecting object-level knowledge back into the semantic pipeline, the proposed method achieves significant accuracy gains—up to a 20.4% absolute improvement on fashion datasets—with negligible computational overhead. The approach effectively addresses the "fragmentation" common in standard pixel-wise models by introducing global scale awareness.
Introduction
Standard semantic segmentation models, such as DeepLab or Fully Convolutional Networks (FCNs), typically make pixel-by-pixel decisions based on local context. While effective, this often leads to fragmented object predictions or confusion between categories that appear similar locally, such as the hem of a long dress versus a skirt. Conversely, instance detectors like Mask R-CNN excel at identifying objects as discrete units and understanding global scale, though their output masks often lack fine-grained boundary detail.
This research addresses a fundamental question: Can object-aware predictions from a detector be leveraged to improve semantic segmentation? The authors propose the IMP operator to fuse these two paradigms, allowing the model to aggregate features more effectively by incorporating the "scale" and "identity" of detected objects.
Methodology
The core innovation is the Instance Mask Projection (IMP) operator, which integrates detection-level insights into the segmentation process. The pipeline consists of four primary stages:
- Detection Phase: A standard detector (e.g., Mask R-CNN) predicts bounding boxes, classes, and instance masks for "things" (countable objects).
- The Projection (IMP): Predicted masks, including their confidence scores, are projected onto a feature map canvas matching the image's spatial dimensions. In cases of overlapping masks, a
maxoperation preserves the prediction with the highest confidence. - Feature Fusion: This projected canvas serves as an additional feature layer, concatenated with standard features from a Feature Pyramid Network (FPN).
- Refined Segmentation: A semantic segmentation head processes the combined feature stack to produce final, high-resolution pixel labels.
Crucially, the IMP operator supports backpropagation, enabling end-to-end training of both detection and segmentation components. This allows the detector to act as a global "veto" against local pixel-level errors; for instance, if a detector identifies a "Dress," the segmenter is less likely to mislabel a portion of it as a "Skirt."
Experimental Results
The researchers evaluated IMP across three diverse benchmarks: the Varied Clothing Dataset (VCP), ModaNet, and Cityscapes. The results demonstrate that IMP is particularly effective for "things" (objects with distinct shapes) rather than "stuff" (amorphous regions like sky or road).
Quantitative Performance
- ModaNet: The model achieved a 20.4% absolute improvement in mean Intersection over Union (mIOU), rising from 51% to 71.4%.
- Varied Clothing Dataset: IMP provided a 3-point mIOU boost over a strong Panoptic FPN baseline.
- Cityscapes: On "Thing" classes specifically, the model saw a 3.2 to 4.2 point mIOU improvement, demonstrating generalization to street scenes.
Qualitative Analysis
Visual results indicate significantly "cleaner" segmentations. The model exhibits fewer false positives and better-defined object boundaries, especially in crowded or complex fashion scenes where layering and deformation are common.
Discussion and Conclusion
Despite the added architectural complexity, the IMP operator is highly efficient, adding only 1–2 milliseconds to total inference time. However, some limitations remain. The quality of the final segmentation is partially dependent on the detector's performance; if an object is missed during detection, the IMP layer cannot assist in its segmentation. Additionally, because standard detectors like Mask R-CNN often produce low-resolution (28x28) masks, very large objects may exhibit slightly blurry boundaries after projection.
Future work may involve integrating higher-resolution mask branches or developing similar region-aware priors for "stuff" classes to improve amorphous region segmentation. Nonetheless, IMP represents a major step forward in unifying instance and semantic tasks for high-accuracy computer vision.
Summary updated