Feature extraction model training method, article recommendation method and device

Through feature extraction model training and multi-modal creative feature information extraction, the problem of inaccurate item recommendation in the existing technology is solved, the prediction and recommendation effect of user preference is improved, and the user experience is improved.

CN118570586APending Publication Date: 2024-08-30BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410780816.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When recommending items, the existing technology fails to accurately estimate the user's preference for different advertising creatives, resulting in poor recommendation effects and affecting user experience.

Method used

Through the training of the feature extraction model, historical image data is obtained and encoded to generate a feature vector group. Combined with the visual vectors in the code table, the target visual vector is determined. The feature extraction model is trained to maximize the similarity between the feature information and the visual vector. Extract Multi-modal creative feature information, combined with user feature information, recommends items and considers various contents of advertising creativity.

Benefits of technology

It improves the accuracy of users' preferences for different advertising creatives, improves the accuracy and efficiency of item recommendations, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570586A
    Figure CN118570586A
Patent Text Reader

Abstract

The invention provides a feature extraction model training method, and an article recommendation method and device. The training method of the feature extraction model comprises the steps of performing coding processing on each piece of historical image data to obtain a feature vector group corresponding to each piece of historical image data; obtaining a target visual vector set corresponding to the feature vector group according to the similarity between the feature vectors in the feature vector group and the visual vectors in the code table; and taking the target visual vector set and the training sample set data as input data of a feature extraction model, taking the similarity between feature information output by the maximum feature extraction model based on the training sample set data and the target visual vector set as a target function, and training to obtain the feature extraction model. The feature extraction model is utilized to extract the multi-modal creative feature information of the image information corresponding to different advertisement creativity so as to recommend the article to the target user based on the advertisement creativity of user preference, and the accuracy and efficiency of article recommendation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to an item recommendation method and device. Background Art

[0002] When recommending items to users, we need to not only consider the items that the users may be interested in, but also estimate the advertising creatives that the users prefer the most, and display the corresponding items based on the advertising creatives. In the prior art, when recommending items, the unique identifier of the creative is usually used to represent the creative, without considering the content of the advertising creative itself. This results in inaccurate estimates of the user's preference for different advertising creatives, which in turn leads to poor item recommendation effects and affects the user experience. Summary of the invention

[0003] The embodiments of the present disclosure at least provide a method, device, electronic device and storage medium for training a feature extraction model and a method, device, electronic device and storage medium for item recommendation, which can improve the accuracy of estimating user preferences for different advertising creatives and improve the efficiency of item recommendation.

[0004] In a first aspect, an embodiment of the present disclosure provides a method for training a feature extraction model, the method comprising: Acquire training sample set data, where the training sample set data includes a historical image data set; Performing encoding processing on each historical image data in the historical image data set to obtain a feature vector group corresponding to each historical image data; wherein each feature vector in the feature vector group corresponds to an image block in the historical image data; According to the similarity between the feature vector in the feature vector group and the visual vector in the code table, the target visual vector corresponding to the feature vector is determined, and a target visual vector set corresponding to the feature vector group is obtained; wherein the visual vector in the code table is determined by the output feature obtained based on the pre-trained teacher model with the historical image data as input data; The target visual vector set and the training sample set data are used as the input data of the feature extraction model, and the objective function is to maximize the similarity between the feature information output by the feature extraction model based on the training sample set data and the target visual vector set, so as to train the feature extraction model.

[0005] In an optional implementation, the method further includes: Obtaining object feature information corresponding to the historical image dataset; Taking historical image datasets and item feature information as input data, the feature extraction model is made to output item estimation features. The objective function is to maximize the similarity between item estimation features and item feature information, and the feature extraction model is trained.

[0006] In an optional implementation, when the item feature information includes at least one of item category information and item title information, the method includes: Taking a historical image dataset and at least one of item category information and item title information as input data, the feature extraction model is made to output at least one of an estimated category feature and an estimated title feature of the item, and maximizing the similarity between at least one of the estimated category feature and the estimated title feature and between at least one of the item category feature and the item title information as a first loss function, and the feature extraction model is trained so that the feature extraction model can estimate at least one of the item category and the item title.

[0007] In an optional implementation manner, when the item feature information includes item title information, the method further includes: Taking the historical image dataset and item title information as input data, the feature extraction model outputs the image features corresponding to each historical image data, and maximizing the similarity between the image features and the item title information is used as the second loss function of the feature extraction model, so that the feature extraction model can determine whether the image information matches the preset title information.

[0008] In a second aspect, an embodiment of the present disclosure provides an item recommendation method, the method comprising: Obtaining image information corresponding to each of a plurality of advertising creatives of the item to be recommended, and target user feature information; Extracting multimodal creative feature information of the image information, and determining target image information corresponding to the target user from the plurality of image information according to the multimodal creative feature information and the target user feature information; According to the target advertising creative corresponding to the target image information, the recommended items are recommended to the target users.

[0009] In an optional implementation manner, extracting multimodal creative feature information of image information includes: The image information is input into the feature extraction model to extract the multimodal creative feature information of the image information.

[0010] In an optional implementation manner, determining target image information corresponding to a target user from a plurality of image information includes: The multimodal creative feature information and the target user feature information are used as input data of the creative optimization model, so that the creative optimization model outputs the estimated preference degree of the target user for the image information; Based on the preference degree, determining target image information corresponding to the target user from the plurality of image information; The creative optimization model is trained through the following steps: Acquire training set sample data; the training set sample data includes historical image data, multimodal creative feature information corresponding to the historical image data, target user feature information, and a target user's preference level identification for the historical image data; The multimodal creative feature information is spliced ​​with the target user feature information to obtain spliced ​​creative feature information; The creative feature information corresponding to the historical image data is used as the input data of the creative optimization model, and the preference degree identifier is used as the output data, and the creative optimization model is trained.

[0011] In an optional implementation, the creative optimization model includes a third loss function, which represents a function for maximizing the similarity between the estimated preference level output by the creative optimization model and the preference level identifier.

[0012] In a third aspect, the present disclosure provides a training device for a feature extraction model, including: An acquisition module is used to acquire training sample set data, where the training sample set data includes a historical image data set; An encoding module, used for encoding each historical image data in the historical image data set to obtain a feature vector group corresponding to each historical image data; wherein each feature vector in the feature vector group corresponds to an image block in the historical image data; A determination module, used to determine the target visual vector corresponding to the feature vector according to the similarity between the feature vector in the feature vector group and the visual vector in the code table, and obtain a target visual vector set corresponding to the feature vector group; wherein the visual vector in the code table is determined by the output feature obtained based on the pre-trained teacher model with the historical image data as input data; The training module is used to use the target visual vector set and the training sample set data as the input data of the feature extraction model, and to maximize the similarity between the feature information output by the feature extraction model based on the training sample set data and the target visual vector set as the objective function, so as to train the feature extraction model.

[0013] In a fourth aspect, an embodiment of the present disclosure provides an item recommendation device, including: An acquisition module, used to acquire image information corresponding to each of a plurality of advertising creatives of the item to be recommended, and target user feature information; A preference determination module is used to extract multimodal creative feature information of image information, and determine target image information corresponding to the target user from multiple image information according to the multimodal creative feature information and target user feature information; The item recommendation module is used to recommend items to be recommended to target users based on target advertising creatives corresponding to target image information.

[0014] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any optional implementation of the first aspect are performed.

[0015] In a sixth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect, or any optional implementation of the first aspect are executed.

[0016] In a seventh aspect, an embodiment of the present disclosure further provides a computer program product, including a computer program, which implements the method of any of the above embodiments when executed by a processor.

[0017] Any one of the above aspects or any implementation method of any one of the aspects, by acquiring training sample set data, the training sample set data includes a historical image data set; encoding each historical image data in the historical image data set to obtain a feature vector group corresponding to each historical image data; wherein each feature vector in the feature vector group corresponds to an image block in the historical image data; according to the similarity between the feature vector in the feature vector group and the visual vector in the code table, the target visual vector corresponding to the feature vector is determined to obtain a target visual vector set corresponding to the feature vector group; wherein the visual vector in the code table is determined based on the output features obtained by a pre-trained teacher model with the historical image data as input data; the target visual vector set and the training sample set data are used as input data of the feature extraction model to maximize the feature information output by the feature extraction model based on the training sample set data and the target visual vector The similarity of the set is used as the objective function, and a feature extraction model is trained; a feature extraction model that can extract image information features more accurately can be trained, thereby improving the efficiency of feature extraction; image information corresponding to multiple advertising creatives of the recommended item and target user feature information are obtained; multimodal creative feature information of the image information is extracted, and the target image information corresponding to the target user is determined from the multiple image information according to the multimodal creative feature information and the target user feature information; the recommended item is recommended to the target user according to the target advertising creative corresponding to the target image information; wherein the multimodal creative feature information is obtained through any optional implementation method in the first aspect of the embodiment of the present invention; thereby, when recommending items to users, the contents of multiple advertising creatives corresponding to multiple image information of the same item are taken into consideration, thereby further improving the accuracy of estimating the user's preference for different advertising creatives.

[0018] For a description of the effects of the training device, item recommendation device, computer device, computer readable medium and computer program of the above-mentioned feature extraction model, please refer to the description of the above-mentioned item recommendation method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0020] Figure 1 A flow chart of a method for training a feature extraction model provided by an embodiment of the present disclosure is shown; Figure 2 A flowchart of an item recommendation method provided by an embodiment of the present disclosure is shown; Figure 3 A flowchart of training a creative optimization model in an item recommendation method provided by an embodiment of the present disclosure is shown; Figure 4 A schematic diagram of a training device for a feature extraction model provided by an embodiment of the present disclosure is shown; Figure 5 A schematic diagram of an item recommendation device provided by an embodiment of the present disclosure is shown; Figure 6 An exemplary system architecture is shown in which embodiments of the present disclosure may be applied; Figure 7 A schematic diagram of the structure of a computer system of a terminal device or a server used to implement an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0022] It should be noted that in the technical solution of the present invention, the collection, use, storage, sharing and transfer of user personal information involved are in compliance with the provisions of relevant laws and regulations, and it is necessary to inform the user and obtain the user's consent or authorization. When applicable, the user's personal information is de-identified and / or anonymized and / or encrypted.

