计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260400058-477.doi: 10.11896/jsjkx.260400058

• 图像处理&多媒体技术 • 上一篇    下一篇

面向基于文本的行人检索的统一模态码本

吴一鸣, 潘企何   

  1. 浙江工业大学 杭州 310000
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 吴一鸣(ymw@zjut.edu.cn)
  • 基金资助:
    国家自然科学基金(62202431)

Unified-modal Codebook for Enhanced Cross-modal Retrieval in Text-based Person Search

WU Yiming, PAN Qihe   

  1. Zhejiang University of Technology,Hangzhou 310000,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:WU Yiming,born in 1993,Ph.D.His main research interests include multimodal analysis and machine learning.
  • Supported by:
    This work was supported by the National Natural Science Foundation of China(62202431).

摘要: 随着深度学习的发展,跨模态检索引起了广泛的关注,其目的是通过一个模态的数据,从另一个模态的候选数据中查询到目标数据。基于文本的行人检索是跨模态检索的子任务,但是相比于自然图像的跨模态检索,细粒度检索会有更多问题,包括单一模态内部的特征差异较小而难以区分,不同模态之间的特征对齐需要对细微的差异进行判断和对齐等。通过设计一个统一模态的跨模态码本作为正则化项,将不同模态的特征离散化到相同空间,实现不同模态之间特征的对齐,进而降低检索任务的难度。该方法在常见的文本-行人检索数据集CUHK-PEDES,ICFG-PEDES,RSTPReid上都取得了很好的效果,并且能作为即插即用的模块,灵活地作用于不同的主干模型。此外,所提出的正则化方法在非细粒度的数据集Flickr30k数据集上也能有较好的效果。

关键词: 跨模态检索, 行人检索, 特征对齐, 细粒度, 正则化方法

Abstract: With the development of deep learning,cross-modal retrieval has attracted extensive attention.The goal is to query the target data from another modality’s candidate data using one modality’s data.Text-based pedestrian retrieval is a subtask of cross-modalretrieval,but compared to cross-modal retrieval of natural images,fine-grained retrieval presents many challenges.These include small feature differences within a single modality,making it difficult to distinguish,and feature alignment between different modalities,requiring judgment and alignment of subtle differences.This paper designs a unified-modal cross-modal codebook as a regularization term,which discretizes the features of different modalities into the same space,achieving feature alignment between different modalities and thus reducing the difficulty of the retrieval task.Excellent results are achieved on common text pedestrian retrieval datasets such as CUHK-PEDES,ICFG-PEDES,and RSTPReid,and this approach can serve as a plug-and play module,flexibly applied to different backbone models.Moreover,the proposed regularization method also performs well on the non-fine-grained dataset Flickr30k.

Key words: Cross-modal retrieval, Person retrieval, Feature alignment, Fine-grained, Regularization method

中图分类号: 

  • TP391
