Reproduce “End-to-End Object Detection with Transformers” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, Sergey Zagoruyko

DETR replaces proposal-based detection and non-maximum suppression with parallel set prediction. A CNN and Transformer process image features and learned object queries; Hungarian matching assigns each target to one prediction and trains unused slots as “no object.” On COCO 2017 validation, ResNet-50 DETR matches Faster R-CNN-FPN+ at 42.0 AP, but has lower small-object AP, higher large-object AP, and requires 500 training epochs.

Key insights

  • The Transformer encoder is crucial for global scene reasoning, improving performance on large objects and disentangling instances.
  • The Transformer decoder's self-attention mechanism is key to suppressing duplicate predictions, validating the removal of NMS.
  • The combination of L1 and GIoU loss, along with learned object queries and positional encodings, are essential for accurate bounding box regression and overall performance.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.