Click rate prediction model training method, commodity recommendation method and device

Through the training method of click-through rate prediction model, the problem of poor recommendation effect of aggregated page products and ordinary products in e-commerce platforms is solved, accurate prediction of click-through rate and personalized recommendations are achieved, which improves user experience and platform revenue. .

CN118780889APending Publication Date: 2024-10-15BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410817432.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively implement personalized recommendations of aggregated page products and general products on e-commerce platforms, resulting in low user experience and click conversion rates.

Method used

A training method for click-through rate prediction model is proposed. By obtaining the training sample set of sample users, including sample product characteristics, user characteristics, full-platform product interaction behavior sequence characteristics, and aggregated page product interaction behavior sequence characteristics, based on the initial click-through rate prediction The estimation model is trained to generate a target click-through rate estimation model, which is used to output the first and second click-through rate estimation data and is used to generate a product recommendation list.

Benefits of technology

It achieves accurate estimation of click-through rates for aggregated page products and ordinary products, helps the platform understand user behavior, provide personalized recommendations, improve user experience and click conversion rate, and increase platform revenue and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780889A_ABST
    Figure CN118780889A_ABST
Patent Text Reader

Abstract

The invention provides a click rate prediction model training method, a commodity recommendation method and a commodity recommendation device, and relates to the technical field of commodity recommendation. According to the scheme, a training sample set corresponding to sample users is obtained, and each training sample in the training sample set comprises sample commodity features, sample user features, full-platform commodity interaction behavior sample sequence features and aggregation page commodity interaction behavior sample sequence features; performing model training based on the training sample set to obtain a generated target click rate estimation model; the target click rate estimation model is used for outputting first click rate estimation data and second click rate estimation data, and the first click rate estimation data is used for generating a first commodity recommendation list corresponding to the first display page; the second click rate estimation data is used for generating an aggregation page commodity recommendation theme and a second commodity recommendation list corresponding to a second display page corresponding to the aggregation page commodity recommendation theme, so that the platform is helped to provide personalized recommendation and customized content, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of product recommendation, computer technology, and data processing technology, and in particular to a training method for a click-through rate prediction model, a product recommendation method, and a device thereof. Background Art

[0002] Recommendation systems play a very important role in e-commerce systems. They can solve the problem of information overload, improve users' shopping experience and the profitability of the platform. General merchandise is an expansion and variation of the display form of ordinary commodity cards in e-commerce systems. It uses user interest aggregation pages, merchant activities, merchant stores, and video live broadcasts as commodity display carriers, and strives to create a rich and diverse user interest experience for users. Among them, the user interest aggregation page is the main representative of general merchandise. It can aggregate multiple commodities together and display them to users based on user interests and behaviors, providing a more personalized shopping experience. In order to improve the recommendation effect and business value of e-commerce platforms, how to realize the recommendation of aggregation page commodities and ordinary commodities is an urgent problem to be solved. Summary of the invention

[0003] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0004] To this end, one purpose of the present application is to propose a training method for a click-through rate prediction model, comprising: obtaining a training sample set corresponding to a sample user, each training sample in the training sample set including sample product features, sample user features corresponding to the sample user, sample sequence features of all-platform product interaction behaviors corresponding to the sample user, and sample sequence features of aggregated page product interaction behaviors; training an initial click-through rate prediction model based on the training sample set until the corresponding loss function in the initial click-through rate prediction model converges, and obtaining a target click-through rate prediction model generated by the training; wherein the target click-through rate prediction model is used to output first click-through rate prediction data and second click-through rate prediction data, the first click-through rate prediction data is used to generate a first product recommendation list corresponding to a first display page, and the second click-through rate prediction data is used to generate an aggregated page product recommendation theme and a second product recommendation list corresponding to a second display page corresponding to the aggregated page product recommendation theme.

[0005] The second objective of this application is to propose a product recommendation method.

[0006] The third objective of this application is to provide a training device for a click-through rate prediction model.

[0007] The fourth objective of this application is to provide a product recommendation device.

[0008] A fifth objective of the present application is to provide an electronic device.

[0009] A sixth object of the present application is to provide a non-transitory computer-readable storage medium.

[0010] A seventh object of the present application is to provide a computer program product.

[0011] To achieve the above-mentioned purpose, the first aspect embodiment of the present application proposes a training method for a click-through rate prediction model, including: obtaining a training sample set corresponding to a sample user, each training sample in the training sample set including sample product features, sample user features corresponding to the sample user, sample sequence features of all-platform product interaction behaviors corresponding to the sample user, and sample sequence features of aggregated page product interaction behaviors; training an initial click-through rate prediction model based on the training sample set until the corresponding loss function in the initial click-through rate prediction model converges, and obtaining a target click-through rate prediction model generated by the training; wherein the target click-through rate prediction model is used to output a first click-through rate prediction data and a second click-through rate prediction data, the first click-through rate prediction data is used to generate a first product recommendation list corresponding to a first display page, and the second click-through rate prediction data is used to generate an aggregated page product recommendation theme and a second product recommendation list corresponding to a second display page corresponding to the aggregated page product recommendation theme. According to one embodiment of the present application, in the training method of the click-through rate prediction model, the target click-through rate prediction model includes a first click-through rate prediction module and a second click-through rate prediction module; the first click-through rate prediction module is used to generate first click-through rate prediction data; the second click-through rate prediction module is used to generate second click-through rate prediction data; the first click-through rate prediction module and the second click-through rate prediction module share the same loss function.

[0012] According to one embodiment of the present application, the sequence characteristics of the interactive behavior samples of commodities on the entire platform include platform search sequence characteristics and platform click sequence characteristics, and the sequence characteristics of the interactive behavior samples of commodities on the aggregation page include aggregation page click sequence characteristics, aggregation page theme characteristics and aggregation page commodity frequency characteristics.