[0023] According to research, recommending items to users can filter out a small number of items that users are interested in from a large number of items in a short period of time, score and sort the filtered items, and finally display them to users. In addition, since each item has multiple image information, different image information also corresponds to different advertising creatives. Therefore, when recommending items, it is also necessary to consider the advertising creatives used when displaying the items to be recommended, so as to more accurately recommend the items to users.

[0024] However, existing methods usually set corresponding unique identifiers for different advertising creatives, and directly use the identifiers to represent different advertising creatives without considering the content of the advertising creatives themselves; this leads to inaccurate estimates of user preferences for different advertising creatives, which in turn leads to poor item recommendation effects and affects user experience.

[0025] Based on the above research, the embodiments of the present disclosure provide a method for training a feature extraction model and a method for recommending an item, by acquiring training sample set data, the training sample set data including a historical image data set; encoding each historical image data in the historical image data set to obtain a feature vector group corresponding to each historical image data; wherein each feature vector in the feature vector group corresponds to an image block in the historical image data; according to the similarity between the feature vector in the feature vector group and the visual vector in the code table, determining the target visual vector corresponding to the feature vector, and obtaining a target visual vector set corresponding to the feature vector group; wherein the visual vector in the code table is determined by the output feature obtained by using the historical image data as input data based on a pre-trained teacher model; using the target visual vector set and the training sample set data as input data of the feature extraction model, and training the feature extraction model with the objective function of maximizing the similarity between the feature information output by the feature extraction model based on the training sample set data and the target visual vector set; being able to train a feature extraction model that can more accurately extract image information features, thereby improving the feature extraction efficiency. The invention relates to a method for improving the efficiency of the extraction; obtaining image information corresponding to each of multiple advertising creatives of the items to be recommended, and target user feature information; extracting multimodal creative feature information of the image information, and determining target image information corresponding to the target user from multiple image information according to the multimodal creative feature information and the target user feature information; recommending the items to be recommended to the target user according to the target advertising creative corresponding to the target image information; extracting multimodal creative feature information from the image information corresponding to the advertising creative, and then combining the multimodal creative feature information with the user feature information to determine the user's preference for the image information; finally, based on the preference, determining the target image information from multiple image information of the items to be recommended, and recommending the items to be recommended to the user according to the advertising creative corresponding to the target image information; wherein the multimodal creative feature information is obtained by the method of any optional implementation method in the first aspect of the embodiment of the present invention; thereby, when recommending items to the user, the contents of multiple advertising creatives corresponding to multiple image information of the same item are taken into account, and the accuracy of the result of estimating the user's preference for different advertising creatives is further improved.

[0026] The raising of the above problems and the solutions are the results obtained by the inventor after practice and careful research. The discovery process of the above problems and the solutions proposed for the above problems should be the contributions made by the inventor to the present disclosure during the disclosure process.

[0027] The technical solutions in the present disclosure will be clearly and completely described below in conjunction with the drawings in the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0028] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0029] To facilitate understanding of the present embodiment, a feature extraction model training method and an item recommendation method disclosed in the present embodiment are first introduced in detail. The execution subject of the feature extraction model training method and the item recommendation method provided in the present embodiment is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device. The terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the feature extraction model training method and the item recommendation method can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0030] See also Figure 1 As shown, it is a flow chart of the training method of the feature extraction model provided in the embodiment of the present disclosure. It should be noted that the training method of the embodiment of the present disclosure is only illustrated by taking the multimodal creative feature information extracted by the training feature extraction model as the visual feature as an example, which does not constitute an improper limitation on the present disclosure. In specific implementation, a similar training method can be used to train the feature extraction model to extract the corresponding features in the image information, and the embodiment of the present disclosure will not be described in detail here. The method includes S101~S104, wherein: S101: Acquire training sample set data, where the training sample set data includes a historical image data set.

[0031] In this step, the acquired training sample set data may include a historical image data set.

[0032] In a specific implementation, the historical image dataset may include preprocessed historical images, such as images that have been rotated, scaled, cropped, etc., which helps to improve the generalization ability of the model; in addition, the historical image dataset may also include a certain number of historical images with poor clarity or low quality to improve the robustness of the feature extraction model, but it should be noted that the number of historical images with poor quality or low sentiment in the historical image dataset should not be too large, which may cause the feature extraction model to learn bad features or be overly sensitive to noise, thereby reducing the performance of the model when processing high-quality images.

[0033] S102: Encoding each historical image data in the historical image data set to obtain a feature vector group corresponding to each historical image data; wherein each feature vector in the feature vector group corresponds to an image block in the historical image data.

[0034] In this step, the historical image can be converted into a feature vector. Specifically, the historical image can be divided into multiple image blocks, each of which corresponds to a feature vector, which is used to represent the features of the corresponding image block, thereby obtaining a feature vector group corresponding to each historical image.

