TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Mask-aware IoU for Anchor Assignment in Real-time Instance...

Mask-aware IoU for Anchor Assignment in Real-time Instance Segmentation

Kemal Oksuz, Baris Can Cam, Fehmi Kahraman, Zeynep Sonat Baltaci, Sinan Kalkan, Emre Akbas

2021-10-19Real-time Instance SegmentationSegmentationSemantic SegmentationInstance Segmentation
PaperPDFCode(official)

Abstract

This paper presents Mask-aware Intersection-over-Union (maIoU) for assigning anchor boxes as positives and negatives during training of instance segmentation methods. Unlike conventional IoU or its variants, which only considers the proximity of two boxes; maIoU consistently measures the proximity of an anchor box with not only a ground truth box but also its associated ground truth mask. Thus, additionally considering the mask, which, in fact, represents the shape of the object, maIoU enables a more accurate supervision during training. We present the effectiveness of maIoU on a state-of-the-art (SOTA) assigner, ATSS, by replacing IoU operation by our maIoU and training YOLACT, a SOTA real-time instance segmentation method. Using ATSS with maIoU consistently outperforms (i) ATSS with IoU by $\sim 1$ mask AP, (ii) baseline YOLACT with fixed IoU threshold assigner by $\sim 2$ mask AP over different image sizes and (iii) decreases the inference time by $25 \%$ owing to using less anchors. Then, exploiting this efficiency, we devise maYOLACT, a faster and $+6$ AP more accurate detector than YOLACT. Our best model achieves $37.7$ mask AP at $25$ fps on COCO test-dev establishing a new state-of-the-art for real-time instance segmentation. Code is available at https://github.com/kemaloksuz/Mask-aware-IoU

Results

TaskDatasetMetricValueModel
Instance SegmentationMSCOCOAP5059.4maYOLACT-700 (ResNet-50)
Instance SegmentationMSCOCOAP7539.9maYOLACT-700 (ResNet-50)
Instance SegmentationMSCOCOAPL52.5maYOLACT-700 (ResNet-50)
Instance SegmentationMSCOCOAPM40.8maYOLACT-700 (ResNet-50)
Instance SegmentationMSCOCOAPS18.1maYOLACT-700 (ResNet-50)
Instance SegmentationMSCOCOmask AP37.7maYOLACT-700 (ResNet-50)
Instance SegmentationMSCOCOAP5056.2maYOLACT-550 (ResNet-50)
Instance SegmentationMSCOCOAP7537.1maYOLACT-550 (ResNet-50)
Instance SegmentationMSCOCOAPL51.4maYOLACT-550 (ResNet-50)
Instance SegmentationMSCOCOAPM38maYOLACT-550 (ResNet-50)
Instance SegmentationMSCOCOAPS14.7maYOLACT-550 (ResNet-50)
Instance SegmentationMSCOCOmask AP35.2maYOLACT-550 (ResNet-50)

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21Deep Learning-Based Fetal Lung Segmentation from Diffusion-weighted MRI Images and Lung Maturity Evaluation for Fetal Growth Restriction2025-07-17DiffOSeg: Omni Medical Image Segmentation via Multi-Expert Collaboration Diffusion Model2025-07-17From Variability To Accuracy: Conditional Bernoulli Diffusion Models with Consensus-Driven Correction for Thin Structure Segmentation2025-07-17Unleashing Vision Foundation Models for Coronary Artery Segmentation: Parallel ViT-CNN Encoding and Variational Fusion2025-07-17SCORE: Scene Context Matters in Open-Vocabulary Remote Sensing Instance Segmentation2025-07-17Unified Medical Image Segmentation with State Space Modeling Snake2025-07-17A Privacy-Preserving Semantic-Segmentation Method Using Domain-Adaptation Technique2025-07-17