[0013] According to an embodiment of the present application, the initial click rate prediction model is trained based on the training sample set, including: inputting the aggregation page topic features, the aggregation page product frequency features and the sample user features into the first fusion module of the initial click rate prediction model for feature fusion, and obtaining the first fusion vector output by the first fusion module; inputting the sample user features and the sample product features into the second fusion module of the initial click rate prediction model for feature fusion, and obtaining the second fusion vector output by the second fusion module; inputting the platform search sequence features into the query sequence modeling module of the initial click rate prediction model for sequence modeling, and obtaining the search fusion vector output by the query sequence modeling module; The click sequence features and the aggregated page click sequence features are input into the click sequence modeling module of the initial click rate prediction model for sequence modeling, and the click fusion vector output by the click sequence modeling module is obtained; the first fusion vector, the second fusion vector, the search fusion vector and the click fusion vector are input into the fusion layer of the initial click rate prediction model, and the output of the fusion layer is used as the common underlying data of the first click rate prediction module and the second click rate prediction module; the click rate prediction data output by the first click rate prediction module and the second click rate prediction module respectively and the loss function value of the initial click rate prediction model are obtained, and the initial click rate prediction model is iteratively trained according to the loss function value.

[0014] According to one embodiment of the present application, the aggregation page theme features, the aggregation page product frequency features and the sample user features are input into the first fusion module of the initial click-through rate prediction model for feature fusion, and a first fusion vector output by the first fusion module is obtained, including: based on the interest aggregation interaction unit in the first fusion module, feature interaction is performed on the aggregation page theme features and the aggregation page product frequency features, and the interest aggregation interaction vector output by the interest aggregation interaction unit is obtained; based on the subject preference interaction unit in the first fusion module, feature interaction is performed on the aggregation page theme features and the sample user features, and the subject preference interaction vector output by the subject preference interaction unit is obtained; based on the frequency intensity interaction unit in the first fusion module, feature interaction is performed on the aggregation page product frequency features and the sample user features, and the frequency intensity interaction vector output by the frequency intensity interaction unit is obtained; the interest aggregation interaction vector, the subject preference interaction vector and the frequency intensity interaction vector are input into the nonlinear transformation module in the first fusion module, and the interest aggregation interaction vector is activated as the interest trigger unit to obtain the first fusion vector finally generated.

[0015] According to one embodiment of the present application, sample user features and sample product features are input into the second fusion module of the initial click-through rate prediction model for feature fusion, and a second fusion vector output by the second fusion module is obtained, including: inputting the sample user features and the sample product features into the feature embedding layer of the second fusion module, and obtaining the user feature embedding vector and the product feature embedding vector output by the feature embedding layer; performing feature selection and splicing on the user feature embedding vector and the product feature embedding vector, and inputting the spliced ​​vector generated after splicing into the deep cross network DCN model of the second fusion module, and obtaining the second fusion vector output by the DCN model.

[0016] According to one embodiment of the present application, the platform click sequence features and the aggregated page click sequence features are input into the click sequence modeling module of the initial click rate estimation model for sequence modeling, and the click fusion vector output by the click sequence modeling module is obtained, including: inputting the platform click sequence features and the aggregated page click sequence features into the feature embedding layer of the click sequence modeling module, and obtaining the platform click sequence input vector and the aggregated page click sequence input vector output by the feature embedding layer; performing sequence modeling on the platform click sequence input vector and the aggregated page click sequence input vector based on the converter model structure, and obtaining the click fusion vector; wherein, in the converter model structure, feature learning is performed on the aggregated page click sequence input vector based on a single attention mechanism, and feature learning is performed on the platform click sequence input vector based on a multi-head attention mechanism, and the features learned by the single attention mechanism are integrated into the multi-head attention mechanism.

[0017] To achieve the above-mentioned purpose, the second aspect embodiment of the present application proposes a product recommendation method, which is characterized by including: obtaining user-related features corresponding to the target user, the user-related features include the user features corresponding to the target user, the full-platform product interaction behavior sequence features corresponding to the target user, and the aggregation page product interaction behavior sequence features; obtaining product features corresponding to the product to be recommended; inputting the user-related features and the product features into the target click-through rate prediction model trained by the above-mentioned click-through rate prediction model training method to perform feature fusion, and obtaining the first click-through rate prediction data and the second click-through rate prediction data output by the target click-through rate prediction model; generating a first product recommendation list based on the first click-through rate prediction data; generating an aggregation page product recommendation theme and a second product recommendation list corresponding to the aggregation page product recommendation theme based on the second click-through rate estimation data.

[0018] According to one embodiment of the present application, the product recommendation method also includes: displaying a first product recommendation list and an aggregation page product recommendation theme on a first display page; in response to monitoring a click operation on the aggregation page product recommendation theme on the first display page, displaying a second product recommendation list on a second display page.

[0019] To achieve the above-mentioned purpose, the third aspect embodiment of the present application proposes a training device for a click-through rate prediction model, including: an acquisition module, used to obtain a training sample set corresponding to a sample user, each training sample in the training sample set includes sample product features, sample user features corresponding to the sample user, sample sequence features of all-platform product interaction behaviors corresponding to the sample user, and sample sequence features of aggregated page product interaction behaviors; a training module, used to train an initial click-through rate prediction model based on the training sample set until the corresponding loss function in the initial click-through rate prediction model converges, and obtain a target click-through rate prediction model generated by the training; wherein the target click-through rate prediction model is used to output first click-through rate prediction data and second click-through rate prediction data, the first click-through rate prediction data is used to generate a first product recommendation list corresponding to a first display page, and the second click-through rate prediction data is used to generate an aggregated page product recommendation theme and a second product recommendation list corresponding to a second display page corresponding to the aggregated page product recommendation theme.