[0035] S103: Determine the target visual vector corresponding to the feature vector according to the similarity between the feature vector in the feature vector group and the visual vector in the code table, and obtain a set of target visual vectors corresponding to the feature vector group; wherein the visual vector in the code table is determined by the output features obtained based on a pre-trained teacher model with historical image data as input data.

[0036] In this step, the visual vector having the minimum cosine distance with each feature vector in the feature vector group obtained in the previous step can be searched in the code table, and based on each visual vector obtained, a set of visual vectors corresponding to the historical image data can be obtained. That is, for a historical image composed of N image blocks, a visual vector sequence composed of N visual vectors can be obtained; the code table here can be understood as a visual codebook or visual dictionary, which is usually used to find the visual features of an image.

[0037] In a specific implementation, the historical image can be first input into the pre-trained teacher model to obtain the feature vector output by the teacher model based on the historical image. After obtaining the feature vector corresponding to each historical image, the feature vector obtained based on the teacher model can be clustered using a clustering algorithm to obtain multiple visual vectors corresponding to the feature vector, and the multiple visual vectors constitute the code table in the embodiment of the present disclosure. Then, the visual vector set corresponding to the feature vector group corresponding to the historical image data can be found in the code table, and the visual vector set here can be used as the output target of the feature extraction model to participate in the training of the feature extraction model.

[0038] Specifically, the similarity between the feature vector and the visual vector can be determined by using a metric such as cosine distance or Euclidean distance. Taking the cosine distance as an example to determine the similarity, the formula is as follows: Among them, the visual vector sequence after encoding the historical image is expressed as , the embedding of the code table is expressed as ; Represents the visual vector corresponding to the feature vector of the i-th image block, represents the embedding of the jth code table, is the L2 regularization of the visual vector in the code table.

[0039] S104: Using the target visual vector set and the training sample set data as input data, and taking maximizing the similarity between the feature information output by the feature extraction model based on the training sample set data and the target visual vector set as the objective function, a feature extraction model is trained to obtain the feature extraction model.

[0040] Through the above training steps, the feature extraction model has the ability to extract multimodal creative feature information in image information based on image information.

[0041] In the disclosed embodiment, after the feature extraction model is obtained through training through the above steps, the feature extraction model can also be trained to have the ability to extract object features in image information.

[0042] In a specific implementation, in order to train the feature extraction model to have the ability to extract the features of objects in image information, when obtaining the training sample set data, in addition to obtaining the historical image data set, the feature information of the objects corresponding to the historical image data set can also be obtained. When training the feature extraction model, the feature extraction model is required to output the estimated features of the object in addition to the multimodal creative feature information, and the feature extraction model is trained with maximizing the similarity between the estimated features of the object and the feature information of the object as the objective function, so that the feature extraction model has the ability to extract the features of the object in the image information.

[0043] In the embodiments of the present disclosure, the feature extraction model can be trained to have the ability to estimate different item features according to actual needs. For example, the estimated features of an item can include the estimated category features and estimated title features of the item, and the item feature information can include item category information and item title information. It should be noted that the above examples of the estimated item features and item feature information are only a feasible implementation method of the embodiments of the present disclosure and do not constitute an improper limitation on the present invention.

[0044] Exemplarily, when the training feature extraction model has the ability to estimate the item category features or item titles in the image information, the first loss function can be set as follows: The first loss function can represent maximizing the similarity between the estimated category feature and the item category information, and maximizing the similarity between the estimated title feature and the item title information. Taking maximizing the similarity between the estimated category feature and the item category information as an example, It represents the similarity between the estimated category features in the estimated features of the item and the item category information in the item feature information. N represents the number of historical images. K represents the number of categories of item category information in each historical image. Indicates whether the i-th historical image corresponds to the j-th item category information, It represents the probability that the feature extraction model estimates whether the i-th historical image is classified as the j-th item category information.

[0045] It should be noted here that the setting of the first loss function can be set according to actual conditions and needs, so as to achieve its function; and the feature extraction model can be trained according to actual needs to enable it to have the ability to estimate the characteristics of different objects. The embodiments of the present disclosure do not make specific limitations on this.

[0046] In the embodiment of the present disclosure, when the feature extraction model is trained to have the ability to extract object features in image information, the second loss function may also be set as follows: loss E1 = 1 N ∑ i -[y i * log ( h( I i , T i ) ) + 1- y i * log 1- h I i , T i ] The second loss function indicates whether the image features outputted from the historical image data and the given item title information are from the same item. Indicates whether the image features match the item title information, N indicates the number of historical images, represents the image features of the i-th historical image, represents the item title information corresponding to the i-th historical image, h represents the calculation of cosine similarity, Indicates whether the image features of the historical image and the item title information are from the same product.

[0047] It should be noted that, based on the feature extraction model obtained through training, by adding item feature information to the training sample and setting the first loss function and the second loss function, the feature extraction model can be enabled to have the ability to estimate item features based on image information and the ability to determine whether the image information matches the preset title. In practical applications, the capabilities of the above-mentioned trained feature extraction model can be arbitrarily combined according to actual needs. For example, based on the feature extraction model, it can be trained to have only the ability to estimate the item category, or it can be trained to have the ability to estimate the item category and the item title, or it can be trained to have the ability to estimate the item category and the item title at the same time and determine whether the image information and the preset title are from the same item; the embodiments of the present disclosure do not specifically limit this.

