Detection Transformer
Detection Transformer (DETR) is an object detection algorithm that applies transformers to identify and locate objects in images. It was introduced in a seminal 2020 paper by Carion et al. and has since become the baseline for a line of influential algorithms, including DINO DETR (not to be confused with DINO) and CoDETR. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
Detection Transformer (DETR) is an object detection algorithm that applies transformers to identify and locate objects in images. It was introduced in a seminal 2020 paper by Carion et al. and has since become the baseline for a line of influential algorithms, including DINO DETR (not to be confused with DINO) and CoDETR. {{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 . \mathcal{L}_{\text{box}}(\cdot) is a metric that compares the bounding boxes. No-object nodes are assigned w_{ij} = 0 for all slots. The above procedure frames matching as a competitive game between slots. Slots "bid" for ground truth nodes by making predictions that align with their attributes (bounding box and category). 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). Combined with the differentiable loss below, this creates a positive feedback loop that encourages slot specialization and differentiation. 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. The inclusion of the \hat{p}_{j}(c_i) term in w_{ij} serves to suppress "losing" slots. A slot outcompeted for a given object is encouraged to predict no-object, raising its future matching cost (reducing the "bid"). This could push it to specialize elsewhere, or alternatively, instill a prioritization between slots that discourages duplicate positive predictions. The loss l_{ij} also resembles the matching cost w_{ij} of the bipartite matching. 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. To accelerate training convergence, DETR uses auxiliary losses at intermediate decoder layers. 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.
Cite this
"Detection Transformer". 1784426048. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1364897578 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy