Method for estimating e-commerce advertisement click passing rate by using gating attention mechanism

By introducing the gated attention mechanism and domain matrix factorization machine into the CTR prediction model, combined with the bridging module and the fusion module, the feature importance distinction and ambiguity problems of the parallel structure model are solved, and the prediction accuracy of the model is improved. and generalization ability.

CN118747664APending Publication Date: 2024-10-08CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410868274.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The parallel structure CTR prediction model has problems such as insufficient distinction of feature importance, limited expression ability of shallow models, inability to consider feature interaction ambiguity or high cost, and insufficient generalization capabilities of deep models.

Method used

The gated attention mechanism is used to introduce the gated hybrid attention module after the feature embedding layer, combined with FmFM and EDIN, to train shallow and deep model feature embedding vectors respectively, and perform feature interaction through the bridging module and fusion module to improve the memory of the model. and generalization ability.

Benefits of technology

It improves the feature importance distinction and interaction difference of the CTR prediction model, overcomes the insufficient expression ability of the shallow model and the generalization ability of the deep model, and improves the accuracy of the prediction results and the robustness of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747664A_ABST
    Figure CN118747664A_ABST
Patent Text Reader

Abstract

The invention relates to technologies such as deep learning, e-commerce advertisement, click pass rate estimation, gating network, attention mechanism, feature crossing and the like, and discloses a method for estimating an e-commerce advertisement click pass rate by using a gating attention mechanism. The method comprises the steps of collecting an e-commerce advertisement data set, preprocessing the data set in a data input layer, and then dividing the data set into a training set, a verification set and a test set; and inputting the processed data into a feature embedding layer to obtain a feature embedding vector. Thirdly, inputting the feature embedding vectors into a gating mixed attention module, and respectively training the feature embedding vectors required by a shallow model and a deep model; then, two types of feature embedded vectors output by the gating mixed attention module are respectively input into a domain matrix factorization machine and an enhanced depth interaction network in a feature interaction layer, and low-order interaction and high-order interaction of features are carried out; and finally, in the prediction layer, combining the output of the deep layer model and the output of the shallow layer model to obtain the prediction probability of clicking the target object by the user. The method is suitable for the field of dichotomy prediction problems such as advertisement click passing rate prediction, user behavior prediction and user interest prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention is entitled: A method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism. The present application relates to technologies such as deep learning, e-commerce advertisements, click-through rate estimation, gated networks, attention mechanisms, and feature crossover, and in particular, to a method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism. Background Art

[0002] On e-commerce platforms, personalized advertising recommendations can accurately predict click probabilities based on user history and improve advertising effectiveness. In real-time bidding advertising systems, advertising bids can be adjusted dynamically to match user interests. In terms of advertising effectiveness evaluation, it reveals user attention and helps advertisers understand the effectiveness of advertising. This innovative technology also supports precision targeted advertising, improves the relevance and conversion rate of advertising, and brings more accurate and efficient promotion strategies to the e-commerce advertising field.

[0003] Recommendation systems usually consist of two modules: recall and ranking. Among them, click-through rate (CTR) estimation is part of the ranking module. The estimated value of the click-through rate will affect the system's subsequent recommendations to users and the importance of recommended items, so its accuracy is a key factor in improving user experience and platform revenue. In industrial CTR estimation modeling scenarios, the datasets used are usually extremely sparse and high in dimensionality. Therefore, the model needs to mine deep information through effective feature interactions to improve the accuracy and robustness of the model.

[0004] CTR estimation was originally modeled using traditional machine learning algorithms, such as the logistic regression model LR and the decision tree model LightGBM. These models have poor expressiveness and cannot perform feature interactions, resulting in information loss. FM uses the inner product of two feature embedding vectors to represent the weights of second-order interactive features, solving the problem that traditional machine learning algorithms cannot effectively perform feature interactions. With the development of neural networks, the deep learning-based CTR estimation models that have emerged in recent years have the ability to capture feature interactions in an end-to-end manner, getting rid of the obstacles of manual feature engineering and predetermined formulas. For example: Wide&Deep, DeepFM, xDeepFM, DIN, DIEN. These deep learning-based CTR estimation models jointly learn explicit and implicit feature interactions and achieve significant performance improvements.

