HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Enhanced Training of Query-Based Object Detection via Selective Query Recollection

Fangyi Chen Han Zhang Kai Hu Yu-kai Huang Chenchen Zhu Marios Savvides

Enhanced Training of Query-Based Object Detection via Selective Query Recollection

Abstract

This paper investigates a phenomenon where query-based object detectors mispredict at the last decoding stage while predicting correctly at an intermediate stage. We review the training process and attribute the overlooked phenomenon to two limitations: lack of training emphasis and cascading errors from decoding sequence. We design and present Selective Query Recollection (SQR), a simple and effective training strategy for query-based object detectors. It cumulatively collects intermediate queries as decoding stages go deeper and selectively forwards the queries to the downstream stages aside from the sequential structure. Such-wise, SQR places training emphasis on later stages and allows later stages to work with intermediate queries from earlier stages directly. SQR can be easily plugged into various query-based object detectors and significantly enhances their performance while leaving the inference pipeline unchanged. As a result, we apply SQR on Adamixer, DAB-DETR, and Deformable-DETR across various settings (backbone, number of queries, schedule) and consistently brings 1.4-2.8 AP improvement.

Code Repositories

IDEA-Research/detrex
Official
pytorch
fangyi-chen/sqr
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
object-detection-on-coco-2017-valSQR-Adamixer-R101
AP: 49.8
object-detection-on-coco-2017-valSQR-Adamixer-R50
AP: 48.9

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Enhanced Training of Query-Based Object Detection via Selective Query Recollection | Papers | HyperAI