[0048] Through the above training steps, the feature extraction model has the ability to extract multimodal creative feature information and object feature information based on image information, and can determine whether the image and the given title information are from the same object, thereby further improving the accuracy of determining object feature information using the model.

[0049] See also Figure 2 FIG. 2 is a flowchart of an item recommendation method provided by an embodiment of the present disclosure, the method comprising S201 to S204, wherein: S201: Obtaining image information corresponding to each of a plurality of advertising creatives of the item to be recommended, and target user feature information.

[0050] It should be noted that the relationship between the advertising creative and the image information of the recommended item can be one-to-one or one-to-many, that is, one advertising creative can correspond to one image information or multiple image information. Specifically, when one advertising creative corresponds to multiple image information, all image information corresponding to the advertising creative can be obtained, or one of the multiple image information can be obtained by extraction. The extraction rules should be based on actual conditions and needs in specific implementation, and the embodiments of the present disclosure do not limit this.

[0051] In a specific implementation, the acquired target user characteristic information may include basic information such as gender and age of the target user; it may also include historical behavior data of the target user, for example, the types of items with a large number of historical clicks by the target user, so that it is possible to estimate the types of items that the target user is more interested in; for example, it may also be possible to determine which parts of the item details the target user spends a longer time on when browsing the item details, so that it is possible to estimate which attribute information of the item the target user is more concerned about; in addition, the historical behavior data of the target user may also include any other data, and the target user characteristic information may also include any other information related to the target user in addition to the user basic information and historical behavior data, and the embodiments of the present disclosure do not make specific limitations on this.

[0052] In the disclosed embodiment, after acquiring the image information and the target user characteristic information, the acquired information may be preprocessed. The purpose of the preprocessing is to ensure the reliability of the data. For missing or abnormal data, corresponding rules may be preset to preprocess the data, and the preprocessed data may be used for subsequent steps.

[0053] S202: extracting multimodal creative feature information of the image information, and determining target image information corresponding to the target user from the plurality of image information according to the multimodal creative feature information and the target user feature information.

[0054] In this step, multimodal creative feature information of the image information may be extracted, and the target user's preference for the image information may be determined based on the extracted multimodal creative feature information and the target user feature information obtained in the previous step.

[0055] It should be noted that, since the image information includes not only the image itself but also text information such as the image title and the image description, the multimodal creative feature information here is obtained based on the image and text in the image information. Furthermore, the multimodal creative feature information here can be the visual features of the image information, which may include color features, texture features, shape features, etc.; it can also be any other features related to the image information, such as the statistical features of the image, such as the spectrum of the image, the grayscale average, etc.; it can also be the spatial relationship features of the image, such as the spatial position relationship and relative direction relationship of multiple targets in the image.

[0056] In the embodiments of the present disclosure, the multimodal creative feature information is only described in detail as a visual feature, which does not constitute an improper limitation on the present disclosure; unless otherwise specified, the multimodal creative feature information hereinafter can be understood as a visual feature. The specific features referred to by the multimodal creative feature information should be selected in combination with the actual situation in the specific implementation, and the embodiments of the present disclosure do not limit this.

[0057] In the disclosed embodiment, a pre-trained feature extraction model can be used to extract multimodal creative feature information of image information. Specifically, the image information can be used as input data, and the feature extraction model can output the corresponding multimodal creative feature information. This can improve the efficiency and accuracy of feature extraction.

[0058] It should be noted that if, when acquiring image information corresponding to an advertising creative, multiple image information corresponding to the same advertising creative is acquired, then when extracting multimodal creative information of the image information, the multiple image information can be respectively input into the feature extraction model. After extracting multiple multimodal creative feature information corresponding to the advertising creative, the multiple multimodal creative feature information can be fused or spliced, and the feature information after the fusion or splicing process is used as the final multimodal creative feature information corresponding to the advertising creative; in addition, one of the multiple multimodal creative feature information can be selected based on a preset selection rule as the final multimodal creative feature model corresponding to the advertising creative; whether it is the fusion or splicing method or the preset selection rule, it should be selected and set according to actual conditions and needs in the specific implementation, and the embodiments of the present disclosure do not make specific limitations on this.

[0059] Regarding the feature extraction model mentioned above, its training steps can be as shown in S101~S104 above, and will not be repeated here.

[0060] In a possible implementation, when determining the target image information corresponding to the target user, a pre-trained creative optimization model may be used to determine the target user's preference for multiple image information. After the creative optimization model obtains the target user's preference for each image information, the target image information corresponding to the target user may be determined from the multiple image information based on the target user's preference for different image information.