[0005] In addition to feature interaction, the CTR prediction model can also improve the accuracy of the prediction from the attention mechanism. The attention mechanism simulates the human visual system and gives different weights to different input features, so that the model pays more attention to the information that contributes to the prediction. In CTR prediction, the attention mechanism can effectively capture the complex relationship between multi-dimensional information such as user behavior and advertising features, and improve the model's sensitivity to potential click factors. This technology is particularly important when processing large-scale, high-dimensional advertising data, and provides an effective means to improve the performance of advertising recommendation systems and user experience. Therefore, the CTR prediction model based on the attention mechanism has become a research hotspot in the current field of advertising technology, laying a solid foundation for accurate advertising delivery.

[0006] Deep learning CTR prediction models can be divided into two series according to the difference in their combined network methods: serial structure and parallel structure. Models with serial structure combine two networks in a serial manner, one for explicit feature interaction and the other for implicit feature interaction, such as DIN and DIEN; while parallel structure combines two networks in a parallel manner, such as Wide&Deep, DeepFM, and xDeepFM.

[0007] This article mainly focuses on the parallel structured deep learning CTR prediction model. Its original design intention and greatest value is to have strong "memory" and "generalization" capabilities. "Memory" can be understood as the model's ability to directly learn and utilize the co-occurrence frequency of items or features in the original data. "Generalization" can be understood as the model's ability to discover the correlation between sparse features and labels. Generally speaking, shallow models such as LR and FM have strong memory capabilities; while deep models such as Deep Neural Network (DNN) can discover the hidden information in the data through multiple combinations of features, which is the generalization capability that shallow models lack.

[0008] The concept of multi-semantics first appeared in natural language processing, where the same word has different meanings when combined with different words. In the field of recommendation systems, the ambiguity of feature interaction was first cited in FFM, which has greatly improved the effect compared to FM. However, its way of expressing the ambiguity of feature interaction leads to a sharp increase in model complexity and the number of parameters, and is generally not used in industry. Based on FM and FFM, Yahoo proposed the Field-matrixed Factorization Machine (FmFM), which uses the field matrix to solve the multi-semantic problem. Without losing accuracy, it greatly reduces the complexity of the algorithm compared to FFM. Summary of the invention

[0009] In summary, the current parallel structure CTR prediction model has many problems that need to be improved, such as insufficient distinction of feature importance; limited expression ability of shallow models, unable to consider feature interaction ambiguity or extremely high cost; deep models cannot achieve appropriate generalization capabilities, etc. The present invention aims to solve the above problems of the prior art. The present invention proposes a method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism, with the aim of improving the deficiencies of the existing click-through rate prediction model in terms of feature importance and feature interaction, and improving the accuracy of the model prediction effect.

[0010] The technical solution adopted by the present invention is as follows:

[0011] The present invention provides a method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism, which comprises the following steps:

[0012] 1) Based on DeepFM, a gated hybrid attention module is introduced after the feature embedding layer to train feature embedding vectors for shallow and deep model training respectively. The shallow model part uses FmFM to replace the original FM, while the deep model part improves the traditional DNN into an enhanced deep interaction network EDIN through a bridge module and a fusion module. Finally, the two are connected in parallel to establish a new CTR estimation model.

[0013] 2) Obtain a dataset. Obtain a dataset of real scenes required for CTR estimation, and divide the dataset into the training set, validation set, and test set required for the CTR estimation task at a ratio of 8:1:1. And according to the type of features in the dataset, divide the features into discrete features and continuous features.

[0014] 3) Data preprocessing. Since discrete features are disordered and not suitable for subsequent calculations, one-hot encoding is used to map the categorical values ​​of discrete features to integer values, thereby converting them into high-dimensional sparse discrete vectors. As for continuous features, since continuous features may have large variances and are easy to affect training, the present invention uses the following processing for the continuous feature x in the data set:

[0015]

