Arbitrary-Oriented Object Detection with Circular Smooth Label

Xue Yang, Junchi Yan

Introduction: The Challenge of Oriented Objects

Standard object detection typically relies on horizontal bounding boxes. However, in domains such as aerial imaging (ships, planes) or scene text detection, objects often appear at arbitrary angles. To handle this, researchers use oriented bounding boxes (OBB). Most existing detectors treat the angle of these boxes as a regression problem.

The Boundary Problem

A fundamental flaw in the regression-based approach is the boundary problem. Because angles are periodic (e.g., -90° is effectively the same as 90° in certain protocols), a tiny physical rotation at these limits can cause a massive, discontinuous spike in the loss function. This "Periodicity of Angle" (PoA) confuses the model during training. Additionally, the "Exchangeability of Edges" (EoE) in quadrangular regression leads to similar discontinuities. These issues are particularly detrimental for objects with large aspect ratios, where even a small angular error results in a significant drop in Intersection over Union (IoU).

Illustration of the Periodicity of Angle (PoA) boundary problem where a small angular difference leads to a large regression loss.

Methods: A Classification-Based Paradigm

This paper proposes reframing angle prediction as a classification task to inherently bypass the boundary problem. By treating the angle as a discrete class, the model is physically restricted from predicting values outside the valid range.

The proposed multi-task network architecture featuring a Feature Pyramid Network (FPN) and specialized subnets for classification, rotation detection, and object heading.

Circular Smooth Label (CSL)

Instead of a standard "one-hot" label, which treats adjacent angles as equally "wrong," the authors introduce Circular Smooth Labels (CSL). CSL uses a window function (e.g., Gaussian) to spread the ground-truth label across neighboring angle bins. This provides a smooth gradient for the model to follow and accounts for the periodicity of angles, offering a degree of tolerance for slight deviations.

Densely Coded Labels (DCL)

A naive classification approach for high-precision angles (e.g., 180 bins for 1-degree precision) leads to a "parameter explosion" in the final layer. Densely Coded Labels (DCL) address this by using Binary or Gray coding to represent the angle. This drastically reduces the number of output channels (e.g., from 180 down to 8), maintaining efficiency without sacrificing precision. Gray coding is preferred as it ensures that adjacent angles differ by only one bit, enhancing training stability.

Object Heading Detection (OHDet)

Standard rotation detectors identify the orientation (the line an object lies on) but often fail to determine the heading (the "front" of the object). The authors introduce a four-category classification module to identify the object's head, which is crucial for applications like tracking moving vehicles.

Datasets and Evaluation

The methods were evaluated on several benchmarks:

  • Aerial Images: DOTA (v1.0, v1.5, v2.0) and HRSC2016.
  • Scene Text: ICDAR2015 and MLT.
  • New Benchmark: The authors introduced OHD-SJTU, a large-scale dataset specifically for object heading detection, featuring annotated "heads" for ships and planes.

Key Results

The proposed classification-based approach achieved state-of-the-art (SOTA) performance across multiple datasets. On the HRSC2016 ship detection benchmark, the CSL-based model reached 96.10% mAP.

The benefits are most pronounced in high-precision metrics; for instance, on the OHD-SJTU dataset, the OHDet model improved the AP75 metric by nearly 4% over existing regression baselines. Furthermore, the DCL implementation is highly efficient, adding less than 1% to the total model parameters and computational cost (GFlops).

Conclusion

By revisiting oriented object detection through the lens of classification, this work effectively solves the long-standing boundary problem. The introduction of CSL and DCL provides a robust and efficient framework for high-precision orientation and heading detection, paving the way for more reliable aerial and text analysis systems.

Summary updated

BibTeX
@inproceedings{yang2020arbitrary,
  author = {Xue Yang and Junchi Yan},
  title = {{Arbitrary-Oriented Object Detection with Circular Smooth Label}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58598-3\_40},
}
Figure