[0020] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present application proposes a product recommendation device, which is characterized in that it includes: a first acquisition module, used to obtain user-related features corresponding to the target user, the user-related features include user features corresponding to the target user, all-platform product interaction behavior sequence features corresponding to the target user, and aggregation page product interaction behavior sequence features; a second acquisition module, used to obtain product features corresponding to the product to be recommended; a third acquisition module, used to input user-related features and product features into a target click-through rate estimation model trained by a training device such as the above-mentioned click-through rate estimation model to perform feature fusion, and obtain first click-through rate estimation data and second click-through rate estimation data output by the target click-through rate estimation model; a first generation module, used to generate a first product recommendation list based on the first click-through rate estimation data; a second generation module, used to generate an aggregation page product recommendation theme and a second product recommendation list corresponding to the aggregation page product recommendation theme based on the second click-through rate estimation data.

[0021] To achieve the above-mentioned purpose, the fifth aspect embodiment of the present application proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the training method of the click-through rate prediction model as described in the first aspect embodiment of the present application and the product recommendation method as described in the second aspect embodiment.

[0022] To achieve the above-mentioned purpose, the sixth aspect embodiment of the present application proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to implement the training method of the click-through rate prediction model as described in the first aspect embodiment of the present application and the product recommendation method as described in the second aspect embodiment.

[0023] To achieve the above-mentioned purpose, the seventh aspect embodiment of the present application proposes a computer program product, including a computer program, which, when executed by a processor, implements the training method of the click-through rate prediction model as described in the first aspect embodiment of the present application and the product recommendation method as described in the second aspect embodiment.

[0024] This application achieves at least the following beneficial effects: This application proposes a training method for a click-through rate prediction model, which can accurately predict the click-through rates of aggregate page products and ordinary products, and can help the platform better understand user behavior, thereby providing personalized recommendations and customized content, improving user experience, thereby increasing users' click and purchase conversion rates for recommended content, thereby increasing the platform's revenue and user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0026] Figure 1 It is a schematic diagram of an exemplary implementation of a training method for a click rate prediction model shown in an embodiment of the present application.

[0027] Figure 2 It is a structural diagram of a target click rate prediction model shown in an embodiment of the present application.

[0028] Figure 3 It is a schematic diagram of the structural details of a target click rate prediction model shown in an embodiment of the present application.

[0029] Figure 4 It is a schematic diagram of an exemplary implementation of a product recommendation method shown in an embodiment of the present application.

[0030] Figure 5 It is an exemplary schematic diagram of a first display page and a second display page shown in an embodiment of the present application.

[0031] Figure 6 It is an overall framework diagram of a commodity recommendation method shown in an embodiment of the present application.

[0032] Figure 7 It is a schematic diagram of a training device for a click rate prediction model shown in an embodiment of the present application.

[0033] Figure 8 It is a schematic diagram of a commodity recommendation device shown in the present application.

[0034] Fig. 9 It is a schematic diagram of an electronic device shown in one embodiment of the present application. DETAILED DESCRIPTION

[0035] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0036] It should be noted that all actions of obtaining information, permissions, and providing services in this disclosure are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization of the owner of the corresponding device. They are in compliance with relevant laws and regulations and do not violate public order and good morals.

[0037] Figure 1 is a schematic diagram of an exemplary implementation of a training method for a click rate prediction model shown in the present application, such as Figure 1 As shown, the training method of the click rate prediction model includes the following steps:

[0038] S101, obtaining a training sample set corresponding to a sample user, wherein each training sample in the training sample set includes sample product features, sample user features corresponding to the sample user, full-platform product interaction behavior sample sequence features corresponding to the sample user, and aggregate page product interaction behavior sample sequence features.

[0039] Optionally, representative sample users are screened out from the platform log system, and the sample users may be determined based on different criteria (such as activity, purchase behavior, etc.).

[0040] The sample product characteristics include but are not limited to the brand, price, category and other information of the sample product.

[0041] Among them, sample user characteristics mainly include characteristic information related to sample users, such as age, gender, geographic location, etc.

[0042] Among them, the sample sequence characteristics of the interactive behavior of all platform commodities include platform search sequence characteristics and platform click sequence characteristics. Among them, all platform commodities include ordinary commodities and aggregation page commodities.

[0043] Among them, the sample sequence features of the aggregation page product interaction behavior include the aggregation page click sequence features, aggregation page theme features and aggregation page product frequency features. The aggregation page product frequency features are mainly used to indicate the frequency and number of clicks of sample users on the aggregation page products.

[0044] S102, training the initial click rate prediction model based on the training sample set until the corresponding loss function in the initial click rate prediction model converges, and obtaining a target click rate prediction model generated by the training.

[0045] In this application, click-through rate (CTR) refers to the click-through rate of recommended products, which refers to the ratio of the number of times the recommended product is clicked to the number of times the recommended product is displayed.

[0046] The target click rate prediction model is used to output first click rate prediction data and second click rate prediction data.

[0047] The first click rate estimation data indicates the probability of a product being displayed on the first display page, and is used to generate a first product recommendation list corresponding to the first display page.

[0048] The second click rate estimation data indicates the probability of the product being displayed on the second display page, and is used to generate an aggregation page product recommendation theme and a second product recommendation list corresponding to the second display page corresponding to the aggregation page product recommendation theme.

[0049] Among them, the first display page can be understood as the display page of ordinary commodities, and the second display page can be the display page of aggregated page commodities.

[0050] The target click-through rate prediction model trained by the click-through rate prediction model training method proposed in the embodiment of the present application can be based on the user's historical operations on platform products and aggregation page products, and can simultaneously realize accurate prediction of the click-through rates of aggregation page products and ordinary products, which can help the platform better understand user behavior, thereby providing personalized recommendations and customized content, improving user experience, thereby increasing the user's click and purchase conversion rate for recommended content, thereby increasing the platform's revenue and user satisfaction.