[0016] The above discretizes the continuous feature x. For eigenvalues ​​less than or equal to 2, it is directly rounded down. For eigenvalues ​​greater than 2, it is first transformed into Then the data is rounded down. Discretization of continuous features can reduce the model's sensitivity to noise and outliers, and improve the model's training and inference efficiency.

[0017] 4) Feature embedding vector expression. One-hot encoding can improve the model operation efficiency, but it will also cause the input vector to become a high-dimensional sparse discrete vector, which is not conducive to practical application. The present invention adopts embedding technology to compress the high-dimensional sparse vector into a low-dimensional dense vector, reduce the sparsity of the data, reduce the dimension of the data, and facilitate input into the subsequent model for training and prediction.

[0018] 5) Gated hybrid attention module. The gated hybrid attention module is used to train the feature embedding vectors required by the shallow model and the deep model in the feature interaction layer. After obtaining the feature embedding vector through 4), the feature embedding vector is first input into the gated network for training, and then the output of the gated network is input into the hybrid attention network. While emphasizing the importance of the feature, the difference between the feature embedding vectors of the shallow model and the deep model is improved. The calculation process formula of the gated hybrid attention module is described as follows:

[0019] F1=γ1×Sigmoid(Gate1(e))

[0020] F1 s =σ(MLP(AvgPool(F1);MaxPool(F1)))

[0021] E Shallow =σ(MLP(AvgPool(F1 s ))+MLP(MaxPool(F1 s )))

[0022] F2=γ2×Sigmoid(Gate2(e))

[0023]

[0024]

[0025] Among them, Gate() is a gated network, which consists of two fully connected layers, and the activation functions are Relu() and Sigmoid(). The importance of the feature is obtained through Sigmoid(). Before the Hadamard product with the feature embedding vector, it is necessary to multiply it by a γ to scale the importance of the feature, so as to obtain the output F of the gated network. i , where i=1 represents a shallow model and i=2 represents a deep model. After the gating network, there is a spatial channel mixed attention network. In the spatial attention part, F i Perform average pooling and maximum pooling, concatenate the generated feature maps, and then use a multi-layer perceptron to obtain the output F of the spatial attention. i s Finally, the output of spatial attention F is Input into the channel attention, F s The average pooling feature and the maximum pooling feature are added and input into the multi-layer perceptron to obtain the output of the gated hybrid attention module: E Shallow and E Deep .

[0026] 6) Low-order feature interaction. Through 5) we get the feature embedding vector E required by the shallow model Shallow Afterwards, E Shallow The shallow model input to the CTR prediction model of the present invention. The present invention uses the domain matrix factorization machine FmFM to realize the second-order interaction between features. In the field of CTR prediction, a domain contains several features, and each feature has a unique domain. Based on FM, FmFM solves the multi-semantic problem when different feature domains interact by defining a feature domain interaction matrix. The calculation process formula of FmFM is described as follows:

[0027]

[0028] where e i and e j is the embedding vector of feature i and feature j, F(i) and F(j) represent the feature domain of feature i and feature j. Feature domain interaction matrix It represents the interaction between the feature domain F(i) and the feature domain F(j), and w represents the network parameters.

[0029] 7) High-order feature interaction. Through 5) we get the feature embedding vector E required by the deep model Deep Afterwards, E Deep Input to the deep model of the CTR prediction model proposed in the present invention. The present invention adds a bridge module Bridge and a fusion module Fusion between the deep neural network DNN, improves the DNN into an enhanced deep interaction network EDIN, and then uses EDIN to perform high-order interactions between features. The calculation formula of EDIN is as follows:

[0030]

[0031]

[0032] y EDIN =y Fusion