[0061] In a specific implementation, the image information with the highest degree of preference can be directly determined as the target image information corresponding to the target user; or, based on the degree of preference, multiple dimensions can be set according to actual conditions, and weights under multiple dimensions can be preset to calculate the final preference result of the target user for multiple image information, and based on the final preference result, the target image information corresponding to the target user can be determined from multiple image information. Specifically, the multimodal creative feature information and the target user feature information can be used as inputs to the creative optimization model, so that the creative optimization model outputs the target user's estimated degree of preference for each image information. Using the creative optimization model to determine the target user's estimated degree of preference for each image information can improve the efficiency of the preference estimation, and thus the efficiency of item recommendation based on the degree of preference.

[0062] Specifically, the preference degree here can indicate a binary classification problem of whether the target user will click on the advertisement creative, or can indicate a quantitative problem of how likely the target user is to click on the advertisement creative, and the present invention does not make specific limitations on this.

[0063] Regarding the creative optimization model mentioned above, its training steps will be described in detail in S301~S303 below and will not be repeated here.

[0064] S203: Recommending the recommended items to the target user according to the target advertising creative corresponding to the target image information.

[0065] In this step, the advertising creative corresponding to the target image information is the target advertising creative. When recommending items to be recommended to users, they can be displayed and recommended in the form of the target advertising creative.

[0066] It can be seen from the above description that in the disclosed embodiment, by extracting the multimodal creative feature information of the image information corresponding to each advertising creative of the item to be recommended as the feature of the advertising creative, and combining the features of the advertising creative itself with the user features, the estimated result of the user's preference for each advertising creative of the item to be recommended is obtained, and according to the estimated result, the corresponding advertising creative is used to display the item to be recommended to the user. This improves the accuracy of estimating the user's preference for different advertising creatives for the same item, thereby improving the item recommendation effect and user experience.

[0067] See also Figure 3 FIG. 1 is a flowchart of a creative optimization model training method provided by an embodiment of the present disclosure, the method comprising S301 to S304, wherein: S301: Acquire training set sample data; the training set sample data includes historical image data, multimodal creative feature information corresponding to the historical image data, target user feature information, and a target user's preference level for the historical image data.

[0068] In this step, the trained feature extraction model can be used to extract the multimodal creative feature information of the historical images, and the multimodal creative feature information, target user feature information, and the target user's preference level for the historical advertising creatives corresponding to the historical images are used as training samples for the creative optimization model to train the creative optimization model.

[0069] In a specific implementation, since the feature extraction model already has the ability to extract feature information of objects in image information, the feature extraction model can also output feature information of objects corresponding to historical images as training samples to jointly train the creative optimization model.

[0070] S302: splicing the multimodal creative feature information with the target user feature information to obtain spliced ​​creative feature information.

[0071] In this step, the multimodal creative feature information and the target user feature information may be spliced ​​to obtain spliced ​​creative feature information. The splicing rules and methods here may be set according to actual conditions to achieve the purpose.

[0072] In a specific implementation, the historical advertising creative identification corresponding to the historical image and the item feature information output by the feature extraction model can also be spliced ​​with the multimodal creative feature information and the target user feature information to obtain the creative feature information; wherein the historical advertising creative identification is only used to uniquely identify the advertising creativity.

[0073] S303: Using the creative feature information corresponding to the historical image data as input data of the creative optimization model, using the preference level identifier as output data, and training to obtain the creative optimization model.

[0074] In this step, the creative feature information obtained in the previous step is used as the input data of the creative optimization model, and the preference level identifier is used as the output data. The creative optimization model is trained to enable it to have the ability to estimate the target user's preference for the advertising creativity associated with each image information.

[0075] In the embodiment of the present disclosure, when training the creative optimization model, the following third loss function may be set: loss E2 = 1 N ∑ i -[y i * log ( p i )+ 1- y i * log 1- p i ] The third loss function mentioned above represents the similarity between the estimated preference level output by the creative optimization model and the preference level identifier. Indicates whether the estimated preference level matches the preference level identifier, N indicates the number of samples in the training set sample data, Indicates whether the i-th sample in the training set sample data is the preferred sample of the target user, It represents the probability that the i-th sample in the training set sample data is estimated to be the target user's preferred sample.

[0076] The creative optimization model obtained through the above training steps can accurately estimate the target user's preference for the advertising creative corresponding to the image information, thereby improving the item recommendation effect and user experience.

[0077] According to a third aspect of the embodiment of the present invention, Figure 4 As shown, a training device for a feature extraction model is provided, comprising: An acquisition module 401 is used to acquire training sample set data, where the training sample set data includes a historical image data set; The encoding module 402 is used to perform encoding processing on each historical image data in the historical image data set to obtain a feature vector group corresponding to each historical image data; wherein each feature vector in the feature vector group corresponds to an image block in the historical image data; A determination module 403 is used to determine the target visual vector corresponding to the feature vector according to the similarity between the feature vector in the feature vector group and the visual vector in the code table, and obtain a target visual vector set corresponding to the feature vector group; wherein the visual vector in the code table is determined based on the output features obtained by the pre-trained teacher model using the historical image data as input data; The training module 404 is used to use the target visual vector set and the training sample set data as input data of the feature extraction model, and to maximize the similarity between the feature information output by the feature extraction model based on the training sample set data and the target visual vector set as the objective function to train the feature extraction model.

