Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 260400058-477.doi: 10.11896/jsjkx.260400058

• Image Processing & Multimedia Technology • Previous Articles     Next Articles

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
  • Online:2026-11-16 Published: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).

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

CLC Number: 

  • 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.
[1] HE Yunong, DING Zhijun. Semantics-aware Fine-grained Parallel Structural Reduction Framework for Petri-net LTL Model Checking [J]. Computer Science, 2026, 53(8): 357-364.
[2] CUI Can, GAO Zhizezhang, CUI Lei, FENG Jun, SUN Xia. Generation of Programming Learning Situation Feedback Reports Based on Code Analysis [J]. Computer Science, 2026, 53(6): 77-83.
[3] LI Peng, ZHANG Zihao, HAN Yahong. Primitive Dynamic Weighting for Multi-modal Salient Object Detection [J]. Computer Science, 2026, 53(6): 242-251.
[4] ZHANG Huan, HOU Mingxing, LIU Guangna , SHI Ying. Fine-grained Access Control Model for Big Data Based on Dynamic Data Sensitivity Levels [J]. Computer Science, 2026, 53(2): 187-195.
[5] YU Kehang, MA Handa. Fine-grained Image Classification via Multi-scale Feature Fusion and Channel Shuffling [J]. Computer Science, 2026, 53(11A): 251200185-484.
[6] JIANG Yanji, LIU Changhao, DONG Hao, YU Miao, HUANG Jinshan. FRT-DETR:Small Traffic Sign Detection Based on Multi-scale Feature Fusion of RT-DETR [J]. Computer Science, 2026, 53(11A): 251100092-525.
[7] LIU Ri, BAI Lin. Human-Object Interaction Detection with Pose Guidance and Semantic Enhancement [J]. Computer Science, 2026, 53(11): 206-214.
[8] PENG Jiao, HE Yue, SHANG Xiaoran, HU Saier, ZHANG Bo, CHANG Yongjuan, OU Zhonghong, LU Yanyan, JIANG dan, LIU Yaduo. Text-Dynamic Image Cross-modal Retrieval Algorithm Based on Progressive Prototype Matching [J]. Computer Science, 2025, 52(9): 276-281.
[9] LIU Chengzhuang, ZHAI Sulan, LIU Haiqing, WANG Kunpeng. Weakly-aligned RGBT Salient Object Detection Based on Multi-modal Feature Alignment [J]. Computer Science, 2025, 52(7): 142-150.
[10] TANG Lijun , YANG Zheng, ZHAO Nan, ZHAI Suwei. FLIP-based Joint Similarity Preserving Hashing for Cross-modal Retrieval [J]. Computer Science, 2025, 52(6A): 240400151-10.
[11] LUAN Fangjun, ZHANG Fengqiang, YUAN Shuai. Click-through Rate Prediction Model Based on Feature Embedding Gating and PolynomialFeature Crossover Networks [J]. Computer Science, 2025, 52(6A): 240900092-6.
[12] HUANG Zhiyong, LI Bicheng, WEI Wei. Aspect-level Sentiment Analysis Models Based on Syntax and Semantics [J]. Computer Science, 2025, 52(6A): 240400193-7.
[13] DU Qiangang, PENG Bo, CHI Mingmin. Remote Sensing Change Detection Based on Contextual Fine-grained Information Restoration [J]. Computer Science, 2025, 52(2): 183-190.
[14] DING Yuanbo, BAI Lin, LI Taoshen. Human-Object Interaction Detection Based on Fine-grained Attention Mechanism [J]. Computer Science, 2025, 52(11): 141-149.
[15] XIAO Yahui, ZHANG Zili, HU Xinrong, PENG Tao, ZHANG Jun. Clothing Image Segmentation Method Based on Deeplabv3+ Fused with Attention Mechanism [J]. Computer Science, 2024, 51(6A): 230900153-7.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!