[0033] Where E Deep ∈R n×k , n represents the number of feature domains in the data, k represents the embedding dimension of the feature embedding layer, e i represents the embedding vector of the i-th feature. σ in the formula refers to the ReLu function, which is the nonlinear activation function used by the hidden layer of the DNN. is the weight parameter of E, is the bias term. However, starting from the second layer, the input of DNN is no longer E Deep , but the output y of the bridge module Bridge The bridge module in EDIN is the EDN that connects the output of the previous DNN layer with the output of the gated hybrid attention module. Deep Hadamard Product is performed to ensure that the deep model has sufficient generalization ability while preventing it from over-generalization by enhancing its memory ability. After multiple layers of EDIN, the output y of DNN DNN It has strong generalization ability, and the output y of the bridge module Bridge Because multiple inputs are fed into the DNN and combined with E Deep interact, without losing generalization ability, it is better than y DNN Strong memory capacity, so through the hybrid module Fusion DNN With y Br i dge The fusion method is not simple concatenation or summation, but the introduction of W1 T 、W2 T 、W3 T As well as the bias term, it can be degenerated into a simple sum, dot product or DCNv2 according to the training data. Compared with most of the current feature fusion methods, it has a significant improvement in performance. L represents the total number of EDIN layers, and the final result of the EDIN module is y EDIN .

[0034] 8) Prediction layer. The present invention combines the low-order interaction of FmFM and the high-order interaction of EDIN in the prediction layer as the interaction result of the input features, so that the memory ability and generalization ability of the model are balanced. Finally, the results of the two parts are added and the Sigmoid function is used to map the results to (0,1), thereby obtaining the final prediction result.

[0035] In summary, due to the adoption of the above technical solutions, the advantages and positive effects of the present invention are as follows: the present invention overcomes the problems that the previous parallel structure CTR prediction model related work has insufficient distinction of feature importance, shallow models do not consider feature interaction ambiguity; deep models cannot achieve appropriate generalization capabilities, etc. The present invention uses a gated hybrid attention module after the feature embedding layer to emphasize the importance of features, and trains the feature embedding vectors required by the shallow model and the deep model in the feature interaction layer respectively, improves their differences, and makes the CTR prediction results more accurate. The introduction of the domain matrix through FmFM overcomes the problem of insufficient consideration of feature interaction ambiguity in the previous shallow model. In the deep model part, the present invention proposes EDIN, uses a bridge module to interact the output of each layer of DNN with the feature embedding vector in the bridge module, and inputs the interaction result into the next layer of DNN, and improves the fusion effect of the bridge module and DNN output through the fusion module in the last layer. By improving the memory capacity of the deep part of the model, the defect that the deep model is prone to fail to achieve appropriate generalization ability as the depth increases is overcome.

[0036] Furthermore, the data sets used in step 2) include Criteo data set, Frappe data set, KKBox data set, and MovieLens data set.

[0037] Furthermore, the present invention adopts a cross entropy loss function to obtain a loss value of the model based on the predicted value and the label corresponding to the sample feature group; the formula for calculating the loss value LogLoss by the cross entropy loss function is as follows:

[0038]

[0039] Among them, i represents the ordinal number of the sample feature group, N represents the total number of samples, represents the probability that the i-th sample is predicted to be a positive example, y i represents the true label of the i-th sample.

[0040] Furthermore, the CTR prediction model proposed in the present invention uses the area under the ROC curve (AUC) and the cross entropy loss LogLoss as evaluation indicators to obtain the optimal number of iterations for model training. During the model training process, the early stopping method is used to observe (AUC-LogLoss) after each Epoch. When this value does not increase for two consecutive Epochs, the training is terminated in advance to select the optimal number of iterations.

[0041] Furthermore, the CTR prediction model proposed in the present invention uses AUC and cross entropy loss LogLoss as evaluation indicators to obtain the γ size of the importance scaling of each gated network in the gated hybrid attention module.

[0042] Furthermore, the CTR prediction model proposed in the present invention uses AUC and cross entropy loss LogLoss as evaluation indicators to obtain the dimension size of each feature embedding vector in the feature embedding layer.

[0043] Furthermore, the CTR prediction model proposed in the present invention uses AUC and cross entropy loss LogLoss as evaluation indicators to obtain the AUC and LogLoss of the model when the deep model EDIN has different numbers of network layers. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0045] Figure 1 It is a flow chart of a method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism according to the present invention.

[0046] Figure 2 It is an overall network framework diagram of the CTR prediction model provided by the present invention.

