paper-with-me

Papers

Conditional DETR for Fast Training Convergence

2021-08-13 · ICCV 2021 10 · Depu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng, Houqiang Li, Yuhui Yuan, Lei Sun, Jingdong Wang

The recently-developed DETR approach applies the transformer encoder and decoder architecture to object detection and achieves promising performance. In this paper, we handle the critical issue, slow training convergence, and present a conditional cross-attention mechanism for fast DETR training. Our approach is motivated by that the cross-attention in DETR relies highly on the content embeddings for localizing the four extremities and predicting the box, which increases the need for high-quality content embeddings and thus the training difficulty. Our approach, named conditional DETR, learns a conditional spatial query from the decoder embedding for decoder multi-head cross-attention. The benefit is that through the conditional spatial query, each cross-attention head is able to attend to a band containing a distinct region, e.g., one object extremity or a region inside the object box. This narrows down the spatial range for localizing the distinct regions for object classification and box regression, thus relaxing the dependence on the content embeddings and easing the training. Empirical results show that conditional DETR converges 6.7x faster for the backbones R50 and R101 and 10x faster for stronger backbones DC5-R50 and DC5-R101. Code is available at https://github.com/Atten4Vis/ConditionalDETR.

📄 PDF Abstract BibTeX arXiv:2108.06152

Code (4)

atten4vis/conditionaldetr 공식 구현 pytorch
IDEA-Research/detrex pytorch
huggingface/transformers pytorch
yangyucheng000/University/tree/main/model-2/conditional_detr mindspore

Tasks

DecoderObjectobject-detectionObject Detection

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Adam 설명 없음
Multi-Head Attention 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

Conditional DETR V2: Efficient Detection Transformer with Box Queries

2022-07-18 · Xiaokang Chen, Fangyun Wei, Gang Zeng, Jingdong Wang

In this paper, we are interested in Detection Transformer (DETR), an end-to-end object detection approach based on a transformer encoder-decoder architecture without hand-crafted postprocessing, such as NMS. Inspired by …

DecoderObjectobject-detectionObject Detection

Pair DETR: Contrastive Learning Speeds Up DETR Training

2022-10-29 · Seyed Mehdi Iranmanesh, Xiaotong Chen, Kuo-Chin Lien

The DETR object detection approach applies the transformer encoder and decoder architecture to detect objects and achieves promising performance. In this paper, we present a simple approach to address the main problem of…

Contrastive LearningDecoderobject-detectionObject Detection+2

Box-DETR: Understanding and Boxing Conditional Spatial Queries

2023-07-17 · Wenze Liu, Hao Lu, Yuliang Liu, Zhiguo Cao

Conditional spatial queries are recently introduced into DEtection TRansformer (DETR) to accelerate convergence. In DAB-DETR, such queries are modulated by the so-called conditional linear projection at each decoder stag…

Decoder

Fast Convergence of DETR with Spatially Modulated Co-Attention

2021-08-05 · ICCV 2021 10 · Peng Gao, Minghang Zheng, Xiaogang Wang, Jifeng Dai 외

The recently proposed Detection Transformer (DETR) model successfully applies Transformer to objects detection and achieves comparable performance with two-stage object detection frameworks, such as Faster-RCNN. However,…

Decoderobject-detectionObject Detection

Fast Convergence of DETR with Spatially Modulated Co-Attention

2021-01-19 · Peng Gao, Minghang Zheng, Xiaogang Wang, Jifeng Dai 외

The recently proposed Detection Transformer (DETR) model successfully applies Transformer to objects detection and achieves comparable performance with two-stage object detection frameworks, such as Faster-RCNN. However,…

Decoderobject-detectionObject Detection