Cross-modal feature extraction model training method, retrieval method, system and product
Патент · CN B
Полный текст
The application provides a cross-modal feature extraction model training method, a retrieval method, a system and a product, wherein the method comprises the steps of collecting training data, wherein the training data comprises a plurality of images and corresponding descriptive text groups; the method comprises the steps of obtaining a mask image and a mask text, obtaining training image features, training text features, mask image features and mask text features based on a feature extraction model, modeling based on the mask image features and the training text features of a first language and a second language, constructing a first loss function of a cross-language distillation mask image model, modeling based on the training image features and the mask text features of the first language and the second language, constructing a second loss function of a cross-language mask language model, and performing optimization training based on the first loss function and the second loss function to obtain an optimized feature extraction model. The method is beneficial to improving the accuracy of cross-modal and cross-language feature extraction.