[0047] Figure 3 It is a network framework diagram of the gated hybrid attention module of the CTR prediction model provided by the present invention. DETAILED DESCRIPTION

[0048] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0049] The flow chart of the method is as follows Figure 1 As shown, it is divided into the following steps:

[0050] Step 1: Get the dataset. Get the dataset of real scenes required for CTR estimation, and divide the dataset into the training set, validation set, and test set required for the CTR estimation task at a ratio of 8:1:1. And according to the type of features in the dataset, divide the features into discrete features and continuous features.

[0051] Step 2: Data preprocessing. Because discrete features are unordered and not suitable for subsequent calculations, one-hot encoding is used to map the categorical values ​​of discrete features to integer values, thereby converting them into high-dimensional sparse discrete vectors. As for continuous features, since continuous features may have large variances and are easy to affect training, the present invention uses the following processing for the continuous feature x in the data set:

[0052]

[0053] The above discretizes the continuous feature x. For eigenvalues ​​less than or equal to 2, it is directly rounded down. For eigenvalues ​​greater than 2, it is first transformed into Then the data is rounded down. Discretization of continuous features can reduce the model's sensitivity to noise and outliers, and improve the model's training and inference efficiency.

[0054] Step 3: Feature embedding vector expression. One-hot encoding can improve the model operation efficiency, but it will also cause the input vector to become a high-dimensional sparse discrete vector, which is not conducive to practical application. The present invention adopts embedding technology to compress high-dimensional sparse vectors into low-dimensional dense vectors, reduce the sparsity of data, reduce the dimension of data, and facilitate input into subsequent models for training and prediction.

[0055] Step 4: Gated hybrid attention module. Use the gated hybrid attention module to train the feature embedding vectors required by the shallow model and the deep model in the feature interaction layer respectively. After obtaining the feature embedding vector through 4), first input the feature embedding vector into the gated network for training, and then input the output of the gated network into the hybrid attention network, while emphasizing the importance of the feature, improving the difference between the feature embedding vectors of the shallow model and the deep model. The calculation process formula of the gated hybrid attention module is described as follows:

[0056] F1=γ1×Sigmoid(Gate1(e))

[0057] F1 s =σ(MLP(AvgPool(F1);MaxPool(F1)))

[0058] E Shallow =σ(MLP(AvgPool(F1 s ))+MLP(MaxPool(F1 s )))

[0059] F2=γ2×Sigmoid(Gate2(e))

[0060]

[0061] Among them, Gate() is a gated network, which consists of two fully connected layers, and the activation functions are Relu() and Sigmoid(). The importance of the feature is obtained through Sigmoid(). Before the Hadamard product with the feature embedding vector, it is necessary to multiply it by a γ to scale the importance of the feature, so as to obtain the output F of the gated network. i , where i=1 represents a shallow model and i=2 represents a deep model. After the gating network, there is a spatial channel mixed attention network. In the spatial attention part, F i Perform average pooling and maximum pooling, concatenate the generated feature maps, and then use a multi-layer perceptron to obtain the output F of the spatial attention. i s Finally, the output of spatial attention F i s Input into the channel attention, F s The average pooling feature and the maximum pooling feature are added and input into the multi-layer perceptron to obtain the output of the gated hybrid attention module: E Shallow and E Deep , the former is input into the low-order feature interaction module, and the latter is input into the high-order feature interaction module.

[0062] Step 5: Low-order feature interaction. After obtaining the feature embedding vector E required by the shallow model Shallow Afterwards, E Shallow The shallow model input to the CTR prediction model of the present invention. The present invention uses the domain matrix factorization machine FmFM to realize the second-order interaction between features. In the field of CTR prediction, a domain contains several features, and each feature has a unique domain. Based on FM, FmFM solves the multi-semantic problem when different feature domains interact by defining a feature domain interaction matrix. The calculation process formula of FmFM is described as follows:

[0063]

[0064] where e i and e j is the embedding vector of feature i and feature j, F(i) and F(j) represent the feature domain of feature i and feature j. Feature domain interaction matrix It represents the interaction between the feature domain F(i) and the feature domain F(j), and w represents the network parameters.