[0078] Optionally, the training module 404 is further configured to: Obtaining object feature information corresponding to the historical image dataset; Taking historical image datasets and item feature information as input data, the feature extraction model is made to output item estimation features. The objective function is to maximize the similarity between item estimation features and item feature information, and the feature extraction model is trained.

[0079] Optionally, when the item feature information includes at least one of item category information and item title information, the training module 404 is further configured to: Taking a historical image dataset and at least one of item category information and item title information as input data, the feature extraction model is made to output at least one of an estimated category feature and an estimated title feature of the item, and maximizing the similarity between at least one of the estimated category feature and the estimated title feature and between at least one of the item category feature and the item title information as a first loss function, and the feature extraction model is trained so that the feature extraction model can estimate at least one of the item category and the item title.

[0080] Optionally, when the item feature information includes item title information, the training module 404 is further configured to: Taking the historical image dataset and item title information as input data, the feature extraction model outputs the image features corresponding to each historical image data, and maximizing the similarity between the image features and the item title information is used as the second loss function of the feature extraction model, so that the feature extraction model can determine whether the image information matches the preset title information.

[0081] According to a fourth aspect of the embodiments of the present invention, Figure 5As shown, a device 500 for recommending items is provided, comprising: The acquisition module 501 is used to acquire image information corresponding to each of a plurality of advertising creatives of the item to be recommended, and target user feature information; A preference determination module 502 is used to extract multimodal creative feature information of the image information, and determine target image information corresponding to the target user from the plurality of image information according to the multimodal creative feature information and target user feature information; The item recommendation module 503 is used to recommend items to be recommended to target users according to target advertising creative ideas corresponding to target image information.

[0082] Optionally, the preference determination module 502 is specifically configured to: The image information is input into the feature extraction model to extract the multimodal creative feature information of the image information.

[0083] Optionally, the preference determination module 502 is specifically configured to: Determining target image information corresponding to a target user from the plurality of image information includes: The multimodal creative feature information and the target user feature information are used as input data of the creative optimization model, so that the creative optimization model outputs the target user's preference for the image information; Based on the preference degree, determining target image information corresponding to the target user from the plurality of image information; The creative optimization model is trained through the following steps: Acquire training set sample data; the training set sample data includes historical image data, multimodal creative feature information corresponding to the historical image data, target user feature information, and a target user's preference level identification for the historical image data; The multimodal creative feature information is spliced ​​with the target user feature information to obtain spliced ​​creative feature information; The creative feature information corresponding to the historical image data is used as the input data of the creative optimization model, and the preference degree identifier is used as the output data, and the creative optimization model is trained.

[0084] Optionally, the preference determination module 502 is specifically configured to: The creative optimization model includes a third loss function, which represents the similarity between the estimated preference level output by the creative optimization model and the preference level identifier as maximized.

[0085] It should be noted that the specific implementation content of the device for recommending items in the present invention has been described in detail in the above-mentioned method for recommending items, so the repeated content will not be described again here.

[0086] According to a fifth aspect of an embodiment of the present invention, there is provided an electronic device for item recommendation, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the first aspect of the embodiment of the present invention.

[0087] According to a sixth aspect of an embodiment of the present invention, there is provided a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the method provided in the first aspect of the embodiment of the present invention is implemented.

[0088] According to a seventh aspect of an embodiment of the present invention, there is provided a computer program product, including a computer program, which implements the method of any of the above embodiments when executed by a processor.

[0089] Figure 6 An exemplary system architecture 600 is shown to which the method for item recommendation or the apparatus for item recommendation according to an embodiment of the present invention may be applied.

[0090] like Figure 5 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0091] The user can use the terminal devices 601, 602, 603 to interact with the server 605 through the network 604 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0092] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0093] The server 605 may be a server that provides various services, such as a backend management server (for example only) that provides support for shopping websites browsed by users using the terminal devices 601, 602, and 603. The backend management server may process the received item recommendation request and feed back the processing result (for example only) to the terminal device.

[0094] It should be noted that the method for recommending items provided in the embodiment of the present invention is generally executed by the server 605, and accordingly, the device for recommending items is generally set in the server 605. The method for recommending items provided in the embodiment of the present invention can also be executed by the terminal devices 601, 602, and 603, and accordingly, the device for recommending items can be set in the terminal devices 601, 602, and 603.

[0095] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0096] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0097] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0098] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 706 including a network interface card such as a LAN card, a modem, etc. The communication section 706 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0099] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 706, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0100] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0101] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0102] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a data extraction module, an analysis and judgment module, and an analysis result module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the acquisition module may also be described as a "module for acquiring image information and target user feature information".

[0103] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device implements the following method: obtaining image information corresponding to multiple advertising creatives of the items to be recommended, and target user feature information; extracting multimodal creative feature information of the image information, and determining the target user's preference for the image information based on the multimodal creative feature information and the target user feature information; determining the target image information corresponding to the target user from the multiple image information based on the preference; and recommending the items to be recommended to the target user based on the target advertising creative corresponding to the target image information.

