Skip to content
AI.info

Research

Generative Retrieval for Unsupervised Text-Based Person Search

Overview Research area: Computer vision / cross-modal retrieval — specifically text-based person search (TBPS), combined with multimodal large language models (MLLMs) and unsupervised learning. Techni

arXiv
2609.12965
Published
2026-09-11
Authors
Mang Ye, Yucheng Ji, Yang Bai, Min Cao, Siyuan Chai, Bo Du, Min Zhang

AI summary

Overview

Research area: Computer vision / cross-modal retrieval — specifically text-based person search (TBPS), combined with multimodal large language models (MLLMs) and unsupervised learning.

Technical level: Advanced. The paper assumes familiarity with cross-modal representation learning, contrastive losses, Gaussian Mixture Models, and vision-language pre-trained models (CLIP, BLIP, DINOv2).

Scope: The paper proposes GTR+, a two-stage framework that generates synthetic textual descriptions for unlabeled person images and then trains a noise-robust retrieval model on those pseudo-pairs, alongside a new 3.6M-pair pre-training dataset called LargeFine-Person.

What This Paper Is About

Text-based person search retrieves images of a specific person from a large gallery using a free-form natural language query. Standard methods require expensive human-annotated image-text pairs, so this paper targets the harder unsupervised setting where only an unlabeled image corpus is available. The core goal is to manufacture good-enough synthetic descriptions for those images, then train a retrieval model that is robust to the errors those synthetic descriptions inevitably contain.

Key Contributions

  1. Tiered description generation framework. A three-tier pipeline that turns an unlabeled person image into a fine-grained, stylistically varied caption: (i) a base tier where an MLLM interrogates itself via question-and-answer pairs to extract attributes; (ii) an intermediate tier that contrasts the target against a hard-negative image to surface subtle details; and (iii) an advanced tier that rewrites the description through a gallery of diverse syntactic templates.

  2. Adaptive confidence-weighted retrieval learning. A training scheme that treats each synthetic image-text pair as either clean or noisy using a two-component Gaussian Mixture Model, and down-weights unreliable pairs in the contrastive and matching losses. Confidence is recomputed each epoch from a blend of real-time image-text similarity and the text generation probability recorded during the generation stage.

  3. LargeFine-Person dataset. A 1.2M-image, 3.6M-image-text-pair TBPS pre-training benchmark built automatically from denoised LUPerson and LPW images using the tiered generator, with no manual annotation at any point.

  4. Extension over the authors' prior ACM MM 2023 work. The paper explicitly advances an earlier version on three axes: task (image-only corpus rather than separately collected image and text corpora), model (tiered generation plus dynamically adapted confidence, instead of template-based generation with a fixed confidence score), and data (the new pre-training benchmark).

Main Findings

  • Richness of generated text far exceeds prior TBPS datasets. LargeFine-Person averages 61 words, 9.63 adjectives, and 15.27 noun chunks per caption, versus roughly 24–29 words, 2.72–5.66 adjectives, and 5.86–8.62 noun chunks for existing pre-training sets such as MALS, LUPerson-T, LUPerson-MLLM, SYNTH-PEDES, and HAM-PEDES. It is also the only one of these marked as supporting multi-granularity text.

  • Fully automatic annotation is viable. Unlike MALS and SYNTH-PEDES, which depend on human-annotated inputs somewhere in their text pipeline, LargeFine-Person's text is produced end-to-end by MLLMs with no manual intervention, while still exceeding those datasets on fine-grainedness metrics.

  • Noise modeling needs to be dynamic, not static. The authors argue that using a fixed text-generation probability as the confidence score (as in their earlier work) is brittle; blending it with an evolving image-text similarity lets the confidence estimate track training dynamics and produce better clean/noisy separation.

  • Expectation-based token confidence beats joint probability. Averaging token-level generation probabilities avoids the vanishing-value problem that plagues multiplying them together for long captions.

  • Benchmark performance and generalization. Experiments across multiple TBPS benchmarks (including CUHK-PEDES, ICFG-PEDES, and RSTPReid) are reported to demonstrate both the effectiveness of GTR+ and the transferability of LargeFine-Person. (The full results table is truncated in the provided text.)

  • Framework is model-agnostic on the retrieval side. BLIP is used as the baseline retrieval model for concreteness, but the authors state and experimentally verify that the confidence-weighting framework can be swapped onto other TBPS architectures.

Methodology in Plain English

The approach has two stages that run in sequence.

Stage one — invent the missing labels. For every unlabeled person image, the system asks a multimodal LLM to describe what it sees, but never in one shot. First, the model generates its own question-and-answer pairs about the person ("What color are the shoes?", "Is there a backpack?") and then summarizes them into a basic caption. Second, the system picks a visually similar but different person image — found by comparing DINOv2 features and randomly sampling from the top-10 nearest neighbors — and asks the model to compare the two, highlighting what they share and how they differ. This forces out details a single-image caption would miss. Third, because LLMs default to formulaic sentence structures, the system maintains a gallery of varied sentence templates (mined and refined with ChatGPT-4o) and rewrites each caption through a randomly chosen template. Two different MLLMs (Qwen2-VL-7B and InternVL2.5-8B) are used so that each image ends up with multiple independent captions.

