Integrating Diverse Assignment Strategies into DETRs
Yiwei Zhang, Jin Gao, Hanshi Wang, Fudong Ge, Guan Luo, Weiming Hu, Zhipeng Zhang
TL;DR
This work tackles the slow convergence of DETR-style detectors caused by strict one-to-one matching by revealing that diversity in one-to-many assignment strategies, not their quantity, drives performance gains. It introduces LoRA-DETR, a lightweight framework that attaches multiple LoRA-based auxiliary branches to the decoder FFN during training, each implementing a different one-to-many supervision rule, while discarding these branches at inference to keep cost unchanged. Through a unified design, LoRA-DETR demonstrates robust gains across baselines (e.g., Deformable-DETR and Relation-DETR) and achieves state-of-the-art or competitive results with improved training efficiency, such as reaching 52.1 AP after 24 epochs on COCO in some settings. The approach highlights a new paradigm for enriching supervision in DETR-like detectors by leveraging diverse, parameter-efficient auxiliary tasks without architectural complexity at inference.
Abstract
Label assignment is a critical component in object detectors, particularly within DETR-style frameworks where the one-to-one matching strategy, despite its end-to-end elegance, suffers from slow convergence due to sparse supervision. While recent works have explored one-to-many assignments to enrich supervisory signals, they often introduce complex, architecture-specific modifications and typically focus on a single auxiliary strategy, lacking a unified and scalable design. In this paper, we first systematically investigate the effects of ``one-to-many'' supervision and reveal a surprising insight that performance gains are driven not by the sheer quantity of supervision, but by the diversity of the assignment strategies employed. This finding suggests that a more elegant, parameter-efficient approach is attainable. Building on this insight, we propose LoRA-DETR, a flexible and lightweight framework that seamlessly integrates diverse assignment strategies into any DETR-style detector. Our method augments the primary network with multiple Low-Rank Adaptation (LoRA) branches during training, each instantiating a different one-to-many assignment rule. These branches act as auxiliary modules that inject rich, varied supervisory gradients into the main model and are discarded during inference, thus incurring no additional computational cost. This design promotes robust joint optimization while maintaining the architectural simplicity of the original detector. Extensive experiments on different baselines validate the effectiveness of our approach. Our work presents a new paradigm for enhancing detectors, demonstrating that diverse ``one-to-many'' supervision can be integrated to achieve state-of-the-art results without compromising model elegance.
