Skip to main content
QUICK REVIEW

[论文解读] Relation DETR: Exploring Explicit Position Relation Prior for Object Detection

Xiuquan Hou, Meiqin Liu|arXiv (Cornell University)|Jul 16, 2024
Advanced Image and Video Retrieval TechniquesComputer Science被引用 3
一句话总结

该论文提出Relation-DETR,一种基于DETR的新型目标检测器,通过使用可学习的关系编码器显式建模目标提议之间的位置关系,从而提升收敛速度与性能。通过引入对比关系流水线的显式空间偏置,其在仅训练2个周期的1×设置下,于COCO数据集上实现了51.7%的AP,显著优于以往方法在收敛速度与准确率方面的表现。

ABSTRACT

This paper presents a general scheme for enhancing the convergence and performance of DETR (DEtection TRansformer). We investigate the slow convergence problem in transformers from a new perspective, suggesting that it arises from the self-attention that introduces no structural bias over inputs. To address this issue, we explore incorporating position relation prior as attention bias to augment object detection, following the verification of its statistical significance using a proposed quantitative macroscopic correlation (MC) metric. Our approach, termed Relation-DETR, introduces an encoder to construct position relation embeddings for progressive attention refinement, which further extends the traditional streaming pipeline of DETR into a contrastive relation pipeline to address the conflicts between non-duplicate predictions and positive supervision. Extensive experiments on both generic and task-specific datasets demonstrate the effectiveness of our approach. Under the same configurations, Relation-DETR achieves a significant improvement (+2.0% AP compared to DINO), state-of-the-art performance (51.7% AP for 1x and 52.1% AP for 2x settings), and a remarkably faster convergence speed (over 40% AP with only 2 training epochs) than existing DETR detectors on COCO val2017. Moreover, the proposed relation encoder serves as a universal plug-in-and-play component, bringing clear improvements for theoretically any DETR-like methods. Furthermore, we introduce a class-agnostic detection dataset, SA-Det-100k. The experimental results on the dataset illustrate that the proposed explicit position relation achieves a clear improvement of 1.3% AP, highlighting its potential towards universal object detection. The code and dataset are available at https://github.com/xiuqhou/Relation-DETR.

研究动机与目标

  • 为解决DETR检测器收敛缓慢的问题,通过在自注意力机制中引入结构化偏差。
  • 探究显式位置关系先验是否可降低数据依赖性并提升训练效率。
  • 解决DETR框架中非重复预测与正样本监督不足之间的冲突。
  • 开发一种即插即用的组件,通过渐进式注意力优化提升任意DETR类检测器的性能。
  • 评估位置关系先验在多样化与通用检测基准上的泛化潜力。

提出的方法

  • 提出一种定量宏观相关性(MC)度量,以验证目标检测中位置关系的统计显著性。
  • 引入位置关系编码器,计算所有成对边界框之间的归一化相对几何特征,以实现显式空间偏置。
  • 在解码器层之间采用渐进式注意力优化,利用学习到的关系嵌入增强跨层信息交互。
  • 将标准DETR流水分解扩展为对比关系流水线,利用一对一与一对多匹配实现更强的监督。
  • 采用对比学习策略,强调位置关系在去重中的作用,降低对隐式注意力学习的依赖。
  • 设计一个与类别无关的检测数据集SA-Det-100k,用于评估在多样化与开放词汇场景下的泛化能力。

实验结果

研究问题

  • RQ1显式位置关系先验是否能显著提升基于DETR检测器的收敛速度?
  • RQ2通过学习的位置关系引入结构化偏差,是否可降低数据依赖性并提升训练效率?
  • RQ3所提出的对比关系流水线如何缓解非重复预测与正样本监督之间的冲突?
  • RQ4关系编码器能否作为通用的即插即用组件,用于增强任意DETR类架构?
  • RQ5显式位置关系先验是否可泛化至通用与开放词汇检测任务?

主要发现

  • Relation-DETR在1×训练设置下于COCO val2017上达到51.7%的AP,超越SOTA方法(包括DINO)的+2.0% AP。
  • 仅使用ResNet-50训练2个周期即达到COCO上超过40%的AP,相比以往DETR检测器,收敛速度提升超过40%。
  • 所提出的關係編碼器在SA-Det-100k数据集上使DINO提升+1.3% AP,证实其在通用检测任务中的可扩展性与泛化能力。
  • 消融实验表明,对比关系流水线与渐进式注意力优化是性能提升的关键,尤其在减少负样本监督主导性方面效果显著。
  • 可视化结果表明,模型学习到了有意义的空间关系,小物体因语义线索有限而形成更多连接。
  • 失败案例分析表明,模型在建模遮挡与语义模糊等复杂关系方面表现良好,提示在密集场景中仍有进一步优化空间。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。