{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2609-12965","title":"Generative Retrieval for Unsupervised Text-Based Person Search","arxiv_id":"2609.12965","date":"2026-09-11","proceeding":null,"authors":["Mang Ye","Yucheng Ji","Yang Bai","Min Cao","Siyuan Chai","Bo Du","Min Zhang"],"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.","url_abs":"https://arxiv.org/abs/2609.12965","url_pdf":"https://arxiv.org/pdf/2609.12965","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2609.12965","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2609.12965"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/Flame-Chasers/GTR","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"found_in_text":{"samples":7,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":7,"samples":[{"code_sha256_prefix":"c6ec173f19f5c34d","entry":"interpolate_pos_embed","repo":"Flame-Chasers/GTR","repo_kind":"found_in_text","path":"models/vit.py","file_url":"https://github.com/Flame-Chasers/GTR/blob/HEAD/models/vit.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c6ec173f19f5c34d"}},{"code_sha256_prefix":"0ec9fc2025c16f65","entry":"all_gather_with_grad","repo":"Flame-Chasers/GTR","repo_kind":"found_in_text","path":"models/blip_ps.py","file_url":"https://github.com/Flame-Chasers/GTR/blob/HEAD/models/blip_ps.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0ec9fc2025c16f65"}},{"code_sha256_prefix":"73cecca9f3575f09","entry":"concat_all_gather","repo":"Flame-Chasers/GTR","repo_kind":"found_in_text","path":"models/blip_ps.py","file_url":"https://github.com/Flame-Chasers/GTR/blob/HEAD/models/blip_ps.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"73cecca9f3575f09"}},{"code_sha256_prefix":"8293d7d99b8b2105","entry":"fit_gmm_and_get_clean_probs","repo":"Flame-Chasers/GTR","repo_kind":"found_in_text","path":"models/blip_ps_gmm.py","file_url":"https://github.com/Flame-Chasers/GTR/blob/HEAD/models/blip_ps_gmm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8293d7d99b8b2105"}},{"code_sha256_prefix":"c6527ef1dd35e7f1","entry":"itm_eval","repo":"Flame-Chasers/GTR","repo_kind":"found_in_text","path":"pretrain_ps.py","file_url":"https://github.com/Flame-Chasers/GTR/blob/HEAD/pretrain_ps.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c6527ef1dd35e7f1"}},{"code_sha256_prefix":"f63adb8e1f891b8a","entry":"mSD_rank","repo":"Flame-Chasers/GTR","repo_kind":"found_in_text","path":"train_ps.py","file_url":"https://github.com/Flame-Chasers/GTR/blob/HEAD/train_ps.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f63adb8e1f891b8a"}},{"code_sha256_prefix":"9fdff937a7356eb0","entry":"parse_args","repo":"Flame-Chasers/GTR","repo_kind":"found_in_text","path":"launch.py","file_url":"https://github.com/Flame-Chasers/GTR/blob/HEAD/launch.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9fdff937a7356eb0"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_backlog_21d_20260915.json"},"syntology_extracted_results":null}