Abstract
Person Re-Identification (ReID) requires capturing fine-grained visual details to distinguish between individuals across different camera views. While self-supervised pre-training on large-scale unlabeled person datasets has shown promise, standard methods often collapse local features into a global average, losing critical part-level information. We present PASS (Part-Aware Self-Supervised Pre-Training), a framework that introduces learnable [PART] tokens to the Vision Transformer (ViT) architecture. By anchoring these tokens to specific spatial regions during pre-training, PASS forces the model to learn discriminative, part-level representations without manual labels. PASS achieves state-of-the-art performance across supervised, unsupervised, and domain-adaptation ReID tasks.
Introduction
Person Re-Identification (ReID)—the task of spotting the same individual across different cameras—relies heavily on fine-grained details like the color of a shoe or a pattern on a shirt. Traditionally, models are pre-trained on ImageNet, but there is a massive domain gap between identifying "1,000 categories of objects" and "specific human individuals."
While recent research has shifted toward pre-training on large-scale unlabeled person datasets (like LUPerson) using Self-Supervised Learning (SSL), they typically use "off-the-shelf" methods like DINO. These methods try to match the features of a small "local" crop (e.g., a red sleeve) to the features of a "global" view (the whole person). The authors of PASS argue this is suboptimal: it forces the model to discard local details to find a global average, effectively trying to make the representation of a "red sleeve" identical to the representation of the "whole person."
Methods
The PASS framework adapts the Vision Transformer (ViT) architecture to be "part-aware" during pre-training through several key innovations:
- The [PART] Tokens: Standard ViTs use a single
[CLS]token to represent an entire image. PASS introduces multiple learnable[PART]tokens. - Region-Specific Matching: The image is divided into several fixed, overlapping local areas. When a local view is cropped from a specific region (e.g., "Area 1"), it is assigned to a corresponding token (e.g.,
[PART]1). - Teacher-Student Distillation: Like DINO, PASS uses a student network and a teacher network (an exponential moving average of the student). The Global View (whole image) is passed through both networks and contains all
[PART]tokens. The Local View (a crop) is passed only through the student and contains only the[PART]token corresponding to its specific region. - The Loss Function: The student is trained to match the teacher’s output for the same token. This means
[PART]1in a local crop is only compared to[PART]1in the global image. This prevents the "feature collapse" seen in standard SSL and forces each token to become an expert on a specific spatial region.
Key Insights and Ideas
Avoiding Semantic Confusion
In standard SSL, a model might be forced to match a "blue shorts" crop to a "red shirt" global feature because it only uses a single global token. PASS solves this by anchoring tokens to spatial regions, ensuring the model learns that "top parts" should match "top parts." This spatial consistency is vital for ReID, where the relative position of features (head above torso, torso above legs) is generally stable.
Automatic Part Discovery
Even though the regions are defined by a simple grid during pre-training, the attention maps show that the [PART] tokens naturally learn to follow semantic body parts (like legs or torsos). This allows the model to become robust to occlusions; for example, if a person is carrying a box that hides their torso, the tokens for the head and legs can still provide reliable identification features.
Efficiency in Fine-tuning
Because the model learns part-level logic during pre-training, it doesn't need complex "part-stripping" modules or auxiliary semantic parsing models during the final ReID task. For downstream fine-tuning, one can simply concatenate the [CLS] and [PART] tokens to form a comprehensive person descriptor.
Key Results
PASS sets new state-of-the-art (SOTA) benchmarks across the board using a vanilla ViT-S/16 backbone:
- Supervised ReID (Market-1501): Achieved 92.2% mAP, outperforming previous SOTA methods that used much larger models or more complex architectures.
- Unsupervised Domain Adaptation (MSMT17 → Market-1501): Achieved 90.2% Rank-1 accuracy, a significant jump over the baseline DINO method.
- Unsupervised Learning (Market-1501): Achieved 88.5% mAP, proving that the pre-trained representations are incredibly strong even without target-set labels.
- Qualitative Success: Visualization shows that PASS is much better than DINO at discriminating between extremely similar-looking people by focusing on "identifiable tiny clues" like clothing patterns.
Limitations and Future Work
While PASS is highly effective, it currently relies on a Fixed Grid Assumption. The method divides images into fixed horizontal/overlapping areas, which works well for the generally upright orientation of people in ReID datasets but might struggle with more varied poses or non-human subjects. Additionally, the Computational Cost of pre-training on 4.18 million images is significant; pre-training a ViT-B backbone took 120 hours on 8×A100 GPUs.
Future research may extend this part-aware logic to other fine-grained visual categorization tasks beyond person ReID, such as vehicle identification or bird species classification, where spatial part consistency is also a key feature.
Summary updated