[0051] Figure 2 is a structural diagram of a target click rate prediction model shown in this application, such as Figure 2 As shown, the target click rate prediction model includes a first fusion module, a second fusion module, a query sequence modeling module, a click sequence modeling module, a fusion layer, a first click rate prediction module and a second click rate prediction module. The following will specifically introduce the training method of the initial click rate prediction model based on the training sample set in combination with these modules, including the following steps:

[0052] Step 1: Input the aggregation page topic features, aggregation page product frequency features and sample user features into the first fusion module of the initial click rate prediction model for feature fusion, and obtain the first fusion vector output by the first fusion module.

[0053] Figure 3 is a schematic diagram of the structural details of a target click rate prediction model shown in this application, Figure 3 Will Figure 2 Add more structural details, such as Figure 3As shown, based on the interest aggregation interaction unit in the first fusion module, the aggregation page theme feature and the aggregation page commodity frequency feature are subjected to feature interaction, and the interest aggregation interaction vector output by the interest aggregation interaction unit is obtained; based on the theme preference interaction unit in the first fusion module, the aggregation page theme feature and the sample user feature are subjected to feature interaction, and the theme preference interaction vector output by the theme preference interaction unit is obtained; based on the frequency intensity interaction unit in the first fusion module, the aggregation page commodity frequency feature and the sample user feature are subjected to feature interaction, and the frequency intensity interaction vector output by the frequency intensity interaction unit is obtained; the interest aggregation interaction vector, the theme preference interaction vector and the frequency intensity interaction vector are input into the nonlinear transformation module in the first fusion module, and the interest aggregation interaction vector is used as the interest trigger unit for activation, and the first fusion vector finally generated is obtained. Wherein, when performing feature interaction, the Hadamard product can be used for calculation.

[0054] Step 2: Input the sample user features and the sample product features into the second fusion module of the initial click rate prediction model for feature fusion, and obtain the second fusion vector output by the second fusion module.

