Learn from Restoration: Exploiting Oriented Knowledge Distillation in Self-Supervised Learning for Person Re-Identification

Enze Yang, Yuxin Liu, Shitao Zhao, Yiran Liu, Shuoyan LiuResearch Square 2024

Abstract

Person Re-IDentification (person ReID) aims to identify individuals across diverse surveillance scenarios, which plays a pivotal role in centralized monitoring. However, very recent studies pre-trained their models on ImageNet and fine-tuned on specific downstream ReID datasets, which leads to restricted generalization capability of person-centered tasks. Addressing this limitation, this paper introduces a Self-Supervised Learning (SSL) model with Oriented Token Prior guided Knowledge Distillation. The proposed approach adopts the teacher-student network and attempts to not only restore the masked or low-quality samples but also to align the semantics of the patches in the feature domain. Within this framework, our model is pre-trained on a person-specific dataset LUPerson, which indicates a larger data scale with person-centered samples. Extensive experiments carried out on ReID datasets Market1501, MSMT17, and Occluded-Duke show that the proposed method yields state-of-the-art performance among supervised and SSL ReID methods. Moreover, the proposed method obtains remarkable performance in partial supervised and unsupervised learning, further indicating strong generalizability and robustness. The code is publicly available at https://github.com/ICT-CVlab/Oriented-KD-SSL.

Introduction

Person Re-Identification (ReID) is the task of matching the same individual across different, non-overlapping camera views. It is a cornerstone of modern surveillance and public safety systems. However, a significant challenge in the field is the "domain gap" created when models are pre-trained on general datasets like ImageNet. ImageNet focuses on broad object categories, whereas ReID requires the identification of fine-grained human features—such as specific clothing patterns or accessories—often in low-quality footage. Real-world surveillance images are frequently plagued by motion blur, low resolution, and occlusions, making standard pre-training strategies less effective.

Methodology: Oriented Knowledge Distillation

The authors propose a self-supervised learning framework called Oriented Knowledge Distillation. This framework utilizes a teacher-student architecture where the student learns to "restore" degraded images by matching the feature representations of a teacher seeing the original, high-quality images.

The core innovation lies in the use of Oriented Mask Priors during pre-training. Two specific transformations are applied to the student's input:

  1. Low-Quality (LQ) Transformation: Simulates real-world noise using Gaussian blur, motion blur, and down-sampling.
  2. Random Mask (RM): Randomly hides patches of the image, forcing the model to infer missing body parts from the surrounding context.
The proposed self-supervised pre-training methodology incorporating Oriented Mask Prior with knowledge distillation.

By aligning both global ([CLS] token) and local (patch-level) features between the teacher and student, the model learns "invariant semantics"—features that remain consistent regardless of whether the person is blurry, partially hidden, or seen in high definition.

Experimental Results

The model was pre-trained on LUPerson, a massive dataset containing over 4 million unlabeled images of 200,000 different people. This person-specific pre-training provides a much more relevant foundation than general-purpose datasets.

The framework was evaluated on three standard ReID benchmarks: Market1501, MSMT17, and Occluded-Duke. The proposed method achieved state-of-the-art (SOTA) performance across all datasets. Notably, it reached 61.5% mAP on Occluded-Duke, significantly outperforming existing methods on this challenging task.

Data Efficiency and Generalization

One of the most significant findings is the model's data efficiency. In partial supervised learning tests, the model demonstrated remarkable resilience. Even when trained on only 20% or 40% of the available labeled data, its performance remained robust, often surpassing other models that utilized 100% of the labels.

Performance of partial supervised transfer learning on MSMT17 and Occluded-Duke datasets, showing the model's resilience with limited data.

Conclusion

This research demonstrates that teaching models to "restore" degraded images through self-supervised distillation is a powerful strategy for Person Re-Identification. By focusing on person-specific data and simulating real-world image degradations during pre-training, the resulting models achieve superior robustness and generalization. Future research could extend this approach to video-based ReID, where temporal consistency can provide additional cues for restoration and identification.

Summary updated

BibTeX
@inproceedings{yang2024learn,
  author = {Enze Yang and Yuxin Liu and Shitao Zhao and Yiran Liu and Shuoyan Liu},
  title = {{Learn from Restoration: Exploiting Oriented Knowledge Distillation in Self-Supervised Learning for Person Re-Identification}},
  booktitle = {Research Square},
  year = {2024},
  doi = {10.21203/rs.3.rs-3920683/v1},
}
Figure