Lite DETR:一种高效的多尺度交织编码器DETR
Lite DETR : An Interleaved Multi-Scale Encoder for Efficient DETR
摘要:
最近的检测变换器为基础的(DETR)模型已经取得了显着的性能。如果不重新引入编码器中的多尺度特征融合,它的成功就无法实现。然而,多尺度特征中的标记过多,特别是约75%的低尺度特征,计算效率很低,这阻碍了DETR模型的实际应用。在本文中,我们提出了Lite DETR,一个简单而有效的端到端的目标检测框架,可以有效地减少60%的GFLOPs的检测头,而保持99%的原始性能。具体来说,我们设计了一个高效的编码器块,以交错的方式更新高级别的功能(对应于小分辨率的特征图)和低级别的功能(对应于大分辨率的特征图)。此外,为了更好地融合跨尺度特征,我们开发了一种关键感知的可变形注意力来预测更可靠的注意力权重。综合实验验证了所提出的Lite DETR的有效性和效率,高效的编码器策略可以很好地推广到现有的基于DETR的模型。代码将在\url{https://github.com/IDEA-Research/Lite-DETR}中提供。
英文摘要:
Recent DEtection TRansformer-based (DETR) models have obtained remarkable performance. Its success cannot be achieved without the re-introduction of multi-scale feature fusion in the encoder. However, the excessively increased tokens in multi-scale features, especially for about 75\% of low-level features, are quite computationally inefficient, which hinders real applications of DETR models. In this paper, we present Lite DETR, a simple yet efficient end-to-end object detection framework that can effectively reduce the GFLOPs of the detection head by 60\% while keeping 99\% of the original performance. Specifically, we design an efficient encoder block to update high-level features (corresponding to small-resolution feature maps) and low-level features (corresponding to large-resolution feature maps) in an interleaved way. In addition, to better fuse cross-scale features, we develop a key-aware deformable attention to predict more reliable attention weights. Comprehensive experiments validate the effectiveness and efficiency of the proposed Lite DETR, and the efficient encoder strategy can generalize well across existing DETR-based models. The code will be available in \url{https://github.com/IDEA-Research/Lite-DETR}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。