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

基于语义匹配的DETR收敛加速算法

Accelerating DETR Convergence via Semantic-Aligned Matching

Nanyang Technological University(南洋理工大学);SenseTime Research(商汤科技研究院)

Gongjie Zhang, Zhipeng Luo, Yingchen Yu, Kaiwen Cui, Shijian Lu

摘要:

最近开发的检测Transformer(DETR)通过消除一系列手工制作的组件,建立了一个新的目标检测范例。然而,DETR的收敛速度非常慢,这大大增加了训练成本。我们观察到,缓慢的收敛在很大程度上是由于在不同的特征嵌入空间中的目标特征匹配对象查询的复杂性。本文提出了SAM-DETR,语义对齐匹配DETR,大大加快了DETR的收敛,而不牺牲其准确性。SAM-DETR从两个角度解决了趋同问题。首先,它将对象查询投影到与编码图像特征相同的嵌入空间中,在该嵌入空间中,可以使用对齐语义有效地完成匹配。其次,它显式地搜索具有最具鉴别力特征的显著点进行语义对齐匹配,这进一步加快了收敛速度,并提高了检测精度。作为一个即插即用,SAM-DETR补充现有的收敛解决方案很好,但只引入轻微的计算开销。大量的实验表明,所提出的SAM-DETR实现了优越的收敛性以及竞争力的检测精度。实现代码可在https://github.com/ZhangGongjie/SAM-DETR上获得。

英文摘要:

The recently developed DEtection TRansformer (DETR) establishes a new object detection paradigm by eliminating a series of hand-crafted components. However, DETR suffers from extremely slow convergence, which increases the training cost significantly. We observe that the slow convergence is largely attributed to the complication in matching object queries with target features in different feature embedding spaces. This paper presents SAM-DETR, a Semantic-Aligned-Matching DETR that greatly accelerates DETR's convergence without sacrificing its accuracy. SAM-DETR addresses the convergence issue from two perspectives. First, it projects object queries into the same embedding space as encoded image features, where the matching can be accomplished efficiently with aligned semantics. Second, it explicitly searches salient points with the most discriminative features for semantic-aligned matching, which further speeds up the convergence and boosts detection accuracy as well. Being like a plug and play, SAM-DETR complements existing convergence solutions well yet only introduces slight computational overhead. Extensive experiments show that the proposed SAM-DETR achieves superior convergence as well as competitive detection accuracy. The implementation codes are available at https://github.com/ZhangGongjie/SAM-DETR.

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

↑