Objects as Extreme Points

Yang Yang, Min Li, Bo Meng, Zihao Huang, Junxing Ren, Degang Sun · DOI

Abstract

Object detection can be regarded as a pixel clustering task, and its boundary is determined by four extreme points (leftmost, top, rightmost, and bottom). However, most studies focus on the center or corner points of the object, which are actually conditional results of the extreme points. In this paper, we present an Extreme-Point-Prediction- Based object detector (EPP-Net), which directly regresses the relative displacement vector between each pixel and the four extreme points. We also propose a new metric to measure the similarity between two groups of extreme points, namely, Extreme Intersection over Union (EIoU), and incorporate this EIoU as a new regression loss. Moreover, we propose a novel branch to predict the EIoU between the ground-truth and the prediction results, and take it as the localization confidence to filter out poor detection results. On the MS-COCO dataset, our method achieves an average precision (AP) of 44.0% with ResNet-50 and an AP of 50.3% with ResNeXt-101-DCN. The proposed EPP-Net provides a new method to detect objects and outperforms state-of-the-art anchor-free detectors.

Introduction

Traditional object detection has long relied on "anchors"—predefined boxes that the network tries to refine. However, anchors require tedious manual tuning and often struggle to generalize to objects with unusual shapes. While newer "anchor-free" methods have emerged, they often face challenges such as complex post-processing (key-point-based methods) or lack of precision for non-rigid objects (dense prediction methods).

EPP-Net redefines object localization by focusing on the four extreme points: leftmost, top, rightmost, and bottom. Unlike corners, which often lie in the background, extreme points are guaranteed to lie on the object's boundary, providing more informative features for shape representation.

Methodology

EPP-Net treats object detection as a per-pixel prediction task. For every pixel, the network regresses an 8D vector representing the relative displacement to the four extreme points of the object.

The EPP-Net architecture, featuring a backbone with a feature pyramid and specialized heads for classification, regression, and localization confidence.

Key Components:

  • Extreme Point Regression: Instead of predicting a simple bounding box, the network regresses to the actual boundaries of the object.
  • Dynamic Radius Sampling: To handle varying object shapes, EPP-Net dynamically adjusts its sampling area based on the object's aspect ratio, ensuring better feature extraction for elongated objects.
  • Localization Confidence Branch: A lightweight branch predicts the EIoU between predicted points and ground truth. This "localization confidence" is used to rank detections during Non-Maximum Suppression (NMS), effectively filtering out high-confidence but poorly localized boxes.

Extreme Intersection over Union (EIoU) Loss

Calculating the overlap between irregular quadrilaterals formed by extreme points is mathematically complex. EPP-Net introduces Extreme IoU (EIoU), which simplifies this by combining the IoU of the smallest enclosing rectangles (RecSim) with the average cosine similarity of the vectors pointing to the extreme points (CosSim).

Calculation of the Extreme Intersection over Union (EIoU) loss, combining rectangle similarity and cosine similarity of extreme point vectors.

Evaluation and Results

The model was evaluated on the MS-COCO dataset, using the train2017 set for training and val2017/test-dev for evaluation. EPP-Net demonstrates superior performance compared to standard anchor-free baselines like FCOS:

  • High Accuracy: Achieved 44.0% AP with a ResNet-50 backbone and 50.3% AP using ResNeXt-101-DCN with multi-scale testing.
  • Loss Effectiveness: The proposed EIoU loss improved accuracy by 1.4% over standard Smooth-L1 loss.
  • Confidence Branch Impact: The EIoU predictor improved AP by 0.9% compared to the "center-ness" branch in FCOS, particularly benefiting large object detection.

Conclusion

EPP-Net provides a more precise way to define object boundaries by leveraging extreme points. By integrating the EIoU loss and a localization confidence branch, it addresses the misalignment between classification and localization accuracy. Future work may explore extending this concept to more points to capture even more complex irregular shapes or applying it to specialized domains like aerial imagery.

Summary updated

BibTeX
@misc{yang2021objects,
  author = {Yang Yang and Min Li and Bo Meng and Zihao Huang and Junxing Ren and Degang Sun},
  title = {{Objects as Extreme Points}},
  year = {2021},
  eprint = {2104.14066},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.14066},
}
Figure