cs.CVNov 29, 2023

RQFormer: Rotated Query Transformer for End-to-End Oriented Object Detection

Authors: Zeyu Ding, Yong Zhou, Jiaqi Zhao, Hancheng Zhu, Wenliang Du, Rui Yao, Abdulmotaleb El Saddik

Organizations: School of Computer Science and Technology, China University of Mining and Technology, Xuzhou 221116, China · Mine Digitization Engineering Research Center of the Ministry of Education, Xuzhou 221116, China · School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, ON K1N 6N5, Canada

Abstract

Oriented object detection presents a challenging task due to the presence of object instances with multiple orientations, varying scales, and dense distributions. Recently, end-to-end detectors have made significant strides by employing attention mechanisms and refining a fixed number of queries through consecutive decoder layers. However, existing end-to-end oriented object detectors still face two primary challenges: 1) misalignment between positional queries and keys, leading to inconsistency between classification and localization; and 2) the presence of a large number of similar queries, which complicates one-to-one label assignments and optimization. To address these limitations, we propose an end-to-end oriented detector called the Rotated Query Transformer, which integrates two key technologies: Rotated RoI Attention (RRoI Attention) and Selective Distinct Queries (SDQ). First, RRoI Attention aligns positional queries and keys from oriented regions of interest through cross-attention. Second, SDQ collects queries from intermediate decoder layers and filters out similar ones to generate distinct queries, thereby facilitating the optimization of one-to-one label assignments. Finally, extensive experiments conducted on four remote sensing datasets and one scene text dataset demonstrate the effectiveness of our method. To further validate its generalization capability, we also extend our approach to horizontal object detection The code is available at https://github.com/wokaikaixinxin/RQFormer

Figures & tables

Explore similar work

CardsList
  1. OrientedFormer: An End-to-End Transformer-Based Oriented Object Detector in Remote Sensing Images

    Sep 29, 2024Zeyu Ding, Yong Zhou, Jiaqi Zhao +4Remote Sensing Image UnderstandingDetection Transformer

  2. Real-Time Oriented Object Detection Transformer in Remote Sensing Images

    Mar 16, 2026Zeyu Ding, Yong Zhou, Jiaqi Zhao +4Object DetectionDetection Transformer

  3. ReDiffDet: Rotation-equivariant Diffusion Model for Oriented Object Detection

    Nov 23, 2026Zeyu Ding, Yong Zhou, Jiaqi Zhao +3Object DetectionDiffusion Models