All models

PASS

Vision Transformer for person re-identification with learnable part tokens beside the class token.

Detection and tracking · 356 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (23 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
87.7M
Operations
356
Framework
PyTorch
Recurrent
No
Published
ECCV 2022
Cited by
87 (as of 28 October 2026)
Authors
Kuan Zhu, Haiyun Guo, Tianyi Yan and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19051
Graph hash
282ab5d57e41f9ed877445d45864422e9c984da249807979975a3767c112562b
Skeleton hash
ba148ad6904794466086ff8594679ee14d8a9799aacd47f44a34dbaf55305df3
Architecture hash
f6bf13e407c14ec03cd2ce0f9286288d5572e5dacd935aa235e5fdfda86568ae
Diagram SHA-256
e676ca0807360db041f2c92a18970df39fbc7548d1096cf640f052b652e4521d
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

PASS (Part-Aware Self-Supervised pre-training) is a pre-training method for person re-identification (ReID) that gives a Vision Transformer part-level features. Earlier self-supervised methods match the outputs of local views to those of the global views at the same time, which the paper says loses details.

The network is a ViT that takes image patches of resolution 16 × 16 and appends extra learnable tokens: a class token [CLS] for a global representation and part tokens [PART] for part-level features. The two kinds of token have no structural difference, and training makes them learn features at different levels. PASS divides the image into several local areas, assigns the local views cropped from each area a specific [PART] token, and learns to match the outputs of local views and global views on the same [PART]. Its student and teacher networks share a similar overall structure with DINO.

For supervised ReID, the output [CLS] and the mean of the output [PART]s are concatenated as the representation of the input image, and a ReID head is attached to it. Pre-training uses LUPerson, which contains 4.18M unlabeled human images, and images are resized to 256 × 128 in fine-tuning. For ViT-B/16 at an image size of 384 × 128, the paper reports 93.3% mAP on Market1501 and 74.3% on MSMT17 for supervised ReID.

Key idea. PASS assigns a learnable [PART] token to each local area of a person image and matches local and global views on the same token, so each token learns part-level features.

  • PASS
  • Part-Aware Self-Supervised Pre-Training
  • PASS-reID
  • person re-identification
  • ReID
  • part token
  • self-supervised pre-training
  • LUPerson
  • part-aware pre-training

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhu2022passpartawareselfsupervisedpretraining,
      title={PASS: Part-Aware Self-Supervised Pre-Training for Person Re-Identification}, 
      author={Kuan Zhu and Haiyun Guo and Tianyi Yan and Yousong Zhu and Jinqiao Wang and Ming Tang},
      year={2022},
      eprint={2203.03931},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2203.03931}, 
}