DDAM-PS: Diligent Domain Adaptive Mixer for Person Search

Mohammed Khaleed Almansoori, Mustansar Fiaz, Hisham Cholakkal

Abstract

Person search (PS) is a challenging computer vision problem where the objective is to achieve joint optimization for pedestrian detection and re-identification (ReID). Although previous advancements have shown promising performance in the field under fully and weakly supervised learning fashion, there exists a major gap in investigating the domain adaptation ability of PS models. In this paper, we propose a diligent domain adaptive mixer (DDAM) for person search (DDAP-PS) framework that aims to bridge a gap to improve knowledge transfer from the labeled source domain to the unlabeled target domain. Specifically, we introduce a novel DDAM module that generates moderate mixed-domain representations by combining source and target domain representations. The proposed DDAM module encourages domain mixing to minimize the distance between the two extreme domains, thereby enhancing the ReID task. To achieve this, we introduce two bridge losses and a disparity loss. Furthermore, we address the conflict between the two subtasks, localization and ReID, during domain adaptation by forcefully decoupling the norm-aware embedding. Our approach demonstrates favorable performance on the challenging PRW and CUHK-SYSU datasets.

Introduction

Person Search (PS) is a complex computer vision task that requires a model to simultaneously detect pedestrians in a scene and re-identify (ReID) specific individuals across different cameras. These two subtasks are inherently conflicting: detection seeks "common" features to identify any human, while ReID seeks "unique" features to distinguish one person from another.

The challenge intensifies in real-world scenarios where we have labeled data for one environment (the source domain) but need the model to work in a completely different, unlabeled environment (the target domain). This is known as Unsupervised Domain Adaptation (UDA). Existing methods often struggle to transfer knowledge effectively because the "domain gap"—the difference in lighting, camera angles, and backgrounds—is too wide for simple alignment techniques to bridge.

Proposed Method: DDAM-PS

The DDAM-PS framework introduces a novel approach to bridge the domain gap by creating intermediate "mixed-domain" representations.

Conceptual overview of domain mixing via DDAM.

Diligent Domain Adaptive Mixer (DDAM)

Instead of trying to force the target features to look exactly like the source features, the DDAM module creates a "bridge." It generates moderate mixed-domain representations ($F^{mix}$) by blending source ($F^s$) and target ($F^t$) features using learned constraint weights ($c^s, c^t$). This creates a smoother path for knowledge transfer.

Detailed architecture of the DDAM-PS framework and the DDAM module.

Specialized Losses

To guide the learning of these mixed representations, the authors introduce three specialized losses:

  • Bridge Losses ($L^f_{bridge}$ and $L^\phi_{bridge}$): These ensure the mixed-domain features stay on the "shortest path" between the source and target in the feature space, preventing the model from wandering into irrelevant areas of the hyperspace.
  • Disparity Loss ($L_{disp}$): This forces the mixer to be diverse, preventing the model from becoming biased toward just one domain and helping it avoid overfitting.

Decoupled Norm-aware Embedding (NAE)

Standard NAE models often share weights for detection and ReID. DDAM-PS "forcefully decouples" these embeddings. This allows the model to optimize detection (focusing on commonalities) and ReID (focusing on uniqueness) independently during the adaptation process, reducing cross-task conflict.

Experimental Results

The model was evaluated on two primary benchmarks: CUHK-SYSU and PRW (Pedestrian Retrieval in the Wild).

DDAM-PS outperforms previous state-of-the-art UDA methods (like DAPS) across both major datasets:

  • On PRW: It achieved 36.7% mAP and 81.2% top-1 accuracy, a significant improvement over DAPS (34.7% mAP).
  • On CUHK-SYSU: It reached 79.5% mAP and 81.3% top-1 accuracy, surpassing DAPS (77.6% mAP).

Ablation studies confirmed that the combination of bridge losses and the disparity loss is crucial; removing any single component led to a measurable drop in performance.

Conclusion

DDAM-PS introduces a novel framework to bridge the gap between labeled source data and unlabeled target data in person search tasks. By creating intermediate "mixed-domain" representations and decoupling the conflicting subtasks of detection and ReID, the framework achieves state-of-the-art performance in unsupervised domain adaptation. While the model still faces challenges in cases of extreme lighting or occlusion, its success in creating a "moderate" middle ground for domain invariant feature learning offers a promising direction for future research in UDA for person search.

Summary updated

Abstract

Person search (PS) is a challenging computer vision problem where the objective is to achieve joint optimization for pedestrian detection and re-identification (ReID). Although previous advancements have shown promising performance in the field under fully and weakly supervised learning fashion, there exists a major gap in investigating the domain adaptation ability of PS models. In this paper, we propose a diligent domain adaptive mixer (DDAM) for person search (DDAP-PS) framework that aims to bridge a gap to improve knowledge transfer from the labeled source domain to the unlabeled target domain. Specifically, we introduce a novel DDAM module that generates moderate mixed-domain representations by combining source and target domain representations. The proposed DDAM module encourages domain mixing to minimize the distance between the two extreme domains, thereby enhancing the ReID task. To achieve this, we introduce two bridge losses and a disparity loss. The objective of the two bridge losses is to guide the moderate mixed-domain representations to maintain an appropriate distance from both the source and target domain representations. The disparity loss aims to prevent the moderate mixed-domain representations from being biased towards either the source or target domains, thereby avoiding overfitting. Furthermore, we address the conflict between the two subtasks, localization and ReID, during domain adaptation. To handle this cross-task conflict, we forcefully decouple the norm-aware embedding, which aids in better learning of the moderate mixed-domain representation. We conduct experiments to validate the effectiveness of our proposed method. Our approach demonstrates favorable performance on the challenging PRW and CUHK-SYSU datasets. Our source code is publicly available at \url{https://github.com/mustansarfiaz/DDAM-PS}.
BibTeX
@inproceedings{almansoori2024ddam,
  author = {Mohammed Khaleed Almansoori and Mustansar Fiaz and Hisham Cholakkal},
  title = {{DDAM-PS: Diligent Domain Adaptive Mixer for Person Search}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00655},
}
Figure