[0065] Step 6: High-order feature interaction. After obtaining the feature embedding vector E required by the deep model Deep Afterwards, E DeepInput to the deep model of the CTR prediction model proposed in the present invention. The present invention adds a bridge module Bridge and a fusion module Fusion between the deep neural network DNN, improves the DNN into an enhanced deep interaction network EDIN, and then uses EDIN to perform high-order interactions between features. The calculation formula of EDIN is as follows:

[0066]

[0067]

[0068] y EDIN =y Fusion

[0069] Where E Deep ∈R n×k , n represents the number of feature domains in the data, k represents the embedding dimension of the feature embedding layer, e i represents the embedding vector of the i-th feature. σ in the formula refers to the ReLu function, which is the nonlinear activation function used by the hidden layer of the DNN. is the weight parameter of E, is the bias term. However, starting from the second layer, the input of DNN is no longer E Deep , but the output y of the bridge module Bridge The bridge module in EDIN is an EDN that connects the output of the previous DNN layer with the output of the gated hybrid attention module. Deep Hadamard Product is performed to ensure that the deep model has sufficient generalization ability while preventing it from over-generalization by enhancing its memory ability. After multiple layers of EDIN, the output y of DNN DNN It has strong generalization ability, and the output y of the bridge module Bridge Because multiple inputs are fed into the DNN and combined with E Deep interact, without losing generalization ability, it is better than y DNN Strong memory capacity, so through the hybrid module Fusion DNN With y Bridge The fusion method is not simple concatenation or sum, but the introduction of W1 T 、W2 T 、W3 T As well as the bias term, it can be degenerated into a simple sum, dot product or DCNv2 according to the training data. Compared with most of the current feature fusion methods, it has a significant improvement in performance. L represents the total number of EDIN layers, and the final result of the EDIN module is y EDIN .

[0070] Step 7: Model prediction layer. In the prediction layer, the present invention combines the low-order interaction of FmFM and the high-order interaction of EDIN as the interaction result of the input features, so that the memory ability and generalization ability of the model are balanced. Finally, the results of the two parts are added and the Sigmoid function is used to map the results to (0,1), thereby obtaining the final prediction result.

[0071] After the operations from step 1 to step 7 above, the predicted probability of a user clicking on a candidate item is obtained. The overall network architecture of the specific model is shown in the figure below: Figure 2 For different candidate items, they are arranged in descending order according to the calculated prediction probability values, and the top K items are taken as recommended candidate items.

[0072] The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions of the present invention, which should be included in the scope of the claims of the present invention. The techniques, shapes, and structural parts not described in detail in the present invention are all known technologies.

Claims

1. A method for estimating click-through rate of e-commerce advertisements using a gated attention mechanism, characterized in that: The following steps are involved: 1) Obtain and obtain the data set required for e-commerce advertising click-through rate estimation, and divide it into training set, validation set and test set according to the ratio of 8:1:1; 2) Data input layer, which preprocesses the data set, discretizes continuous features, and performs one-hot encoding on discrete features; 3) In the feature embedding layer, the high-dimensional and sparse feature vector output in 2) is transformed into a low-dimensional and dense feature embedding vector using embedding technology; 4) Use the gated hybrid attention module (Gate Spatial & Channel Attention Module, GateSCA) to train the feature embedding vectors required by the shallow model and the deep model in the feature interaction layer. First, the feature embedding vector output by the feature embedding layer is input into the gated network, and then the output of the gated network is input into the hybrid attention network, which emphasizes the importance of the feature while improving the difference between the feature embedding vectors of the shallow model and the deep model. 5) The shallow model in the feature interaction layer inputs the feature embedding vector of the shallow model output by the gated hybrid attention module into the Field-matrixed Factorization Machine (FmFM) in the feature interaction layer. In FmFM, low-order feature interactions are performed through the domain matrix, and the multi-semantic problem between feature interactions is taken into account. 6) The deep model in the feature interaction layer inputs the deep model feature embedding vector output by the gated hybrid attention module into the Enhanced Deep Interaction Network (EDIN) in the feature interaction layer, performs high-order feature interaction in EDIN, and maintains appropriate generalization capabilities through the bridge module and the fusion module. 7) Prediction layer: Integrate the output results of the shallow model and the deep model in the feature interaction layer, and then use Sigmoid to perform nonlinear mapping to map the model prediction value to (0, 1) to obtain the final CTR estimate.

