Resource recommendation method, and multi-target fusion model training method and apparatus

Through the combination of object type information prediction and multi-objective fusion model, the problem of difficulty in simultaneously improving the prediction effect of multi-objective ranking models in the recommendation system is solved, the accuracy of the recommendation results is improved, and more efficient resource recommendation is achieved.

WO2023040494A9PCT designated stage expired Publication Date: 2024-09-12TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2022/109835
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-14
Filing Date
2022-08-03
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

It is difficult for the multi-objective ranking model to simultaneously improve the prediction effect of all targets in the recommendation system, and the fusion method when the model predicts the recommendation probability results in low accuracy of the results.

Method used

By predicting the probability that the target object belongs to each object type based on the object type information, and fusing the estimated results of different object types based on this probability, a multi-objective fusion model including an object type sub-model, a multi-objective sub-model and a fusion sub-model is used for training. The loss is used to optimize the fused sub-model.

Benefits of technology

The accuracy of the fusion results of prediction results of multiple targets is improved. Personalization improves the accuracy of multi-target fusion. Experimental results show that the number of clicks, total reading time and number of likes have increased.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2022109835_12092024_PF_FP_ABST
    Figure CN2022109835_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of machine learning, and provides a resource recommendation method, and a multi-target fusion model training method and apparatus, which can be applied to various scenarios such as cloud technology, artificial intelligence, and intelligent transportation. The method comprises: determining target estimation information on the basis of an object feature of a target object, and a resource feature of a resource, and an association feature; determining object type information on the basis of the object feature; determining recommendation information of the resource on the basis of the target estimation information and the object type information; and determining a recommendation policy of the resource for the target object according to the recommendation information. According to the technical solution, estimation effects of targets can be fused on the basis of the probability that the object belongs to each object type, such that for objects of different object types, fusion modes of the estimation effects of the targets are different, and the accuracy of the fusion result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Resource recommendation method, multi-objective fusion model training method and device

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on September 14, 2021, with application number 2021110731145 and application name “Media Resource Recommendation Method, Training Method and Device for Multi-Objective Fusion Model”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of machine learning technology, and in particular to resource recommendation technology and model training technology. Background Art

[0003] Multi-objective ranking models are widely used in recommendation systems. By simultaneously considering the prediction results of multiple objectives, such as click-through rate, conversion rate, and click-through conversion rate, these models can achieve additional benefits that single-objective models cannot achieve. However, a common problem with multi-objective modeling is that while the prediction results for some objectives improve, the results for others deteriorate. This means it's difficult to simultaneously improve the prediction results for all objectives.

[0004] Currently, optimizing the model structure during the training phase is often used to alleviate these issues. By introducing an expert network into the model, the flexibility of fitting each target is increased, reducing the mutual constraints between targets caused by underlying parameter sharing, allowing each target to be fitted better.

[0005] However, although the above scheme can make each target fit better, it is necessary to fuse the prediction effects of different targets when the model predicts the recommendation probability. At this time, the fusion result is still not accurate due to the poor fusion method, that is, the multi-target prediction result is still not ideal.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a resource recommendation method, apparatus, computer device, and storage medium that can improve the accuracy of the fusion results of prediction results of multiple targets. The technical solution is as follows.

[0008] In one aspect, a resource recommendation method is provided, which is executed by a computer device, and the method includes:

[0009] Determining target estimation information based on an object feature of a target object, a resource feature and an association feature of a resource, wherein the association feature is used to indicate an association relationship between the resource and the target object, and the target estimation information is used to indicate an estimation result of multiple targets after recommending the resource to the target object;

[0010] Determining object type information based on the object features, where the object type information is used to indicate a probability that the target object belongs to each object type;

[0011] Determining recommendation information of the resource based on the target estimation information and the object type information, wherein the recommendation information is used to indicate a fusion result of the estimation results of the multiple targets;

[0012] A recommendation strategy for the resource of the target object is determined based on the recommendation information.

[0013] In another aspect, a resource recommendation device is provided, the device comprising:

[0014] a first determining module, configured to determine target estimation information based on an object feature of a target object, a resource feature and an association feature of a resource, wherein the association feature indicates an association relationship between the resource and the target object, and the target estimation information indicates an estimation result of multiple targets after recommending the resource to the target object;

[0015] a second determining module, configured to determine object type information based on the object features, wherein the object type information is used to indicate a probability that the target object belongs to each object type;

[0016] a third determining module, configured to determine recommendation information of the resource based on the target estimation information and the object type information, wherein the recommendation information is used to indicate a fusion result of the estimation results of the multiple targets;

[0017] A recommendation module is used to determine a recommendation strategy for the resource of the target object based on the recommendation information.

[0018] In another aspect, a method for training a multi-objective fusion model is provided, which is executed by a computer device. The multi-objective fusion model includes an object type sub-model, a multi-objective sub-model, and a fusion sub-model. The method includes:

[0019] For any sample information, the sample object feature, sample resource feature, and sample association feature in the sample information are input into the multi-target sub-model to obtain sample prediction information of the sample information, wherein the sample association feature is used to indicate the association relationship between the sample resource corresponding to the sample resource feature and the sample object corresponding to the sample object feature, and the sample prediction information is used to indicate the prediction results of multiple targets after the sample object clicks the sample resource;

[0020] Inputting the sample object features in the sample information into the object type sub-model to obtain sample object type information of the sample information, wherein the sample object type information is used to indicate the probability that the sample object belongs to each object type;

[0021] Inputting the sample estimation information and the sample object type information into the fusion sub-model to obtain sample recommendation information corresponding to the sample information, wherein the sample recommendation information is used to indicate a fusion result of the estimation results of the multiple targets;

[0022] Determining the training loss of the fusion sub-model based on the sample recommendation information corresponding to each of the multiple sample information;

[0023] The multi-objective fusion model is trained based on the training loss of the fusion sub-model.

[0024] On the other hand, a training device for a multi-objective fusion model is provided, wherein the multi-objective fusion model includes an object type sub-model, a multi-objective sub-model, and a fusion sub-model, and the device includes:

[0025] A first training module is configured to, for any sample information, input sample object features, sample resource features, and sample association features in the sample information into the multi-target sub-model to obtain sample prediction information of the sample information, wherein the sample association features are used to indicate the association relationship between the sample resource corresponding to the sample resource feature and the sample object corresponding to the sample object feature, and the sample prediction information is used to represent the prediction results of multiple targets after the sample object clicks the sample resource;

[0026] a second training module, configured to input sample object features in the sample information into the object type sub-model to obtain sample object type information of the sample information, wherein the sample object type information is used to indicate the probability that the sample object belongs to each object type;

[0027] a third training module, configured to input the sample estimation information and the sample object type information into the fusion sub-model to obtain sample recommendation information corresponding to the sample information, wherein the sample recommendation information is used to indicate a fusion result of the estimation results of the multiple targets;

[0028] a fourth training module, configured to determine a training loss of the fusion sub-model based on sample recommendation information corresponding to each of the plurality of sample information;

[0029] The fourth training module is further used to train the multi-objective fusion model based on the training loss of the fusion sub-model.

[0030] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory is used to store at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the resource recommendation method in the embodiment of the present application, or the operations performed by the training method of the multi-objective fusion model in the embodiment of the present application.

[0031] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement operations such as those performed by the resource recommendation method in the embodiment of the present application, or the operations performed by the training method of the multi-objective fusion model in the embodiment of the present application.

[0032] In another aspect, a computer program product is provided, comprising computer program code stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium and executes the computer program code, causing the computer device to perform the resource recommendation method provided in the embodiments of the present application or the multi-objective fusion model training method in the embodiments of the present application.

[0033] The beneficial effects of the technical solution provided by the embodiments of the present application are:

[0034] An embodiment of the present application provides a resource recommendation method, which predicts the probability of an object belonging to each object type based on the object type information of the object, and then fuses the target's estimated results based on the probability that the object belongs to each object type. Therefore, for objects of different object types, different fusion methods are used to fuse the target's estimated results, thereby improving the accuracy of the fusion results. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] FIG1 is a schematic diagram of an implementation environment of a resource recommendation method provided in an embodiment of the present application;

[0036] FIG2 is a flow chart of a resource recommendation method provided in an embodiment of the present application;

[0037] FIG3 is a flowchart of another resource recommendation method provided in an embodiment of the present application;

[0038] FIG4 is a flow chart of a method for training a multi-objective fusion model provided in an embodiment of the present application;