[0104] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for training a feature extraction model, characterized in that: include: Acquire training sample set data, wherein the training sample set data includes a historical image data set; Performing encoding processing on each historical image data in the historical image data set to obtain a feature vector group corresponding to each historical image data; wherein each feature vector in the feature vector group corresponds to an image block in the historical image data; According to the similarity between the feature vector in the feature vector group and the visual vector in the code table, the target visual vector corresponding to the feature vector is determined to obtain a target visual vector set corresponding to the feature vector group; wherein the visual vector in the code table is determined based on the output features obtained by the pre-trained teacher model with the historical image data as input data; The target visual vector set and the training sample set data are used as input data of the feature extraction model, and the feature extraction model is trained by taking maximizing the similarity between the feature information output by the feature extraction model based on the training sample set data and the target visual vector set as the objective function.

2. The method according to claim 1, characterized in that Also includes: Acquire object feature information corresponding to the historical image data set; The historical image data set and the item feature information are used as input data, so that the feature extraction model outputs item estimation features, and the feature extraction model is trained by taking maximizing the similarity between the item estimation features and the item feature information as the objective function.

3. The method according to claim 1, characterized in that When the item feature information includes at least one of item category information and item title information, the method includes: Taking the historical image dataset and at least one of the item category information and item title information as input data, the feature extraction model is made to output at least one of the estimated category feature and the estimated title feature of the item, and maximizing the similarity between at least one of the estimated category feature and the estimated title feature and between the item category feature and at least one of the item title information as the first loss function, and training the feature extraction model so that the feature extraction model can estimate at least one of the item category and the item title.

4. The method according to claim 1, characterized in that: When the item feature information includes item title information, the method further includes: Taking the historical image data set and the item title information as input data, the feature extraction model is made to output image features corresponding to each historical image data, and maximizing the similarity between the image features and the item title information is used as the second loss function of the feature extraction model. The feature extraction model is trained so that the feature extraction model can determine whether the image information matches the preset title information.

5. An item recommendation method, characterized in that: include: Obtaining image information corresponding to each of a plurality of advertising creatives of the item to be recommended, and target user feature information; Extracting multimodal creative feature information of the image information, and determining target image information corresponding to the target user from the plurality of image information according to the multimodal creative feature information and the target user feature information; The to-be-recommended item is recommended to the target user according to the target advertisement creative corresponding to the target image information.

6. The method according to claim 5, characterized in that Extracting multimodal creative feature information of the image information includes: The image information is input into a pre-trained feature extraction model to extract multimodal creative feature information of the image information.

7. The method according to claim 5, characterized in that Determining target image information corresponding to the target user from the plurality of image information includes: Using the multimodal creative feature information and the target user feature information as input data of a creative optimization model, so that the creative optimization model outputs the target user's preference for the image information; Based on the preference degree, determining target image information corresponding to the target user from the plurality of image information; The creative optimization model is trained through the following steps: Acquire training set sample data; the training set sample data includes historical image data, multimodal creative feature information corresponding to the historical image data, target user feature information, and a preference level identifier of the target user for the historical image data; Splicing the multimodal creative feature information with the target user feature information to obtain spliced ​​creative feature information; The creative feature information corresponding to the historical image data is used as input data of the creative optimization model, and the preference degree identifier is used as output data, so as to train and obtain the creative optimization model.

8. The method according to claim 7, characterized in that The creative optimization model includes a third loss function, which represents maximizing the similarity between the estimated preference level output by the creative optimization model and the preference level identifier.

9. A training device for a feature extraction model, characterized in that: include: An acquisition module, used to acquire training sample set data, wherein the training sample set data includes a historical image data set; An encoding module, used for encoding each historical image data in the historical image data set to obtain a feature vector group corresponding to each historical image data; wherein each feature vector in the feature vector group corresponds to an image block in the historical image data; A determination module, configured to determine a target visual vector corresponding to the feature vector according to a similarity between the feature vector in the feature vector group and the visual vector in the code table, and obtain a target visual vector set corresponding to the feature vector group; wherein the visual vector in the code table is determined based on an output feature obtained by using the historical image data as input data based on a pre-trained teacher model; A training module is used to use the target visual vector set and the training sample set data as input data of the feature extraction model, and to maximize the similarity between the feature information output by the feature extraction model based on the training sample set data and the target visual vector set as the objective function, so as to train the feature extraction model.

10. An item recommendation device, characterized in that: include: An acquisition module, used to acquire image information corresponding to each of a plurality of advertising creatives of the item to be recommended, and target user feature information; a preference determination module, configured to extract multimodal creative feature information of the image information, and determine target image information corresponding to the target user from a plurality of image information according to the multimodal creative feature information and the target user feature information; The item recommendation module is used to recommend the item to be recommended to the target user according to the target advertising creative corresponding to the target image information.

11. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 8.

12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Article identification method and device, electronic equipment, medium and program product

    CN116051874A

  • Using intrinsic multimodal features of image for domain generalized

    US20240153258A1

  • Image pushing method and device

    WO2023124793A1