Skip to main content
QUICK REVIEW

[Paper Review] Part-Aware Transformer for Generalizable Person Re-identification

Hao Ni, Yuke Li|arXiv (Cornell University)|Aug 7, 2023
Video Surveillance and Tracking MethodsComputer Science3 citations
TL;DR

This paper proposes Part-Aware Transformer, a vision transformer-based model for domain generalization in person re-identification (DG-ReID). It introduces Cross-ID Similarity Learning (CSL) to mine ID-agnostic local visual similarities across different identities, reducing overfitting to domain-specific biases, and employs Part-guided Self-Distillation (PSD) to enhance global feature generalization. The method achieves state-of-the-art performance, improving Rank-1 by 10.9% and mAP by 12.8% on the Market→Duke setting.

ABSTRACT

Domain generalization person re-identification (DG-ReID) aims to train a model on source domains and generalize well on unseen domains. Vision Transformer usually yields better generalization ability than common CNN networks under distribution shifts. However, Transformer-based ReID models inevitably over-fit to domain-specific biases due to the supervised learning strategy on the source domain. We observe that while the global images of different IDs should have different features, their similar local parts (e.g., black backpack) are not bounded by this constraint. Motivated by this, we propose a pure Transformer model (termed Part-aware Transformer) for DG-ReID by designing a proxy task, named Cross-ID Similarity Learning (CSL), to mine local visual information shared by different IDs. This proxy task allows the model to learn generic features because it only cares about the visual similarity of the parts regardless of the ID labels, thus alleviating the side effect of domain-specific biases. Based on the local similarity obtained in CSL, a Part-guided Self-Distillation (PSD) is proposed to further improve the generalization of global features. Our method achieves state-of-the-art performance under most DG ReID settings. Under the Market$ o$Duke setting, our method exceeds state-of-the-art by 10.9% and 12.8% in Rank1 and mAP, respectively. The code is available at https://github.com/liyuke65535/Part-Aware-Transformer.

Motivation & Objective

  • To address the challenge of domain shift in person re-identification by improving model generalization across unseen domains.
  • To mitigate overfitting to domain-specific biases in vision transformer-based ReID models.
  • To learn generic, ID-agnostic local visual representations by leveraging intrinsic visual similarities across different identities.
  • To enhance global feature generalization through a novel self-distillation strategy guided by local part similarities.
  • To establish a pure Transformer-based framework for domain generalization in person re-identification.

Proposed method

  • Introduces Cross-ID Similarity Learning (CSL), a proxy task that mines visual similarities among local image parts across different identities without using ID labels.
  • Employs part-aware attention to generate localized representations by concatenating part tokens with image patches in region-of-interests.
  • Uses a memory bank to compute similarity between current local features and all samples, identifying visually similar parts across identities.
  • Proposes Part-guided Self-Distillation (PSD), where soft labels for global features are constructed using the similarity results from CSL to guide feature learning.
  • Applies a temperature-controlled softmax-clustering loss to stabilize training and improve feature clustering in the local representation space.
  • Fuses attention maps from shallow layers to visualize and validate that part tokens focus on discriminative local regions like backpacks and coats.

Experimental results

Research questions

  • RQ1Can a vision transformer-based model achieve better generalization in domain generalization person re-identification than CNNs?
  • RQ2Does learning ID-agnostic local visual similarities improve generalization in ReID under domain shift?
  • RQ3Can a proxy task based on visual similarity across identities reduce overfitting to domain-specific biases in supervised learning?
  • RQ4Does self-distillation guided by local part similarities outperform conventional self-distillation in fine-grained ReID tasks?
  • RQ5How does the number of part tokens and temperature hyperparameters affect model performance?

Key findings

  • The proposed Part-Aware Transformer achieves state-of-the-art performance on multiple DG-ReID benchmarks, including Market→Duke, Market→CUHK03-NP, and Market→MSMT.
  • On the Market→Duke setting, the model improves Rank-1 accuracy by 10.9% and mAP by 12.8% over the previous state-of-the-art.
  • The CSL module alone boosts performance significantly, demonstrating the effectiveness of learning ID-agnostic local similarities.
  • Part-guided Self-Distillation (PSD) further improves generalization, outperforming conventional self-distillation, which degrades performance in fine-grained ReID.
  • The optimal temperature hyperparameter τ = 0.02 yields the best performance on the Market dataset, with instability observed at very low or high values.
  • Dividing the image into three parts yields the best performance, with marginal gains from more or fewer parts, confirming the effectiveness of a moderate number of part tokens.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.