Subtask-dominated Transfer Learning for Long-tail Person Search

Chuang Liu, Hua Yang, Qin Zhou, Shibao ZhengarXiv 2021

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.

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.

Long-tail distributions and the limitations of standard re-sampling strategies in one-step person search.

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.

The two-step STL framework: (1) Pretraining on balanced cropped images and (2) Transfer learning to the full person search task.

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

Abstract

Person search unifies person detection and person re-identification (Re-ID) to locate query persons from the panoramic gallery images. One major challenge comes from the imbalanced long-tail person identity distributions, which prevents the one-step person search model from learning discriminative person features for the final re-identification. However, it is under-explored how to solve the heavy imbalanced identity distributions for the one-step person search. Techniques designed for the long-tail classification task, for example, image-level re-sampling strategies, are hard to be effectively applied to the one-step person search which jointly solves person detection and Re-ID subtasks with a detection-based multi-task framework. To tackle this problem, we propose a Subtask-dominated Transfer Learning (STL) method. The STL method solves the long-tail problem in the pretraining stage of the dominated Re-ID subtask and improves the one-step person search by transfer learning of the pretrained model. We further design a Multi-level RoI Fusion Pooling layer to enhance the discrimination ability of person features for the one-step person search. Extensive experiments on CUHK-SYSU and PRW datasets demonstrate the superiority and effectiveness of the proposed method.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CUHK-SYSUProposed method (STL + MRFP)mAP93.1%Person Search
Source quote
L166: Comparison on CUHK-SYSU. The results on the CUHK-SYSU dataset are reported in Table~\ref{tab:comparison with SOTA}. Our proposed method achieves 93.1% mAP and 94.2% top-1 accuracy, surpassing most compared methods. It is observed that methods TCTS~\cite{wang2020tcts} and PSFL~\cite{kim2021prototype} obtain higher performance than ours. The TCTS method is two-step, requiring two independent models (a person detector and a person Re-ID model) to tackle the person search problem. In contrast, our method is one-step and solves the person search problem in a multi-task framework with fewer computations. The PSFL method designs a Prototype Guided Attention Module for saliency feature learning in the one-step person search framework. Even if our method does not contain an attention module for saliency feature learning, it still obtains comparable performance with the PSFL method.
CUHK-SYSUProposed method (STL + MRFP)top-1 accuracy94.2%Person Search
Source quote
L166: Comparison on CUHK-SYSU. The results on the CUHK-SYSU dataset are reported in Table~\ref{tab:comparison with SOTA}. Our proposed method achieves 93.1% mAP and 94.2% top-1 accuracy, surpassing most compared methods. It is observed that methods TCTS~\cite{wang2020tcts} and PSFL~\cite{kim2021prototype} obtain higher performance than ours. The TCTS method is two-step, requiring two independent models (a person detector and a person Re-ID model) to tackle the person search problem. In contrast, our method is one-step and solves the person search problem in a multi-task framework with fewer computations. The PSFL method designs a Prototype Guided Attention Module for saliency feature learning in the one-step person search framework. Even if our method does not contain an attention module for saliency feature learning, it still obtains comparable performance with the PSFL method.
PRWBaseline (ImageNet)+MRFPmAP53.0%Person Search
Source quote
L177: Baseline (STL) │ \bf57.1 │ \bf88.3 Baseline (ImageNet)+MRFP │ 53.0 │ 87.7
PRWBaseline (ImageNet)+MRFPtop-1 accuracy87.7%Person Search
Source quote
L177: Baseline (STL) │ \bf57.1 │ \bf88.3 Baseline (ImageNet)+MRFP │ 53.0 │ 87.7
BibTeX
@misc{liu2021subtask,
  author = {Chuang Liu and Hua Yang and Qin Zhou and Shibao Zheng},
  title = {{Subtask-dominated Transfer Learning for Long-tail Person Search}},
  year = {2021},
  eprint = {2112.00527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.00527},
}
Figure