Abstract
With the advent of deep learning, object detection drifted from a bottom-up to a top-down recognition problem. State of the art algorithms enumerate a near-exhaustive list of object locations and classify each into: object or not. In this paper, we show that bottom-up approaches still perform competitively. We detect four extreme points (top-most, left-most, bottom-most, right-most) and one center point of objects using a standard keypoint estimation network. We group the five keypoints into a bounding box if they are geometrically aligned. Object detection is then a purely appearance-based keypoint estimation problem, without region classification or implicit feature learning. The proposed method performs on-par with the state-of-the-art region based detection methods, with a bounding box AP of 43.7% on COCO test-dev. In addition, our estimated extreme points directly span a coarse octagonal mask, with a COCO Mask AP of 18.9%, much better than the Mask AP of vanilla bounding boxes. Extreme point guided segmentation further improves this to 34.6% Mask AP.
Introduction
Most modern object detectors follow a "top-down" approach, either by cropping regions of interest in two-stage models or by placing thousands of "anchor boxes" across an image in one-stage models. These methods then classify these regions or boxes. However, this approach can be unnatural; axis-aligned bounding boxes often contain significant background noise rather than just object pixels, and these methods often fail to capture the true underlying geometry of the object.
Previous bottom-up attempts, such as CornerNet, focused on detecting the top-left and bottom-right corners of a box. A significant drawback is that corners often lie outside the actual object, lacking distinct visual features. ExtremeNet addresses this by focusing on extreme points—the points on the object's boundary furthest in the four cardinal directions. These points are guaranteed to lie on the object and typically possess consistent, recognizable features, such as the top of a head or the bottom of a tire.
Methodology
ExtremeNet utilizes a standard keypoint estimation architecture, specifically a 104-layer HourglassNet, to predict five heatmaps per object category: four for the extreme points and one for the center.
Keypoint Prediction and Refinement
The network outputs heatmaps where peaks represent potential extreme points and centers. To improve precision, it also predicts class-agnostic sub-pixel offsets to refine the coordinates. Additionally, an Edge Aggregation strategy is employed to handle cases where extreme points are not single pixels (e.g., the flat roof of a bus) by summing scores along vertical or horizontal edges.
Center Grouping
The core of the ExtremeNet algorithm is its geometric grouping logic. Instead of complex associative embeddings, the model relies on pure geometry. For every combination of four extreme points (one from each cardinal direction), the algorithm calculates their geometric center. If the predicted "Center" heatmap shows a high response at that specific location, the five points are grouped into a single detection.
To ensure quality, the model implements Ghost Box Suppression, a post-processing step that penalizes large "ghost" boxes that might incorrectly encompass multiple smaller, aligned objects.
Key Insights and Octagonal Masks
- Appearance-Based Grouping: Unlike models that require learned "identity" features to link points, ExtremeNet relies on geometric constraints. This makes the grouping purely appearance-based and computationally straightforward.
- Geometric Fidelity: Because extreme points lie directly on the object boundary, they carry more semantic information than corners. This allows for the generation of an octagonal mask by connecting segments of the edges, providing a tighter fit than a standard rectangle.
- Segmentation Integration: These predicted extreme points can be integrated with models like Deep Extreme Cut (DEXTR) to produce high-quality instance masks without requiring specific training on segmentation labels.
Experimental Evaluation
The model was evaluated on the MS COCO dataset (80 categories), using the train2017 set for training and test-dev for final evaluation. Extreme point annotations were derived from existing COCO segmentation masks.
Performance Results
- Detection: ExtremeNet achieved 43.7% AP on COCO
test-dev, outperforming CornerNet (42.1%) and rivaling top-tier two-stage detectors like Mask R-CNN. - Segmentation: The "free" octagonal masks achieved an 18.9% Mask AP. When combined with DEXTR, performance rose to 34.6% Mask AP, competitive with dedicated segmentation models.
- Efficiency: Despite the $O(n^4)$ brute-force search for grouping, the small number of peaks per class ($\le 40$) allows the model to run at approximately 3.1 FPS on a GPU.
Conclusion
ExtremeNet demonstrates that bottom-up object detection is a powerful alternative to traditional top-down methods. By focusing on points that actually lie on the object, the model gains a better understanding of geometry, enabling tighter object localization and efficient segmentation. Future work may address the grouping bottleneck in extremely crowded scenes and explore end-to-end integration of high-quality segmentation passes.
Summary updated