Stage two — train while distrusting the labels. The synthetic captions can be wrong, so each image-text pair is assigned a confidence score. Similarity scores across the batch are fitted with a two-component Gaussian mixture — one bump for clean pairs, one for noisy ones — and each pair gets the posterior probability of belonging to the clean bump. That probability, raised to a power, multiplies the contrastive and matching loss terms, so unreliable pairs contribute less. Crucially, the similarity used for this fit is not just the model's current cosine score; it is a weighted blend of that score and the original token-generation probability from stage one. Early in training, when the model is still unstable, the generation probability anchors the estimate; later, the learned similarity takes over. The process repeats every epoch, so confidence estimates adapt as the model improves.

Dataset construction. Starting from LUPerson and LPW images, the authors filter out low-resolution images (under 32×64), blurry images (Laplacian variance below 80), and frames without exactly one detected person (via YOLOv8). The surviving 1.2M images are pushed through the tiered generator, yielding three captions per image and a 3.6M-pair corpus.

Why This Matters

TBPS is bottlenecked by annotation cost: describing a person's clothing, accessories, and appearance in free text is slow, subjective, and does not scale to millions of surveillance images. This paper shows that a large portion of that annotation work can be replaced by a structured, self-supervised generation pipeline, and that the resulting pseudo-labels are usable if the training procedure is explicitly designed to tolerate their errors. It also shifts the problem definition from "learning without paired data but with a text corpus" to "learning from images alone," which is a meaningfully harder and more realistic constraint.

Real-world applications:

  • Surveillance and public safety. Locating a suspect or missing person from a witness's verbal description, without needing a labeled training corpus for each deployment site.
  • Retail and loss-prevention analytics. Matching a description of an individual of interest across multi-camera store footage where no annotated data exists for that venue.
  • Smart city and transit monitoring. Cross-camera person retrieval in camera networks where privacy constraints or scale make manual text annotation impractical.
  • Assistive and search interfaces. Letting an operator describe a person in natural language and search a video archive, with the system bootstrapped from raw footage alone.

Industry relevance: The cost of annotation is the main barrier to commercial TBPS deployment, so a fully automatic pipeline plus a released 3.6M-pair pre-training corpus is directly useful to surveillance vendors, security integrators, and any team that wants to fine-tune a person-retrieval model on their own unlabeled camera feeds. The accompanying open-source code and dataset further lower the barrier.

Future Directions

  • Quantifying and reducing MLLM hallucination in person-specific captions. The paper treats generation noise as something to be down-weighted during training rather than eliminated; better grounding or verification of generated attributes could raise the ceiling on performance.
  • Verifying generalization across domains. Since the pipeline is fully automatic, testing whether models trained on LargeFine-Person transfer to unseen camera networks, weather conditions, and demographics without adaptation is the natural next step.
  • Extending beyond still images to video and multi-frame cues. Person appearance is temporally consistent across a track, and this signal is unused in the current single-image formulation.
  • Applying the tiered generation idea to adjacent fine-grained retrieval tasks. The contrast-against-hard-negative and stylized-expansion mechanisms are task-agnostic and could plausibly transfer to vehicle re-identification, animal re-identification, or fine-grained product search.
  • Improving the noise model itself. A two-component Gaussian on a single similarity scalar is a simplifying assumption; richer or learned noise models could yield sharper clean/noisy separation.

Target Audience

Researchers and graduate students working on person re-identification, cross-modal retrieval, or vision-language pre-training, particularly those interested in reducing annotation dependence. It will also appeal to practitioners building surveillance or video-analytics systems who need to bootstrap retrieval models from unlabeled footage, and to anyone studying how to use MLLM-generated pseudo-labels for downstream training without being derailed by their errors. Readers without background in contrastive learning or mixture models will find the method sections dense; the introduction and dataset comparison table, however, are accessible to a general computer vision audience.

Authors’ abstract

Text-based person search (TBPS) aims to retrieve images of a target person from a large image gallery based on a given natural language description. Most existing methods rely on supervised learning with manually annotated image-text pairs. In this paper, we explore unsupervised TBPS, with only unlabeled images. We propose GTR+, a two-stage generation-then-retrieval framework. In the generation stage, we introduce a tiered description generation framework designed to produce fine-grained and stylistically diverse textual descriptions through a three-tier sequential process. The base tier leverages an automated question-and-answer mechanism to generate basic visual attribute descriptions; the intermediate tier enhances fine-grained detail using an inter-sample contrastive mechanism; the advanced tier further enriches textual diversity via a stylized expansion mechanism. In the retrieval stage, to mitigate the impact of noisy pseudo texts, we develop an adaptive confidence-weighted retrieval learning framework. We model image-text pairs as clean or noisy using a Gaussian Mixture Model, calibrated by real-time image-text similarity and static text generation probability from the prior stage, yielding adaptive sample weights during training. Beyond that, we also contribute LargeFine-Person, a large-scale TBPS dataset with high-quality, fine-grained, and diverse textual annotations, enabling a practical and generalizable TBPS pre-training benchmark under unsupervised setting. Experiments on multiple TBPS benchmarks demonstrate the effectiveness and generalization of both GTR+ and LargeFine-Person. Code is available at: https://github.com/Flame-Chasers/GTR.

Read the original paper