RFAssigner: A Generic Label Assignment Strategy for Dense Object Detection
Ziqian Guan, Xieyi Fu, Yuting Wang, Haowen Xiao, Jiarui Zhu, Yingying Zhu, Yongtao Liu, Lin Gu
TL;DR
RFAssigner addresses scale imbalance in dense object detection by combining an initial point-prior positive set with Gaussian Receptive Field (GRF) based supplementary positives, all within a differentiable framework. It models each ground-truth object and each feature point as 2D Gaussians and computes a receptive-field distance using the Gaussian Combined Distance (GCD), converting it to a similarity with $\text{RFD} = \exp(-\sqrt{D_{gc}^{2}(\mathcal{N}_{gt}, \mathcal{N}_{tr})})$. Ambiguous Matching further reassigns difficult unassigned samples to multiple GTs via a masked combination $M_{result}=M_{p}+M_{f}(1-M_{p})$, balancing positives without altering the negative center-prior. Across AI-TOD-v2, VisDrone-2019, and COCO-2017, RFAssigner demonstrates consistent improvements over prior label assignment methods, with RFAssigner* achieving strong cross-scale performance when leveraging finer FPN levels, all without increasing inference cost.
Abstract
Label assignment is a critical component in training dense object detectors. State-of-the-art methods typically assign each training sample a positive and a negative weight, optimizing the assignment scheme during training. However, these strategies often assign an insufficient number of positive samples to small objects, leading to a scale imbalance during training. To address this limitation, we introduce RFAssigner, a novel assignment strategy designed to enhance the multi-scale learning capabilities of dense detectors. RFAssigner first establishes an initial set of positive samples using a point-based prior. It then leverages a Gaussian Receptive Field (GRF) distance to measure the similarity between the GRFs of unassigned candidate locations and the ground-truth objects. Based on this metric, RFAssigner adaptively selects supplementary positive samples from the unassigned pool, promoting a more balanced learning process across object scales. Comprehensive experiments on three datasets with distinct object scale distributions validate the effectiveness and generalizability of our method. Notably, a single FCOS-ResNet-50 detector equipped with RFAssigner achieves state-of-the-art performance across all object scales, consistently outperforming existing strategies without requiring auxiliary modules or heuristics.
