All models

CLIP-ReID-RN50

CLIP-ReID teaches CLIP to re-identify people and vehicles by learning stand-in text tokens for each identity.

Detection and tracking · 236 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 (33 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
80.7M
Operations
236
Framework
PyTorch
Recurrent
No
Published
AAAI 2023
Cited by
324 (as of 17 October 2026)
Authors
Siyuan Li, Li Sun, Qingli Li
License
MIT
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
m296
Graph hash
056218574834a390310aa8510854a57501a7a529bdf3d5cf8a8625e46e81ed43
Skeleton hash
c612ce85e78f93256623f93f5f4f49df6031a41c7b2a55874ac56746ca44bac8
Architecture hash
4ebbe408d0c5e3709880504430611a4ccfcd017c8c6dc0123945366fefe43957
Diagram SHA-256
3f945e25a183205f72f0d752977046be9531e911d7e3086a7b05a13d0c567ad1
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

About this model's family

CLIP-ReID adapts the CLIP vision-language model to image re-identification, the task of matching the same object across different, non-overlapping camera views. The obstacle is that in ReID the labels are indexes, with no concrete text description of each identity. The paper first finds that simply fine-tuning the image encoder from CLIP already gives competitive results on various ReID tasks.

On top of that baseline it proposes a two-stage strategy for a better visual representation. Each identity gets a set of learnable text tokens, which are given to the text encoder to form an ambiguous description. In the first training stage both CLIP encoders stay fixed, and only those tokens are optimized from scratch by a contrastive loss computed within a batch. In the second stage the ID-specific tokens and the text encoder become static, and their descriptions act as constraints while the image encoder is fine-tuned.

Since CLIP has both CNN-based and ViT-based models, the method is validated on ResNet-50 and ViT-B/16, and the two captured members are those two encoders. The ViT version can also take camera ID and overlapped token settings as input. The authors report state-of-the-art performance on many ReID datasets, covering both person and vehicle. The released ViT-CLIP-ReID-SIE-OLP variant reaches 86.7% mAP and 91.1% rank-1 on MSMT17 with re-ranking.

Key idea. CLIP-ReID is, by its authors' account, the first use of CLIP for ReID. Its two-stage scheme learns ID-specific text tokens as stand-in descriptions so the text encoder can guide image-encoder fine-tuning even though the labels are only indexes.

  • CLIP-ReID
  • CLIP
  • re-identification
  • ReID
  • person re-identification
  • vehicle re-identification
  • vision-language model
  • learnable prompt
  • Market-1501
  • MSMT17
  • Syliz517/CLIP-ReID

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

Cite the paper

@misc{li2023clipreidexploitingvisionlanguagemodel,
      title={CLIP-ReID: Exploiting Vision-Language Model for Image Re-Identification without Concrete Text Labels}, 
      author={Siyuan Li and Li Sun and Qingli Li},
      year={2023},
      eprint={2211.13977},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2211.13977}, 
}