Towards Fully Decoupled End-to-End Person Search

Pengcheng Zhang, Xiao Bai, Jin Zheng, Xin Ning

Introduction

Person search is a complex "two-in-one" computer vision task that requires a system to simultaneously detect all individuals in a raw scene and then re-identify (re-id) a specific target across different camera views. Historically, researchers have approached this using either two-step frameworks (separate detector and re-id models) or end-to-end models. While end-to-end models offer greater efficiency, they often suffer from a fundamental "objective conflict" between their sub-tasks. This paper introduces a fully decoupled end-to-end network that resolves this conflict through a task-incremental learning strategy and a novel side-network architecture.

The core challenge in person search is that detection and re-identification are inherently contradictory. Detection is a unifying task: its goal is to learn generalized features that make all humans look similar so they can be grouped into a single "person" category. Conversely, re-identification is a discriminative task: it seeks to identify the minute, unique differences that distinguish one individual from another.

Most existing end-to-end models utilize a shared backbone with shared parameters for both tasks. This forces the network into a compromised state where neither task can reach its individual optimum. Even "partially decoupled" models that use separate heads often share too many underlying layers, leading to a performance ceiling caused by the "tug-of-war" between detection and re-id loss functions.

Methodology: Full Decoupling via Task-Incremental Learning

The authors propose the Task-incremental Person Search Network, which achieves full decoupling through both its architectural design and its training pipeline.

1. Decoupled Architecture

Instead of a single shared backbone, the model employs two parallel "side-networks": a detection side-net ($f_d$) and a re-id side-net ($f_r$). This separation allows each path to specialize in its specific objective without interference from the other.

2. Task-Incremental Learning (TIL)

The training process is divided into two distinct stages. First, the detection network is trained to its peak performance. Once optimized, the detection parameters are frozen. In the second stage, the re-id side-net is added and trained. By freezing the detection weights, the authors ensure that the re-id objective cannot "corrupt" or degrade the detection features, effectively eliminating the objective conflict.

3. Side-Fusion and Side-Ada

To ensure the re-id task still benefits from the foundational visual knowledge acquired during the detection phase, the authors implement "bridge" modules:

  • Side-Ada: Adjusts and matches feature dimensions between the two paths.
  • Side-Fusion: Blends features from the detection path into the re-id path. The authors explored both homogeneous and heterogeneous versions of this fusion to optimize feature transfer.

4. Spatial-noise Augmentation (SnA)

To decouple the training process further and improve efficiency, the authors introduced Spatial-noise Augmentation. By adding random "noise" (jittering and scaling) to ground-truth bounding boxes during the re-id training phase, they simulate the imperfect proposals a real detector would produce. This allows the re-id head to be trained robustly without the need to run a slow, live detector during every training iteration.

Experimental Results

The proposed method was evaluated on the two primary benchmarks in the field: CUHK-SYSU and PRW (Person Search in the Wild).

Performance Benchmarks

The model established new state-of-the-art (SOTA) marks among decoupled models:

  • CUHK-SYSU: Achieved 93.4% mAP and 94.2% Top-1 accuracy, outperforming previous leading models such as NAE and AlignPS.
  • PRW: Achieved 49.0% mAP and 87.1% Top-1 accuracy. When integrated with transformer-based modules (COAT), the performance on PRW increased significantly to 54.0% mAP.

Efficiency and Inference

Despite the dual-path architecture and increased parameter count, the model remains highly efficient due to its parallel design. Inference times range between 35ms and 64ms per image on an NVIDIA RTX 3090, making the system suitable for real-time applications.

Discussion and Future Work

The authors characterize this work as a strong "baseline" for fully decoupled person search. While the model achieves SOTA performance, it is currently more memory-intensive than coupled models due to the dual side-nets. Future research directions include:

  • Parameter Efficiency: Exploring techniques like knowledge distillation or pruning to reduce the model's memory footprint without sacrificing the benefits of decoupling.
  • Advanced Representations: Integrating multi-scale features or sophisticated attention mechanisms into the decoupled framework to further boost accuracy.
  • Generalization: Addressing the current assumption that task identity is known during inference, which could expand the model's utility in broader incremental learning scenarios.

By demonstrating that "sharing is not always caring" in multi-task learning, this research provides a new blueprint for building high-performance, end-to-end person search systems.

Summary updated

Abstract

End-to-end person search aims to jointly detect and re-identify a target person in raw scene images with a unified model. The detection task unifies all persons while the re-id task discriminates different identities, resulting in conflict optimal objectives. Existing works proposed to decouple end-to-end person search to alleviate such conflict. Yet these methods are still sub-optimal on one or two of the sub-tasks due to their partially decoupled models, which limits the overall person search performance. In this paper, we propose to fully decouple person search towards optimal person search. A task-incremental person search network is proposed to incrementally construct an end-to-end model for the detection and re-id sub-task, which decouples the model architecture for the two sub-tasks. The proposed task-incremental network allows task-incremental training for the two conflicting tasks. This enables independent learning for different objectives thus fully decoupled the model for personsearch. Comprehensive experimental evaluations demonstrate the effectiveness of the proposed fully decoupled models for end-to-end person search.
BibTeX
@inproceedings{zhang2023towards,
  author = {Pengcheng Zhang and Xiao Bai and Jin Zheng and Xin Ning},
  title = {{Towards Fully Decoupled End-to-End Person Search}},
  booktitle = {DICTA},
  year = {2023},
  url = {https://openreview.net/forum?id=23L2VFts4h},
}
Figure