Abstract
Instance segmentation often suffers from imprecise bounding boxes and blurry object boundaries, especially in cluttered scenes. We present the Supervised Edge Attention Network (SEANet), which introduces a fully convolutional box head with a B-IoU branch for improved localization and a supervised edge attention module to refine mask boundaries. Evaluated on the COCO dataset, SEANet achieves significant improvements in mask accuracy and boundary precision over standard baselines like Mask R-CNN.
Introduction
In instance segmentation, the standard "detect-then-segment" approach relies heavily on the quality of the initial bounding box. Most state-of-the-art models face three major hurdles: imprecise bounding boxes that clip object parts, blurry boundaries where pixels blend into the background, and feature bleeding in cluttered or overlapping scenes. SEANet addresses these issues by refining both the detection and segmentation stages of the pipeline.
Methodology: The SEANet Architecture
SEANet introduces a two-pronged architectural upgrade to the standard Mask R-CNN framework, focusing on localization accuracy and boundary preservation.
Fully Convolutional Box Head & B-IoU Branch
Instead of traditional fixed-size anchors, SEANet utilizes a fully convolutional box head that predicts classification and regression per pixel. A key innovation is the B-IoU Branch, which predicts the Intersection-over-Union (IoU) score between the detected box and the ground truth. By weighting classification confidence with this IoU score, the model prioritizes detections that are both confident and spatially accurate.
Supervised Edge Attention Module
To resolve the "blurry boundary" problem, the mask head incorporates a dual-attention mechanism (channel and position attention). Crucially, this module is explicitly supervised by edge labels derived from ground truth data. This forces the network to learn high-frequency boundary information, effectively suppressing background noise and preventing "leaky" masks.
Experimental Results
The researchers evaluated SEANet on the COCO 2017 dataset, using the standard 115K image training set and testing on the 5K validation and 20K test-dev sets.
Qualitative Comparison
As shown in the comparison below, SEANet produces significantly cleaner and more complete masks than the Mask R-CNN baseline. It successfully recovers clipped parts (like the train's front or the bird's tail) and maintains sharp boundaries in overlapping regions.
Quantitative Performance
- Accuracy Boost: On the COCO test-dev set using a ResNeXt-101 backbone, SEANet achieved a 40.5 Mask AP, a 1.5-point improvement over the Mask R-CNN baseline.
- Boundary Precision: In a "trimap" evaluation focused on the 8-pixel band around object edges, SEANet improved accuracy from 41.47% to 57.21%.
- Efficiency: Despite the extra branches, the model remains efficient. The runtime increased only slightly (from 405ms to 464ms), making it a viable candidate for real-world applications.
Discussion and Conclusion
SEANet demonstrates that the quality of instance masks is strictly capped by the quality of the bounding box. By improving localization via the B-IoU branch and preserving edges through supervised attention, the model sets a new standard for boundary precision. While the dual-attention modules add some computational overhead, the gains in segmentation quality—especially in complex scenes—are substantial. Future work may extend this supervised edge attention concept to related tasks like object tracking or video segmentation.
Summary updated