Chat-Driven Text Generation and Interaction for Person Retrieval

Zequn Xie, Chuxin Wang, Yousong Wang, Sihang Cai, Shulei Wang, Tao Jin

Introduction

Text-based person search (TBPS) is a critical task in computer vision, involving the retrieval of specific individuals from large-scale image galleries based on natural language descriptions. The primary challenge in this field is the "supervision bottleneck": high-quality training requires thousands of detailed, human-written descriptions, which are expensive and difficult to scale. While automated captioning using Multimodal Large Language Models (MLLMs) offers a potential solution, standard single-turn captioning often suffers from hallucinations or misses fine-grained details essential for accurate retrieval.

To address these issues, we present Chat-Driven Text Generation and Interaction (CTGI), a novel framework that leverages multi-turn dialogues to generate high-quality training labels and interactive search capabilities, achieving state-of-the-art performance without human-annotated descriptions.

Methodology

The CTGI framework consists of two primary components designed to improve both the quality of training data and the flexibility of the retrieval process.

Multi-Turn Text Generation (MTG)

Instead of relying on a single descriptive prompt, the MTG module simulates a dialogue between an MLLM (e.g., Qwen2-VL) and an image. The model is prompted to ask and answer specific questions about the person's appearance, such as clothing textures, accessories, and posture. A "Reconstructor" (powered by GPT-4o) then synthesizes this dialogue log into a dense, highly accurate pseudo-label. This iterative process ensures that fine-grained details are captured while minimizing the risk of hallucination common in one-shot captioning.

Comparison of human-written, direct MLLM, and proposed multi-turn captioning (MTG).

Multi-Turn Text Interaction (MTI) and System Pipeline

During the inference phase, real-world user queries are often vague or incomplete. The MTI module transforms the retrieval process from a static search into a collaborative interaction. When a query is ambiguous, the system identifies candidate images and generates clarifying questions for the user. The user's responses are then used to refine the description and re-rank the search results, significantly improving retrieval accuracy for complex cases.

Overview of the CTGI framework, showing the training (Generation) and inference (Retrieval/Interaction) phases.

Positional Embedding Stretching

Because the generated multi-turn descriptions are significantly more detailed and longer than standard captions, they often exceed the 77-token limit of the CLIP model. To accommodate this, the authors implemented a "stretching" technique, expanding the model's capacity to 248 tokens. This allows the system to utilize the full depth of the generated pseudo-labels without requiring a complete retraining of the backbone model.

Experimental Evaluation

The framework was evaluated on three major TBPS benchmarks: CUHK-PEDES, ICFG-PEDES, and RSTPReid. Crucially, the model was trained in a completely unsupervised manner, ignoring human-written captions and relying solely on MTG-generated labels.

Key Results

CTGI established new state-of-the-art (SOTA) benchmarks for unsupervised person search:

  • CUHK-PEDES: Achieved a 67.82% Rank-1 accuracy, a significant improvement over the previous best unsupervised method, MUMA (59.52%).
  • RSTPReid: Reached 66.35% Rank-1, outperforming the next best unsupervised method by approximately 12%.
  • Supervised Comparison: Remarkably, this annotation-free method outperformed several established fully supervised models, demonstrating that high-quality synthetic data can effectively replace manual labeling.

Discussion and Conclusion

The CTGI framework demonstrates that dialogue-based interaction is superior to static description for both data generation and search. By breaking down complex visual information into a series of targeted questions, MLLMs can produce pseudo-labels that rival human annotations in quality and detail. Furthermore, the interactive MTI module provides a robust mechanism for resolving the natural ambiguity of human language in search scenarios.

While the multi-turn approach introduces some inference latency, the significant gains in accuracy and the elimination of the need for human labeling represent a major step forward for scalable person retrieval systems. Future work will focus on improving the computational efficiency of these interactions and refining the filtering of pseudo-labels to further enhance performance.

Summary updated

BibTeX
@misc{xie2025chat,
  author = {Zequn Xie and Chuxin Wang and Yousong Wang and Sihang Cai and Shulei Wang and Tao Jin},
  title = {{Chat-Driven Text Generation and Interaction for Person Retrieval}},
  year = {2025},
  eprint = {2509.12662},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.12662},
}
Figure