What is: Matrix Non-Maximum Suppression?
Source | SOLOv2: Dynamic and Fast Instance Segmentation |
Year | 2000 |
Data Source | CC BY-SA - https://paperswithcode.com |
Matrix NMS, or Matrix Non-Maximum Suppression, performs non-maximum suppression with parallel matrix operations in one shot. It is motivated by Soft-NMS. Soft-NMS decays the other detection scores as a monotonic decreasing function of their overlaps. By decaying the scores according to IoUs recursively, higher IoU detections will be eliminated with a minimum score threshold. However, such process is sequential like traditional Greedy NMS and can not be implemented in parallel.
Matrix NMS views this process from another perspective by considering how a predicted mask being suppressed. For , its decay factor is affected by: (a) The penalty of each prediction on , where and are the confidence scores; and (b) the probability of being suppressed. For (a), the penalty of each prediction on could be easily computed by iou . For (b), the probability of being suppressed is not so elegant to be computed. However, the probability usually has positive correlation with the IoUs. So here we directly approximate the probability by the most overlapped prediction on as
To this end, the final decay factor becomes
and the updated score is computed by decay The authors consider the two most simple decremented functions, denoted as linear iou iou , and Gaussian iou .