arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.19648cs.CV
收藏

OrientedFormer:一种遥感图像中的端到端基于Transformer的定向目标检测器

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

School of Computer Science and Technology, China University of Mining and Technology(中国矿业大学计算机科学与技术学院);School of Electrical Engineering and Computer Science, University of Ottawa(渥太华大学电气与计算机科学学院)

Zeyu Ding, Yong Zhou, Jiaqi Zhao, Hancheng Zhu, Wen-Liang Du, Rui Yao, Abdulmotaleb El Saddik

AI总结:

针对遥感图像中定向目标检测的多方向挑战,提出端到端Transformer检测器OrientedFormer,通过高斯位置编码、Wasserstein自注意力和定向交叉注意力解决角度编码、几何关系缺失和错位问题,在多个数据集上提升精度并减少训练周期。

摘要:

遥感图像中的定向目标检测是一项具有挑战性的任务,因为目标以多方向分布。近年来,端到端的基于Transformer的方法通过消除传统基于CNN方法中对后处理操作的需求而取得了成功。然而,直接将Transformer扩展到定向目标检测面临三个主要问题:1)目标任意旋转,需要将角度与位置和大小一起编码;2)由于内容查询和位置查询之间缺乏交互,自注意力中缺少定向目标的几何关系;3)定向目标导致错位,主要在交叉注意力中的值和位置查询之间,使得准确分类和定位变得困难。在本文中,我们提出了一种端到端的基于Transformer的定向目标检测器,包含三个专用模块来解决这些问题。首先,提出了高斯位置编码,利用高斯分布对定向框的角度、位置和大小进行编码。其次,提出了Wasserstein自注意力,通过利用高斯Wasserstein距离分数引入几何关系并促进内容查询和位置查询之间的交互。第三,提出了定向交叉注意力,通过根据角度围绕位置查询旋转采样点来对齐值和位置查询。在六个数据集DIOR-R、一系列DOTA、HRSC2016和ICDAR2015上的实验表明了我们方法的有效性。与之前的端到端检测器相比,OrientedFormer在DIOR-R和DOTA-v1.0上分别获得了1.16和1.21的AP50提升,同时将训练周期从3倍减少到1倍。代码可在以下网址获取:此https URL和此https URL。

英文摘要:

Oriented object detection in remote sensing images is a challenging task due to objects being distributed in multi-orientation. Recently, end-to-end transformer-based methods have achieved success by eliminating the need for post-processing operators compared to traditional CNN-based methods. However, directly extending transformers to oriented object detection presents three main issues: 1) objects rotate arbitrarily, necessitating the encoding of angles along with position and size; 2) the geometric relations of oriented objects are lacking in self-attention, due to the absence of interaction between content and positional queries; and 3) oriented objects cause misalignment, mainly between values and positional queries in cross-attention, making accurate classification and localization difficult. In this paper, we propose an end-to-end transformer-based oriented object detector, consisting of three dedicated modules to address these issues. First, Gaussian positional encoding is proposed to encode the angle, position, and size of oriented boxes using Gaussian distributions. Second, Wasserstein self-attention is proposed to introduce geometric relations and facilitate interaction between content and positional queries by utilizing Gaussian Wasserstein distance scores. Third, oriented cross-attention is proposed to align values and positional queries by rotating sampling points around the positional query according to their angles. Experiments on six datasets DIOR-R, a series of DOTA, HRSC2016 and ICDAR2015 show the effectiveness of our approach. Compared with previous end-to-end detectors, the OrientedFormer gains 1.16 and 1.21 AP$_{50}$ on DIOR-R and DOTA-v1.0 respectively, while reducing training epochs from 3$\times$ to 1$\times$. The codes are available at https://github.com/wokaikaixinxin/ai4rs and https://github.com/wokaikaixinxin/OrientedFormer.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