Reproduce “DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR” 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

Shilong Liu, Feng Li, Hao Zhang, Xiao Yang, Xianbiao Qi, Hang Su, Jun Zhu, Lei Zhang

DAB-DETR introduces a new query formulation for the DETR framework by directly leveraging dynamic 4D anchor boxes (x, y, w, h) as queries. This approach resolves the slow training convergence of vanilla DETR and achieves improved object detection accuracy, reaching 45.7% AP on MS-COCO with a ResNet50-DC5 backbone in 50 epochs.

Key insights

  • Queries in DETR can be effectively reinterpreted as dynamic 4D anchor boxes performing a soft ROI pooling operation layer-by-layer.
  • Explicit positional priors that encode object scale information are critical for efficient training convergence and strong performance in Transformer-based object detectors.
  • The temperature parameter in sinusoidal positional encoding is crucial for vision tasks with continuous coordinates, requiring empirical tuning for optimal performance.

Summary by alphaXiv.

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