Skip to main content
QUICK REVIEW

[Paper Review] Towards Unified Text-based Person Retrieval: A Large-scale Multi-Attribute and Language Search Benchmark

Shuyu Yang, Yinan Zhou|arXiv (Cornell University)|Jun 5, 2023
Video Surveillance and Tracking MethodsComputer Science6 citations
TL;DR

This paper introduces MALS, a large-scale synthetic benchmark with 1.51 million image-text pairs and 27 attributes per image, generated using diffusion models and captioning pipelines. It proposes the APTM framework, jointly pre-training on attribute recognition and text-based retrieval via attribute prompt learning and contrastive learning, achieving state-of-the-art gains of +6.96%, +7.68%, and +16.95% Recall@1 on CUHK-PEDES, ICFG-PEDES, and RSTPReid respectively.

ABSTRACT

In this paper, we introduce a large Multi-Attribute and Language Search dataset for text-based person retrieval, called MALS, and explore the feasibility of performing pre-training on both attribute recognition and image-text matching tasks in one stone. In particular, MALS contains 1,510,330 image-text pairs, which is about 37.5 times larger than prevailing CUHK-PEDES, and all images are annotated with 27 attributes. Considering the privacy concerns and annotation costs, we leverage the off-the-shelf diffusion models to generate the dataset. To verify the feasibility of learning from the generated data, we develop a new joint Attribute Prompt Learning and Text Matching Learning (APTM) framework, considering the shared knowledge between attribute and text. As the name implies, APTM contains an attribute prompt learning stream and a text matching learning stream. (1) The attribute prompt learning leverages the attribute prompts for image-attribute alignment, which enhances the text matching learning. (2) The text matching learning facilitates the representation learning on fine-grained details, and in turn, boosts the attribute prompt learning. Extensive experiments validate the effectiveness of the pre-training on MALS, achieving state-of-the-art retrieval performance via APTM on three challenging real-world benchmarks. In particular, APTM achieves a consistent improvement of +6.96%, +7.68%, and +16.95% Recall@1 accuracy on CUHK-PEDES, ICFG-PEDES, and RSTPReid datasets by a clear margin, respectively.

Motivation & Objective

  • To address data scarcity and annotation quality issues in text-based person retrieval by generating a large-scale, high-quality synthetic dataset.
  • To enable unified pre-training on both text-based retrieval and pedestrian attribute recognition tasks using shared representations.
  • To develop a scalable, privacy-preserving benchmark that supports real-world deployment with fine-grained visual and linguistic annotations.
  • To validate the effectiveness of joint learning between attribute prompting and text matching for improved retrieval performance.

Proposed method

  • Leverages pre-trained diffusion models to generate high-fidelity, diverse pedestrian images with controlled variations in pose, appearance, and background.
  • Uses real-world text-based retrieval descriptions as prompts to guide image generation, ensuring semantic alignment with real queries.
  • Applies an automatic attribute extraction pipeline to mine 27 attributes from generated captions, enriching annotation diversity.
  • Proposes the APTM framework with two parallel streams: attribute prompt learning and text matching learning, jointly optimized via contrastive and masked modeling.
  • Integrates explicit matching (EM) and implicit extension (IE) mechanisms to map text to attribute prompts and improve alignment.
  • Employs image-text contrastive learning (ITC), image-attribute contrastive learning (IAC), and masked modeling (MLM/MAM) to regularize representation learning.

Experimental results

Research questions

  • RQ1Can synthetic data generated via diffusion models achieve sufficient realism and alignment to support effective pre-training for text-based person retrieval?
  • RQ2Does joint pre-training on attribute recognition and text-based retrieval improve generalization and performance on downstream benchmarks?
  • RQ3How does the scale of synthetic data impact retrieval performance in zero-shot and fine-tuned settings?
  • RQ4What is the relative contribution of attribute prompt learning versus standard text matching in improving retrieval accuracy?

Key findings

  • Pre-training on MALS improves Recall@1 by +6.96% on CUHK-PEDES, +7.68% on ICFG-PEDES, and +16.95% on RSTPReid, demonstrating strong generalization.
  • The APTM framework achieves a 0.97% improvement in mean accuracy (mA) over the baseline on the RethinkPAR benchmark.
  • Performance improves with increasing pre-training data scale, though gains diminish beyond 0.3M samples, indicating saturation.
  • Ablation studies confirm that the proposed Attribute Prompt Learning (APL) loss outperforms naive classification baselines by a clear margin.
  • The joint optimization of text matching and attribute prompting leads to better feature representations than isolated training on either task.
  • The model achieves competitive performance on pedestrian attribute recognition, validating the effectiveness of unified learning.

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.