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

基于邻近数据生成的对比Transformer学习用于文本人物搜索

Contrastive Transformer Learning with Proximity Data Generation for Text-Based Person Search

Sun Yat-sen University(中山大学);GuangDong Province Key Laboratory of Information Security Technology(广东省信息安全技术重点实验室);National Supercomputer Center in Guangzhou(国家超级计算广州中心);Guangdong University of Technology(广东工业大学)

Hefeng Wu, Weifeng Chen, Zhibin Liu, Tianshui Chen, Zhiguang Chen, Liang Lin

AI总结:

提出一种简单有效的双Transformer模型,结合难度感知对比学习和邻近数据生成模块,解决文本人物搜索中的模态对齐与数据不足问题,在CUHK-PEDES和ICFG-PEDES上取得显著性能提升。

摘要:

给定一个描述性文本查询,文本人物搜索(TBPS)旨在从图像库中检索最佳匹配的目标人物。由于显著的模态差距、细粒度差异以及标注数据不足,这种跨模态检索任务相当具有挑战性。为了更好地对齐两种模态,大多数现有工作侧重于引入复杂的网络结构和辅助任务,这些方法复杂且难以实现。在本文中,我们提出了一种简单而有效的双Transformer模型用于文本人物搜索。通过利用一种难度感知的对比学习策略,我们的模型在没有任何局部特征对齐或侧信息的特殊设计的情况下,实现了最先进的性能。此外,我们提出了一种邻近数据生成(PDG)模块,以自动为跨模态训练生成更多样化的数据。PDG模块首先引入了一种基于文本到图像扩散模型的自动生成算法,该算法在原始样本的邻近空间中生成新的文本-图像对样本。然后,在训练过程中结合近似文本生成和特征级混合,进一步增强数据多样性。PDG模块可以很大程度上保证生成的样本的合理性,这些样本直接用于训练,无需任何人工检查来排除噪声。它显著提高了我们模型的性能,为这种细粒度视觉-语言任务所面临的数据不足问题提供了一种可行的解决方案。在TBPS任务的两个流行数据集(即CUHK-PEDES和ICFG-PEDES)上进行的大量实验表明,所提出的方法明显优于最先进的方法,例如,在CUHK-PEDES上,Top1、Top5、Top10分别提高了3.88%、4.02%、2.92%。代码将在https://github.com/HCPLab-SYSU/PersonSearch-CTLG上提供。

英文摘要:

Given a descriptive text query, text-based person search (TBPS) aims to retrieve the best-matched target person from an image gallery. Such a cross-modal retrieval task is quite challenging due to significant modality gap, fine-grained differences and insufficiency of annotated data. To better align the two modalities, most existing works focus on introducing sophisticated network structures and auxiliary tasks, which are complex and hard to implement. In this paper, we propose a simple yet effective dual Transformer model for text-based person search. By exploiting a hardness-aware contrastive learning strategy, our model achieves state-of-the-art performance without any special design for local feature alignment or side information. Moreover, we propose a proximity data generation (PDG) module to automatically produce more diverse data for cross-modal training. The PDG module first introduces an automatic generation algorithm based on a text-to-image diffusion model, which generates new text-image pair samples in the proximity space of original ones. Then it combines approximate text generation and feature-level mixup during training to further strengthen the data diversity. The PDG module can largely guarantee the reasonability of the generated samples that are directly used for training without any human inspection for noise rejection. It improves the performance of our model significantly, providing a feasible solution to the data insufficiency problem faced by such fine-grained visual-linguistic tasks. Extensive experiments on two popular datasets of the TBPS task (i.e., CUHK-PEDES and ICFG-PEDES) show that the proposed approach outperforms state-of-the-art approaches evidently, e.g., improving by 3.88%, 4.02%, 2.92% in terms of Top1, Top5, Top10 on CUHK-PEDES. The codes will be available at https://github.com/HCPLab-SYSU/PersonSearch-CTLG

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

↑