Skip to main content
QUICK REVIEW

[Paper Review] Learning non-maximum suppression

Jan Hosang, Rodrigo Benenson|arXiv (Cornell University)|May 8, 2017
Video Surveillance and Tracking MethodsComputer Science34 references36 citations
TL;DR

This paper proposes Gnet, a learnable non-maximum suppression (NMS) network that replaces the traditional GreedyNMS post-processing step in object detectors. By jointly processing bounding boxes and their scores through a deep neural network, Gnet learns to suppress redundant detections end-to-end, achieving improved localization and occlusion handling, with a consistent 1 mAP point gain over GreedyNMS on COCO and PETS datasets.

ABSTRACT

Object detectors have hugely profited from moving towards an end-to-end learning paradigm: proposals, features, and the classifier becoming one neural network improved results two-fold on general object detection. One indispensable component is non-maximum suppression (NMS), a post-processing algorithm responsible for merging all detections that belong to the same object. The de facto standard NMS algorithm is still fully hand-crafted, suspiciously simple, and -- being based on greedy clustering with a fixed distance threshold -- forces a trade-off between recall and precision. We propose a new network architecture designed to perform NMS, using only boxes and their score. We report experiments for person detection on PETS and for general object categories on the COCO dataset. Our approach shows promise providing improved localization and occlusion handling.

Motivation & Objective

  • To address the limitations of GreedyNMS, a hand-crafted, fixed-threshold post-processing step that forces a trade-off between precision and recall.
  • To eliminate the need for post-processing NMS by training a neural network that performs NMS directly on detections.
  • To enable true end-to-end training of object detectors by integrating NMS into the learning pipeline.
  • To improve detection performance—especially in occluded or crowded scenes—by learning adaptive suppression based on detection scores and spatial overlap.

Proposed method

  • Proposes Gnet, a convolutional neural network architecture that takes raw bounding boxes and their confidence scores as input and outputs refined, non-overlapping detections.
  • Designs a differentiable loss function that penalizes multiple detections for the same object, encouraging the network to suppress redundant predictions.
  • Uses a graph-like processing mechanism where detections are treated as nodes and overlapping detections are connected via learned attention or message-passing layers.
  • Employs a multi-scale, residual-like architecture with multiple blocks to allow the network to learn complex suppression patterns across varying object configurations.
  • Trains the network end-to-end using supervised supervision on ground-truth object locations, without requiring image features or external model decisions.
  • Applies the same architecture to both single-class (PETS) and multi-class (COCO) detection tasks by modifying input and output heads to handle per-class scores.

Experimental results

Research questions

  • RQ1Can a deep neural network be trained to perform non-maximum suppression without relying on image features or hand-crafted thresholds?
  • RQ2Does a learnable NMS mechanism improve detection performance, particularly in challenging scenarios like occlusion or dense object arrangements?
  • RQ3Can a single neural network architecture generalize across diverse object categories and replace GreedyNMS across multiple datasets?
  • RQ4How does the performance of the learned NMS (Gnet) compare to GreedyNMS with optimal, per-dataset threshold tuning?
  • RQ5To what extent does the network’s performance depend on architecture depth and training data size?

Key findings

  • Gnet achieves a consistent 1 mAP point improvement over GreedyNMS on the COCO dataset, with mAP@0.5:0.95 rising from 23.5% to 24.3% when using per-class tuned GreedyNMS thresholds.
  • On the PETS pedestrian detection dataset, Gnet improves performance across both low and high occlusion levels, with gains observed in both AP@0.5 and AP@0.5:0.95.
  • With just two blocks, Gnet achieves a ~1 mAP point gain over GreedyNMS, indicating strong learning capacity even with a shallow architecture.
  • The network shows robustness to architectural depth, with performance variance decreasing as depth increases, suggesting stability and generalization.
  • Gnet outperforms GreedyNMS on 70 out of 80 COCO categories, with no catastrophic failures, demonstrating broad applicability across diverse object classes.
  • Results on both validation and test sets show strong generalization, confirming that the network learns meaningful suppression patterns rather than memorizing data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.