The invention relates to a cross-
modal retrieval technology, in particular to a cross-
modal image-text
pedestrian retrieval method based on a
generative model, which comprises the following steps: acquiring text description information and a corresponding original
pedestrian image; calling a
diffusion generation model to generate an
intermediate image based on the text description; original image features and text features are extracted through an image
encoder and a text
encoder respectively, and semantic-fused text feature representation is constructed; calculating the similarity between the image feature representation and the text feature representation to obtain an image-
text matching score; introducing and generating an
intermediate image as a semantic bridge, and realizing multi-
modal fusion among the image, the text and the
intermediate image through a cross attention mechanism to obtain fused image and text features; and using the fusion features to
train a recognition model, and finally outputting a
pedestrian image retrieval result corresponding to the text description. According to the method, the image-
text alignment precision can be improved, the robustness of a scene with incomplete text description is enhanced, and the recognition accuracy in a cross-modal retrieval task is improved.