RiO-DETRv2: Geometry-Aware Uncertainty Modeling Meets Real-Time Oriented Object Detection Transformer
Organizations: University of Science and Technology of China · Institute of Artificial Intelligence, Hefei Comprehensive National Science Center
Abstract
RiO-DETR is the first real-time end-to-end transformer for oriented object detection, yet further localization gains require a more expressive box representation. Although distributional regression has succeeded in horizontal DETRs, extending it to oriented detection introduces geometry-misaligned boundary modeling and topology-inconsistent orientation refinement. We present RiO-DETRv2, a geometry-aware uncertainty modeling framework for real-time oriented object detection. To resolve the geometry mismatch, Object-Aligned Boundary Distribution Refinement represents box boundaries as probability distributions in an object-aligned coordinate system and progressively refines them across decoder layers. For better orientation topology consistency, we introduce Circular-to-Local Angular Residual Refinement that transitions from global periodic search to local fine-grained estimation. Unified OBB Quality-Aligned Learning further aligns classification, boundary and angular refinement with complete-OBB localization quality. Together, these designs improve localization without compromising efficiency, achieving a better balance between speed and accuracy. Specifically, RiO-DETRv2-l/x achieves 53.7/54.1 mAP50-95 on DOTA, outperforming RiO-DETR-l/x by 1.2/1.5 points with nearly unchanged computational cost. Code is available at https://github.com/RicePasteM/RiO-DETRv2.
Figures & tables
| Model | Params. | FLOPs | Lat. | AP 50 by category | Overall performance | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PL | BD | BR | GTF | SV | LV | SH | TC | BC | ST | SBF | RA | HA | SP | HC | mAP | AP 50 | AP 75 | ||||
| RTMDet-R-t | 4.9M | 20G | 8.3 | 89.2 | 80.0 | 47.9 | 69.7 | 82.1 | 83.3 | 88.6 | 90.9 | 86.3 | 86.9 | 59.9 | 62.3 | 74.2 | 72.0 | 57.0 | 47.4 | 75.4 | 50.6 |
| YOLO26n-obb | 2.5M | 14G | 2.8 | 89.7 | 84.7 | 52.1 | 71.1 | 83.1 | 78.9 | 88.7 | 91.1 | 87.3 | 86.9 | 58.5 | 69.1 | 76.6 | 82.8 | 65.1 | 49.1 | 77.4 | 53.4 |
| RiO-DETR-n | 4.0M | 17G | 2.7 | 87.3 | 86.1 | 54.9 | 73.6 | 80.5 | 85.1 | 88.0 | 90.8 | 87.4 | 86.9 | 60.9 | 72.0 | 76.8 | 73.4 | 71.8 | 47.1 | 78.5 | 48.2 |
| RiO-DETRv2-n | 4.3M | 18G | 2.8 | 88.8 | 86.2 | 57.6 | 76.6 | 82.0 | 85.2 | 89.0 | 90.9 | 88.0 | 87.0 | 63.7 | 71.2 | 77.3 | 72.7 | 70.5 | 49.3 | 79.1 | 50.9 |
| PPYOLOE-R-s | 8.1M | 44G | 8.5 | 88.8 | 78.4 | 45.9 | 66.9 | 80.1 | 82.8 | 88.2 | 90.6 | 79.7 | 86.4 | 56.1 | 64.0 | 65.0 | 79.5 | 50.4 | 40.6 | 73.5 | 39.2 |
| Model | Para. | FLOPs | Lat. | mAP | AP 50 | AP 75 |
|---|---|---|---|---|---|---|
| YOLO26n-obb | 2.5M | 10G | 2.23 | 45.79 | 71.88 | 46.92 |
| RiO-DETR-n | 4.0M | 11G | 2.20 | 44.06 | 71.92 | 44.57 |
| RiO-DETRv2-n | 4.3M | 11G | 2.27 | 46.47 | 72.21 | 47.69 |
| YOLO26s-obb | 9.8M | 39G | 2.84 | 48.41 | 74.07 | 51.30 |
| RiO-DETR-s | 8.2M | 33G | 3.01 | 47.94 | 74.44 | 49.09 |
| RiO-DETRv2-s | 8.9M | 33G | 3.29 | 49.95 | 75.13 | 51.29 |
| Model | Params. | FLOPs | Lat. | mAP | AP 50 | AP 75 |
|---|---|---|---|---|---|---|
| Oriented R-CNN † | 41.1M | 297G | – | 11.2 | 33.2 | 4.3 |
| -Net † | 38.6M | 271G | – | 10.8 | 33.4 | 3.3 |
| Oriented RepPoints † | 36.6M | 269G | – | 13.0 | 40.3 | 4.2 |
| ARS-DETR † | 41.1M | 250G | 25.32 | 14.3 | 41.1 | 5.8 |
| DCFL ( -Net) † | 38.6M | 271G | – | 17.5 | 49.6 | 7.9 |
| RHINO-DETR | 50.8M | 383G | 35.56 | 17.7 | 53.9 | 5.7 |
| Dataset | OABDR | CTLAR | UniOBB-QAL | Params. | FLOPs | AP | AP 50 |
|---|---|---|---|---|---|---|---|
| DOTA-1.0 | 18.6M | 158G | 51.6 | 80.6 | |||
| ✓ | 19.5M | 158G | 52.2 | 81.0 | |||
| ✓ | 18.7M | 158G | 51.9 | 81.1 | |||
| ✓ | ✓ | 19.5M | 158G | 52.7 | 81.2 | ||
| ✓ | ✓ | ✓ | 19.5M | 158G | 53.2 | 80.8 | |
| DIOR-R | 18.6M | 97G | 48.0 | 75.7 |
| Boundary Representation (on DIOR-R) | AP | AP 50 | AP 75 |
|---|---|---|---|
| Original RiO-DETR (Base) | 51.80 | 77.43 | 53.82 |
| w/ Global-axis distribution | 52.19 | 77.22 | 54.20 |
| w/ Object-aligned distribution (Ours) | 52.88 | 77.74 | 54.66 |
| Angular Refinement (on DIOR-R) | AP | AP 50 | AP 75 |
|---|---|---|---|
| Original RiO-DETR w/ OABDR (Base) | 52.88 | 77.74 | 54.66 |
| w/ Linear angular distribution | 52.66 | 77.31 | 53.82 |
| w/ Circular distribution | 53.02 | 78.14 | 54.78 |
| w/ Circular-to-local refinement (Ours) | 53.16 | 78.39 | 55.13 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | RiO-DETRv2-x | RiO-DETRv2-l | RiO-DETRv2-m | RiO-DETRv2-s | RiO-DETRv2-n |
|---|---|---|---|---|---|
| Backbone Name | HGNetv2-B5 | HGNetv2-B4 | HGNetv2-B2 | HGNetv2-B0 | HGNetv2-B0 |
| Input Resolution | |||||
| Embedding Dimension | 384 | 256 | 256 | 224 | 128 |
| Feedforward Dimension | 2048 | 1024 | 1024 | 1024 | 512 |
| Decoder Layers | 4 | 4 | 3 | 3 | 3 |
| Queries | 300 | 300 | 300 | 300 | 300 |
| Uncertainty signal | Spearman | 10% retained | All matched |
|---|---|---|---|
| vs. | |||
| vs. angle error | |||
| vs. angle error |
| GT aspect ratio | #GT | R@50 (%) | R@75 (%) | Mean IoU | MAE | MAE | Axis switch (%) | Angle entropy |
|---|---|---|---|---|---|---|---|---|
| 27,035 | 92.64 | 72.26 | 0.817 | 20.69% | 0.515 | |||
| 11,521 | 91.53 | 71.30 | 0.814 | 4.14% | 0.451 | |||
| 85,882 | 90.62 | 72.68 | 0.822 | 0.05% | 0.380 |
| Score estimator | ECE 50 | NLL 50 | Brier 50 | AURC 50 | Q-ECE | |
|---|---|---|---|---|---|---|
| Boundary LQE (run 1) | ||||||
| Boundary LQE (run 2) | ||||||
| Angle-aware LQE |
Object Detection
Object detection locates and classifies objects in images or video, balancing localization accuracy, robustness, and inference speed.
See all 624 papers