Abstract
Query-based object detectors like DETR offer an elegant alternative to traditional region-based methods but suffer from slow convergence and significant architectural complexity. We present FQDet (Fast-converging Query-based Detector), a hybrid approach that integrates classical anchor-based priors into a transformer-based framework. By utilizing spatial anchors for cross-attention and a stable static top-k matching scheme, FQDet achieves state-of-the-art performance (up to 45.4 AP on COCO) in just 12 training epochs. This approach significantly outperforms existing query-based models in training efficiency while eliminating the need for auxiliary losses or iterative box refinement.
Introduction
Object detection has recently transitioned from region-based paradigms, such as Faster R-CNN, to query-based transformer architectures like DETR. While query-based models eliminate hand-crafted components like Non-Maximum Suppression (NMS), they typically require extensive training schedules—often exceeding 50 or 100 epochs—to learn spatial priors from scratch. To mitigate this, researchers have introduced complex workarounds such as auxiliary decoding losses and iterative box refinement. FQDet addresses these challenges by re-introducing geometric intuition through anchor-based priors, enabling rapid convergence and a streamlined architecture.
Methodology
FQDet employs a two-stage architecture designed to provide the transformer decoder with a "warm start" by looking back at classical computer vision techniques.
Anchor-based Priors
Unlike standard DETR variants that initialize queries as points or learned embeddings, Stage 1 of FQDet generates multiple spatial anchors (boxes of various sizes and aspect ratios) at every feature map location. These anchors serve as strong geometric priors. In Stage 2, the transformer's cross-attention mechanism uses these anchors as reference frames, allowing the model to sample features more intelligently from the start.
Static Top-k Matching
A significant bottleneck in query-based training is the instability of Hungarian matching, where query-to-object assignments can fluctuate wildly in early iterations. FQDet replaces this with a static top-k matching scheme. By assigning ground-truth objects to predictions based on the fixed IoU of their underlying anchors, the model receives consistent supervision, which drastically accelerates the learning process.
Architectural Simplification
The effectiveness of anchor priors allows FQDet to discard several common complexities. The model operates without auxiliary decoder losses or iterative bounding box regression. Furthermore, it utilizes a simple L1 loss for box coordinates instead of the more complex GIoU loss, demonstrating that a well-initialized model can achieve high performance with a leaner pipeline.
Experimental Results
The model was evaluated on the MS COCO 2017 dataset using ResNet-50 and ResNeXt-101 backbones combined with a Trident Pyramid Network (TPN).
Convergence and Performance
FQDet demonstrates exceptional training efficiency. With a ResNet-50 backbone, it reaches 45.4 AP on the COCO validation set after only 12 epochs (the "1x" schedule). This performance surpasses established models like Cascade R-CNN (43.9 AP) and the original Deformable DETR (38.9 AP) under the same training constraints. When scaled to a ResNeXt-101 backbone with multi-scale testing, FQDet hits 52.9 AP on the COCO test-dev set.
Ablation Study: Matching Strategy
The choice of matching strategy is critical for fast convergence. As shown in the ablation results, the proposed Top-k matching significantly outperforms traditional Hungarian matching in the short 12-epoch training window, providing a more stable learning signal.
Discussion and Conclusion
The success of FQDet highlights that the slow convergence of query-based detectors is primarily an initialization problem. By providing the decoder with box-shaped reference frames rather than points, the cross-attention mechanism can focus on refining existing spatial information rather than discovering it from scratch. Moreover, the stability provided by static matching ensures that the model's gradient updates are consistent, further shortening the path to convergence.
In summary, FQDet proves that integrating classical geometric intuition into modern transformer architectures can yield a detector that is both high-performing and efficient to train. By simplifying the detection pipeline and focusing on robust initialization, FQDet sets a new standard for fast-converging query-based detection.
Summary updated