[0039] FIG5 is a schematic diagram of the structure of an object type sub-model provided in an embodiment of the present application;

[0040] FIG6 is a schematic diagram of the structure of a multi-objective sub-model provided in an embodiment of the present application;

[0041] FIG7 is a schematic diagram of a gating structure provided in an embodiment of the present application;

[0042] FIG8 is a schematic diagram of the structure of a multi-objective fusion model provided in an embodiment of the present application;

[0043] FIG9 is a comparison diagram of test results provided in an embodiment of the present application;

[0044] FIG10 is a block diagram of a content recommendation device provided in an embodiment of the present application;

[0045] FIG11 is a block diagram of another resource recommendation device provided in an embodiment of the present application;

[0046] FIG12 is a block diagram of a training device for a multi-objective fusion model provided in an embodiment of the present application;

[0047] FIG13 is a block diagram of another training device for a multi-objective fusion model provided in an embodiment of the present application;

[0048] FIG14 is a schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0050] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on the quantity and execution order.

[0051] In the present application, the term "at least one" means one or more, and the term "plurality" means two or more.

[0052] The object features involved in the embodiments of the present application are features extracted from object data, and the object data may be account data, which is data collected and used after full authorization and permission.

[0053] The following explains the terms used in this application.

[0054] CTR (Click Through Rate): Click-through rate, also known as click-through rate, is the ratio of clicks to impressions. CTR is an internet advertising term that refers to the number of actual clicks on an ad divided by the number of impressions it receives.

[0055] CVR (Conversion Rate): Conversion rate, which is the number of conversions divided by the number of clicks. CVR is a metric used to measure the effectiveness of advertising. Simply put, it measures the probability that a person who clicks an ad will become an active user, register, or even pay a fee.

[0056] CTCVR: Click-through conversion rate, that is, number of conversions / number of impressions, also known as CTR×CVR.

[0057] PCTR: Page visit click rate.

[0058] MLP (Multiple Layer Perceptron): Multilayer perceptron, also commonly known as DNN (Deep Neural Network), is a multi-layer fully connected neural network.

[0059] MMoE (Multi-gate Mixture-of-Experts): A multi-gate mixed expert network, a network structure used for multi-objective learning, including multiple expert networks and multiple gates. The expert networks are mostly DNN network structures. Multiple expert networks are used to extract different features, and gates are used to assign weights to the processing results of each expert network.

[0060] ESMM (Entire Space Multi-Task Model): The complete space multi-task model is a multi-objective model that can simultaneously fit the dependency between the modeling objectives of CTR and CTCVR.

[0061] The following introduces the implementation environment of the method provided by this application.

[0062] The resource recommendation method provided in the embodiment of the present application can be executed by a computer device. The following describes the implementation environment of the resource recommendation method provided in the embodiment of the present application. FIG1 is a schematic diagram of the implementation environment of the resource recommendation method provided in the embodiment of the present application. Referring to FIG1 , the implementation environment includes a terminal 101 and a server 102.

[0063] The terminal 101 and the server 102 can be connected directly or indirectly through wired or wireless communication, and this application does not impose any restrictions on this.

[0064] In some embodiments, terminal 101 may be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, intelligent voice interaction device, smart home appliance, or in-vehicle terminal, but is not limited thereto. Terminal 101 installs and runs an application that supports resource recommendation. In some embodiments, server 102 may be an independent physical server, or a server cluster or distributed system consisting of multiple physical servers. It may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Server 102 is used to provide backend services for the application that supports resource recommendation. In some embodiments, server 102 performs primary computing tasks and terminal 101 performs secondary computing tasks; alternatively, server 102 performs secondary computing tasks and terminal 101 performs primary computing tasks; alternatively, server 102 and terminal 101 utilize a distributed computing architecture for collaborative computing.

[0065] Those skilled in the art will appreciate that the number of terminals 101 may be greater or less. For example, there may be only one terminal 101, or there may be dozens, hundreds, or even more terminals 101. The present embodiment does not limit the number or device type of terminals 101.

[0066] It should be noted that the embodiments of the present application also provide a method for training a multi-objective fusion model. The multi-objective fusion model trained by this method can be used to implement the resource recommendation method. The implementation environment of the multi-objective fusion model training method can be the same as or different from the implementation environment of the resource recommendation method, and the embodiments of the present application do not limit this.

[0067] In some embodiments, the multi-objective fusion model can be applied to a recommendation system. This recommendation system can recommend resources to a subject based on the resource recommendation method, such as news, advertisements, and videos. It can also be used to recommend goods and services to a subject. For example, the terminal can be an in-vehicle terminal. Based on the multi-objective fusion model, the server can push content such as nearby gas stations and parking lots to multiple in-vehicle terminals. These contents are also considered resources in the embodiments of this application.

[0068] FIG2 is a flow chart of a resource recommendation method provided by an embodiment of the present application. As shown in FIG2 , the present embodiment of the present application takes the method executed by a server as an example for explanation. The resource recommendation method includes the following steps.

[0069] 201. The server determines target estimation information based on the object characteristics of the target object, the resource characteristics and the association characteristics of the resource, where the association characteristics are used to indicate the association relationship between the resource and the target object, and the target estimation information is used to indicate the estimation results of multiple targets after recommending the resource to the target object.

[0070] In an embodiment of the present application, the server can determine the estimated results of multiple targets after recommending the resource to the target object based on the object characteristics of the target object, the resource characteristics of the resource to be recommended, and the association characteristics representing the association relationship between the target object and the resource. The target object is a target account, and the object characteristics are account characteristics. The server can determine whether to recommend the resource to the target object based on the estimated results of the multiple targets. The multiple targets include but are not limited to clicks, browsing time, and likes.

[0071] 202. The server determines object type information based on the object features of the target object. The object type information is used to indicate the probability that the target object belongs to each object type.

[0072] In an embodiment of the present application, the server can recommend resources to the target object based on the object characteristics of the target object. Specifically, the server can determine the probability that the target object belongs to each object type based on the object characteristics of the target object, and then recommend resources to the target object based on the probability that the target object belongs to each object type.

[0073] 203. The server determines recommendation information for the resource based on the object type information and the target estimation information, where the recommendation information is used to indicate a fusion result of the estimation results of multiple targets.

[0074] In an embodiment of the present application, after obtaining the above-mentioned object type information and the above-mentioned target estimation information, the server can fuse the estimation results of the multiple targets based on the probability that the target object belongs to each object type, and obtain the recommendation information corresponding to the resource. The recommendation information can be expressed as a recommendation score, for example, and the recommendation information can be used to decide whether to recommend the resource to the target object.

[0075] 204. Determine a recommendation strategy for the resource of the target object based on the recommendation information.

[0076] In an embodiment of the present application, after obtaining the recommendation information of a resource, the server can determine whether the recommendation information meets the recommendation conditions. If the recommendation information meets the recommendation conditions, the server can determine that the recommendation strategy for the resource of the target object is to recommend the resource to the target object; if the recommendation information does not meet the recommendation conditions, the server can determine that the recommendation strategy for the resource of the target object is not to recommend the resource to the target object.

[0077] An embodiment of the present application provides a resource recommendation method, which predicts the probability of an object belonging to each object type based on the object type information of the object, and then fuses the target's estimated results based on the probability that the object belongs to each object type. Therefore, for objects of different object types, different fusion methods are used to fuse the target's estimated results, thereby improving the accuracy of the fusion results.

[0078] Figure 2 above illustrates the main process of the resource recommendation method provided by an embodiment of the present application. The following further describes the resource recommendation method based on an application scenario. Figure 3 is a flow chart of another resource recommendation method provided by an embodiment of the present application. As shown in Figure 3, the present embodiment of the present application uses the method executed by a server as an example for illustration. The resource recommendation method includes the following steps.

[0079] 301. The server performs feature intersection on the sparse features included in the object feature of the target object, the resource feature of the resource, and the association feature to obtain a cross feature. The association feature is used to indicate the association relationship between the resource and the target object.

[0080] In an embodiment of the present application, the object features of the target object include sparse features and dense features, the resource features of the resource include sparse features and dense features, and the associated features also include sparse features and dense features. The server can perform feature cross-talk on the sparse features in the object features, the sparse features in the resource features, and the sparse features in the associated features to obtain cross-features. Taking object features as an example, if a small number of elements in an object feature have values ​​that are not zero and a large number of elements have values ​​that are zero, then the object feature is a sparse feature; if a large number of elements in the object feature have values ​​that are not zero and a small number of elements have values ​​that are zero, then the object feature is a dense feature. Wherein, the target object is a target account, the object feature is an account feature, and the account feature is extracted based on the account data of the target account. The account data of the target account is data collected and used after full authorization and permission.

