[Paper Review] H2RBox: Horizontal Box Annotation is All You Need for Oriented Object Detection
H2RBox uses horizontal box annotations with weakly- and self-supervised learning to predict oriented bounding boxes, achieving competitive results with lower memory and higher speed than HBox-supervised methods and approaching RBox-supervised detectors.
Oriented object detection emerges in many applications from aerial images to autonomous driving, while many existing detection benchmarks are annotated with horizontal bounding box only which is also less costive than fine-grained rotated box, leading to a gap between the readily available training corpus and the rising demand for oriented object detection. This paper proposes a simple yet effective oriented object detection approach called H2RBox merely using horizontal box annotation for weakly-supervised training, which closes the above gap and shows competitive performance even against those trained with rotated boxes. The cores of our method are weakly- and self-supervised learning, which predicts the angle of the object by learning the consistency of two different views. To our best knowledge, H2RBox is the first horizontal box annotation-based oriented object detector. Compared to an alternative i.e. horizontal box-supervised instance segmentation with our post adaption to oriented object detection, our approach is not susceptible to the prediction quality of mask and can perform more robustly in complex scenes containing a large number of dense objects and outliers. Experimental results show that H2RBox has significant performance and speed advantages over horizontal box-supervised instance segmentation methods, as well as lower memory requirements. While compared to rotated box-supervised oriented object detectors, our method shows very close performance and speed. The source code is available at PyTorch-based \href{https://github.com/yangxue0827/h2rbox-mmrotate}{MMRotate} and Jittor-based \href{https://github.com/yangxue0827/h2rbox-jittor}{JDet}.
Motivation & Objective
- Bridge the gap between readily available horizontal box annotations and the demand for oriented object detection.
- Propose a two-branch H2RBox framework that learns object angles without RBox labels.
- Show that H2RBox can outperform HBox-supervised instance-segmentation baselines and approach RBox-supervised detectors in accuracy and efficiency.
Proposed method
- Two-branch architecture with a Weakly-supervised (WS) FCOS-based rotated detector using GT HBox for supervision via horizontal circumscribed rectangles.
- A Self-supervised (SS) branch that rotates input views and enforces RBox prediction consistency across views.
- Padding/cropping strategies (zeros padding, center cropping, reflection padding) to avoid ground-truth angle leakage during view generation.
- Label reassignment strategies (One-to-One, One-to-Many) to align SS branch targets with WS predictions.
- Combined loss L_total = L_ws + lambda L_ss with detailed terms for classification, centerness, regression, and angle/scale consistency.
Experimental results
Research questions
- RQ1Can horizontal box annotations enable effective training of oriented object detectors without RBox labels?
- RQ2How can weakly- and self-supervised learning be combined to recover accurate rotation predictions from HBox data?
- RQ3What is the impact of view generation strategies and label reassignment on orientation accuracy and overall detection performance?
- RQ4How does H2RBox compare to HBox-supervised instance segmentation baselines and RBox-supervised detectors in accuracy, memory, and speed?
Key findings
- On DOTA-v1.0, H2RBox outperforms BoxInst-RBox and BoxLevelSet-RBox in AP50 by 14.31% and 11.46% respectively (67.90% vs 53.59% and 56.44%).
- With H2RBox, memory usage is 6.25 GB and inference speed is 31.6 FPS, about 1/3 memory and 12x faster than BoxInst-RBox and substantially faster than BoxLevelSet-RBox.
- With multi-scale training/testing, the gap to fully RBox-supervised FCOS reduces to 0.91% on DOTA-v1.0 (AP 75: 74.40 vs 75.31).
- On DIOR-R, H2RBox achieves AP 33.15, AP50 57.00, and AP75 32.60, approaching RBox-supervised FCOS (AP 34.16, AP50 58.60, AP75 31.90).
- Ablations show self-supervised loss (L_ss) is essential, dramatically improving AP from low values to 35.92% on DOTA-v1.0 and 33.15% on DIOR-R when used.
- HBX-Mask-RBox baselines (BoxInst-RBox, BoxLevelSet-RBox) are outperformed by H2RBox in both accuracy and efficiency on the tested datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.