Abstract
Person search unifies person detection and person re-identification (Re-ID) to locate query persons from panoramic gallery images. A major challenge is the imbalanced long-tail person identity distributions, which prevents one-step models from learning discriminative features. Traditional long-tail classification techniques, like image-level re-sampling, are difficult to apply to detection-based multi-task frameworks. We propose a Subtask-dominated Transfer Learning (STL) method that solves the long-tail problem during a Re-ID-focused pretraining stage. We further introduce a Multi-level RoI Fusion Pooling (MRFP) layer to enhance feature discrimination. Extensive experiments on CUHK-SYSU and PRW datasets demonstrate the superiority of our approach.
The Challenge of Long-tail Person Search
One-step person search models are preferred for their efficiency, handling both detection and re-identification in a single pass. However, real-world datasets exhibit a severe "long-tail" distribution: a few identities appear frequently, while thousands of others appear only once or twice.
In standard classification, re-sampling the data helps the model learn rare classes. In one-step person search, this is problematic. A single panoramic image often contains both "head" (common) and "tail" (rare) individuals. Re-sampling an image to expose the model to a rare identity inadvertently over-exposes it to common ones, making traditional balancing techniques both imbalanced and inefficient.
Subtask-dominated Transfer Learning (STL)
To address this, we propose the STL method, which shifts the burden of balancing the distribution to a specialized pretraining stage. The core philosophy is that the Re-ID subtask is the bottleneck of person search. By "dominating" the training process with Re-ID-focused pretraining, the model develops a more discriminative feature space.
Step 1: Dominated Subtask Pretraining
Instead of initializing with generic ImageNet weights, we pretrain the backbone on a Re-ID task using cropped person images. This allows for class-aware sampling, ensuring every identity appears equally in a batch. Using triplet and center losses, the model learns to extract robust features even for "tail" identities.
Step 2: Transfer Learning
These specialized weights initialize the one-step person search model. Because the model is already proficient at distinguishing people, it can easily adapt to the detection task while maintaining high Re-ID accuracy.
Multi-level RoI Fusion Pooling (MRFP)
Standard models often pool features from a single high-level layer, which can lose fine-grained spatial details like clothing patterns. Our MRFP layer crops feature maps from both low-level (conv2_x) and high-level (conv3_x) layers. By fusing these via pixel-wise summation, we provide the identification network with a richer set of details, further improving performance.
Experimental Results
The proposed method achieves state-of-the-art performance, particularly on the challenging PRW dataset:
- PRW Dataset: Achieved 61.6% mAP, a significant improvement over previous one-step methods (e.g., IGPN at 47.2%) and even outperforming strong two-step methods.
- CUHK-SYSU: Achieved 93.1% mAP, matching or exceeding complex state-of-the-art models.
- Efficiency: The model maintains a high speed of 40.6 FPS on a Tesla V100, making it suitable for real-time applications.
An ablation study confirmed that STL alone (using ImageNet vs. Re-ID pretraining) improved mAP by 6.5% on the PRW dataset, proving that a Re-ID-centric initialization is key to overcoming the long-tail distribution problem.
Conclusion
Subtask-dominated Transfer Learning offers a simple yet effective way to handle imbalanced data in multi-task vision problems. By focusing on the most difficult subtask during pretraining, we can build models that are both more accurate and more efficient than those relying on traditional image-level sampling.
Summary updated