[0081] For example, taking an object feature including 500 elements as an example, if 450 elements in the object feature have a value of zero, then the object feature is a sparse feature.

[0082] In some embodiments, the server can obtain the above-mentioned cross-features by respectively reducing the dimensionality of the sparse features and extracting non-zero elements. Accordingly, the server performs feature cross-features on the sparse features included in the object features, resource features, and associated features, and the step of obtaining the cross-features includes: the server performs weighted summation on the multiple non-zero elements in the sparse features included in the object features of the target object, the resource features of the resource, and the associated features to obtain first-order features, wherein one non-zero element corresponds to one element weight, and the server performs weighted summation on the multiple non-zero elements obtained based on the element weight of each zero element to obtain the first-order features. The sparse features in the object features, resource features, and associated features are reduced in dimension to obtain multiple first-dimensionality reduction features, and then the server determines the second-order cross-features based on the multiple first-dimensionality reduction features. The server splices the first-order features and the second-order cross-features to obtain the cross-features.

[0083] Among them, the server can determine the above-mentioned second-order cross-features by summing the inner products between any two first dimensionality reduction features. Accordingly, the step of determining the second-order cross-features based on multiple first dimensionality reduction features includes: the server determines the inner product of any two first dimensionality reduction features among the multiple first dimensionality reduction features, and then sums the determined multiple inner products to obtain the second-order cross-features.

[0084] In some embodiments, a server deploys a multi-objective fusion model, which includes a multi-objective sub-model. The multi-objective sub-model is used to process object features, resource features, and association features, and outputs estimated results for multiple objectives after recommending resources to target objects. The multi-objective sub-model includes a first model, the input of which is sparse features from the three categories of features: object features, resource features, and association features, and the output of which is cross-features. The first model can obtain multiple non-zero elements from the sparse features and then, based on the element weight corresponding to each non-zero element, perform a weighted sum of the multiple non-zero elements to obtain first-order features. The first model can then perform dimensionality reduction on the sparse features based on an embedding layer to obtain multiple first-order reduced-dimensionality features. The model then calculates the inner product between each first-order reduced-dimensionality feature and the other first-order reduced-dimensionality features, that is, calculates the inner product between any two first-order reduced-dimensionality features from the multiple first-order reduced-dimensionality features, and then sums the multiple inner products to obtain second-order cross-features. The first model concatenates the first-order features and the second-order cross-features to obtain cross-features.

[0085] 302. The server determines a plurality of estimated features based on the object features, the resource features, and the associated features. The plurality of estimated features are used to indicate intermediate estimated results of the plurality of targets.

[0086] In an embodiment of the present application, the server estimates intermediate estimation results of multiple targets after recommending resources to the target object based on object features, resource features, and association features.

[0087] In some embodiments, the server may perform dimensionality reduction on the sparse features included in each of the object features, resource features, and associated features to obtain multiple second dimensionality reduction features, wherein the dimensions of the multiple second dimensionality reduction features are greater than the dimensions of the multiple first dimensionality reduction features. The server may determine the multiple estimated features based on the multiple second dimensionality reduction features. Accordingly, the step of the server determining multiple estimated features based on the object features, resource features, and associated features includes: the server concatenates the dense features included in each of the object features, resource features, and associated features with the multiple second dimensionality reduction features to obtain a first input feature. The server then processes the first input feature based on the multiple expert networks corresponding to the multiple targets to obtain multiple expert network output features; the server then processes the first input feature and the multiple expert network output features based on the multiple gating functions corresponding to the multiple targets to obtain multiple gated output features; and finally, the server processes the multiple gated output features based on the multiple multilayer perceptrons corresponding to the multiple targets to obtain multiple estimated features. The multiple expert networks may be networks with a DNN structure.

[0088] In which, each target corresponds to a gate with the same structure but different parameters. The server can process the above-mentioned first input feature and the above-mentioned multiple expert network output features based on the gating function corresponding to each gate. Accordingly, the server processes the first input feature and the multiple expert network output features respectively based on the multiple gating functions corresponding to the multiple targets, and the step of obtaining multiple gated output features includes: for any target, the server can fully connect and map the first input feature based on the gating function of the target to obtain multiple first weights. The multiple first weights correspond one-to-one to the multiple expert network output features, that is, the number of first weights is equal to the number of expert network output features. Then, the server can perform a weighted summation of the multiple expert network output features based on the multiple first weights to obtain the gated output feature corresponding to the target.

[0089] In some embodiments, the multi-objective sub-model includes a second model whose input is a first input feature. The first input feature is obtained by concatenating dense features included in each of the object features, resource features, and association features, and multiple second dimensionality reduction features. The multiple second dimensionality reduction features are obtained by dimensionality reduction of the sparse features included in each of the object features, resource features, and association features. The second model can concatenate the dense features and the multiple second dimensionality reduction features to obtain the first input feature, or it can directly obtain the concatenated first input feature. The second model then processes the first input feature based on multiple expert networks corresponding to the multiple targets included in the second model to obtain multiple expert network output features. For each target, the second model fully connects and maps the first input feature based on the gating function corresponding to the target to obtain multiple first weights. The server then performs a weighted summation of the multiple expert network output features based on the multiple first weights to obtain the gated output feature for the target. Because gating for multiple targets can run in parallel, multiple gated output features for multiple targets can be obtained. Finally, the second model processes multiple gated output features based on the multiple multi-layer perceptrons included therein to obtain multiple estimated features.

[0090] 303. The server determines target estimation information based on the cross-features and the multiple estimation features. The target estimation information is used to represent estimation results of multiple targets after recommending the resource to the target object.

[0091] In an embodiment of the present application, after obtaining the above-mentioned cross-features and multiple estimated features, the server splices the cross-features with the multiple estimated features respectively to obtain the multiple second spliced ​​features, and then fully connects and activates the multiple second spliced ​​features, and then determines the inner product of the activation results to obtain the above-mentioned target prediction information.

[0092] For example, if the cross feature is a and the three estimated features are A, B, and C, then three second concatenated features are obtained. These three second concatenated features are fully connected and activated to obtain: aA, aB, and aC. Assuming aA represents the duration CVR, aB represents the PCTR, and aC represents the likes CVR, the inner product of the activation results is determined as: aA×aB represents the duration CTCVR, and aB×aC represents the likes CTCVR. This yields the estimated results for the three targets: clicks, duration, and likes.

[0093] 304. The server obtains multiple object dimensionality reduction features, where the object dimensionality reduction features are obtained by reducing the dimensionality of sparse features in the object features.

[0094] In an embodiment of the present application, the server may perform dimensionality reduction on the sparse features included in each of the object features, resource features, and association features to obtain multiple second dimensionality reduction features, and then extract the object dimensionality reduction features corresponding to the object features from the multiple second dimensionality reduction features. In other words, the multiple object dimensionality reduction features are features obtained by the server by reducing the dimensionality of the sparse features in the object features. The object dimensionality reduction features can be represented in the form of feature vectors.

[0095] 305. The server concatenates the multiple object dimensionality reduction features and the dense features in the object features to obtain a second input feature.

[0096] In an embodiment of the present application, multiple object dimensionality reduction features are in the form of feature vectors. The dense features in the object features are also in the form of feature vectors. The server can concatenate the multiple object dimensionality reduction features and the dense features to obtain a second input feature, which is also in the form of a feature vector and can represent the sparse features and the dense features in the object features.

[0097] For example, the server obtains three object dimensionality reduction features, and the three object dimensionality reduction features and dense features are all expressed in the form of feature vectors. The three object dimensionality reduction features each include 5 elements, and the dense feature includes 10 elements. The server then concatenates the three object dimensionality reduction features and the dense feature to obtain a feature vector including 25 elements, which is the second input feature.

[0098] 306. The server performs multiple full connections and mappings on the second input feature to obtain object type information, where the object type information is used to indicate the probability that the target object belongs to each object type.

