Projecting Points to Axes: Oriented Object Detection via Point-Axis Representation

Zeyang Zhao, Qilong Xue, Yuhang He, Yifan Bai, Xing Wei, Yihong Gong

In computer vision, the standard approach to object localization has long relied on horizontal bounding boxes. While effective for common natural images, this paradigm falters in specialized domains like aerial surveillance and remote sensing. Objects such as ships, aircraft, and infrastructure often appear at arbitrary angles, requiring "oriented" detection. Traditionally, researchers have addressed this using Rotated Bounding Boxes (RBBs). However, a recent study from Xi’an Jiaotong University suggests that our reliance on rigid box definitions may be a fundamental bottleneck, proposing a novel Point-Axis Representation to redefine how we detect oriented objects.

The Challenge of Loss Discontinuity

Oriented Object Detection (OOD) is mathematically complex due to the way rotated boxes are typically defined. Most existing models utilize a five-parameter set: $(x, y, w, h, heta)$. While intuitive, this representation suffers from a phenomenon known as loss discontinuity.

Comparison of traditional rotated bounding boxes (a) with point set (b) and the proposed point-axis representation (c).

Consider a nearly square object. A minor rotation can cause the "width" to be redefined as "height," leading to a sudden 90-degree jump in the angle $ heta$. Despite the physical box barely moving, the loss function perceives a massive error. This "square problem" and the inherent periodicity of angles create instability during training, making it difficult for models to converge on precise representations. While some alternative methods use point sets to define shapes, they often neglect the primary directionality of the object, leading to inaccuracies for complex or near-circular geometries.

Point-Axis Representation

To overcome these limitations, the researchers introduced a "divide-and-conquer" strategy that decouples an object's spatial extent from its orientation. Instead of predicting a rigid box, the proposed Oriented DETR model predicts two distinct components:

  1. Points for Shape: A set of $K$ points that delineate the object's spatial contours. This flexible representation can describe irregular shapes that a standard rectangle cannot capture effectively.
  2. Axes for Orientation: A set of axes defining the primary directionality. Crucially, this representation is axis-order invariant. The model does not need to distinguish between a "long" or "short" side, effectively eliminating the loss discontinuity problem.
The Point-Axis pipeline: combining point sets and orientation axes to derive precise oriented bounding boxes for diverse aerial objects.

Specialized Loss Functions

The training of this representation is supported by two novel loss functions:

  • Max-Projection Loss: This supervises the point set by projecting predicted points onto the ground-truth boundary. It encourages the model to identify the optimal points representing the object's extent without requiring explicit, manual keypoint annotations.
  • Cross-Axis Loss: This treats orientation as a classification task. By discretizing 360 degrees into bins and using a four-peak label encoding, the model can robustly identify the object's primary axes.

These components are integrated into an end-to-end transformer architecture. The model features a "Points Detection Decoder" utilizing group self-attention, allowing point queries within a single object to communicate and iteratively refine their positions.

Experimental Results and Benchmarks

The Point-Axis Representation was evaluated against the most rigorous benchmarks in the field, including DOTA, DIOR-R, and HRSC2016. The results demonstrate that Oriented DETR sets a new state-of-the-art across multiple categories:

  • DOTA: On the gold standard for aerial OOD, the model achieved 79.1% mAP₅₀ with a ResNet-50 backbone and reached 82.26% using a Swin-L backbone, outperforming established leaders like LSKNet.
  • DIOR-R: The model achieved 74.26% mAP₅₀, representing a significant 3.21% improvement over previous top-tier methods.
  • HRSC2016: In the specialized domain of ship detection—where objects often have extreme aspect ratios—the model reached a near-perfect 98.02% accuracy.
  • General Detection: To prove its versatility, the model was tested on the COCO2017 dataset for horizontal detection, achieving 50.5% AP. This confirms that the point-axis logic is a powerful general-purpose tool, not just a niche solution for satellite imagery.

Conclusion and Future Directions

The core insight of this research is that explicit box prediction is not a prerequisite for high-quality detection. By predicting points and axes, a bounding box can be mathematically derived for evaluation, but the model's internal logic remains far more robust and stable.

While current datasets primarily provide rectangular ground truths, the point-axis representation is naturally suited for arbitrary polygonal boxes. Future research may extend this framework to more complex geometries and integrate it with advanced training strategies, such as those found in the DINO framework, to further push the boundaries of object localization.

Summary updated

BibTeX
@inproceedings{zhao2024projecting,
  author = {Zeyang Zhao and Qilong Xue and Yuhang He and Yifan Bai and Xing Wei and Yihong Gong},
  title = {{Projecting Points to Axes: Oriented Object Detection via Point-Axis Representation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73390-1\_10},
}
Figure