TL;DR
This paper introduces conditional DETR, a modification to the original DETR model that significantly accelerates training convergence by using a conditional spatial query mechanism, reducing reliance on high-quality content embeddings.
Contribution
The paper proposes a novel conditional cross-attention mechanism in DETR that speeds up training convergence by narrowing the spatial focus of attention heads.
Findings
Conditional DETR converges 6.7x faster with R50 and R101 backbones.
It achieves 10x faster convergence with stronger backbones DC5-R50 and DC5-R101.
The method maintains competitive detection performance while significantly reducing training time.
Abstract
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Residual Connection · Byte Pair Encoding · Adam · Multi-Head Attention · Dense Connections · Attention Is All You Need · Softmax