[0055] like Figure 3 As shown, the sample user features and sample product features are input into the feature embedding layer of the second fusion module (i.e. Figure 3 The second embedding layer in the feature embedding module is used to obtain the user feature embedding vector and the product feature embedding vector output by the feature embedding layer; feature selection and splicing are performed on the user feature embedding vector and the product feature embedding vector, and the spliced ​​vector generated after splicing is input into the Deep & Cross Network (DCN) model of the second fusion module to obtain the second fusion vector output by the DCN model.

[0056] Among them, the DCN model is a deep learning model for recommendation systems. It combines the advantages of shallow models and deep models and can better deal with the sparsity and high-dimensionality problems in recommendation systems. The DCN model uses a cross network to learn the intrinsic correlation between low-order features and a deep network to learn the nonlinear relationship between high-order features. The above process can be formulated as follows:

[0057] Layer feature =Fusion([Cross(single,multi);Deep(x)])

[0058] Among them, Layer featureis the output of the DCN model, single and multi represent user features and product features respectively. The Cross and Deep layers are cross layers and depth layers respectively, and explicit high-order cross and implicit high-order models are used to model user interests.

[0059] Step 3: Input the platform search sequence features into the query sequence modeling module of the initial click rate prediction model for sequence modeling, and obtain the search fusion vector output by the query sequence modeling module.

[0060] The Transformer structure is used to perform sequence modeling on the platform search sequence features to obtain the search fusion vector output by the query sequence modeling module.

[0061] Step 4: Input the platform click sequence features and the aggregated page click sequence features into the click sequence modeling module of the initial click rate prediction model for sequence modeling, and obtain the click fusion vector output by the click sequence modeling module.

[0062] like Figure 3 As shown in the figure, the platform click sequence features and the aggregate page click sequence features are input into the feature embedding layer of the click sequence modeling module (i.e. Figure 3 The third embedding layer in ), obtains the platform click sequence input vector and the aggregated page click sequence input vector output by the feature embedding layer.

[0063] Based on the transformer model Transformer structure, sequence modeling is performed on the platform click sequence input vector and the aggregation page click sequence input vector to obtain the click fusion vector.

[0064] Among them, in the Transformer structure of the converter model, feature learning is performed on the input vector of the aggregated page click sequence based on the single attention mechanism, and feature learning is performed on the input vector of the platform click sequence based on the multi-head attention mechanism, and the features learned by the single attention mechanism are integrated into the multi-head attention mechanism.

[0065] In the Transformer structure, the input vector of the aggregate page click sequence is added to the vector generated by adding and regularizing the input vector of the platform click sequence after feature learning through the single attention mechanism; the output of the feedforward neural network corresponding to the input vector of the aggregate page click sequence is concatenated with the output of the feedforward neural network corresponding to the platform click sequence feature to obtain the model's serial expression ability in the collaborative scenario of products and aggregate pages. Finally, we pass both of them through the nonlinear fitting layer at the same time to obtain the enhanced fused sequence click information. After passing through the sequence fusion network, this sequence feature vector is finally input into the fusion layer of the model to jointly serve the collaborative scenario of the product aggregation page.

[0066] Among them, the query sequence modeling module and the click sequence modeling module share the third embedding layer.

[0067] The general formula for Transformer sequence modeling involved in the above expression can be expressed as follows:

[0068]

[0069] Among them, Q, K, and V represent the query vector, key vector, and value vector respectively. k is the dimension of the key vector, and softmax represents the softmax function.

[0070] In this application, the vector output by the concatenation layer in the second fusion module is used as the corresponding Q in the query sequence modeling module and the click sequence modeling module.

[0071] At the same time, the feedforward neural network (FNN) can also be expressed by the following formula:

[0072] FFN(x)=max(0,xW1+b1)W2+b2

[0073] Among them, x represents the input vector of the feedforward neural network, W1, W2, b1, b2 represent the weight matrices and two bias vectors of the two fully connected layers of the feedforward neural network respectively.

[0074] Step 5: Input the first fusion vector, the second fusion, the search fusion vector and the click fusion vector into the fusion layer of the initial click rate prediction model, and use the output of the fusion layer as the common underlying data of the first click rate prediction module and the second click rate prediction module.

[0075] In the present application, by using the output of the fusion layer as the common underlying data, the first click rate prediction module and the second click rate prediction module can share the underlying common information, thereby improving the generalization ability of the model.

[0076] like Figure 3 As shown, the first click rate prediction module includes a common commodity information diversion layer, a common commodity multilayer perceptron (MLP), and a common commodity CTR prediction layer.

[0077] like Figure 3 As shown, the second click rate prediction module includes an aggregation page information diversion layer, an aggregation page MLP, and an aggregation page CTR prediction layer.

[0078] Among them, MLP is a common feedforward neural network model. It consists of multiple neuron layers, each of which is connected to the previous and next layers, and the layers are fully connected. In MLP, each neuron receives the output of all neurons in the previous layer, and sums them up, and then processes them through a nonlinear activation function to obtain the output of this layer. This output is used as the input of the next layer, and so on, until the output layer gets the final output.

[0079] Step 6: Obtain the click rate estimation data output by the first click rate estimation module and the second click rate estimation module respectively and the loss function value of the initial click rate estimation model, and perform iterative training of the initial click rate estimation model according to the loss function value.

[0080] The first click rate estimation module is used to generate first click rate estimation data.

[0081] The second click rate estimation module is used to generate second click rate estimation data.

[0082] Among them, the first click rate estimation module and the second click rate estimation module share the same dual-scenario loss function, and the loss function adopts the cross entropy loss function. The dual-scenario loss function combines two separate cross entropy loss functions, each loss function corresponds to a task, and each loss function corresponds to a weight. The dual-scenario loss function can be combined by weighted averaging the loss functions of the two tasks.

[0083] In this application, the dual-task learning structure can effectively distinguish the loss function convergence of ordinary products and user interest aggregation pages, while taking into account the different distribution of user click behavior under the two types of product materials. This multi-scenario learning method can fully express the difference between user interests in ordinary product scenarios and aggregation page interest scenarios, thereby improving the model's prediction ability for different materials, more accurately predicting user interests and behaviors in different scenarios, and improving the effectiveness of advertising recommendations.

[0084] The target click rate prediction model trained in this application is generated by interactive fusion of sample data. The underlying data is upgraded by integrating the information of common commodities and aggregated page commodities, realizing the expression of common and differentiated information of common commodities and aggregated page commodities. At the same time, a more fine-grained modeling of user interest aggregated pages is performed to improve the overall recommendation effect of the model, which can capture the user's click preference, improve the user's browsing and clicking willingness, and thus improve the user's satisfaction and repurchase rate. It can achieve precise marketing for advertisers and increase the revenue of e-commerce platforms, achieving a "win-win-win" situation.

[0085] Figure 4 is a schematic diagram of an exemplary implementation of a commodity recommendation method shown in the present application, such as Figure 4As shown, the product recommendation method includes the following steps:

[0086] S401, obtaining user-related features corresponding to the target user, the user-related features include user features corresponding to the target user, all-platform product interaction behavior sequence features corresponding to the target user, and aggregation page product interaction behavior sequence features.

[0087] S402, obtaining product features corresponding to the product to be recommended.

[0088] Among them, the product characteristics corresponding to the product to be recommended include but are not limited to information such as the brand, price, and category of the product to be recommended.

[0089] Among them, the products to be recommended may be products in the platform product pool.

[0090] S403, inputting the user-related features and the product features into a target click-through rate estimation model trained by the above-mentioned click-through rate estimation model to perform feature fusion, and obtaining first click-through rate estimation data and second click-through rate estimation data output by the target click-through rate estimation model.

[0091] S404: Generate a first product recommendation list according to the first click rate estimation data.

[0092] It is not difficult to understand that after the first click rate estimation module outputs the first click rate estimation data, the products can be sorted according to the estimated click rate corresponding to each product to generate a first product recommendation list corresponding to the first display page.

[0093] S405: Generate an aggregation page product recommendation theme and a second product recommendation list corresponding to the aggregation page product recommendation theme according to the second click rate estimation data.

[0094] It is not difficult to understand that after the above-mentioned second click-through rate prediction module outputs the second click-through rate prediction data, a recommendation topic for the aggregation page product that the user is most likely to be interested in can be generated based on the second click-through rate prediction data, and a second product recommendation list corresponding to the second display page corresponding to the product recommendation topic on the aggregation page can be generated based on the second click-through rate prediction data.

[0095] Figure 5 is an exemplary schematic diagram of a first display page and a second display page shown in the present application, such as Figure 5As shown, the first product recommendation list and the aggregation page product recommendation theme are displayed on the first display page, the first product recommendation list displayed on the first display page includes ordinary product 1, ordinary product 2, ordinary product 3, ordinary product 4 and ordinary product 5, and the aggregation page product recommendation theme displayed on the first display page takes "Multi-purpose pot" as an example. In response to monitoring a click operation on the aggregation page product recommendation theme on the first display page, the second product recommendation list is displayed on the second display page.

[0096] like Figure 5 As shown, if the user wants to view the products under the aggregation page product recommendation theme, he needs to click on the aggregation page product recommendation theme. After the user's click operation on the aggregation page product recommendation theme on the first display page is detected, the second product recommendation list under the aggregation page product recommendation theme is displayed on the second display page. Figure 5 As shown, if the user clicks on the aggregation page product recommendation theme "Multi-purpose pot", multi-purpose pot 1, multi-purpose pot 2, multi-purpose pot 3, multi-purpose pot 4, multi-purpose pot 5 and multi-purpose pot 6 will be displayed as the second product recommendation list on the second display page.

[0097] The product recommendation method proposed in the embodiment of the present application can be based on the user's historical operations on platform products and aggregation page products, and can simultaneously achieve accurate estimation of the click-through rates of aggregation page products and ordinary products, which can help the platform better understand user behavior, thereby providing personalized recommendations and customized content, improving user experience, thereby increasing the user's click and purchase conversion rate for recommended content, thereby increasing the platform's revenue and user satisfaction.

[0098] Figure 6 This is an overall framework diagram of a product recommendation method shown in this application, such as Figure 6 As shown:

[0099] Step 1: Collect user historical behavior data online based on the click history on the product recommendation platform, and store this data in a distributed manner in the system behavior click log system. At the same time, select some of the acquired ordinary product interaction data and aggregated page product interaction data for processing, and match them with item-related attribute information and time information as estimated data.

[0100] Step 2: Use the remaining ordinary product interaction data and aggregated page product interaction data as sample data, and filter and clean the "dirty data" through routine execution. At the same time, this part of information will also pass through the data processing module to generate data features that can be directly used by the model through cutting, bucketing, sampling, etc.

[0101] Step 3: Train the data collected in the second step using the training method of the product click-through rate prediction model proposed above, and push the trained target click-through rate prediction model (also known as the product aggregation page collaborative CTR model) to the online service module.

[0102] Step 4: The online service module loads the target click-through rate estimation model. The target click-through rate estimation model will load the estimation data prepared in the offline module to provide users with real-time CTR estimation services for ordinary products and aggregated page products.

[0103] This application can capture the user's click preference, improve the user's browsing and clicking willingness, thereby improving user satisfaction and repurchase rate. It can achieve precise marketing for advertisers and increase revenue for e-commerce platforms, achieving a "win-win-win" situation.

[0104] Figure 7 is a schematic diagram of a training device for a click rate prediction model shown in the present application, such as Figure 7 As shown, the training device 700 of the click rate prediction model includes:

[0105] The acquisition module 701 is used to obtain the training sample set corresponding to the sample user. Each training sample in the training sample set includes sample product features, sample user features corresponding to the sample user, full-platform product interaction behavior sample sequence features corresponding to the sample user, and aggregate page product interaction behavior sample sequence features.

[0106] The training module 702 is used to train the initial click rate prediction model based on the training sample set until the corresponding loss function in the initial click rate prediction model converges, and obtain the target click rate prediction model generated by the training.

[0107] Among them, the target click-through rate prediction model is used to output first click-through rate prediction data and second click-through rate prediction data. The first click-through rate prediction data is used to generate a first product recommendation list corresponding to the first display page, and the second click-through rate prediction data is used to generate a second product recommendation list corresponding to the second display page corresponding to the aggregation page product recommendation theme and the aggregation page product recommendation theme.

[0108] This device can accurately predict the click-through rate of aggregate page products and ordinary products, and can help the platform better understand user behavior, so as to provide personalized recommendations and customized content, improve user experience, and thus increase the user's click and purchase conversion rate of recommended content, thereby increasing the platform's revenue and user satisfaction.

[0109] Furthermore, the target click-rate prediction model includes a first click-rate prediction module and a second click-rate prediction module; the first click-rate prediction module is used to generate first click-rate prediction data; the second click-rate prediction module is used to generate second click-rate prediction data; the first click-rate prediction module and the second click-rate prediction module share the same loss function.

[0110] Furthermore, the sample sequence characteristics of the interactive behavior of commodities on the entire platform include platform search sequence characteristics and platform click sequence characteristics, and the sample sequence characteristics of the interactive behavior of commodities on the aggregation page include aggregation page click sequence characteristics, aggregation page theme characteristics and aggregation page commodity frequency characteristics.

[0111] Furthermore, the training module 702 is also used to: input the aggregation page theme features, the aggregation page product frequency features and the sample user features into the first fusion module of the initial click rate prediction model for feature fusion, and obtain the first fusion vector output by the first fusion module; input the sample user features and the sample product features into the second fusion module of the initial click rate prediction model for feature fusion, and obtain the second fusion vector output by the second fusion module; input the platform search sequence features into the query sequence modeling module of the initial click rate prediction model for sequence modeling, and obtain the search fusion vector output by the query sequence modeling module; input the platform click sequence features and the aggregation page product frequency ... and the query sequence modeling module of the initial click rate prediction model for sequence modeling, and obtain the search fusion vector output by the query sequence modeling module; input the sample user features and the sample product features into the second fusion module of the initial click rate prediction model for feature fusion, and obtain the first fusion vector output by the query sequence modeling module; input the sample user features and the sample product features into the second fusion module of the initial click rate prediction model for feature fusion, and obtain the first fusion vector output by the query sequence modeling module; input the sample user features and the sample product features into the second The page click sequence features are input into the click sequence modeling module of the initial click rate prediction model for sequence modeling, and the click fusion vector output by the click sequence modeling module is obtained; the first fusion vector, the second fusion, the search fusion vector and the click fusion vector are input into the fusion layer of the initial click rate prediction model, and the output of the fusion layer is used as the common underlying data of the first click rate prediction module and the second click rate prediction module; the click rate prediction data output by the first click rate prediction module and the second click rate prediction module respectively and the loss function value of the initial click rate prediction model are obtained, and the initial click rate prediction model is iteratively trained according to the loss function value.

[0112] Furthermore, the training module 702 is also used to: perform feature interaction on the aggregation page theme features and the aggregation page product frequency features based on the interest aggregation interaction unit in the first fusion module, and obtain the interest aggregation interaction vector output by the interest aggregation interaction unit; perform feature interaction on the aggregation page theme features and the sample user features based on the subject preference interaction unit in the first fusion module, and obtain the subject preference interaction vector output by the subject preference interaction unit; perform feature interaction on the aggregation page product frequency features and the sample user features based on the frequency intensity interaction unit in the first fusion module, and obtain the frequency intensity interaction vector output by the frequency intensity interaction unit; input the interest aggregation interaction vector, the subject preference interaction vector and the frequency intensity interaction vector into the nonlinear transformation module in the first fusion module, and activate it with the interest aggregation interaction vector as the interest trigger unit to obtain the first fusion vector finally generated.

[0113] Furthermore, the training module 702 is also used to: input sample user features and sample product features into the feature embedding layer of the second fusion module to obtain the user feature embedding vector and the product feature embedding vector output by the feature embedding layer; perform feature selection and splicing on the user feature embedding vector and the product feature embedding vector, and input the spliced ​​vector generated after splicing into the deep cross network DCN model of the second fusion module to obtain the second fusion vector output by the DCN model.

[0114] Furthermore, the training module 702 is also used to: input the platform click sequence features and the aggregated page click sequence features into the feature embedding layer of the click sequence modeling module to obtain the platform click sequence input vector and the aggregated page click sequence input vector output by the feature embedding layer; perform sequence modeling on the platform click sequence input vector and the aggregated page click sequence input vector based on the converter model structure to obtain a click fusion vector; wherein, in the converter model structure, feature learning is performed on the aggregated page click sequence input vector based on a single attention mechanism, and feature learning is performed on the platform click sequence input vector based on a multi-head attention mechanism, and the features learned by the single attention mechanism are integrated into the multi-head attention mechanism.

[0115] Figure 8 is a schematic diagram of a commodity recommendation device shown in this application, such as Figure 8 As shown, the product recommendation device 800 includes:

[0116] The first acquisition module 801 is used to acquire user-related features corresponding to the target user, wherein the user-related features include user features corresponding to the target user, full-platform commodity interaction behavior sequence features corresponding to the target user, and aggregation page commodity interaction behavior sequence features.

[0117] The second acquisition module 802 is used to acquire product features corresponding to the product to be recommended.

[0118] The third acquisition module 803 is used to input user-related features and product features into a target click-through rate prediction model trained by a training device using a click-through rate prediction model to perform feature fusion, and obtain first click-through rate prediction data and second click-through rate prediction data output by the target click-through rate prediction model.

[0119] The first generating module 804 is used to generate a first commodity recommendation list according to the first click rate estimation data.

[0120] The second generating module 805 is used to generate an aggregation page product recommendation theme and a second product recommendation list corresponding to the aggregation page product recommendation theme according to the second click rate estimation data.

[0121] This device can accurately predict the click-through rate of aggregate page products and ordinary products, and can help the platform better understand user behavior, so as to provide personalized recommendations and customized content, improve user experience, and thus increase the user's click and purchase conversion rate of recommended content, thereby increasing the platform's revenue and user satisfaction.

[0122] Furthermore, the product recommendation device 800 also includes a display module, which is used to display the first product recommendation list and the aggregation page product recommendation theme on the first display page; in response to monitoring a click operation on the aggregation page product recommendation theme on the first display page, the second product recommendation list is displayed on the second display page.

[0123] In order to implement the above embodiment, the present application embodiment also proposes an electronic device 900, such as Fig. 9 As shown, the electronic device 900 includes: a processor 901 and a memory 902 communicatively connected to the processor, the memory 902 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 901 to implement the training method of the click-through rate prediction model and the product recommendation method as shown in the above embodiments.

[0124] In order to implement the above embodiments, the embodiments of the present application also propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to implement the training method of the click-through rate prediction model and the product recommendation method as shown in the above embodiments.

[0125] In order to implement the above embodiments, the embodiments of the present application also propose a computer program product, including a computer program, which, when executed by a processor, implements the training method of the click-through rate prediction model and the product recommendation method as shown in the above embodiments.

[0126] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0127] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0128] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0129] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A training method for a click rate prediction model. It is characterized in that include: Obtain a training sample set corresponding to the sample user, wherein each training sample in the training sample set includes sample product features, sample user features corresponding to the sample user, full-platform product interaction behavior sample sequence features corresponding to the sample user, and aggregate page product interaction behavior sample sequence features; The initial click rate prediction model is trained based on the training sample set until the corresponding loss function in the initial click rate prediction model converges, and a target click rate prediction model generated by the training is obtained; Among them, the target click-through rate prediction model is used to output first click-through rate prediction data and second click-through rate prediction data, the first click-through rate prediction data is used to generate a first product recommendation list corresponding to a first display page, and the second click-through rate prediction data is used to generate an aggregation page product recommendation theme and a second product recommendation list corresponding to a second display page corresponding to the aggregation page product recommendation theme.

