# Faster Training of Mask R-CNN by Focusing on Instance Boundaries

arXiv: https://arxiv.org/abs/1809.07069 · HTML: https://mlsanity.com/paper/1809.07069/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 19 Sep 2018.

## Built on by (most cited first, 5 of 5)

- [SE-PSNet: Silhouette-based Enhancement Feature for Panoptic Segmentation Network](https://mlsanity.com/paper/2107.05093/) (2021)
- [Contour Loss for Instance Segmentation via k-step Distance Transformation Image](https://mlsanity.com/paper/2102.10854/) (2021)
- [Multimodal Query-guided Object Localization](https://mlsanity.com/paper/2212.00749/) (2022)
- [RailYolact -- A Yolact Focused on edge for Real-Time Rail Segmentation](https://mlsanity.com/paper/2410.09612/) (2024)
- [A Turbo-Inference Strategy for Object Detection and Instance Segmentation](https://mlsanity.com/paper/2606.12371/) (2026)

## Abstract (arXiv)

We present an auxiliary task to Mask R-CNN, an instance segmentation network, which leads to faster training of the mask head. Our addition to Mask R-CNN is a new prediction head, the Edge Agreement Head, which is inspired by the way human annotators perform instance segmentation. Human annotators copy the contour of an object instance and only indirectly the occupied instance area. Hence, the edges of instance masks are particularly useful as they characterize the instance well. The Edge Agreement Head therefore encourages predicted masks to have similar image gradients to the ground-truth mask using edge detection filters. We provide a detailed survey of loss combinations and show improvements on the MS COCO Mask metrics compared to using no additional loss. Our approach marginally increases the model size and adds no additional trainable model variables. While the computational costs are increased slightly, the increment is negligible considering the high computational cost of the Mask R-CNN architecture. As the additional network head is only relevant during training, inference speed remains unchanged compared to Mask R-CNN. In a default Mask R-CNN setup, we achieve a training speed-up and a relative overall improvement of 8.1% on the MS COCO metrics compared to the baseline.