2. According to claim 1, a method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism is characterized in that: It adds a gated hybrid attention module after the feature embedding layer. Through the gated network and the hybrid attention network, the feature embedding vectors required by the shallow model and the deep model in the feature interaction layer are trained respectively. While emphasizing the importance of the features, the difference between the feature embedding vectors of the shallow model and the deep model is improved.

3. According to claim 1, a method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism is characterized in that: The deep model in the feature interaction layer is EDIN, which maintains appropriate generalization capabilities by adding bridge modules between layers of ordinary DNN and adding a fusion module in the last layer.

4. According to claim 1, a method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism is characterized in that: Based on the gated hybrid attention module and the feature interaction layer, the output of the shallow model is fused with the output of the deep model to obtain a CTR estimate, which specifically includes: In the new model architecture, an activation function is used in the output layer to calculate based on the output of the shallow model FmFM and the output of the deep model EDIN to obtain the predicted value after the model is activated; Obtaining a loss value of the model based on the predicted value and the label corresponding to the sample feature group using a loss function; The network parameters are adjusted according to the loss value to obtain a CTR prediction model.

5. According to claim 4, a method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism is characterized in that: The using a loss function to obtain a loss value of the model based on the predicted value and the label corresponding to the sample feature group specifically includes: The cross entropy loss function is used to obtain the loss value of the model based on the predicted value and the label corresponding to the sample feature group; the formula for calculating the loss value LogLoss by the cross entropy loss function is as follows: Among them, i represents the ordinal number of the sample feature group, N represents the total number of samples, represents the probability that the i-th sample is predicted as a positive example, and yi represents the true label of the i-th sample.

6. The training method according to claim 4, characterized in that: The method also includes: using the area AUC enclosed by the operator reception characteristic curve and the coordinate axis as an accuracy evaluation index to obtain the AUC and LogLoss of the model when the gamma of the gated network is different; and determining the gamma size of the gated network according to the AUC and LogLoss of the model when the gated network has different gammas.

7. The training method according to claim 4, characterized in that: The method also includes: using the area AUC enclosed by the operator reception characteristic curve and the coordinate axis as an accuracy evaluation index to obtain the AUC and LogLoss of the model when the EDIN has different numbers of layers; and determining the target number of layers of the EDIN according to the AUC and LogLoss of the model when the EDIN has different numbers of layers.

8. According to claim 5, the method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism is characterized in that: The method of obtaining the AUC and LogLoss of the model when the gating network has different γ specifically includes: Using the sample feature groups and corresponding labels in the training set data set, the first AUC and the first average LogLoss of the model in the training set are obtained when the gating network has different γ; Using the sample feature groups and corresponding labels in the test set data set, the second AUC and the second average LogLoss of the model in the test set when the gating network has different γ; The γ size of the gating network is determined according to the first AUC, the first average LogLoss, the second AUC and the second average LogLoss of the model when the gating network has different γ.

9. According to claim 5, the method for estimating the click-through rate of e-commerce advertisements using a gated attention mechanism is characterized in that: The AUC and LogLoss of the model when the EDIN network has different numbers of layers are obtained, specifically including: The sample feature groups and corresponding labels in the training set are used to obtain the first AUC and the first average LogLoss of the model in the training set when the EDIN network has different numbers of layers; The sample feature groups and corresponding labels in the test set are used to obtain the second AUC and the second average LogLoss of the model in the test set when the EDIN network has different numbers of layers; The target number of layers of the EDIN network is determined according to the first AUC, first average LogLoss, second AUC and second average LogLoss of the model when the EDIN network has different numbers of layers.

Citation Information

Cited By

  • Recommendation system and method for accelerating inference

    WO2026111225A1