Domain Adaptive Attention Model for Unsupervised Cross-Domain Person Re-Identification

Yangru Huang, Peixi Peng, Yi Jin, Junliang Xing, Congyan Lang, Songhe Feng

Abstract

This paper presents the Domain Adaptive Attention Model (DAAM), a novel framework for unsupervised cross-domain person re-identification (Re-ID). DAAM addresses the domain gap between labeled source datasets and unlabeled target datasets by explicitly decomposing feature maps into domain-shared and domain-specific components. By isolating identity-related features from environmental noise and employing a soft-labeling strategy for target data, the proposed method achieves state-of-the-art performance on major benchmarks including Market-1501, DukeMTMC-reID, and MSMT17.

Introduction

Person Re-Identification (Re-ID) aims to match individuals across non-overlapping camera views. While supervised deep learning models excel within specific environments, they often suffer from significant performance degradation when deployed in new domains due to variations in lighting, background, and camera perspectives—a phenomenon known as the domain gap.

Unsupervised Domain Adaptation (UDA) seeks to mitigate this by leveraging labeled source data to learn transferable features for an unlabeled target domain. The primary challenges in UDA for Re-ID are twofold: distinguishing identity-relevant features from environmental noise and training effectively without ground-truth labels in the target domain. DAAM addresses these by focusing on what a model should ignore as much as what it should attend to.

Methodology

The proposed framework consists of two core components: the Domain Adaptive Attention Model (DAAM) and a Soft-Label Learning strategy.

Overview of the DAAM architecture, showing the separation into Domain-Shared (DSH) and Domain-Specific (DSP) branches.

Domain Adaptive Attention Model (DAAM)

DAAM utilizes a residual mechanism to partition the backbone's feature maps into two distinct streams:

  • Domain-Shared (DSH) Branch: This branch focuses on "attentive" regions containing identity-related cues such as clothing patterns, build, and unique visual markers.
  • Domain-Specific (DSP) Branch: This branch captures "residual" information, including background noise, camera-specific lighting conditions, and environmental artifacts.

By supervising the DSP branch with a domain classifier, the model is encouraged to relegate non-transferable information to this branch, ensuring the DSH branch remains clean and focused on robust, cross-domain identity features.

Soft-Label Learning

To handle the absence of labels in the target domain, many UDA methods rely on clustering (e.g., DBSCAN) to generate pseudo-labels. However, these labels are often noisy and prone to error. DAAM introduces a Soft-Label Cross-Entropy Loss that assigns weights based on the distance of an image to its cluster center. This probabilistic approach prevents the model from overfitting to incorrect pseudo-labels, enhancing training stability during the early stages of unsupervised learning.

Experiments and Results

The model was evaluated on three major benchmarks: Market-1501, DukeMTMC-reID, and MSMT17.

Visualization of attention maps on Market-1501 and DukeMTMC-reID datasets, illustrating the separation of person-related (b) and background (c) features.

DAAM significantly outperformed existing unsupervised methods across all tasks. For the Duke → Market-1501 task, it achieved a mean Average Precision (mAP) of 67.8%, a 9.5% improvement over the previous state-of-the-art (SSG). Similarly, for Market → DukeMTMC-reID, it reached 63.9% mAP, a 10.5% improvement. On the large-scale and more complex MSMT17 dataset, the model showed substantial gains in Rank-1 accuracy (12.9% to 18.5%), demonstrating its scalability to diverse real-world environments.

Conclusion

The DAAM framework introduces a "residual" philosophy to attention mechanisms, emphasizing that ignoring environmental noise is as critical as attending to identity features. By combining explicit feature separation with a robust soft-labeling strategy, DAAM provides a computationally efficient alternative to complex GAN-based domain adaptation methods. Future work includes reducing dependency on labeled source data and incorporating temporal cues from video sequences to further improve feature disentanglement.

Summary updated

BibTeX
@inproceedings{huang2020domain,
  author = {Yangru Huang and Peixi Peng and Yi Jin and Junliang Xing and Congyan Lang and Songhe Feng},
  title = {{Domain Adaptive Attention Model for Unsupervised Cross-Domain Person Re-Identification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6762},
}
Figure