Skip to main content
QUICK REVIEW

[Paper Review] Efficient DETR: Improving End-to-End Object Detector with Dense Prior

Zhuyu Yao, Jiangbo Ai|arXiv (Cornell University)|Apr 3, 2021
Advanced Neural Network ApplicationsComputer Science43 references157 citations
TL;DR

Efficient DETR introduces a dense prior to initialize object containers, enabling a 1-decoder end-to-end detector that performs competitively with 6-decoder DETR while converging faster, demonstrated on COCO and CrowdHuman.

ABSTRACT

The recently proposed end-to-end transformer detectors, such as DETR and Deformable DETR, have a cascade structure of stacking 6 decoder layers to update object queries iteratively, without which their performance degrades seriously. In this paper, we investigate that the random initialization of object containers, which include object queries and reference points, is mainly responsible for the requirement of multiple iterations. Based on our findings, we propose Efficient DETR, a simple and efficient pipeline for end-to-end object detection. By taking advantage of both dense detection and sparse set detection, Efficient DETR leverages dense prior to initialize the object containers and brings the gap of the 1-decoder structure and 6-decoder structure. Experiments conducted on MS COCO show that our method, with only 3 encoder layers and 1 decoder layer, achieves competitive performance with state-of-the-art object detection methods. Efficient DETR is also robust in crowded scenes. It outperforms modern detectors on CrowdHuman dataset by a large margin.

Motivation & Objective

  • Investigate why DETR-style detectors require multiple decoder iterations.
  • Explore how initialization of object containers (queries and reference points) affects performance.
  • Propose a dense-sparse hybrid DETR (Efficient DETR) that uses dense priors to improve end-to-end detection and convergence.
  • Demonstrate the approach on COCO and CrowdHuman datasets and compare with state-of-the-art detectors.

Proposed method

  • Analyze the role of decoder layers and auxiliary loss in DETR performance.
  • Study object container initializations via reference points and object queries, including dense priors from region proposals.
  • Introduce Efficient DETR with a dense and sparse branch, sharing a common detection head and using deformable attention.
  • Use top-K dense proposals to initialize reference points and object queries, enabling a 1-decoder refinement stage.
  • Train with Hungarian one-to-one assignment and a unified loss over dense and sparse parts; employ a linear decrease of proposals during training.

Experimental results

Research questions

  • RQ1How does the initialization of object containers (queries and reference points) influence convergence and accuracy in end-to-end DETR models?
  • RQ2Can incorporating dense priors (from region proposals) reduce the need for cascade decoder iterations and close the gap between 1-decoder and 6-decoder architectures?
  • RQ3What is the impact of a dense-sparse two-branch design (Efficient DETR) on COCO and crowded scenes like CrowdHuman?

Key findings

  • Decoder auxiliary loss and cascade refinement are key to DETR performance; reducing decoder layers degrades AP significantly in naive setups.
  • Dense prior initialization, via region proposals and dense features, substantially improves 1-decoder performance, approaching 6-decoder results.
  • Efficient DETR achieves 44.2 AP on COCO with 3 encoders and 1 decoder, and 36-epoch training, outperforming Faster R-CNN and many end-to-end detectors while using fewer parameters.
  • Efficient DETR remains robust in crowded scenes (CrowdHuman), with 100 proposals yielding competitive AP and strong generalization; increasing proposals offers diminishing returns in some settings.
  • A linear decrease strategy for the number of proposals during training stabilizes learning and maintains high accuracy with fewer proposals.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.