Click behavior prediction model training method, device, electronic device and readable medium
By training the click behavior prediction model and using it for causal inference, the problem of not considering the causal relationship is solved, the accuracy of causal inference and information push is improved, and the error is reduced.
Patent Information
- Application Number
- CN202410241369.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-03-04
AI Technical Summary
The existing technology does not consider the causal relationship between user portraits and web page click behavior when pushing information to users, resulting in poor accuracy of causal inference and information push errors.
By obtaining the web page click behavior information set, train the click behavior prediction model, use the click behavior information set to input the model to obtain prediction results, and send feedback information according to preset conditions to improve the accuracy of causal inference and reduce information push errors.
It improves the accuracy of causal inference, reduces model complexity and the risk of over-fitting, reduces information push errors, and improves the accuracy of information push.
Smart Images

Figure CN118095426B
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of model training, and specifically to a click behavior prediction model training method, device, electronic device and readable medium. Background Art
[0002] At present, in order to push information to users according to the intention corresponding to the user's behavior of clicking on the web page, the commonly used method is: push information to users according to user portraits and web page types.
[0003] However, when using the above method to push information to users, the following technical problems often occur: the causal relationship between user portraits and web page click behaviors is not considered, resulting in poor accuracy of causal inference and causing information push errors.
[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention
[0005] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0006] Some embodiments of the present disclosure propose click behavior prediction model training methods, devices, electronic devices and computer-readable media to solve one or more of the technical problems mentioned in the above background technology section.
[0007] In a first aspect, some embodiments of the present disclosure provide a click behavior prediction model training method, the method comprising: obtaining a web page click behavior information set, wherein the web page click behavior information in the above-mentioned web page click behavior information set comprises: a click response label, a click feedback label and a user click feature information set; training an initial click behavior prediction model according to the above-mentioned web page click behavior information set to obtain a trained click behavior prediction model; obtaining the click behavior information of each click user for a target web page to obtain a click behavior information set; inputting the above-mentioned click behavior information set into the above-mentioned click behavior prediction model to obtain a click behavior prediction result set, wherein the click behavior information in the above-mentioned click behavior information set corresponds to the click behavior prediction result in the above-mentioned click behavior prediction result set; obtaining click feedback information of the above-mentioned target web page; for each click user, in response to determining that the user behavior prediction result corresponding to the above-mentioned click user meets a preset behavior feedback condition, sending the above-mentioned click feedback information to a user terminal corresponding to the above-mentioned click user.
[0008] In a second aspect, some embodiments of the present disclosure provide a click behavior prediction model training device, the device comprising: a first acquisition unit, configured to acquire a web page click behavior information set, wherein the web page click behavior information in the above-mentioned web page click behavior information set includes: a click response label, a click feedback label and a user click feature information set; a training unit, configured to train an initial click behavior prediction model according to the above-mentioned web page click behavior information set to obtain a trained click behavior prediction model; a second acquisition unit, configured to acquire the click behavior information of each click user for a target web page to obtain a click behavior information set; an input unit, configured to input the above-mentioned click behavior information set into the above-mentioned click behavior prediction model to obtain a click behavior prediction result set, wherein the click behavior information in the above-mentioned click behavior information set corresponds to the click behavior prediction result in the above-mentioned click behavior prediction result set; a third acquisition unit, configured to acquire click feedback information of the above-mentioned target web page; a sending unit, configured to, for each click user, send the above-mentioned click feedback information to a user terminal corresponding to the above-mentioned click user in response to determining that the user behavior prediction result corresponding to the above-mentioned click user meets a preset behavior feedback condition.
[0009] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0010] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0011] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the click behavior prediction model training method of some embodiments of the present disclosure, the accuracy of causal inference is improved and the information push error is reduced. Specifically, the reason for the poor accuracy of causal inference and the information push error is that the causal relationship between the user portrait and the web page click behavior is not considered, resulting in poor accuracy of causal inference. Based on this, the click behavior prediction model training method of some embodiments of the present disclosure first obtains a web page click behavior information set. Among them, the web page click behavior information in the above web page click behavior information set includes: click response label, click feedback label and web page click feature information set. Secondly, according to the above web page click behavior information set, the initial click behavior prediction model is trained to obtain a trained click behavior prediction model. The click behavior information of each click user for the target web page is obtained to obtain a click behavior information set. As a result, the existing real data can be used without assumptions, which reduces the model complexity and the risk of overfitting, and improves the accuracy of causal inference. Then, the above click behavior information set is input into the above click behavior prediction model to obtain a click behavior prediction result set. The click behavior information in the click behavior information set corresponds to the click behavior prediction result in the click behavior prediction result set. Then, the click feedback information of the target webpage is obtained; finally, for each click user, in response to determining that the user behavior prediction result corresponding to the click user meets the preset behavior feedback condition, the click feedback information is sent to the user terminal corresponding to the click user. In this way, the accuracy of causal inference is improved and the error of information push is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar figure labels represent the same or similar elements. It should be understood that the drawings are schematic and that the components and elements are not necessarily drawn to scale.
[0013] Figure 1 is a flowchart of some embodiments of the click behavior prediction model training method according to the present disclosure;
[0014] Figure 2 is a flow chart of some embodiments of a click behavior prediction model training device according to the present disclosure;
[0015] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0017] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0018] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0019] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0020] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0021] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0022] Figure 1 1 is a flowchart of some embodiments of the click behavior prediction model training method according to the present disclosure. 100 of some embodiments of the click behavior prediction model training method according to the present disclosure is shown. The click behavior prediction model training method comprises the following steps:
[0023] Step 101, obtaining a web page click behavior information set.
[0024] In some embodiments, the execution subject (e.g., a computing device) of the click behavior prediction model training method can obtain a web page click behavior information set by wired connection or wireless connection. Among them, the web page click behavior information in the above-mentioned web page click behavior information set includes: a click response tag, a click feedback tag, and a user click feature information set. The web page click behavior information can be information related to user attributes and user click web page behavior. The above-mentioned click response tag can characterize the type of response made by the user to the feedback item of the click web page behavior. The click feedback tag can characterize the feedback item of the click web page behavior, and can include a click feedback variable and a click response variable. The click feedback variable can be whether the user pushes information for clicking the web page, and the click response variable can be whether the user will browse the push information. The user click feature information set can be various attributes and / or behavior feature information of the user (e.g., age, gender, preferred web page type, activity, number of web page views).
[0025] Step 102: train the initial click behavior prediction model based on the web page click behavior information set to obtain a trained click behavior prediction model.
[0026] In some embodiments, the execution entity may train the initial click behavior prediction model according to the web page click behavior information set to obtain a trained click behavior prediction model.
[0027] In practice, the above execution entity can train the initial click behavior prediction model through the following steps:
[0028] The first step is to train a click response label classification model and a click feedback label classification model based on the web page click behavior information set. The click response label classification model and the click feedback label classification model both correspond to web page click feature sequences. For example, the behavior response label classification model can be LightGBM. The behavior feedback label classification model can be LightGBM.
[0029] The first step may include the following sub-steps:
[0030] The first sub-step is to train the click response label classification model according to the training set corresponding to the above-mentioned web page click behavior information set and the various click response labels included in the above-mentioned training set. In practice, the above-mentioned execution subject can use the click response labels included in the click behavior information of each web page in the training set as sample labels, and use the click feedback labels and user click feature information set included in the click behavior information of each web page in the training set as input features, and obtain the click response label classification model according to the above-mentioned training set training. Then, the various user click features used for judgment in the classification process of the click response label classification model can be combined in sequence to obtain the user click feature sequence corresponding to the above-mentioned click response label classification model as the web page click feature sequence.
[0031] The second sub-step is to train the click feedback label classification model according to the training set corresponding to the above-mentioned web page click behavior information set and the various click feedback labels included in the above-mentioned training set. In practice, the above-mentioned execution subject can use the click feedback labels included in the click behavior information of each web page in the training set as sample labels, and use the click response labels and user click feature information set included in the click behavior information of each web page in the training set as input features, and obtain the click feedback label classification model according to the above-mentioned training set training. Then, the various user click features used by the click feedback label classification model for judgment during the classification process can be combined in sequence to obtain the user click feature sequence corresponding to the above-mentioned click feedback label classification model as the web page click feature sequence.
[0032] The second step is to determine the web page click causal feature set based on the web page click feature sequence corresponding to the click response label classification model and the web page click feature sequence corresponding to the click feedback label classification model. In practice, the execution entity may determine the intersection of the web page click feature sequence corresponding to the click response label classification model and the web page click feature sequence corresponding to the click feedback label classification model as the web page click causal feature set.
[0033] In the third step, the initial click behavior prediction model is trained based on the web page click causal feature set and the web page click behavior information set to obtain a trained click behavior prediction model. The initial click behavior prediction model may be an untrained click behavior prediction model. For example, the initial click behavior prediction model may be a DCN (Deep & Cross Network) or a transformer model.
[0034] Furthermore, when the click behavior prediction model training method of the present application is used for model training, the following problems often occur: the correlation between the causal characteristics of user behavior and user browsing behavior is not considered, resulting in a low recognition rate of the trained user behavior prediction model. For these problems, the conventional solution is to train the user behavior prediction model through semi-supervision or weak supervision.
[0035] However, the above solutions usually have the following technical problem 2: when training the click behavior prediction model through semi-supervision or weak supervision, there are many cases of label noise and data imbalance, which leads to large recognition errors in the trained model.
[0036] In response to the above-mentioned technical problem 2, it was decided to adopt the following solution.
[0037] The third step may include the following sub-steps:
[0038] In the first sub-step, the click feedback feature is added to the web page click causal feature set to obtain an updated web page click causal feature set. The click feedback feature may be a feature corresponding to the click feedback label.
[0039] The second sub-step is to generate a web page click behavior information training sample set based on the training set corresponding to the above web page click behavior information set and the updated web page click causal feature set. Each web page click behavior information training sample in the above web page click behavior information training sample set includes a click response label and each user click feature information of the corresponding web page click causal feature set, and the user click feature information of the corresponding click feedback feature is the click feedback label. In practice, for each web page click behavior information in the training set, the above execution entity can remove each web page click behavior information except each web page click behavior information of the corresponding updated web page click causal feature set from the above web page click behavior information to obtain the web page click behavior information training sample.
[0040] The third sub-step is to perform the following training steps based on the web page click behavior information training sample set:
[0041] 1. Input each webpage click behavior information training sample in at least one webpage click behavior information training sample included in the webpage click behavior information training sample set into the initial click behavior prediction model including the embedding layer, and obtain a word vector set corresponding to the above-mentioned webpage click causal feature set for each webpage click behavior information training sample in at least one webpage click behavior information training sample. The above-mentioned embedding layer can be used to generate a word vector (Embedding) of user feature information. One webpage click causal feature corresponds to one word vector.
[0042] 2. Generate a predicted click response label corresponding to each web page click behavior information training sample in at least one web page click behavior information training sample based on the word vector set corresponding to each web page click behavior information training sample in at least one web page click behavior information training sample and the initial click behavior prediction model.
[0043] The execution subject may generate a predicted click response label corresponding to each webpage click behavior information training sample in at least one webpage click behavior information training sample by the following steps:
[0044] First, the word vector set corresponding to the above-mentioned web page click causal feature set of each web page click behavior information training sample in at least one web page click behavior information training sample is input into the feature interaction layer included in the initial click behavior prediction model to obtain the splicing vector corresponding to each web page click behavior information training sample in at least one web page click behavior information training sample.
[0045] Then, the concatenated word vector corresponding to each web page click behavior information training sample in at least one web page click behavior information training sample is input into the prediction layer included in the initial click behavior prediction model to obtain the predicted click response label corresponding to each web page click behavior information training sample in at least one web page click behavior information training sample.
[0046] 3. Compare the predicted click response label and the click response label corresponding to each page click behavior information training sample in at least one page click behavior information training sample to obtain a comparison result. In practice, the above-mentioned execution subject can determine whether the predicted click response label and the click response label corresponding to each page click behavior information training sample are the same, so as to generate the accuracy of each predicted click response label corresponding to each page click behavior information training sample as the comparison result.
[0047] 4. In response to determining that the comparison result meets the target condition, the initial click behavior prediction model is determined as the trained click behavior prediction model. The target condition may be that the accuracy is greater than or equal to a preset accuracy.
[0048] The above-mentioned related content, as an inventive point of the present disclosure, solves the second technical problem "causing large recognition errors in the trained model." The factors that lead to large recognition errors in the trained model are often as follows: the click behavior prediction model is trained in a semi-supervised or weakly supervised manner, and there are many cases of label noise and data imbalance. If the above-mentioned factors are solved, the robustness of the model can be improved and the model recognition error can be reduced. In order to achieve this effect, first, the click feedback feature is added to the above-mentioned web page click causal feature set to obtain an updated web page click causal feature set. Then, according to the training set corresponding to the above-mentioned web page click behavior information set and the updated web page click causal feature set, a web page click behavior information training sample set is generated. Among them, each web page click behavior information training sample in the above-mentioned web page click behavior information training sample set includes a click response label and each web page click feature information of the corresponding web page click causal feature set, and the web page click feature information corresponding to the click feedback feature is a click feedback label. Then, based on the web page click behavior information training sample set, the following training steps are performed: each web page click behavior information training sample in at least one web page click behavior information training sample included in the web page click behavior information training sample set is input into the initial click behavior prediction model including the embedding layer, and a word vector set corresponding to the above-mentioned web page click causal feature set for each web page click behavior information training sample in at least one web page click behavior information training sample is obtained; a predicted click response label corresponding to each web page click behavior information training sample in at least one web page click behavior information training sample is generated according to the word vector set corresponding to each web page click behavior information training sample in at least one web page click behavior information training sample and the initial click behavior prediction model; the predicted click response label corresponding to each page click behavior information training sample in at least one page click behavior information training sample is compared with the click response label to obtain a comparison result; in response to determining that the comparison result meets the target condition, the initial click behavior prediction model is determined as the trained click behavior prediction model. Thus, the web page click causal feature set can enable subsequent representation learning to pay more attention to the feature expression after screening in the modeling process, reducing the risk of overfitting caused by the complexity of network calculation. Also, because no enhanced or expanded samples are used, but existing real data sets are used, the errors and modeling complexity brought to the causal inference results are reduced, and there is no need to collect real control experimental data without extending the collection time. Also, because the web page click behavior information set contains click response labels, there is no need to use semi-supervised or weakly supervised methods, which reduces the label noise and data imbalance caused by semi-supervised or weakly supervised methods. Therefore, existing real data can be used, reducing the model complexity and the risk of overfitting, and improving the accuracy of model identification and causal inference.
[0049] Optionally, the above-mentioned third step may also include the following fourth sub-step: in response to determining that the comparison result does not meet the above-mentioned target conditions, adjusting the network parameters of the above-mentioned initial click behavior prediction model, and using unused page click behavior information training samples to form a web page click behavior information training sample set, using the adjusted initial click behavior prediction model as the initial click behavior prediction model, and executing the above-mentioned training step again.
[0050] Furthermore, when the click behavior prediction model training method of the present application is used for model training, the following problem often occurs: the loss value of the sample is determined by only a single loss function. For these problems, the conventional solution is to select a suitable loss function to determine the loss value of the sample.
[0051] However, the above solutions usually have the following technical problem three: the differences between different click causal features are not considered, resulting in inaccurate sample loss values and low accuracy of the trained model.
[0052] In response to the above technical problem three, it was decided to adopt the following solution.
[0053] The above-mentioned adjustment of the network parameters of the above-mentioned initial click behavior prediction model includes:
[0054] The first step is to generate a first loss value based on the predicted click response label and click response label corresponding to each page click behavior information training sample in at least one page click behavior information training sample. The web page click causal features in the above-mentioned web page click causal feature set correspond to a feature domain. In practice, for each page click behavior information training sample in at least one page click behavior information training sample, the above-mentioned execution entity can determine the loss value between the predicted click response label and the click response label of the above-mentioned page click behavior information training sample through a preset loss function. The loss function can be a hinge loss function or a cross entropy loss function. Then, the sum of the various loss values can be determined as the first loss value. The feature domain can refer to the category to which the web page click feature belongs. A feature domain contains at least one web page click feature.
[0055] In the second step, a second loss value is generated according to a word vector set corresponding to the above-mentioned web page click causal feature set for each page click behavior information training sample in at least one page click behavior information training sample.
[0056] The second step may include the following sub-steps:
[0057] In the first sub-step, for each page click behavior information training sample in the at least one page click behavior information training sample, the following steps are performed:
[0058] First, for each feature domain corresponding to the web page click causal feature set, based on each two web page click causal features corresponding to the feature domain in the web page click causal feature set, generate the domain distance between the two word vectors corresponding to the two web page click causal features of the page click behavior information training sample. In practice, the execution subject may determine the Euclidean distance of the two word vectors as the domain distance.
[0059] Second, the sum of the generated distances in each domain is determined as the total distance in the domain.
[0060] Third, for each feature domain corresponding to the web page click causal feature set, perform the following steps according to each web page click causal feature corresponding to the feature domain in the web page click causal feature set:
[0061] 1. Determine the word vectors of the page click behavior information training sample corresponding to the web page click causal feature set as a word vector feature matrix. In practice, the execution subject can use the word vectors as row vectors to form a word vector feature matrix. That is, each row vector in the word vector feature matrix corresponds to a web page click causal feature.
[0062] 2. Remove each word vector corresponding to the above feature domain from the above word vector feature matrix to obtain the removed word vector feature matrix.
[0063] 3. Determine the similarity between the word vector corresponding to the causal feature of the web page click and each word vector in the word vector feature matrix after the removal. The similarity between the word vector corresponding to the causal feature of the web page click and each word vector in the word vector feature matrix after the removal can be determined by the cosine similarity formula.
[0064] 4. The sum of the determined similarities is determined as the inter-domain distance.
[0065] Fourth, the sum of the determined inter-domain distances is determined as the total inter-domain distance.
[0066] In the second sub-step, the determined total distances in each domain are determined as the total domain distance.
[0067] In the third sub-step, the determined total distances between the domains are determined as the total inter-domain distance.
[0068] In the fourth sub-step, the sum of the total intra-domain distance and the total inter-domain distance is determined as the second loss value.
[0069] The above-mentioned related content, as an inventive point of the present disclosure, solves the third technical problem "causing the accuracy of the trained model to be low.". The factors that cause the low accuracy of the trained model are often as follows: the differences between different click causal features are not taken into account, resulting in inaccurate sample loss values, resulting in low accuracy of the trained model. If the above-mentioned factors are solved, the effect of improving the accuracy of the model can be achieved. In order to achieve this effect, first, for each page click behavior information training sample in the at least one page click behavior information training sample, the following steps are performed: for each feature domain corresponding to the above-mentioned web page click causal feature set, according to every two web page click causal features corresponding to the above-mentioned feature domain in the above-mentioned web page click causal feature set, the domain distance of the two word vectors corresponding to the above-mentioned two web page click causal features of the above-mentioned page click behavior information training sample is generated; the sum of the generated distances in each domain is determined as the total distance in the domain; for each feature domain corresponding to the above-mentioned web page click causal feature set, according to each web page click causal feature corresponding to the above-mentioned feature domain in the above-mentioned web page click causal feature set, the following steps are performed: the above The word vectors of the web page click behavior information training sample corresponding to the web page click causal feature set are determined as a word vector feature matrix; the word vectors corresponding to the feature domain are removed from the word vector feature matrix to obtain the removed word vector feature matrix; the similarity between the word vector corresponding to the web page click causal feature and each word vector in the removed word vector feature matrix is determined; the sum of the determined similarities is determined as the inter-domain distance; the sum of the determined inter-domain distances is determined as the total inter-domain distance; then, the total distance in each determined domain is determined as the total domain distance; the total distance between each determined domain is determined as the total domain distance; the sum of the total domain distance and the total domain distance is determined as the second loss value. Therefore, the total domain distance can be used as a uniform loss of the features of a training sample. The uniformity constraint aims to maximize the distance between features between different feature domains, so that the features between different feature domains are as far away from each other as possible in the low-dimensional space. Therefore, by introducing feature alignment constraints and uniformity constraints, the quality and generalization ability of feature representation in the model can be effectively optimized, and the accuracy of causal inference tasks can be improved. Furthermore, the accuracy of the subsequently trained model is improved.
[0070] In the third step, a total loss value is generated according to the first loss value and the second loss value. For example, the total loss value may be determined as the sum of the first loss value and the second loss value.
[0071] The fourth step is to adjust the network parameters of the initial click behavior prediction model according to the total loss value. The execution subject may use a gradient descent method to adjust the network parameters of the initial click behavior prediction model according to the total loss value.
[0072] Step 103: Obtain the click behavior information of each clicking user on the target web page to obtain a click behavior information set.
[0073] In some embodiments, the execution entity may obtain the click behavior information of each clicking user on the target web page to obtain a click behavior information set. The click behavior information may include: the number of clicks on the detail page of the target web page and click feedback information. The click feedback information may represent the recommended information (e.g., advertisement) of the target web page pushed to the clicking user.
[0074] Step 104: input the above-mentioned click behavior information set into the above-mentioned click behavior prediction model to obtain a click behavior prediction result set.
[0075] In some embodiments, the above-mentioned execution entity may input the above-mentioned click behavior information set into the above-mentioned click behavior prediction model to obtain a click behavior prediction result set. Among them, the click behavior information in the above-mentioned click behavior information set corresponds to the click behavior prediction result in the above-mentioned click behavior prediction result set. The click behavior prediction model may be a pre-trained neural network model that takes click behavior information as input and click behavior prediction results as output. For example, the click behavior prediction model may be a trained convolutional neural network model. Among them, the click behavior information in the above-mentioned click behavior information set corresponds to the click behavior prediction result in the above-mentioned click behavior prediction result set. The click behavior prediction result may characterize the predicted click behavior of the target user for the target web page. For example, the click behavior prediction result may be "User 001, 1". 1 may represent that after pushing the intervention information (advertisement) of the target web page to user 001, user 001 will click on the advertisement.
[0076] Step 105: Obtain click feedback information of the target web page.
[0077] In some embodiments, the execution subject may obtain the click feedback information of the target webpage. The click feedback information may be the feedback information of the target webpage to be pushed to the user. For example, the click feedback information may be an advertisement / window / link.
[0078] Step 106 , for each clicking user, in response to determining that the user behavior prediction result corresponding to the clicking user satisfies a preset behavior feedback condition, the click feedback information is sent to a user terminal corresponding to the clicking user.
[0079] In some embodiments, the execution subject may send the click feedback information to the user terminal corresponding to each click user in response to determining that the user behavior prediction result corresponding to the click user satisfies a preset behavior feedback condition. The preset behavior feedback condition may be: the user behavior prediction result indicates that the target user will click on the click feedback information.
[0080] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a click behavior prediction model training device. These click behavior prediction model training device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the click behavior prediction model training device can be specifically applied to various electronic devices.
[0081] like Figure 2 As shown, the click behavior prediction model training device 200 of some embodiments includes: a first acquisition unit 201, a training unit 202, a second acquisition unit 203, an input unit 204, a third acquisition unit 205 and a sending unit 206. Among them, the first acquisition unit 201 is configured to acquire a web page click behavior information set, wherein the web page click behavior information in the above web page click behavior information set includes: a click response tag, a click feedback tag and a user click feature information set; the training unit 202 is configured to train the initial click behavior prediction model according to the above web page click behavior information set to obtain a trained click behavior prediction model; the second acquisition unit 203 is configured to acquire the click behavior information of each click user for the target web page to obtain a click behavior information set; the input unit 204 is configured to input the above click behavior information set into the above click behavior prediction model to obtain a click behavior prediction result set, wherein the click behavior information in the above click behavior information set corresponds to the click behavior prediction result in the above click behavior prediction result set; the third acquisition unit 205 is configured to acquire the click feedback information of the above target web page; the sending unit 206 is configured to send the above click feedback information to the user terminal corresponding to the above click user in response to determining that the user behavior prediction result corresponding to the above click user meets the preset behavior feedback condition for each click user.
[0082] It is understandable that the units recorded in the click behavior prediction model training device 200 and the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the click behavior prediction model training device 200 and the units contained therein, and will not be described in detail here.
[0083] Reference below Figure 3, which shows a schematic diagram of the structure of an electronic device (e.g., a computing device) 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0084] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0085] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0086] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0087] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0088] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0089] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains a web page click behavior information set, wherein the web page click behavior information in the web page click behavior information set includes: a click response tag, a click feedback tag, and a user click feature information set; trains the initial click behavior prediction model according to the web page click behavior information set to obtain a trained click behavior prediction model; obtains the click behavior information of each click user for the target web page to obtain a click behavior information set; inputs the click behavior information set into the click behavior prediction model to obtain a click behavior prediction result set, wherein the click behavior information in the click behavior information set corresponds to the click behavior prediction result in the click behavior prediction result set; obtains the click feedback information of the target web page; for each click user, in response to determining that the user behavior prediction result corresponding to the click user meets the preset behavior feedback condition, sends the click feedback information to the user terminal corresponding to the click user.
[0090] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0091] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0092] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be set in a processor, for example, may be described as: a processor comprising: a first acquisition unit, a training unit, a second acquisition unit, an input unit, a third acquisition unit and a sending unit. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances. For example, the training unit may also be described as "a unit that trains the initial click behavior prediction model according to the above-mentioned web page click behavior information set to obtain a trained click behavior prediction model."
[0093] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0094] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A click behavior prediction model training method, include: Acquire a webpage click behavior information set, wherein the webpage click behavior information in the webpage click behavior information set includes: a click response tag, a click feedback tag, and a user click feature information set, wherein the click response tag represents the type of response made by the user to the feedback item of the click webpage behavior, and the click feedback tag represents the feedback item of the click webpage behavior, including a click feedback variable and a click response variable, wherein the click feedback variable represents whether the user who clicks the webpage pushes information, and the click response variable represents whether the user will browse the push information; According to the webpage click behavior information set, an initial click behavior prediction model is trained to obtain a trained click behavior prediction model; Obtain the click behavior information of each clicking user on the target web page to obtain a click behavior information set; Inputting the click behavior information set into the click behavior prediction model to obtain a click behavior prediction result set, wherein the click behavior information in the click behavior information set corresponds to the click behavior prediction result in the click behavior prediction result set; Obtaining click feedback information of the target webpage; For each click user, in response to determining that the user behavior prediction result corresponding to the click user meets the preset behavior feedback condition, sending the click feedback information to the user terminal corresponding to the click user; The step of training the initial click behavior prediction model according to the webpage click behavior information set to obtain a trained click behavior prediction model includes: According to the webpage click behavior information set, training a click response label classification model and a click feedback label classification model, wherein both the click response label classification model and the click feedback label classification model correspond to a webpage click feature sequence; Determining a webpage click causal feature set according to a webpage click feature sequence corresponding to the click response label classification model and a webpage click feature sequence corresponding to the click feedback label classification model; Training the initial click behavior prediction model according to the webpage click causal feature set and the webpage click behavior information set to obtain a trained click behavior prediction model; The step of training the initial click behavior prediction model according to the webpage click causal feature set and the webpage click behavior information set to obtain a trained click behavior prediction model includes: Adding the click feedback feature to the webpage click causal feature set to obtain an updated webpage click causal feature set; Generate a webpage click behavior information training sample set according to the training set corresponding to the webpage click behavior information set and the updated webpage click causal feature set, wherein each webpage click behavior information training sample in the webpage click behavior information training sample set includes a click response label and each user click feature information of the corresponding webpage click causal feature set, and the user click feature information of the corresponding click feedback feature is a click feedback label; Based on the web page click behavior information training sample set, perform the following training steps: Input each web page click behavior information training sample in at least one web page click behavior information training sample included in the web page click behavior information training sample set into the initial click behavior prediction model including the embedding layer, and obtain a word vector set corresponding to the web page click causal feature set for each web page click behavior information training sample in at least one web page click behavior information training sample; Generate a predicted click response label corresponding to each webpage click behavior information training sample in at least one webpage click behavior information training sample according to a word vector set corresponding to each webpage click behavior information training sample in at least one webpage click behavior information training sample and an initial click behavior prediction model; comparing the predicted click response label and the click response label corresponding to each page click behavior information training sample in at least one page click behavior information training sample to obtain a comparison result; In response to determining that the comparison result satisfies the target condition, the initial click behavior prediction model is determined as the trained click behavior prediction model.
2. The method according to claim 1, in, The method further comprises: In response to determining that the comparison result does not meet the target condition, the network parameters of the initial click behavior prediction model are adjusted, and unused page click behavior information training samples are used to form a web page click behavior information training sample set, and the adjusted initial click behavior prediction model is used as the initial click behavior prediction model, and the training step is performed again.
3. The method according to claim 2, in, The adjusting the network parameters of the initial click behavior prediction model includes: generating a first loss value according to the predicted click response label and the click response label corresponding to each page click behavior information training sample in at least one page click behavior information training sample; Generate a second loss value according to a word vector set corresponding to the web page click causal feature set for each page click behavior information training sample in at least one page click behavior information training sample; Generate a total loss value according to the first loss value and the second loss value; According to the total loss value, the network parameters of the initial click behavior prediction model are adjusted.
4. A click behavior prediction model training device, applied to the method according to claim 1, include: A first acquisition unit is configured to acquire a webpage click behavior information set, wherein the webpage click behavior information in the webpage click behavior information set includes: a click response tag, a click feedback tag, and a user click feature information set; A training unit is configured to train the initial click behavior prediction model according to the webpage click behavior information set to obtain a trained click behavior prediction model; The second acquisition unit is configured to acquire the click behavior information of each clicking user on the target webpage to obtain a click behavior information set; an input unit configured to input the click behavior information set into the click behavior prediction model to obtain a click behavior prediction result set, wherein the click behavior information in the click behavior information set corresponds to the click behavior prediction result in the click behavior prediction result set; A third acquisition unit is configured to acquire click feedback information of the target webpage; The sending unit is configured to send the click feedback information to the user terminal corresponding to each click user in response to determining that the user behavior prediction result corresponding to the click user meets the preset behavior feedback condition.
5. An electronic device, include: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3.
6. A computer readable medium having a computer program stored thereon, in, When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