2. The method according to claim 1, It is characterized in that The method further comprises: The target click rate prediction model includes a first click rate prediction module and a second click rate prediction module; The first click rate estimation module is used to generate the first click rate estimation data; The second click rate estimation module is used to generate the second click rate estimation data; The first click rate prediction module and the second click rate prediction module share the same loss function.

3. The method according to claim 2, It is characterized in that The sample sequence characteristics of the commodity interaction behavior on the entire platform include platform search sequence characteristics and platform click sequence characteristics, and the sample sequence characteristics of the commodity interaction behavior on the aggregation page include aggregation page click sequence characteristics, aggregation page theme characteristics and aggregation page commodity frequency characteristics.

4. The method according to claim 3, It is characterized in that The training of the initial click rate prediction model based on the training sample set includes: Inputting the aggregation page theme feature, the aggregation page commodity frequency feature and the sample user feature into the first fusion module of the initial click rate prediction model for feature fusion, and obtaining a first fusion vector output by the first fusion module; Inputting the sample user features and the sample product features into a second fusion module of the initial click rate prediction model for feature fusion, and obtaining a second fusion vector output by the second fusion module; Inputting the platform search sequence features into the query sequence modeling module of the initial click rate prediction model to perform sequence modeling, and obtaining the search fusion vector output by the query sequence modeling module; Inputting the platform click sequence features and the aggregated page click sequence features into the click sequence modeling module of the initial click rate prediction model to perform sequence modeling, and obtaining a click fusion vector output by the click sequence modeling module; Inputting the first fusion vector, the second fusion vector, the search fusion vector and the click fusion vector into the fusion layer of the initial click rate prediction model, and using the output of the fusion layer as the common underlying data of the first click rate prediction module and the second click rate prediction module; The click rate prediction data output by the first click rate prediction module and the second click rate prediction module and the loss function value of the initial click rate prediction model are obtained, and the initial click rate prediction model is iteratively trained according to the loss function value.

