NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning RoI Transformer for Detecting Oriented Objects in Aerial Images

Jian Ding, Nan Xue, Yang Long, Gui-Song Xia, Qikai LuarXiv 2018

Abstract

Object detection in aerial imagery faces unique challenges due to the arbitrary orientations and dense packing of objects like ships and vehicles. Standard horizontal bounding boxes often lead to feature misalignment and ambiguity. This paper presents the RoI Transformer, a lightweight, learnable module that bridges the gap between horizontal region proposals and oriented object detection. By explicitly learning to transform horizontal Regions of Interest (HRoIs) into Rotated Regions of Interest (RRoIs), the proposed method achieves state-of-the-art accuracy on major benchmarks while maintaining high computational efficiency.

The Challenge of Oriented Object Detection

Traditional object detection frameworks, such as Faster R-CNN, rely on horizontal bounding boxes. While effective for natural images, this approach is suboptimal for bird's-eye view aerial photography. When objects are oriented diagonally, a horizontal box inevitably includes significant background noise and parts of adjacent objects. This creates two primary issues:

  1. Feature Misalignment: The extracted features are contaminated by non-object information.
  2. Instance Ambiguity: A single horizontal box may overlap with multiple instances, making it difficult for the classifier to distinguish individual objects.

Previous solutions often employed "rotated anchors"—pre-defined boxes at numerous angles—but these significantly increase computational complexity and memory usage.

Comparison of horizontal RoIs (top) and the learned rotated RoIs (bottom). The right panels show the corresponding feature crops, highlighting how rotation aligns the object within the RoI.

The RoI Transformer Architecture

The RoI Transformer addresses these issues through a two-stage transformation process integrated into a detection pipeline (specifically a modified Light-Head R-CNN).

RRoI Learner

Instead of using exhaustive rotated anchors, the RRoI Learner takes a standard horizontal proposal (HRoI) and predicts the geometric offsets $(dx, dy, dw, dh, d\theta)$ required to rotate and "tighten" the box around the object. This module is explicitly supervised using ground-truth oriented bounding boxes, allowing the model to learn precise geometric transformations.

Rotated Position Sensitive (RPS) RoI Align

After determining the RRoI, the RPS RoI Align module extracts features by warping the feature map according to the predicted rotation angle. This ensures that the resulting feature representation is rotation-invariant. Consequently, an object (like a ship) yields a consistent feature signature regardless of its heading, simplifying the task for the final classifier.

Experimental Evaluation

The researchers evaluated the RoI Transformer on two primary aerial detection benchmarks:

  • DOTA: A large-scale dataset with 15 categories and diverse orientations. The RoI Transformer achieved 69.56 mAP, significantly outperforming previous methods like R-DFPN and R2CNN.
  • HRSC2016: A dataset focused on ship detection. The model reached 86.2 mAP, setting a new state-of-the-art.

Efficiency and Insights

Beyond accuracy, the RoI Transformer is remarkably efficient. It requires less memory (273MB) and offers faster inference (0.17s per image) than alternative deformable pooling methods. Key insights from the study include:

  • Explicit Supervision: Explicitly learning rotation for rigid objects is more effective than the implicit learning used in general deformable RoI pooling.
  • Contextual Information: Slightly enlarging the RRoI to include context helps the model distinguish specific object features, such as the bow versus the stern of a ship.
  • NMS Sensitivity: The paper identifies that for long, thin objects, Intersection over Union (IoU) is highly sensitive to small angular variations, presenting a challenge for standard Non-Maximum Suppression (NMS).

Conclusion

The RoI Transformer provides a robust and efficient solution for oriented object detection in aerial imagery. By replacing complex rotated anchor schemes with a learnable transformation module, it achieves superior precision and rotation invariance, making it a versatile "plug-and-play" component for modern detection architectures.

Summary updated

BibTeX
@misc{ding2018learning,
  author = {Jian Ding and Nan Xue and Yang Long and Gui-Song Xia and Qikai Lu},
  title = {{Learning RoI Transformer for Detecting Oriented Objects in Aerial Images}},
  year = {2018},
  eprint = {1812.00155},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.00155},
}
Figure