[0099] In an embodiment of the present application, the server can perform multiple full connections and mappings on the second input feature to classify the target object and obtain the probability that the target object belongs to each object type. Among them, the server deploys a multi-target fusion model, and the multi-target fusion model includes an object type sub-model, which is used to process the object feature and output the probability that the target object belongs to each object type. Accordingly, the server inputs the object feature into the object type sub-model, and the multiple fully connected layers in the object type sub-model perform full connections on the second input feature in turn, and then the nonlinear activation function softmax outputs the probability that the target object belongs to each object type. In other words, the object type sub-model includes multiple MLP layers, and the second input feature is processed by the multiple MLPs to obtain the probability that the target object belongs to each object type.

[0100] 307. The server determines resource recommendation information based on the object type information and the target estimation information. The recommendation information is used to indicate a fusion result of the estimation results of multiple targets.

[0101] In an embodiment of the present application, the object type information is represented in vector form, and the server can also represent the target prediction information in vector form. The server can then splice the object type information and target prediction information in vector form, and then perform multiple full connections on the spliced ​​vectors to obtain recommendation information for the above-mentioned resources.

[0102] 308. In response to the recommendation information satisfying the recommendation condition, the server recommends the resource to the target object.

[0103] In the embodiment of the present application, the server determines whether the recommendation information of the resource meets the recommendation conditions, which are set according to actual needs. If the recommendation information of the resource meets the recommendation conditions, the server recommends the resource to the target object; if the recommendation information of the resource does not meet the recommendation conditions, the server does not recommend the resource to the target object.

[0104] In some embodiments, the recommendation condition is that the recommendation score indicated by the recommendation information is ranked less than a ranking threshold among the recommendation scores indicated by the recommendation information of multiple resources. In other words, the server obtains the recommendation scores of multiple resources, sorts the recommendation scores of the multiple resources from highest to lowest, and then recommends one or more resources with the highest ranking to the target.

[0105] In some embodiments, the recommendation condition is that the recommendation score indicated by the recommendation information is greater than a score threshold. That is, the server determines the relationship between the recommendation score of the resource and the score threshold. If the recommendation score of the resource is greater than the score threshold, the resource is recommended to the target object; if the recommendation score of the resource is not greater than the score threshold, the resource is not recommended to the target object.

[0106] It should be noted that the above resource recommendation method can also be applied to various scenarios such as cloud technology, artificial intelligence, and smart transportation. Taking smart transportation as an example, the server can communicate data with multiple vehicle terminals. Taking a vehicle terminal as an example, the vehicle terminal is logged in to the target account. Based on the resource recommendation method, the server pushes multiple resources to the vehicle terminal. It can also push nearby gas stations, parking lots, scenic spots, etc. to the vehicle terminal. This embodiment of the application is not limited to this.

[0107] An embodiment of the present application provides a resource recommendation method, which predicts the probability of an object belonging to each object type based on the object type information of the object, and then fuses the target's estimated results based on the probability that the object belongs to each object type. Therefore, for objects of different object types, different fusion methods are used to fuse the target's estimated results, thereby improving the accuracy of the fusion results.

[0108] FIG4 is a flow chart of a method for training a multi-objective fusion model provided in an embodiment of the present application. As shown in FIG4 , the method is described in this embodiment using a server as an example. The multi-objective fusion model includes an object type sub-model, a multi-objective sub-model, and a fusion sub-model. The training method for the multi-objective fusion model includes the following steps.

[0109] 401. For any sample information, the server inputs the sample object features, sample resource features and sample association features in the sample information into the multi-target sub-model to obtain sample prediction information of the sample information. The sample association features are used to indicate the association relationship between the sample resource corresponding to the sample resource feature and the sample object corresponding to the sample object feature. The sample prediction information is used to represent the prediction results of multiple targets after the sample object clicks the sample resource.

[0110] In an embodiment of the present application, the server can obtain multiple sample information, each sample information includes sample object features of the sample object, sample resource features of one or more sample resources associated with the sample object, and sample association features between the sample object and the sample resources. The server can train a multi-target sub-model based on the sample object features, sample resource features, and sample association features in the sample information, and the multi-target sub-model is used to predict the results of each target. Taking the sample resource as a sample article as an example, the input of the multi-target sub-model is various discrete and continuous features of the object and the article, and the output is the PCTR, duration CVR, and likes CVR of the sample object for the sample article. Among them, the sample object is a sample account, the sample object feature is a sample account feature, and the sample account feature in the sample information is extracted based on the sample account data, and the sample account data is data collected and used after full authorization and permission.

[0111] It should be noted that, referring to Figure 5, Figure 5 is a schematic diagram of the structure of a multi-objective sub-model provided in an embodiment of the present application. The multi-objective sub-model includes a first model, a second model, and a third model.

[0112] The first model is an FM (Factorization Machines) model. The input of the first model is the sparse features included in the above-mentioned sample object features, sample resource features, and sample association features. The first model can perform feature crossover on the input sparse features to obtain crossover features. The first model obtains multiple non-zero elements from the sparse features, and then performs weighted summation on the multiple non-zero elements based on the element weight corresponding to each non-zero element to obtain first-order sample features. The first model can then reduce the dimensionality of the sparse features based on the embedding layer to obtain multiple first sample reduced dimensionality features, and then calculate the inner product between each first sample reduced dimensionality feature and other first sample reduced dimensionality features, calculate the inner product of any two first sample reduced dimensionality features among the multiple first sample reduced dimensionality features, and then sum the multiple calculated inner products to obtain second-order sample crossover features. The first model splices the first-order sample features and the second-order sample crossover features to obtain sample crossover features.

[0113] The second model is an MMOE model. Its input is a first sample input feature, which is obtained by concatenating the dense features included in each of the sample object feature, sample resource feature, and sample association feature, and multiple second sample reduced-dimensionality features. These multiple second sample reduced-dimensionality features are obtained by dimensionality reduction of the sparse features included in each of the sample object feature, sample resource feature, and sample association feature. The second model can concatenate the dense features and the multiple second sample reduced-dimensionality features to obtain the first sample input feature, or it can directly obtain the concatenated first sample input feature. The second model then processes the first sample input feature based on multiple expert networks corresponding to multiple targets included in the second model to obtain multiple sample expert output features. For each target, the second model fully connects and maps the first sample input feature based on the gating function corresponding to the target to obtain multiple first sample weights. The server then performs a weighted summation of the multiple expert network output features based on the multiple first sample weights to obtain the sample gated output feature for that target. Because gating for multiple targets can be performed in parallel, multiple sample gated output features for multiple targets can be obtained. Finally, the second model, based on the multiple multi-layer perceptrons included therein, processes the multiple sample gated output features to obtain multiple sample estimated features. The expert network is a DNN. The second model performs a weighted summation of the first sample input features and the three sample expert output features based on gates 1, 2, and 3, respectively. The multi-layer perceptron then processes the weighted summed sample gated output features to obtain sample estimated features for the three metrics: clicks, duration, and likes.

[0114] Among them, the structures of the gates are the same, but the parameters are different, as shown in Figure 6, which is a structural diagram of a gate provided by an embodiment of the present application. The input of the gate is the first sample input feature and three sample expert output features. After the first sample input feature is input into the gate, the gate first performs MLP on the third sample intermediate feature to obtain three scores, and then these three scores are normalized (softmax) and become three probability weights. The gate performs weighted summation on the three sample expert output features based on the above three weights to obtain the sample gate output feature. The above process is represented below based on mathematical language. Let a represent the first sample input feature, f b (a) represents the sample expert output features output by the b-th expert network, g c (·) represents the gating function of the cth target, g c The expression of (a) is shown in formula (1):

[0115] g c (a)=softmax(W c a) (1);

[0116] Among them, a represents the first sample input feature, g c (·) represents the gating function of the cth target, W c represents the gating parameter of the cth target, g c (a) represents the probability vector obtained after a is fully connected and then softmaxed, that is, the first sample weight. The number of elements in this probability vector is equal to the number of expert networks.

[0117] Remember g c The bth component in (a) is but Where B represents the number of expert networks. Then the gated output f of the cth target is c (a) Refer to formula (2):

[0118]

[0119] Among them, a represents the first sample input feature, f c (a) represents the sample gated output features of the gated output of the c-th target, B represents the number of expert networks, Indicates g c The bth component of (a), g c (a) represents the probability vector obtained after a passes through full connection and then softmax, that is, the first sample weight, f b (a) represents the output of the b-th expert network, that is, the b-th sample expert output feature.

[0120] It should be noted that, after obtaining the gated output f of the cth target c (a) After that, the f c (a) Input the MLP of the cth target and obtain the sample estimated features of the cth target. The sample estimated features can also be called the sample output score. The sample output score can be used to fit the cth target. c The corresponding labels of the targets. Let the MLP of the cth target be h c (·), then the sample estimation characteristics of the cth target are shown in formula (3):

[0121] s c =h c (f c (a)) (3);

[0122] Among them, s c represents the sample estimated feature of the cth target, a represents the first sample input feature, f c (a) Sample gated output features representing the gated output of the cth target, h c (·) denotes the MLP for the c-th objective.

[0123] Among them, the third model is an ESMM model, and the input of the third model is the output of the first model and the second model. The third model can splice the sample cross features output by the first model and the point multiple sample estimated features output by the second model respectively to obtain multiple second sample splicing features, and then fully connect and activate the multiple second sample splicing features to obtain duration CVR, PCTR and like CVR, and then calculate the inner product of the above activation results to obtain duration CTCVR and like CTCVR. The server can determine the duration CTCVR loss based on the duration CTCVR. The third model can determine the CTR loss based on the PCTR. The third model can determine the like CTCVR loss based on the like CTCVR. The parameters of the multi-objective sub-model are adjusted based on the above losses.

[0124] In some embodiments, the server can determine the training loss of the multi-objective sub-model based on the sample prediction information and the actual result information of the multiple targets. Accordingly, for any sample information, the server obtains the actual result information of the multiple targets in the sample information; then, based on the sample prediction information of the sample information and the actual result information of the multiple targets, the server determines the training loss of the multi-objective sub-model; and based on the training loss of the multi-objective sub-model, the multi-objective sub-model is trained.

[0125] 402. The server inputs the sample object features in the sample information into the object type sub-model to obtain sample object type information of the sample information. The sample object type information is used to indicate the probability that the sample object corresponding to the sample object features belongs to each object type.

[0126] In this embodiment of the present application, sample object features are features that describe an object, such as the object's gender, age, historical interest profile, and historical activity profile of various behaviors. The server can extract object-side sample dimensionality reduction features from multiple second sample dimensionality reduction features to train the object type sub-model. These multiple second sample dimensionality reduction features are obtained by dimensionality reduction of the sparse features included in each of the sample object features, sample resource features, and sample association features.

[0127] It should be noted that before training the object type sub-model, it is necessary to determine the object type to be predicted. Taking the overall goal of model training as clicks, duration, and likes as an example, the object types include three categories: objects with a tendency to click, objects with a tendency to read in depth, and objects with a tendency to like. The above three object types can be referred to as click-type, duration-type, and like-type. When selecting training samples, since the object features in the exposed but not clicked sample resources have not changed, and there is no object tendency information in the label, the training samples use click samples. When two or more positive samples appear in the three targets, the highest priority is used to determine the object type to which the object belongs. The priority is: likes > duration > clicks.

[0128] For example, for exposed but unclicked sample resources, since no subject clicked on them, no association was established between the subject and the sample resource, and thus, the subject's relevant features did not change, making it impossible to determine the subject's preferences. Therefore, exposed but unclicked sample resources are not necessary when selecting training samples. For clicked sample resources, since the subject clicked on them, an association was established between the subject and the sample resource, and thus, the subject's relevant features changed. For example, if the sample resource is a game article, corresponding to the two tags "game" and "strategy," the relevant features of the object characteristics related to games and strategies will change. Furthermore, if the subject reads the sample resource after clicking on it, and the length of time the subject reads the sample exceeds a time threshold, the subject's relevant features will change further. If the subject also likes the sample resource after reading it, the subject's relevant features will also change. In other words, the subject's behavior will affect the subject's object characteristics. If the object is both clicked and liked, and two of the three targets appear at this time, the server determines that the object type of the object is the like type based on the above priority; if the object is both clicked and read for more than the time threshold, but no like is given, the server determines that the object type of the object is the time type; if the object is only clicked, the server determines that the object type of the object is the click type.

[0129] It should also be noted that, as shown in Figure 7, Figure 7 is a structural diagram of an object type sub-model provided in an embodiment of the present application. The structure of the object type sub-model adopts a DNN structure. The input of the object type sub-model is the object feature on the object side, and the object feature includes an object sparse feature and an object dense feature. As shown in Figure 7, the object sample dimensionality reduction feature is obtained from multiple second sample dimensionality reduction features. The object sample dimensionality reduction feature is equivalent to the feature obtained by reducing the dimensionality of the object sparse feature in the object feature. The object type sub-model then splices the object sample dimensionality reduction feature and the object sample dense feature to obtain the second sample input feature. Based on multiple MLPs, the second sample input feature is fully connected multiple times, and three parameters are output, which correspond to the estimated scores of the three object types of click type, duration type and like type, respectively. Then, after normalization (softmax function), the sample sample object type information is obtained, that is, the predicted probability of the above three object types: click type probability, duration type probability and like type probability.

[0130] In some embodiments, the server can determine the training loss of the object type sub-model based on the actual object type information of the sample object and the sample object type information. Accordingly, for any sample information, the server can obtain the actual object type information of the sample object in the sample information, and then determine the training loss of the object type sub-model based on the sample object type information and the actual object type information of the sample information. The server then trains the object type sub-model based on the training loss of the object type sub-model.

[0131] For example, multi-classification cross entropy is used as the loss function of the above object type sub-model. Let the second sample input feature in the i-th click positive sample be x i , the second sample input feature x i The object sample dimensionality reduction feature and the object sample dense feature are spliced ​​together after the sparse feature of the object is reduced by the embedding layer. The predicted probabilities of the object in the click type, duration type and like type are p1(x i |θ u )、p2(x i |θ u ) and p3(x i |θ u ), where θ u Represents the parameters of the object type sub-model. The actual object type feature of the object is recorded as a one-hot vector z i =[z i1 , z i2 , z i3 ], where z ik The value of is 0 or 1, and only one is 1, k = 1, 2, 3. For example, z i =[1,0,0] represents a click-type object, z i =[0, 1, 0] represents a duration type object, z i =[0, 0, 1] represents a like type object. The optimization goal of the object type sub-model is to minimize the multi-classification cross entropy loss function J(θ u ), see formula (4):

[0132]

[0133] Among them, θ u Parameters of the object type submodel, J(θ u ) represents the multi-classification cross entropy loss function, M represents the total number of click positive samples, z ik The actual object type of the object, p k (x i |θ u ) represents the predicted probability of the object type, x iRepresents the second sample input feature in the i-th click positive sample, k = 1, 2, 3.

[0134] 403. The server inputs the sample estimation information and the sample object type information into the fusion sub-model to obtain sample recommendation information corresponding to the sample information. The sample recommendation information is used to indicate the fusion result of the estimation results of multiple targets.

[0135] In an embodiment of the present application, the server can adaptively select the most suitable parameter fusion method according to the object type of the object, that is, in the embodiment of the present application, the sample prediction information output by the multi-target sub-model and the sample object type information output by the object type sub-model are both input into the fusion sub-model, and the fusion sub-model fuses the sample prediction information based on the sample object type information to obtain sample recommendation information.

[0136] See FIG8 , which is a schematic diagram of the structure of a multi-objective fusion model provided by an embodiment of the present application. The multi-objective fusion model includes a multi-objective sub-model, an object type sub-model, and a fusion sub-model. Taking the sample resource as a sample article as an example, the sample information includes the object features of the sample object, the article features of the sample article, the context features between the sample object and the sample article, and the sample cross-features. For the jth sample information, let t jm is a vector of sample estimation information output by the multi-objective sub-model, t ju represents the vector of probabilities of the object belonging to each object type in the sample object type output by the object type sub-model. F(·) represents the DNN fusion function, and the fusion score (i.e., the sample recommendation information) is expressed as F(t jm , t ju |θ), where θ represents the parameters to be trained for the multi-objective fusion model.

[0137] In some embodiments, for any sample information, the server can determine the sample weight of the sample information based on the type coding result, weight characteristics and business characteristics. The type coding result is used to indicate the object type to which the sample object in the sample information belongs, the weight characteristics are used to indicate the initial weights of multiple targets, and the business vector is used to indicate the business associated with the sample resource in the sample information.

[0138] It should be noted that in order for each object type to receive recommendations corresponding to that object type, the training objective of the multi-objective fusion model is to maximize the fusion score of the positive samples corresponding to that class generated by each object type. For example, for click-type objects, the training objective is to maximize the fusion score of the positive click samples of these objects; for duration-type objects, the training objective is to maximize the fusion score of the positive duration samples of these objects; and for like-type objects, the training objective is to maximize the fusion score of the positive like samples of these objects.

[0139] For the jth sample, The probability vector output by the object type sub-model is converted into a one-hot vector. Among them, the object type where 1 is located is the object type with the highest estimated probability, such as [1, 0, 0] indicates that the sample object of this sample is predicted to be a click type object; [0, 1, 0] indicates that the sample object of this sample is predicted to be a duration type object; [0, 0, 1] indicates that the sample object of this sample is predicted to be a like type object. The initial weights of the three targets of click, duration and like are w = [w1, w2, w3], where the values ​​of w1, w2 and w3 are pre-set according to the actual business situation. The proportion of positive samples of the target is negatively correlated with the weight, that is, the smaller the proportion of positive samples in the total samples, the higher the weight should be set. For example, in the embodiment of the present application, the positive sample proportions of the three targets are click > duration > like, then w = [1.0, 2.0, 4.0], that is, the initial weight of click is 1.0, the initial weight of duration is 2.0, and the initial weight of like is 4.0. The vector composed of the class labels of the above three targets is y i =[y i1 ,y i2 ,y i3 ] Among them, y j1 、y j2 and y j3 are the binary classification labels of the three targets: click, duration, and like. For the jth sample, the sample is a positive click sample, and the sample weight α of the sample is j The calculation method of is shown in formula (5):

[0140]

[0141] Among them, α j represents the sample weight of the jth sample, y jk represents the class label of the kth target in the jth sample, Indicates the object type of the jth sample, w jk represents the initial weight of the kth target in the jth sample.

[0142] Formula (5) above results in different weights for different target objects. For example, in this embodiment, the weights for click-type objects on the three targets are [2.0, 1.0, 1.0]; the weights for duration-type objects on the three targets are [1.0, 3.0, 1.0]; and the weights for like-type objects on the three targets are [1.0, 1.0, 5.0].

[0143] 404. The server determines the training loss of the fusion sub-model based on the sample recommendation information corresponding to each of the multiple sample information.

[0144] In an embodiment of the present application, the server can convert the sample recommendation information corresponding to each of the above-mentioned multiple sample information into a sample recommendation probability; then, based on the sample recommendation probabilities corresponding to each of the multiple sample information and the sample weights of the multiple sample information, determine the training loss of the fusion sub-model. The loss function of the fusion sub-model is expressed as L(·), as shown in formula (6):

[0145]

[0146] Among them, L(θ) represents the loss of the fusion sub-model, J represents the total number of samples, α j represents the sample weight of the jth sample, y j1 Indicates the binary classification label of clicking on this target, p(t jm , t ju |θ)=σ(F(t jm , t ju |θ)), σ(·) represents the sigmoid function, which is used to convert the fusion score F(t jm , t ju |θ) is converted into the estimated probability p(t jm , t ju |θ).

[0147] 405. The server trains the multi-objective fusion model based on the training loss of the fusion sub-model.

[0148] In this embodiment of the present application, the multi-objective sub-model and the object type sub-model are trained models. The server can adjust the parameters of the fusion sub-model based on the training loss of the fusion sub-model in the multi-objective fusion model to obtain a multi-objective fusion model. This multi-objective fusion model can be deployed on the server to implement the resource recommendation method described in steps 301 to 308 above.

[0149] It should be noted that this application takes sample articles as sample resources, clicks, duration and likes as targets as an example to introduce the training process of the multi-target fusion model. In some embodiments, the sample information can also be information about sample products, sample services and other resources, and the target can also be other targets related to the application scenario, such as the purchase rate of goods, the purchase rate of servers, etc., which are not limited in this embodiment of the present application. The structure of the multi-target fusion model can also use structures other than DNN, as long as the output of the object type sub-model and the output of the multi-target sub-model are used as input, and the sample weights are constructed according to the object type, and the model structure of the weighted click target is fitted, which is not limited in this embodiment of the present application. The above-mentioned training samples and the multi-target fusion model can be stored in a blockchain system.

[0150] The embodiment of the present application provides a multi-objective fusion model based on object type prediction, which can solve the problem that the multi-objective model cannot simultaneously optimize the effects of different objectives. By introducing object types, the accuracy of multi-objective fusion can be personalized improved.

[0151] It should be noted that the embodiment of the present application also conducted an A / B test on the multi-target fusion model of the three goals of clicks, duration, and likes for the picture and text recommendation scenario. The experimental results show that the solution provided by the embodiment of the present application can achieve an average increase of 0.78% in the number of clicks (pv) of pictures and texts, an increase of 0.48% in the total duration of pictures and texts, and the pv of likes remains the same as that of the formula fusion + grid-search method. As shown in Figure 9, Figure 9 is a comparison chart of test results provided by the embodiment of the present application. As shown in Figure 9 (a)-(c) respectively show the relative improvement of the experimental group (the solution of the present application) and the control group (the formula fusion + grid-search method) of the online A / B test in terms of the three indicators of click volume, total reading time and number of likes. In the idle period, both groups A / B used the formula fusion + grid-search method, and in the experimental period, the two groups used the solution of the present application and the formula fusion + grid-search method respectively. According to (a) in Figure 9, the AB test results of the present application scheme and the formula fusion + grid-search method are: the PV of the present application scheme is relatively improved by 0.78%. According to (b) in Figure 9, the AB test results of the present application scheme and the formula fusion + grid-search method are: the duration of the present application scheme is relatively improved by 0.48%. According to (c) in Figure 9, the AB test results of the present application scheme and the formula fusion + grid-search method are: the like PV of the present application scheme is the same as that of the formula fusion + grid-search method.

[0152] Figure 10 is a block diagram of a content recommendation device provided by an embodiment of the present application. The content recommendation device is used to perform the steps in the resource recommendation method described above. Referring to Figure 10 , the device includes: a first determination module 1001, a second determination module 1002, a third determination module 1003, and a recommendation module 1004:

[0153] A first determination module 1001 is configured to determine target estimation information based on the target object's object characteristics, the resource characteristics, and the association characteristics of the resource, wherein the association characteristics are used to indicate the association relationship between the resource and the target object, and the target estimation information is used to indicate the estimation results of multiple targets after recommending the resource to the target object;

[0154] A second determination module 1002 is configured to determine object type information based on the object feature, where the object type information is used to indicate the probability that the target object belongs to each object type;

[0155] A third determining module 1003 is configured to determine recommendation information of the resource based on the target estimation information and the object type information, where the recommendation information indicates a fusion result of estimation results of multiple targets;

[0156] The recommendation module 1004 is configured to determine a recommendation strategy for resources of the target object based on the recommendation information.

[0157] In some embodiments, referring to FIG. 11 , which is a schematic diagram of another content recommendation device provided by an embodiment of the present application, the first determination module 1001 includes:

[0158] A feature intersection submodule 1101 is configured to perform feature intersection on the sparse features included in the object feature of the target object, the resource feature of the resource, and the associated feature, to obtain an intersection feature;

[0159] A first determining submodule 1102 is configured to determine a plurality of estimated features based on the object feature, the resource feature, and the associated feature, wherein the plurality of estimated features are used to indicate intermediate estimated results of the plurality of targets;

[0160] The second determining submodule 1103 is configured to determine the target estimation information based on the cross feature and the multiple estimation features.

[0161] In some embodiments, as shown in FIG11 , the feature cross submodule 1101 includes:

[0162] An element weighting unit 11011 is configured to perform a weighted summation of multiple non-zero elements in the sparse features respectively included in the object feature of the target object, the resource feature of the resource, and the associated feature to obtain a first-order feature, where each non-zero element corresponds to one element weight;

[0163] A first dimensionality reduction unit 11012 is configured to reduce the dimensionality of sparse features among the object feature, the resource feature, and the associated feature to obtain a plurality of first dimensionality reduction features;

[0164] A first determining unit 11013 is configured to determine a second-order cross feature based on the multiple first dimensionality reduction features;

[0165] The first splicing unit 11014 is configured to splice the first-order feature and the second-order intersection feature to obtain the intersection feature.

[0166] In some embodiments, the element weighting unit 11011 is used to determine the inner product of any two first dimensionality reduction features among the multiple first dimensionality reduction features; and sum the determined multiple inner products to obtain the second-order cross feature.

[0167] In some embodiments, as shown in FIG11 , the first determining submodule 1102 includes:

[0168] A second concatenation unit 11021 is configured to concatenate the dense features included in each of the object feature, the resource feature, and the association feature and a plurality of second dimensionality reduction features to obtain a first input feature, wherein the plurality of second dimensionality reduction features are obtained by performing dimensionality reduction on the sparse features included in each of the object feature, the resource feature, and the association feature;

[0169] A first processing unit 11022 is configured to process the first input feature based on the multiple expert networks corresponding to the multiple targets, respectively, to obtain multiple expert network output features;

[0170] A second processing unit 11023 is configured to process the first input feature and the multiple expert network output features based on the multiple gating functions corresponding to the multiple targets, respectively, to obtain multiple gated output features;

[0171] The third processing unit 11024 is configured to process the plurality of gated output features respectively based on the plurality of multilayer perceptrons corresponding to the plurality of targets to obtain the plurality of estimated features.

[0172] In some embodiments, the second processing unit 11023 is used to, for any target, based on the gating function of the target, fully connect and map the first input feature to obtain multiple first weights, and the multiple first weights correspond one-to-one to the multiple expert network output features; based on the multiple first weights, perform weighted summation on the multiple expert network output features to obtain the gated output feature corresponding to the target.

[0173] In some embodiments, the second determination submodule 1103 is configured to respectively concatenate the cross feature and the plurality of estimated features to obtain a plurality of second concatenated features; and determine the target estimation information based on the plurality of second concatenated features.

[0174] In some embodiments, the second determination module 1002 is used to obtain multiple object dimensionality reduction features, which are obtained by reducing the dimensionality of sparse features in the object features; splicing the multiple object dimensionality reduction features and the dense features in the object features to obtain a second input feature; and performing multiple full connections and mappings on the second input feature to obtain the object type information.

[0175] In some embodiments, the recommendation module 1004 is specifically configured to recommend resources to the target object in response to the recommendation information satisfying the recommendation condition;

[0176] The recommended conditions include any of the following:

[0177] The recommendation score indicated by the recommendation information is ranked smaller than an order threshold among the recommendation scores indicated by the recommendation information of the plurality of resources;

[0178] The recommendation score indicated by the recommendation information is greater than the score threshold.

[0179] An embodiment of the present application provides a resource recommendation device, which predicts the probability of an object belonging to each object type based on the object type information of the object, and then fuses the target's estimated results based on the probability that the object belongs to each object type. Therefore, for objects of different object types, different fusion methods are used to fuse the target's estimated results, thereby improving the accuracy of the fusion results.

[0180] It should be noted that the resource recommendation device provided in the above embodiment uses the division of the aforementioned functional modules as an example for resource recommendation. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, i.e., the internal structure of the device can be divided into different functional modules to perform all or part of the functions described above. Furthermore, the content recommendation device provided in the above embodiment and the content recommendation method embodiment share the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0181] FIG12 is a block diagram of a multi-objective fusion model training device provided in an embodiment of the present application. The multi-objective fusion model training device is used to perform the steps in the multi-objective fusion model training method described above. Referring to FIG12 , the device includes: a first training module 1201, a second training module 1202, a third training module 1203, and a fourth training module 1204:

[0182] The first training module 1201 is configured to input, for any sample information, the sample object features, sample resource features, and sample association features in the sample information into the multi-target sub-model to obtain sample prediction information for the sample information, wherein the sample association features indicate the association relationship between the sample resource corresponding to the sample resource feature and the sample object corresponding to the sample object feature, and the sample prediction information indicates the prediction results of multiple targets after the sample object clicks the sample resource;

[0183] The second training module 1202 is configured to input the sample object features in the sample information into the object type sub-model to obtain sample object type information of the sample information, where the sample object type information is used to indicate the probability that the sample object belongs to each object type.

[0184] The third training module 1203 is configured to input the sample estimation information and the sample object type information into the fusion sub-model to obtain sample recommendation information corresponding to the sample information, where the sample recommendation information is used to indicate a fusion result of the estimation results of multiple targets;

[0185] A fourth training module 1204 is configured to determine a training loss of the fusion sub-model based on sample recommendation information corresponding to each of the plurality of sample information;

[0186] The fourth training module 1204 is further used to train the multi-objective fusion model based on the training loss of the fusion sub-model.

[0187] In some embodiments, the fourth training module 1204 is used to convert the sample recommendation information corresponding to each of the multiple sample information into a sample recommendation probability; based on the sample recommendation probabilities corresponding to each of the multiple sample information and the sample weights of the multiple sample information, determine the training loss of the fusion sub-model.

[0188] In some embodiments, referring to FIG13 , FIG13 is a block diagram of another multi-objective fusion model training device provided according to an embodiment of the present application, the device further comprising:

[0189] The weight determination module 1301 is used to determine the sample weight of any sample information based on the type coding result, weight characteristics and business characteristics. The type coding result is used to indicate the object type to which the sample object in the sample information belongs, the weight vector is used to indicate the initial weights of the multiple targets, and the business vector is used to indicate the business associated with the sample resource in the sample information.

[0190] In some embodiments, referring to FIG13 , the apparatus further includes: a fifth training module 1302 for obtaining, for any sample information, actual object type information of the sample object in the sample information; determining the training loss of the object type sub-model based on the sample object type information and the actual object type information of the sample information; and training the object type sub-model based on the training loss of the object type sub-model.

[0191] In some embodiments, as shown in Figure 13, the device also includes: a sixth training module 1303, which is used to obtain actual result information of multiple targets in any sample information; determine the training loss of the multi-target sub-model based on the sample prediction information of the sample information and the actual result information of the multiple targets; and train the multi-target sub-model based on the training loss of the multi-target sub-model.

[0192] It should be noted that the training device for the multi-objective fusion model provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when training the multi-objective fusion model. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the training device for the multi-objective fusion model provided in the above embodiment and the training method embodiment of the multi-objective fusion model belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0193] Figure 14 is a structural diagram of a computer device provided according to an embodiment of the present application. The computer device is, for example, a server. The server 1400 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1401 and one or more memories 1402, wherein the memory 1402 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 1401 to implement the resource recommendation method provided in the above-mentioned various method embodiments, or the at least one computer program is loaded and executed by the processor 1401 to implement the training method of the multi-objective fusion model provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server may also include other components for implementing device functions, which will not be described here. In some embodiments, the server 1400 can communicate data with multiple vehicle-mounted terminals. Taking one vehicle-mounted terminal as an example, the vehicle-mounted terminal is logged in with a target account. The server pushes multiple resources to the vehicle-mounted terminal based on the resource recommendation method. It can also push nearby gas stations, parking lots, scenic spots, etc. to the vehicle-mounted terminal. The embodiments of the present application do not limit this.

[0194] The embodiment of the present application further provides a computer-readable storage medium, which stores at least one computer program, which is loaded and executed by a processor of a computer device to implement the operations performed by the computer device in the resource recommendation method or the multi-objective fusion model training method of the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0195] In some embodiments, the computer program involved in the embodiments of the present application may be deployed and executed on a computer device, or on multiple computer devices located at one location, or on multiple computer devices distributed at multiple locations and interconnected through a communication network. Multiple computer devices distributed at multiple locations and interconnected through a communication network may constitute a blockchain system.

[0196] The present application also provides a computer program product, including computer program code stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium and executes the computer program code, causing the computer device to perform the resource recommendation method or multi-objective fusion model training method provided in the various optional implementations described above.

[0197] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0198] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A resource recommendation method, executed by a computer device, comprising: Determine target estimation information based on the object feature of the target object, the resource feature and the association feature of the resource, wherein the association feature is used to indicate the association relationship between the resource and the target object, and the target estimation information is used to indicate the estimation results of multiple targets after the resource is recommended to the target object; Based on the object features, determining object type information, the object type information being used to indicate the probability that the target object belongs to each object type; Determine, based on the target estimation information and the object type information, recommendation information of the resource, wherein the recommendation information is used to indicate a fusion result of the estimation results of the multiple targets; A recommendation strategy for the resource of the target object is determined according to the recommendation information.

2. The method according to claim 1, wherein determining target estimation information based on object characteristics of the target object, resource characteristics and associated characteristics of the resource comprises: Performing feature intersection on the object feature of the target object, the resource feature of the resource, and the sparse features included in the associated feature to obtain intersection features; Determine a plurality of estimated features based on the object features, the resource features and the associated features, wherein the plurality of estimated features are used to indicate intermediate estimated results of the plurality of targets; The target prediction information is determined based on the intersection feature and the plurality of prediction features.

3. According to the method of claim 2, the step of performing feature crossover on the sparse features respectively included in the object feature of the target object, the resource feature and the associated feature to obtain crossover features comprises: Performing weighted summation on multiple non-zero elements in the sparse features respectively included in the object feature of the target object, the resource feature of the resource, and the associated feature to obtain a first-order feature, where one non-zero element corresponds to one element weight; Performing dimensionality reduction on sparse features among the object features, the resource features, and the associated features to obtain a plurality of first dimensionality reduction features; Determining a second-order cross feature based on the plurality of first dimensionality reduction features; The first-order feature and the second-order cross feature are concatenated to obtain the cross feature.

4. The method according to claim 3, wherein determining the second-order cross-features based on the plurality of first dimensionality reduction features comprises: Determine the inner product of any two first dimensionality reduction features among the plurality of first dimensionality reduction features; The determined multiple inner products are summed to obtain the second-order cross feature.

5. The method according to claim 2, wherein the determining a plurality of estimated features based on the object features, the resource features and the associated features comprises: The dense features and a plurality of second dimensionality reduction features respectively included in the object feature, the resource feature and the association feature are concatenated to obtain a first input feature, wherein the plurality of second dimensionality reduction features are obtained by reducing the dimensionality of the sparse features respectively included in the object feature, the resource feature and the association feature; Based on the multiple expert networks corresponding to the multiple targets, the first input features are processed respectively to obtain multiple expert network output features; Based on a plurality of gating functions corresponding to the plurality of targets, respectively processing the first input feature and the plurality of expert network output features to obtain a plurality of gated output features; Based on a plurality of multilayer perceptrons corresponding to each of the plurality of targets, the plurality of gated output features are processed respectively to obtain the plurality of estimated features.

6. The method according to claim 5, wherein the first input feature and the plurality of expert network output features are processed respectively based on the plurality of gating functions corresponding to the plurality of targets to obtain a plurality of gated output features, comprising: For any target, based on the gating function of the target, the first input feature is fully connected and mapped to obtain a plurality of first weights, wherein the plurality of first weights correspond one-to-one to the plurality of expert network output features; Based on the multiple first weights, weighted sum is performed on the multiple expert network output features to obtain a gated output feature corresponding to the target.

7. The method according to claim 2, wherein determining the target estimation information based on the cross feature and the plurality of estimation features comprises: The cross feature and the plurality of estimated features are respectively spliced ​​to obtain a plurality of second spliced ​​features; The target estimation information is determined based on the multiple second splicing features.

8. The method according to claim 1, wherein determining object type information based on the object features comprises: Acquire multiple object dimensionality reduction features, wherein the object dimensionality reduction features are obtained by reducing the dimensionality of sparse features in the object features; Concatenate the plurality of object dimension reduction features and the dense features in the object features to obtain a second input feature; Perform multiple full connections and mappings on the second input feature to obtain the object type information.

9. The method according to any one of claims 1 to 8, wherein determining a recommendation strategy for the resource for the target object based on the recommendation information comprises: In response to the recommendation information satisfying a recommendation condition, recommending the resource to the target object; The recommendation condition includes at least one of the following: The recommendation score indicated by the recommendation information is ranked less than an order threshold among the recommendation scores indicated by the recommendation information of the plurality of resources; The recommendation score indicated by the recommendation information is greater than a score threshold.

10. A method for training a multi-objective fusion model, executed by a computer device, wherein the multi-objective fusion model includes an object type sub-model, a multi-objective sub-model and a fusion sub-model, and the method includes: For any sample information, the sample object feature, the sample resource feature and the sample association feature in the sample information are input into the multi-target sub-model to obtain sample estimation information of the sample information, wherein the sample association feature is used to indicate the association relationship between the sample resource corresponding to the sample resource feature and the sample object corresponding to the sample object feature, and the sample estimation information is used to indicate the estimation results of multiple targets after the sample object clicks the sample resource; Inputting the sample object features in the sample information into the object type sub-model to obtain sample object type information of the sample information, wherein the sample object type information is used to indicate the probability that the sample object belongs to each object type; Inputting the sample estimation information and the sample object type information into the fusion sub-model to obtain sample recommendation information corresponding to the sample information, wherein the sample recommendation information is used to indicate a fusion result of the estimation results of the multiple targets; Determining the training loss of the fusion sub-model based on the sample recommendation information corresponding to each of the multiple sample information; The multi-objective fusion model is trained based on the training loss of the fusion sub-model.

11. The method according to claim 10, wherein determining the training loss of the fusion sub-model based on the sample recommendation information corresponding to the plurality of sample information comprises: Converting the sample recommendation information corresponding to each of the plurality of sample information into a sample recommendation probability; Based on the sample recommendation probabilities corresponding to the multiple sample information respectively and the sample weights of the multiple sample information, the training loss of the fusion sub-model is determined.

12. The method according to claim 10, further comprising: For any sample information, the sample weight of the sample information is determined based on the type coding result, weight characteristics and business characteristics, the type coding result is used to indicate the object type to which the sample object in the sample information belongs, the weight characteristics are used to indicate the initial weights of the multiple targets, and the business characteristics are used to indicate the business associated with the sample resources in the sample information.

13. The method according to claim 10, further comprising: For any sample information, obtaining actual object type information of the sample object in the sample information; Determining a training loss of the object type sub-model based on the sample object type information of the sample information and the actual object type information; The object type sub-model is trained based on the training loss of the object type sub-model.

14. The method according to claim 10, further comprising: For any sample information, obtaining actual result information of multiple targets in the sample information; Determining the training loss of the multi-objective sub-model based on the sample estimation information of the sample information and the actual result information of the multiple objectives; The multi-objective sub-model is trained based on the training loss of the multi-objective sub-model.

15. A resource recommendation device, comprising: A first determination module, configured to determine target estimation information based on an object feature of a target object, a resource feature and an association feature of a resource, wherein the association feature is used to indicate an association relationship between the resource and the target object, and the target estimation information is used to indicate estimation results of multiple targets after the resource is recommended to the target object; A second determination module, configured to determine object type information based on the object feature, wherein the object type information is used to indicate the probability that the target object belongs to each object type; A third determination module, configured to determine recommendation information of the resource based on the target estimation information and the object type information, wherein the recommendation information is used to indicate a fusion result of the estimation results of the multiple targets; A recommendation module is used to determine a recommendation strategy for the resource of the target object according to the recommendation information.

16. A training device for a multi-objective fusion model, the multi-objective fusion model comprising an object type sub-model, a multi-objective sub-model and a fusion sub-model, the device comprising: A first training module is used for inputting sample object features, sample resource features and sample association features in any sample information into the multi-target sub-model to obtain sample estimation information of the sample information, wherein the sample association features are used to indicate the association relationship between the sample resource corresponding to the sample resource feature and the sample object corresponding to the sample object feature, and the sample estimation information is used to indicate the estimation results of multiple targets after the sample object clicks the sample resource; A second training module is used to input the sample object features in the sample information into the object type sub-model to obtain sample object type information of the sample information, wherein the sample object type information is used to indicate the probability that the sample object belongs to each object type; a third training module, configured to input the sample estimation information and the sample object type information into the fusion sub-model, and obtain sample recommendation information corresponding to the sample information, wherein the sample recommendation information is used to indicate a fusion result of the estimation results of the multiple targets; A fourth training module, used to determine the training loss of the fusion sub-model based on the sample recommendation information corresponding to each of the multiple sample information; The fourth training module is also used to train the multi-objective fusion model based on the training loss of the fusion sub-model.

17. A computer device, comprising a processor and a memory, wherein the memory is used to store at least one computer program, and the at least one computer program is loaded by the processor and executes the resource recommendation method described in any one of claims 1 to 9, or executes the training method of the multi-objective fusion model described in any one of claims 10 to 14.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store at least one computer program, and the at least one computer program is used to execute the resource recommendation method described in any one of claims 1 to 9, or the training method of the multi-objective fusion model described in any one of claims 10-14.

19. A computer program product, comprising a computer program code, wherein the computer program code is stored in a computer-readable storage medium; a processor of a computer device reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the computer device executes the resource recommendation method described in any one of claims 1 to 9, or executes the training method of a multi-objective fusion model described in any one of claims 10-14.