Skip to main content
QUICK REVIEW

[Paper Review] Unified Pre-training with Pseudo Texts for Text-To-Image Person Re-identification

Zhiyin Shao, Xinyu Zhang|arXiv (Cornell University)|Sep 4, 2023
Video Surveillance and Tracking MethodsComputer Science3 citations
TL;DR

This paper proposes UniPT, a unified pre-training framework for text-to-image person re-identification (T2I-ReID) that addresses data and training inconsistencies by creating a large-scale pseudo-labeled person dataset, LUPerson-T, using a CLIP-based divide-conquer-combine strategy. The method jointly pre-trains vision and language encoders via contrastive and masked language modeling, achieving SOTA performance with 68.50% Rank-1 accuracy on CUHK-PEDES.

ABSTRACT

The pre-training task is indispensable for the text-to-image person re-identification (T2I-ReID) task. However, there are two underlying inconsistencies between these two tasks that may impact the performance; i) Data inconsistency. A large domain gap exists between the generic images/texts used in public pre-trained models and the specific person data in the T2I-ReID task. This gap is especially severe for texts, as general textual data are usually unable to describe specific people in fine-grained detail. ii) Training inconsistency. The processes of pre-training of images and texts are independent, despite cross-modality learning being critical to T2I-ReID. To address the above issues, we present a new unified pre-training pipeline (UniPT) designed specifically for the T2I-ReID task. We first build a large-scale text-labeled person dataset "LUPerson-T", in which pseudo-textual descriptions of images are automatically generated by the CLIP paradigm using a divide-conquer-combine strategy. Benefiting from this dataset, we then utilize a simple vision-and-language pre-training framework to explicitly align the feature space of the image and text modalities during pre-training. In this way, the pre-training task and the T2I-ReID task are made consistent with each other on both data and training levels. Without the need for any bells and whistles, our UniPT achieves competitive Rank-1 accuracy of, ie, 68.50%, 60.09%, and 51.85% on CUHK-PEDES, ICFG-PEDES and RSTPReid, respectively. Both the LUPerson-T dataset and code are available at https;//github.com/ZhiyinShao-H/UniPT.

Motivation & Objective

  • To address the data domain gap between generic pre-training data and person-specific T2I-ReID data.
  • To resolve the training inconsistency where image and text encoders are pre-trained independently despite the need for cross-modality alignment.
  • To improve T2I-ReID performance by aligning pre-training and downstream task distributions at both data and training levels.
  • To develop a scalable, automated method for generating fine-grained, person-specific textual descriptions without manual annotation.

Proposed method

  • Constructs LUPerson-T, a large-scale image-text dataset with pseudo-descriptions generated via a CLIP-based divide-conquer-combine strategy.
  • Divides person attributes into phrases (e.g., 'blue striped shirt'), uses frozen CLIP to match them to images, and combines them into full descriptions using templates.
  • Applies synonym substitution to increase description diversity and reduce redundancy.
  • Employs a vision-and-language pre-training framework with contrastive loss between image-text pairs and masked language modeling to prevent overfitting.
  • Jointly pre-trains visual and textual encoders using both contrastive and masked language objectives to align feature spaces.
  • Uses the unified pre-training output as a strong initialization for downstream T2I-ReID tasks.

Experimental results

Research questions

  • RQ1Can automated, pseudo-labeled person-specific text descriptions effectively reduce the data domain gap in T2I-ReID pre-training?
  • RQ2Does joint pre-training of vision and language encoders improve downstream T2I-ReID performance compared to independent pre-training?
  • RQ3Can a unified pre-training pipeline that mirrors the downstream task’s data and training format lead to better generalization and performance?
  • RQ4How does the quality and diversity of pseudo-texts impact model performance in zero-shot and cross-domain settings?

Key findings

  • UniPT achieves 68.50% Rank-1 accuracy on CUHK-PEDES using DeiT-small, outperforming prior SOTA methods like LGUR (+1.58%) and IVT (+2.91%).
  • On ICFG-PEDES, UniPT reaches 60.09% Rank-1 accuracy with DeiT-small and 61.42% with ViT-B/16, surpassing LGUR and IVT.
  • In cross-domain generalization, UniPT improves by +6.27% and +7.41% over SSAN(w/ BERT) on C→I and I→C settings, respectively.
  • The model shows strong domain generalization, outperforming LGUR by +1.26% and +3.04% on C→I and I→C, respectively.
  • Ablation studies confirm that the combination of diverse templates and controlled data scale (1.3M pairs) maximizes performance, while excessive data increases noise.
  • The use of Lpgu (prototype-based granularity unification) further improves feature representation, validating its effectiveness in the unified pre-training setting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.