5. The method according to claim 4, It is characterized in that The step of inputting the aggregation page theme feature, the aggregation page commodity frequency feature, and the sample user feature into the first fusion module of the initial click rate prediction model for feature fusion, and obtaining a first fusion vector output by the first fusion module, comprises: Based on the interest aggregation interaction unit in the first fusion module, feature interaction is performed on the theme feature of the aggregation page and the frequency feature of the commodity on the aggregation page, and an interest aggregation interaction vector output by the interest aggregation interaction unit is obtained; Based on the theme preference interaction unit in the first fusion module, feature interaction is performed on the aggregation page theme feature and the sample user feature, and a theme preference interaction vector output by the theme preference interaction unit is obtained; Based on the frequency intensity interaction unit in the first fusion module, feature interaction is performed on the frequency feature of the aggregated page products and the sample user feature, and a frequency intensity interaction vector output by the frequency intensity interaction unit is obtained; The interest aggregation interaction vector, the topic preference interaction vector and the frequency intensity interaction vector are input into the nonlinear transformation module in the first fusion module, and the interest aggregation interaction vector is activated as an interest trigger unit to obtain the first fusion vector finally generated.

6. The method according to claim 5, It is characterized in that The step of inputting the sample user features and the sample product features into the second fusion module of the initial click rate prediction model for feature fusion, and obtaining a second fusion vector output by the second fusion module, comprises: Inputting the sample user features and the sample product features into a feature embedding layer of the second fusion module, and obtaining a user feature embedding vector and a product feature embedding vector output by the feature embedding layer; Feature selection and splicing are performed on the user feature embedding vector and the product feature embedding vector, and the spliced ​​vector generated after the splicing is input into the deep cross network DCN model of the second fusion module to obtain the second fusion vector output by the DCN model.