[1] LI S,XIAO T,LI H,et al.Person search with natural language description[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2017:1970-1979.
[2] LI S,XIAO T,LI H,et al.Identity-aware textual-visual matching with latent co-attention[C]//Proceedings of the IEEE International Conference on Computer Vision.2017:1890-1899.
[3] ZHENG K,LIU W,LIU J,et al.Hierarchical gumbel attention network for text-based person search[C]//Proceedings of the 28th ACM International Conference on Multimedia.2020:3441-3449.
[4] JING Y,WANG W,WANG L,et al.Learning aligned image-text representations using graph attentive relational network[J].IEEE Transactions on Image Processing,2021,30:1840-1852.
[5] LIU J,ZHA Z J,HONG R,et al.Deep adversarial graph attention convolution network for text-based person search[C]//Proceedings of the 27th ACM International Conference on Multimedia.2019:665-673.
[6] JING Y,SI C,WANG J,et al.Pose-guided multi-granularity attention network for text-based person search[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2020(7):11189-11196.
[7] WANG Z,FANG Z,WANG J,et al.Vitaa:Visual-textual attributes alignment in person search by natural language[C]//Computer Vision-ECCV 2020:16th European Conference.Springer,2020:402-420.
[8] GEIRHOS R,JACOBSEN J H,MICHAELIS C,et al.Shortcut learning in deep neural networks[J].Nature Machine Intelligence,2020,2(11):665-673.
[9] SUN G,CHOLAKKAL H,KHAN S,et al.Fine-grained recognition:Accounting for subtle differences between similar classes[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2020:12047-12054.
[10] WANG C,LUO Z,LIN Y,et al.Text-based Person Search via Multi-Granularity Embedding Learning[C]//IJCAI.2021:1068-1074.
[11] WU Y,YAN Z,HAN X,et al.LapsCore:language-guided person search via color reasoning[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2021:1624-1633.
[12] VAN DEN OORD A,VINYALS O.Neural discrete representation learning[C]//Advances in Neural Information Processing Systems.2017.
[13] OSOVITSKIY A,BEYER L,KOLESNIKOV A,et al.An image is worth 16x16 words:Transformers for image recognition at scale[J].arXiv:2010.11929,2020.
[14] VASWANI A.Attention is all you need[J].arXiv:1706.03762,2017.
[15] GAO C,CAI G,JIANG X,et al.Conditional feature learningbased transformer for text-based person search[J].IEEE Transactions on Image Processing,2022,31:6097-6108.
[16] SHAO Z,ZHANG X,FANG M,et al.Learning granularity-unified representations for text-to-image person re-identification[C]//Proceedings of the 30th ACM International Conference on Multimedia.2022:5566-5574.
[17] SUO W,SUN M,NIU K,et al.A simple and robust correlation filtering method for text-based person search[C]//European Conference on Computer Vision.Cham:Springer,2022:726-742.
[18] ZHANG Y,LU H.Deep cross-modal projection learning forimage-text matching[C]//Proceedings of the European Confe-rence on Computer Vision(ECCV).2018:686-701.
[19] SARAFIANOS N,XU X,KAKADIARIS I A.Adversarial re-presentation learning for text-to-image matching[C]//Procee-dings of the IEEE/CVF International Conference on Computer Vision.2019:5814-5824.
[20] ZHA Z J,LIU J,CHEN D,et al.Adversarial attribute-text embedding for person search with natural language query[J].IEEE Transactions on Multimedia,2020,22(7):1836-1846.
[21] AGGARWAL S,RADHAKRISHNAN V B,CHAKRABORTY A.Text-based person search via attribute-aided matching[C]//Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision.2020:2617-2625.
[22] NIU K,HUANG L,HUANG Y,et al.Cross-modal co-occur-rence attributes alignments for person search by language[C]//Proceedings of the 30th ACM International Conference on Multimedia.2022:4426-4434.
[23] HAN X,HE S,ZHANG L,et al.Text-based person search with limited data[J].arXiv:2110.10807,2021.
[24] RADFORD A,KIM J W,HALLACY C,et al.Learning transferable visual models from natural language supervision[C]//International Conference on Machine Learning.PMLR,2021:8748-8763.
[25] JIANG D,YE M.Cross-modal implicit relation reasoning andaligning for text-to-image person retrieval[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2023:2787-2797.
[26] DEVLIN J.Bert:Pre-training of deep bidirectional transformers for language understanding[J].arXiv:1810.04805,2018.
[27] BAO H,DONG L,PIAO S,et al.Beit:Bert pre-training of image transformers[J].arXiv:2106.08254,2021.
[28] ZHOU J,WEI C,WANG H,et al.ibot:Image bert pre-training with online tokenizer[J].arXiv:2111.07832,2021.
[29] PENG Z,DONG L,BAO H,et al.Beit v2:Masked image mode-ling with vector-quantized visual tokenizerJ].arXiv:2208.06366,2022.
[30] HE K,CHEN X,XIE S,et al.Masked autoencoders are scalablevision learners[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2022:16000-16009.
[31] XIE Z,ZHANG Z,CAO Y,et al.Simmim:A simple framework for masked image modeling[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2022:9653-9663.
[32] LI X,WANG W,YANG L,et al.Uniform masking:Enabling mae pre-training for pyramid-based vision transformers with locality[J].arXiv:2205.10063,2022.
[33] GENG X,LIU H,LEE L,et al.Multimodal masked autoenco-ders learn transferable representations[J].arXiv:2205.14204,2022.
[34] DOU Z Y,XU Y,GAN Z,et al.An empirical study of training end-to-end vision-and-language transformers[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2022:18166-18176.
[35] BACHMANN R,MIZRAHI D,ATANOV A,et al.Multimae:Multi-modal multi-task masked autoencoders[C]//European Conference on Computer Vision.Cham:Springer,2022:348-367.
[36] BAEVSKI A,HSU W N,XU Q,et al.Data2vec:A generalframework for self-supervised learning in speech,vision and language[C]//International Conference on Machine Learning.PMLR,2022:1298-1312.
[37] WETTIG A,GAO T,ZHONG Z,et al.Should you mask 15% in masked language modeling?[J].arXiv:2202.08005,2022.
[38] BENGIO Y,LÉONARD N,COURVILLE A.Estimating orpropagating gradients through stochastic neurons for conditional computation[J].arXiv:1308.3432,2013.
[39] DING Z,DING C,SHAO Z,et al.Semantically self-aligned network for text-to-image part-aware person re-identification[J].arXiv:2107.12666,2021.
[40] ZHU A,WANG Z,LI Y,et al.Dssl:Deep surroundings-person separation learning for text-based person retrieval[C]//Proceedings of the 29th ACM International Conference on Multimedia.2021:209-217.
[41] YOUNG P,LAI A,HODOSH M,et al.From image descriptions to visual denotations:New similarity metrics for semantic infe-rence over event descriptions[J].Transactions of the Association for Computational Linguistics,2014,2:67-78.
[42] KARPATHY A,LI F F.Deep visual-semantic alignments forgenerating image descriptions[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2015:3128-3137.
[43] KINGMA D P,BA J.Adam:A method for stochastic optimization[J].arXiv:1412.6980,2014.
[44] CHO J,LEI J,TAN H,et al.Unifying vision-and-language tasks via text generation[C]//International Conference on Machine Learning.PMLR,2021:1931-1942.
[45] PATHAK D,KRAHENBUHL P,DONAHUE J,et al.Context encoders:Feature learning by inpainting[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2016:2536-2544.
[46] NIU K,HUANG Y,OUYANG W,et al.Improving description-based person re-identification by multi-granularity image-text alignments[J].IEEE Transactions on Image Processing,2020,29:5542-5556.
[47] NIU K,HUANG Y,WANG L.Textual dependency embedding for person search by language[C]//Proceedings of the 28th ACM International Conference on Multimedia.2020:4032-4040.
[48] CHEN Y,HUANG R,CHANG H,et al.Cross-modal know-ledge adaptation for language-based person search[J].IEEE Transactions on Image Processing,2021,30:4057-4069.
[49] FAROOQ A,AWAIS M,KITTLER J,et al.Axm-net:Implicit cross-modal feature alignment for person re-identification[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2022:4477-4485.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!