Detection Transformer
Detection Transformer (DETR) is an object detection algorithm that applies transformers to identify and locate objects in images.[src] It was introduced in a seminal 2020 paper by Carion et al.[src] and has since become the baseline for a line of influential algorithms, including DINO DETR (not to be confused with DINO) and CoDETR.[src]
Detection Transformer (DETR) is an object detection algorithm that applies transformers to identify and locate objects in images.[src] It was introduced in a seminal 2020 paper by Carion et al.[src] and has since become the baseline for a line of influential algorithms, including DINO DETR (not to be confused with DINO) and CoDETR.[src] {{center| w_{ij} = \mathcal{L}_{\text{box}}(b_i, \hat{b}_{j})- \hat{p}_{j}(c_i) }} where b_i\ \textrm{and}\ \hat{b}_{j} denote the ground truth and predicted bounding boxes, respectively, c_i is the ground truth category, and \hat{p}_{j}(c_i) is the probability assigned by slot j to category c_i .[src] \mathcal{L}_{\text{box}}(\cdot) is a metric that compares the bounding boxes.[src] No-object nodes are assigned w_{ij} = 0 for all slots.[src] The above procedure frames matching as a competitive game between slots.[src] Slots "bid" for ground truth nodes by making predictions that align with their attributes (bounding box and category).[src] This breaks sharply with R-CNN and YOLO, where the matching is based on fixed or separately computed slot attributes (e.g., anchor box coordinates).[src] Combined with the differentiable loss below, this creates a positive feedback loop that encourages slot specialization and differentiation.[src] The "winning" slots in each sample, which are matched with closely-aligned ground truth nodes, receive a supervising signal from those nodes that reinforces their alignment, nudging them to increase future "bids" to similar objects even further.[src] The inclusion of the \hat{p}_{j}(c_i) term in w_{ij} serves to suppress "losing" slots.[src] A slot outcompeted for a given object is encouraged to predict no-object, raising its future matching cost (reducing the "bid").[src] This could push it to specialize elsewhere, or alternatively, instill a prioritization between slots that discourages duplicate positive predictions.[src] The loss l_{ij} also resembles the matching cost w_{ij} of the bipartite matching.[src] An exception is no-object nodes, which are assigned l_{ij} = - \hat{p}_{j}(c_i) rather than zero, and down-weighted by a coefficient (0.1) to compensate for class imbalance.[src] To accelerate training convergence, DETR uses auxiliary losses at intermediate decoder layers.[src] This is achieved by attaching separate prediction heads to each of the layers, and supervising their outputs (bounding boxes and class scores) using the same set-prediction loss, independently applied at each layer.[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Detection Transformer." encyclopegia.org, 2026, https://encyclopegia.org/wiki/detection-transformer. Accessed 06 December 2026.
Chicago
"Detection Transformer." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/detection-transformer.
APA
encyclopegia.org. (2026). Detection Transformer. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/detection-transformer
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON