TL;DR
This paper introduces Deeply Shape-guided Cascade (DSC), a novel instance segmentation architecture that establishes a two-way street between bounding box detection and mask prediction. By using mask information to guide bounding box refinement and vice-versa, DSC significantly boosts performance, especially for challenging "huddled" instances.
What Problem Does This Paper Address?
Instance segmentation is a complex computer vision task that requires not only identifying and localizing objects (like object detection) but also precisely outlining their boundaries (like semantic segmentation). Modern approaches often use a "cascade" of stages, where each stage refines the predictions of the previous one. However, existing cascade methods primarily leverage bounding box predictions to improve mask predictions. This paper identifies a missed opportunity: using the more precise mask information from earlier stages to improve the bounding box predictions in later stages. This unidirectional flow limits the overall performance, particularly in scenarios with overlapping objects where accurate bounding boxes are crucial for distinguishing individual instances.
Methods
The core innovation of DSC is its bi-directional relationship between bounding box and mask prediction within a cascade. This is achieved through three key components:
- Mask-supervised Region Proposal Network (mRPN): Instead of a standard RPN that only proposes bounding boxes, the mRPN also generates class-agnostic mask predictions for these proposals. This provides an initial "shape guidance" early in the cascade.
- Shape-guided RoIAlign (SgRoIAlign): This is a novel feature extractor that replaces the standard RoIAlign. It uses the mask predictions from the previous stage to focus feature extraction within a region that closely matches the instance's shape, rather than a simple rectangular region. This provides "explicit shape guidance" to the bounding box head.
- Implicit Shape Guidance (Feature Fusion): Intermediate mask features from a previous stage are fused with the bounding box features of the current stage. This allows the mask information to indirectly influence bounding box prediction, creating "implicit shape guidance."
These components work together to create a positive feedback loop: better masks lead to better bounding boxes, which in turn lead to even better masks. The paper also introduces an adaptive feature alignment strategy to efficiently reuse mask features across stages without significant computational overhead.
Datasets
The primary dataset used for training and evaluation is COCO 2017. The authors also create specific subsets of the COCO validation set to evaluate performance on "huddled instances" (objects that are crowded and overlapping).
Key Insights and Ideas
- The power of bi-directional refinement: The paper convincingly argues that leveraging mask information to improve bounding box predictions is as crucial as the reverse. This breaks the traditional unidirectional flow in cascade architectures.
- Shape is key for localization: Precisely outlining an object's shape provides valuable cues for accurately localizing it, especially when objects are close together.
- Adaptive feature alignment is efficient: Reusing mask features across cascade stages, rather than recomputing them, significantly reduces computational cost without sacrificing accuracy.
- Huddled instances are a critical test case: The proposed method shows particular strength in segmenting crowded objects, highlighting its practical relevance for real-world scenarios.
Key Results
DSC consistently outperforms the state-of-the-art Hybrid Task Cascade (HTC) on the COCO dataset.
- On COCO val, DSC achieved 2.1 box AP and 1.5 mask AP improvement over HTC.
- On COCO test-dev, DSC achieved 51.8 box AP and 45.5 mask AP, outperforming HTC by a significant margin.
- DSC showed particularly strong performance on huddled instances, with improvements of up to 4.2 box APoI and 4.7 mask APoI on subsets with high proportions of overlapped instances.
- A fast version of DSC (F-DSC) offers a good trade-off between speed and accuracy, achieving comparable performance to DSC while being significantly faster.
Limitations and Future Work
The authors acknowledge that the performance of DSC is dependent on the quality of initial mask predictions. If these initial masks are poor, the shape guidance might be misleading, potentially worsening results. They suggest future work could involve:
- Estimating mask IoUs (Intersection over Union) to better assess the quality of initial masks.
- Re-weighting shape guidances based on these estimated IoUs.
- Further exploring ways to improve the robustness of the initial mask predictions.
Summary updated