7. The method according to claim 6, It is characterized in that The step of inputting the platform click sequence features and the aggregated page click sequence features into the click sequence modeling module of the initial click rate prediction model to perform sequence modeling, and obtaining the click fusion vector output by the click sequence modeling module, comprises: Input the platform click sequence features and the aggregated page click sequence features into the feature embedding layer of the click sequence modeling module, and obtain the platform click sequence input vector and the aggregated page click sequence input vector output by the feature embedding layer; Perform sequence modeling on the platform click sequence input vector and the aggregation page click sequence input vector based on the converter model structure to obtain the click fusion vector; Among them, in the converter model structure, feature learning is performed on the aggregate page click sequence input vector based on the single attention mechanism, feature learning is performed on the platform click sequence input vector based on the multi-head attention mechanism, and the features learned by the single attention mechanism are integrated into the multi-head attention mechanism.

8. A product recommendation method, It is characterized in that include: Obtaining user-related features corresponding to the target user, the user-related features including user features corresponding to the target user, all-platform commodity interaction behavior sequence features corresponding to the target user, and aggregation page commodity interaction behavior sequence features; Obtain product features corresponding to the product to be recommended; Inputting the user-related features and the product features into a target click rate estimation model trained by the method according to any one of claims 1 to 7 to perform feature fusion, and obtaining first click rate estimation data and second click rate estimation data output by the target click rate estimation model; generating a first product recommendation list according to the first click rate estimation data; Generate an aggregation page product recommendation theme and a second product recommendation list corresponding to the aggregation page product recommendation theme according to the second click rate estimation data.

9. The method according to claim 8, It is characterized in that The method further comprises: Displaying the first product recommendation list and the aggregation page product recommendation theme on a first display page; In response to monitoring a click operation on the aggregation page product recommendation theme on the first display page, the second product recommendation list is displayed on the second display page.

10. A training device for a click rate prediction model, It is characterized in that include: An acquisition module is used to acquire a training sample set corresponding to a sample user, wherein each training sample in the training sample set includes sample product features, sample user features corresponding to the sample user, full-platform product interaction behavior sample sequence features corresponding to the sample user, and aggregate page product interaction behavior sample sequence features; A training module, used to train the initial click rate prediction model based on the training sample set until the corresponding loss function in the initial click rate prediction model converges, and obtain a target click rate prediction model generated by the training; Among them, the target click-through rate prediction model is used to output first click-through rate prediction data and second click-through rate prediction data, the first click-through rate prediction data is used to generate a first product recommendation list corresponding to a first display page, and the second click-through rate prediction data is used to generate an aggregation page product recommendation theme and a second product recommendation list corresponding to a second display page corresponding to the aggregation page product recommendation theme.

11. A product recommendation device, It is characterized in that include: A first acquisition module is used to acquire user-related features corresponding to the target user, wherein the user-related features include user features corresponding to the target user, all-platform commodity interaction behavior sequence features corresponding to the target user, and aggregation page commodity interaction behavior sequence features; The second acquisition module is used to acquire the product features corresponding to the product to be recommended; A third acquisition module, configured to input the user-related features and the product features into a target click rate estimation model trained by the device according to claim 10 to perform feature fusion, and acquire first click rate estimation data and second click rate estimation data output by the target click rate estimation model; A first generating module, configured to generate a first commodity recommendation list according to the first click rate estimation data; The second generating module is used to generate an aggregation page product recommendation theme and a second product recommendation list corresponding to the aggregation page product recommendation theme according to the second click rate estimation data.

12. An electronic device, include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7 or claims 8-9.

13. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7 or claims 8-9.

14. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1-7 or claims 8-9.