arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.08598cs.IRcs.CV
收藏

预训练后再适应:面向基于文本的人脸搜索的不确定性感知测试时间适应

Pretrain-then-Adapt: Uncertainty-Aware Test-Time Adaptation for Text-based Person Search

University of Macau(澳门大学);Hefei University of Technology(合肥工业大学)

Jiahao Zhang, Shaofei Huang, Yaxiong Wang, Zhedong Zheng

AI总结:

本文提出一种预训练后再适应方法,通过离线测试时间适应减少对目标域标注数据的依赖,引入不确定性感知测试时间适应框架以提升人像搜索系统的鲁棒性和效率。

摘要:

基于文本的人脸搜索面临数据稀缺的固有限制,这源于严格的隐私约束和手动标注的高成本。为缓解这一问题,现有方法通常依赖于预训练后再微调的范式,即首先在合成的人-描述数据上预训练模型以建立跨模态对齐,然后在标注的真实世界数据集上进行微调。然而,这种范式在现实部署场景中缺乏实用性,因为大规模标注的目标域数据通常不可用。在本工作中,我们提出了一种新的预训练后再适应范式,通过离线测试时间适应的方式消除对大量目标域监督的依赖,使模型能够仅使用未标注的测试数据进行动态适应,且具有最小的训练后时间成本。为缓解之前基于熵的测试时间适应方法中假阳性带来的过度自信问题,我们提出了一种不确定性感知的测试时间适应(UATTA)框架,引入双向检索分歧机制以估计不确定性,即当图像-文本对在图像到文本和文本到图像检索中均排名靠前时,分配低不确定性,表示高对齐;否则,检测到高不确定性。该指标驱动离线测试时间模型重校准,无需标签,有效缓解领域偏移。我们在四个基准上验证了UATTA,即CUHK-PEDES、ICFG-PEDES、RSTPReid和PAB,显示在基于CLIP(单阶段)和XVLM(双阶段)框架中均取得一致改进。消融研究证实UATTA优于现有离线测试时间适应策略,建立了标签高效、可部署的人像搜索系统的新基准。我们的代码可在https://github.com/nkuzjh/UATTA获取。

英文摘要:

Text-based person search faces inherent limitations due to data scarcity, driven by stringent privacy constraints and the high cost of manual annotation. To mitigate this, existing methods usually rely on a Pretrain-then-Finetune paradigm, where models are first pretrained on synthetic person-caption data to establish cross-modal alignment, followed by fine-tuning on labeled real-world datasets. However, this paradigm lacks practicality in real-world deployment scenarios, where large-scale annotated target-domain data is typically inaccessible. In this work, we propose a new Pretrain-then-Adapt paradigm that eliminates reliance on extensive target-domain supervision through an offline test-time adaptation manner, enabling dynamic model adaptation using only unlabeled test data with minimal post-train time cost. To mitigate overconfidence with false positives of previous entropy-based test-time adaptation, we propose an Uncertainty-Aware Test-Time Adaptation (UATTA) framework, which introduces a bidirectional retrieval disagreement mechanism to estimate uncertainty, i.e., low uncertainty is assigned when an image-text pair ranks highly in both image-to-text and text-to-image retrieval, indicating high alignment; otherwise, high uncertainty is detected. This indicator drives offline test-time model recalibration without labels, effectively mitigating domain shift. We validate UATTA on four benchmarks, i.e., CUHK-PEDES, ICFG-PEDES, RSTPReid, and PAB, showing consistent improvements across both CLIP-based (one-stage) and XVLM-based (two-stage) frameworks. Ablation studies confirm that UATTA outperforms existing offline test-time adaptation strategies, establishing a new benchmark for label-efficient, deployable person search systems. Our code is available at https://github.com/nkuzjh/UATTA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