Abstract
Text-based person search (TBPS) is a critical task in surveillance and security, yet its progress is hindered by the high cost of manually annotating parallel image-text datasets. This paper introduces the first framework designed for TBPS without parallel data, addressing two novel settings: $\mu$-TBPS (non-parallel data) and $\mu$-TBPS+ (image-only data). We propose a "Generation-then-Retrieval" (GTR) framework that leverages large vision-language models (VLMs) to generate high-quality pseudo-descriptions. By employing a fine-grained image captioning process and a confidence-weighted training strategy, GTR achieves significant performance gains over traditional unsupervised methods, narrowing the gap toward fully supervised state-of-the-art models.
Introduction
Text-based person search (TBPS) involves retrieving a specific individual from a large gallery of surveillance images based on a natural language description. While powerful, current state-of-the-art models are heavily dependent on large-scale datasets containing thousands of precisely paired image-text samples. The manual creation of these pairs is labor-intensive, expensive, and difficult to scale across different environments.
To mitigate this bottleneck, this research explores whether effective person search engines can be built without pre-existing image-text pairs. The authors define two practical scenarios:
- $\mu$-TBPS: Utilizing non-parallel image and text datasets (where images and descriptions exist but are not linked).
- $\mu$-TBPS+: Utilizing image-only data, where no descriptive text corpus is available at all.
The GTR Framework
The proposed solution is the Generation-then-Retrieval (GTR) framework, which decomposes the problem into a pseudo-label generation phase followed by a robust retrieval training phase.
1. Fine-grained Image Captioning (FineIC)
Standard image captioning models typically produce generic descriptions that lack the specificity required for person search. To capture the necessary detail, the GTR framework utilizes a two-step "Image-to-Attributes-to-Text" process:
- Image-to-Attributes (I2A): Instead of asking for a general description, the system uses 14 specific instruction prompts (e.g., "What is the color of the clothes?", "Is the person carrying a bag?") to query an off-the-shelf Vision-Language Model (BLIP). This ensures the extraction of structured, fine-grained attributes.
- Attributes-to-Text (A2T): These attributes are then synthesized into fluent sentences. In the $\mu$-TBPS setting, a T5 language model is finetuned on an unpaired text corpus to match the target "style." In the $\mu$-TBPS+ setting, attributes are assembled using hand-crafted templates.
2. Confidence Score-based Training (CS-Training)
Generated pseudo-texts are inherently noisy. To prevent the retrieval model from overfitting to incorrect descriptions, the authors introduce a confidence-based weighting mechanism. During the attribute extraction phase, the VLM's internal probability (certainty) for each attribute is recorded. These probabilities are aggregated into a confidence score for the entire description. During training, the loss function is weighted such that the model prioritizes "reliable" image-text pairs and discounts those with high uncertainty.
Experimental Evaluation
The GTR framework was evaluated on three benchmark datasets: CUHK-PEDES, ICFG-PEDES, and RSTPReid. To simulate the $\mu$-TBPS settings, the original links between images and descriptions were removed.
Key Results
- Superiority over Baselines: GTR significantly outperformed baselines using standard object detection tags. On CUHK-PEDES, GTR achieved a Rank@1 accuracy of 48.49%, compared to just 31.03% for the baseline.
- Image-Only Performance: In the $\mu$-TBPS+ setting, the model remained remarkably robust, achieving a Rank@1 of 47.53%. This indicates that the specific content of the attributes is more vital for retrieval than the stylistic fluency of the text.
- Model Agnostic: The framework demonstrated high flexibility, performing well with various backbones such as OFA for attribute extraction and ALBEF for retrieval.
Discussion and Insights
The research highlights that generic captioning is insufficient for specialized tasks like person search. The "aha moment" of the GTR framework lies in treating the VLM as both a labeler and a judge; by using the VLM’s internal confidence to weight the loss, the impact of "garbage" pseudo-labels is successfully mitigated. Furthermore, the success of template-based descriptions in the $\mu$-TBPS+ setting suggests that for retrieval tasks, structured information density outweighs linguistic variety.
Limitations and Future Work
Despite its success, a performance gap remains between GTR (~48% Rank@1) and fully supervised models (~73% Rank@1). The system's efficacy is also capped by the capabilities of the underlying VLM; if the VLM fails to recognize a specific attribute, the retrieval model cannot compensate. Future research may focus on dynamic prompt generation to capture unique features beyond the standard 14 attributes and further closing the gap with supervised learning through more advanced noise-reduction techniques.
Summary updated