How to Backpropagate through Hungarian in Your DETR?
Not on the map. Why?
Abstract (arXiv)
The DEtection TRansformer (DETR) approach, which uses a transformer encoder-decoder architecture and a set-based global loss, has become a building block in many transformer based applications. However, as originally presented, the assignment cost and the global loss are not aligned, i.e., reducing the former is likely but not guaranteed to reduce the latter. And the issue of gradient is ignored when a combinatorial solver such as Hungarian is used. In this paper we show that the global loss can be expressed as the sum of an assignment-independent term, and an assignment-dependent term which can be used to define the assignment cost matrix. Recent results on generalized gradients of optimal assignment cost with respect to parameters of an assignment problem are then used to define generalized gradients of the loss with respect to network parameters, and backpropagation is carried out properly. Our experiments using the same loss weights show interesting convergence properties and a potential for further performance improvements.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 30 references that are in the map. First posted on arXiv 12 Nov 2022.
Builds on
21 of 30 references.
References · 21
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2022TransFusion: Robust LiDAR-Camera Fusion for 3D Object Detection with Transformerscited by 464
- 2019Differentiable Convex Optimization Layerscited by 458
- 2021MOTR: End-to-End Multiple-Object Tracking with Transformercited by 379
- 2020TransTrack: Multiple Object Tracking with Transformercited by 370
- 2021An End-to-End Transformer Model for 3D Object Detectioncited by 329
- 2019Differentiation of Blackbox Combinatorial Solverscited by 224
- 2018Learning Latent Permutations with Gumbel-Sinkhorn Networkscited by 172
- 2022Global Tracking Transformerscited by 110
- 2016On Differentiating Parameterized Argmin and Argmax Problems with Application to Bi-level Optimizationcited by 108
9 more
- 2019How To Train Your Deep Multi-Object Trackercited by 71
- 2022Unified Transformer Tracker for Object Trackingcited by 31
- 2022A Unified Framework for Implicit Sinkhorn Differentiationcited by 28
- 2019DMM-Net: Differentiable Mask-Matching Network for Video Object Segmentationcited by 26
- 2020GCNNMatch: Graph Convolutional Neural Networks for Multi-Object Tracking via Sinkhorn Normalizationcited by 25
- 2021Differentiable Tracking-Based Training of Deep Learning Sound Source Localizerscited by 7
- 2022GLAN: A Graph-based Linear Assignment Networkcited by 6
- 2019Differentiable Combinatorial Losses through Generalized Gradients of Linear Programscited by 1
- 2022Transformer-based assignment decision network for multiple object trackingcited by 1
Built on by
Not cited yet.