[Paper Review] Oriented Object Detection with Transformer
This paper introduces O2DETR, an end-to-end Transformer-based detector for arbitrary-oriented objects that uses depthwise separable convolutions in the encoder to replace self-attention, achieving competitive mAP on the DOTA dataset and benefiting from a simple fine-tuning head for improved performance.
Object detection with Transformers (DETR) has achieved a competitive performance over traditional detectors, such as Faster R-CNN. However, the potential of DETR remains largely unexplored for the more challenging task of arbitrary-oriented object detection problem. We provide the first attempt and implement Oriented Object DEtection with TRansformer ($\bf O^2DETR$) based on an end-to-end network. The contributions of $ m O^2DETR$ include: 1) we provide a new insight into oriented object detection, by applying Transformer to directly and efficiently localize objects without a tedious process of rotated anchors as in conventional detectors; 2) we design a simple but highly efficient encoder for Transformer by replacing the attention mechanism with depthwise separable convolution, which can significantly reduce the memory and computational cost of using multi-scale features in the original Transformer; 3) our $ m O^2DETR$ can be another new benchmark in the field of oriented object detection, which achieves up to 3.85 mAP improvement over Faster R-CNN and RetinaNet. We simply fine-tune the head mounted on $ m O^2DETR$ in a cascaded architecture and achieve a competitive performance over SOTA in the DOTA dataset.
Motivation & Objective
- Motivate oriented object detection without rotating anchors or post-processing refinements.
- Propose an end-to-end Transformer detector for rotated bounding boxes with angle prediction.
- Improve efficiency by replacing attention with depthwise separable convolutions in the encoder.
- Demonstrate competitive performance on the DOTA dataset and explore a fine-tuning head to boost results.
Proposed method
- Extend DETR by adding an angle dimension to object queries for oriented boxes.
- Replace Transformer encoder self-attention with depthwise separable convolutions to reduce memory and computation.
- Incorporate multi-scale feature maps and cross-attention between object queries and encoder memory to predict (x, y, w, h, α).
- Use a 3-layer MLP plus a linear layer in the detection head to output (x_c, y_c, w, h, α) and class scores.
- Optionally fine-tune a head on ROI-aligned features using O2DETR predictions as proposals, improving final bounding boxes and confidence.
Experimental results
Research questions
- RQ1Can Transformer-based detectors be directly applied to arbitrary-oriented object detection without rotated anchors?
- RQ2Does replacing self-attention with depthwise separable convolutions in the encoder improve efficiency while maintaining or improving accuracy for dense, small, oriented objects?
- RQ3How does multi-scale feature integration affect oriented object detection performance in a Transformer framework?
- RQ4Can a lightweight fine-tuning head using ROIAlign further boost detection accuracy when using O2DETR as a region proposal network?
Key findings
- O2DETR achieves higher mAP than several rotated detectors on DOTA without refinement, up to 3.85 mAP improvement over Faster R-CNN and RetinaNet baselines.
- Encoder with depthwise separable convolutions (DSConv) outperforms self-attention in dense, small-object scenarios (e.g., DSConv with ResNet-50 yields 66.10 mAP vs 65.33 mAP for Attn).
- Fine-tuning the O2DETR head with ROIAlign-based features yields substantial gains (e.g., 74.47 mAP on ResNet-50 with single-scale input, 79.66 mAP with multi-scale), demonstrating effective post-hoc refinement.
- O2DETR with multi-scale features and angle-aware object queries provides competitive results against state-of-the-art methods on the DOTA dataset across multiple categories.
- Recall analysis shows O2DETR proposals have higher recall than a traditional RPN across IoU thresholds, supporting its use as a strong region-proposal backbone.
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.