Unleashing the Potential of Unsupervised Pre-Training with Intra-Identity Regularization for Person Re-Identification

Zizheng Yang, Xin Jin, Kecheng Zheng, Feng ZhaoarXiv 2021

Abstract

Person Re-Identification (ReID) is a fine-grained classification task that distinguishes individuals across non-overlapping camera views. While standard unsupervised pre-training has shown promise, it often suffers from augmentation distortion and under-explored local features in the ReID domain. We present UP-ReID, an unsupervised pre-training framework that introduces Intra-Identity ($I^2$) Regularization. By enforcing consistency between augmented and original images and leveraging human body symmetry for local feature mining, UP-ReID significantly outperforms standard ImageNet and general self-supervised pre-training, achieving state-of-the-art performance and faster convergence on benchmark datasets.

Introduction: The Challenge of Person Re-ID

Person Re-Identification is inherently a "fine-grained" task. Unlike general image classification (e.g., distinguishing a dog from a car), ReID requires distinguishing between different individuals who may share many visual attributes, such as clothing color or general build.

Traditionally, ReID models are initialized with weights pre-trained on ImageNet. However, a significant domain gap exists: ImageNet focuses on coarse categories, whereas ReID relies on subtle, discriminative clues. Recent attempts to bridge this gap using unsupervised pre-training on large ReID-specific datasets (like LUPerson) have faced two primary hurdles:

  1. Augmentation Distortion: Standard data augmentations (e.g., heavy cropping, color jittering) can inadvertently destroy the minute details—like a specific backpack strap or shoe pattern—essential for identity verification.
  2. Under-explored Local Features: Most general-purpose pre-training focuses on global image features, neglecting the local details that are often the only way to distinguish between similar-looking people.
Augmentation distortion in general classification vs. person ReID.

Proposed Method: UP-ReID

The proposed UP-ReID framework addresses these issues by incorporating Intra-Identity ($I^2$) Regularization into a standard contrastive learning pipeline. The framework utilizes an online encoder and a momentum-based EMA encoder, enhanced by two key components:

Global Consistency Constraint

To mitigate the destructive effects of data augmentation, the model enforces consistency between the features of augmented images and the original, un-augmented image. By using the raw image as a ground-truth anchor, the model is encouraged to "remember" the true discriminative attributes that might be obscured during the augmentation process.

Intrinsic Contrastive Constraint (ICC)

UP-ReID partitions images into local patches to capture fine-grained details. To ensure these patches are semantically meaningful, the authors introduce a Hard Mining Strategy based on the inductive bias of human body symmetry:

  • Hard Positives: A patch is paired with its horizontally symmetric counterpart (e.g., left shoulder vs. right shoulder).
  • Hard Negatives: Patches from different individuals located at the same spatial position are treated as negatives, forcing the model to identify subtle differences in similar body regions.
The UP-ReID framework architecture featuring Intra-Identity Regularization.

Experiments and Key Results

The model was pre-trained on the LUPerson dataset, which contains over 4 million unlabeled images. Evaluation was conducted on several benchmarks, including Market1501, CUHK03, MSMT17, and the synthetic PersonX dataset.

  • Performance Gains: UP-ReID consistently outperformed both ImageNet-supervised (INSUP) and general unsupervised (MoCo) pre-training. For instance, on the CUHK03 dataset using the MGN architecture, UP-ReID improved Rank-1 accuracy by 12.2% over MoCo.
  • State-of-the-Art Results: Combined with standard ReID architectures, the framework achieved top-tier results, such as 91.1% mAP on Market1501.
  • Efficiency: Beyond accuracy, UP-ReID weights provide a superior starting point, leading to significantly faster convergence during the fine-tuning stage.
  • Qualitative Analysis: Feature visualizations indicate that UP-ReID focuses more precisely on identity-defining attributes like bags and shoes, whereas general pre-training methods often produce noisier attention maps.

Conclusion

UP-ReID demonstrates that unsupervised pre-training for ReID can be significantly improved by tailoring the learning objectives to the specific constraints of the task. By introducing intra-identity regularization and leveraging human symmetry, the framework effectively handles augmentation distortion and mines discriminative local features. Future work may extend these principles to Vision Transformers (ViTs) and more challenging scenarios like occluded person ReID.

Summary updated

BibTeX
@misc{yang2021unleashing,
  author = {Zizheng Yang and Xin Jin and Kecheng Zheng and Feng Zhao},
  title = {{Unleashing the Potential of Unsupervised Pre-Training with Intra-Identity Regularization for Person Re-Identification}},
  year = {2021},
  eprint = {2112.00317},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.00317},
}
Figure