Model training method, work push method, device, electronic device and storage medium

By conducting model training on the characteristic information and quality annotation of accounts in social applications, we screen and push high-quality account works, which solves the problem of inaccurate screening of high-quality accounts in the existing technology and improves the exposure of works and the perception of the platform.

CN112464083BActive Publication Date: 2024-10-29BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011282808.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-16
Publication Date
2024-10-29
Estimated Expiration
2040-11-16

AI Technical Summary

Technical Problem

Existing technology cannot accurately screen out high-quality accounts in social applications, resulting in insufficient exposure of high-quality account works.

Method used

By obtaining the characteristic information and quality parameter annotations of sample accounts, the to-be-trained model is trained to obtain a target quality assessment model, which is used to screen and push works from high-quality accounts to accounts with the same preset attribute information.

Benefits of technology

It increases the exposure of high-quality account works, achieves efficient and accurate screening of high-quality accounts, and improves the number of users and the overall perception of the Internet platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112464083B_ABST
    Figure CN112464083B_ABST
Patent Text Reader

Abstract

The present disclosure discloses a model training method, a method for pushing works, an apparatus, an electronic device and a storage medium. By acquiring a sample set, a model to be trained is trained according to the characteristic information and quality parameter annotations of sample accounts in the sample set to obtain a target quality assessment model. Since the quality parameter annotations of sample accounts are determined by the target account annotating the works of the sample accounts, the target quality assessment model obtained by training with such a sample set can be used to screen accounts in the platform, and push the works of accounts with higher target quality parameter values, i.e., high-quality accounts, to accounts with the same preset attribute information as the target account. Compared with the prior art, this solution can efficiently and accurately screen out high-quality accounts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a model training method, a work push method, a device, an electronic device and a storage medium. Background Art

[0002] With the development of Internet technology, users can display their original content through Internet platforms or provide it to other users. Since every user can upload their own original works, in order to improve the overall perception and user volume of social applications, it is necessary to screen high-quality accounts in social applications, thereby increasing the exposure of high-quality account works.

[0003] In the related art, high-quality accounts are often screened by user portrait information, for example, high-quality accounts are determined by the user's residential city, mobile phone used, etc. However, the high-quality accounts screened out in this way are not accurate enough. Summary of the invention

[0004] The present disclosure provides a model training method, a work push method, a device, an electronic device, and a storage medium to at least solve the problem that related technologies cannot accurately screen out high-quality accounts. The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of the present disclosure, a model training method is provided, the method comprising:

[0006] Acquire a sample set, the sample set including characteristic information of multiple sample accounts and quality parameter annotations of each of the sample accounts, the characteristic information of the sample accounts including account portrait information of the sample accounts and / or attribute information of the works of the sample accounts, the quality parameter annotations of the sample accounts are obtained based on the result of the target account annotating the works of the sample accounts, and the account portrait information of the target account includes preset attribute information;

[0007] The characteristic information of each of the sample accounts is input into the model to be trained, and the model to be trained is trained according to the quality parameter annotations of the sample accounts corresponding to the input characteristic information to obtain a target quality assessment model.

[0008] In an optional implementation, the model to be trained is a classification model, and the quality parameter labeling includes a first labeling and a second labeling, the first labeling indicates that the type of the sample account is a high-quality account, and the second labeling indicates that the type of the sample account is a non-high-quality account.

[0009] In an optional implementation, the multiple sample accounts include multiple training sample accounts and multiple test sample accounts, and the step of inputting feature information of each of the sample accounts into a model to be trained, training the model to be trained according to the quality parameter annotations of the sample accounts corresponding to the input feature information, and obtaining a target quality assessment model includes:

[0010] Inputting the characteristic information of each of the training sample accounts into the model to be trained, and training the model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input characteristic information to obtain a target quality assessment model;

[0011] After the step of obtaining the target quality assessment model, the method further includes:

[0012] Inputting the characteristic information of each of the test sample accounts into the target quality assessment model to obtain the target quality parameter value of each of the test sample accounts;

[0013] Traversing the value interval [0,1] of the first threshold, comparing the target quality parameter value of each of the test sample accounts with the first threshold, and calculating the precision rate corresponding to the first threshold rate according to the comparison result of each of the test sample accounts and the quality parameter label, to obtain the corresponding relationship between the first threshold rate and the precision rate;

[0014] A first threshold corresponding to the target accuracy is determined as the first preset threshold.

[0015] In an optional implementation, the step of comparing the target quality parameter value of each of the test sample accounts with the first threshold, and calculating the accuracy corresponding to the first threshold according to the comparison result and the quality parameter annotation of each of the test sample accounts, includes:

[0016] If the target quality parameter value of the test sample account is greater than or equal to the first threshold, determining that the predicted type identifier of the test sample account is a first identifier, the first identifier indicating that the predicted type of the test sample account is a high-quality account;

[0017] If the target quality parameter value of the test sample account is less than the first threshold, determining that the predicted type identifier of the test sample account is a second identifier, the second identifier indicating that the predicted type of the test sample account is a non-high-quality account;

[0018] The precision rate corresponding to the first threshold is calculated according to the prediction type identifier and quality parameter label of each of the test sample accounts.

[0019] In an optional implementation, the model to be trained includes a first model to be trained, and the step of inputting the feature information of each of the training sample accounts into the model to be trained, training the model to be trained according to the quality parameter annotation of the training sample account corresponding to the input feature information, and obtaining the target quality assessment model includes:

[0020] Inputting the feature information of each of the training sample accounts into the first model to be trained, and training the first model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a first quality assessment model;

[0021] Inputting the characteristic information of each of the sample accounts into the first quality assessment model to obtain a first quality parameter value of each of the sample accounts;

[0022] According to the first quality parameter value and the quality parameter label of each of the sample accounts, the hyperparameters of the first model to be trained are adjusted to obtain a second model to be trained;

[0023] Inputting the characteristic information of each of the training sample accounts into the second model to be trained, and training the second model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input characteristic information to obtain a second quality assessment model;

[0024] Inputting the characteristic information of each of the test sample accounts into the second quality assessment model to obtain a second quality parameter value of each of the test sample accounts;

[0025] According to the first quality parameter value, the second quality parameter value and the quality parameter label of each of the test sample accounts, it is determined that the target quality assessment model is the first quality assessment model or the second quality assessment model.

[0026] In an optional implementation, the step of adjusting the hyperparameters of the first model to be trained according to the first quality parameter value and the quality parameter label of each of the sample accounts includes:

[0027] Determining a first AUC value according to the first quality parameter value and the quality parameter label of each of the training sample accounts;

[0028] Determining a second AUC value according to the first quality parameter value and the quality parameter label of each of the test sample accounts;

[0029] Adjusting the hyperparameters of the first model to be trained according to the first AUC value and the second AUC value;

[0030] The step of determining that the target quality assessment model is the first quality assessment model or the second quality assessment model according to the first quality parameter value, the second quality parameter value and the quality parameter label of each of the test sample accounts comprises:

[0031] Determining a third AUC value according to the second quality parameter value and the quality parameter annotation of each of the test sample accounts;

[0032] If the second AUC value is greater than the third AUC value, determining that the target quality assessment model is the first quality assessment model;

[0033] If the second AUC value is less than or equal to the third AUC value, the target quality assessment model is determined to be the second quality assessment model.

[0034] In an optional implementation, the step of obtaining a sample set includes:

[0035] Receiving label information of the works of the sample accounts sent by the multiple target account clients, the label information is used to indicate whether the works of the sample accounts are high-quality works, and the label information is marked by each of the target accounts according to the works of the sample accounts;

[0036] When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is greater than or equal to a second preset threshold, determining that the quality parameter label of the sample account is the first label;

[0037] When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is less than the second preset threshold, it is determined that the quality parameter label of the sample account is the second label.

[0038] In an optional implementation, the model to be trained is a regression model.

[0039] In an optional implementation, the step of obtaining a sample set includes:

[0040] Receiving quality feedback values ​​of the works of the sample accounts sent by the multiple target account clients, wherein the quality feedback values ​​are evaluated by each of the target accounts according to the works of the sample accounts;

[0041] The multiple quality feedback values ​​received are averaged to obtain the quality parameter label of the sample account.

[0042] According to a second aspect of the present disclosure, a method for pushing works is provided, the method comprising:

[0043] Acquire characteristic information of the first account, where the characteristic information of the first account includes account portrait information of the first account and / or work attribute information of the first account;

[0044] Inputting the feature information of the first account into a target quality assessment model to obtain a target quality parameter value of the first account, wherein the target quality assessment model is a model trained by the model training method according to the first aspect;

[0045] According to the target quality parameter value of the first account, the works of the first account are pushed to the second account, wherein the account portrait information of the second account includes the preset attribute information.

[0046] In an optional implementation, the step of pushing the works of the first account to the second account according to the target quality parameter value of the first account includes:

[0047] When the target quality parameter value of the first account is greater than or equal to the first preset threshold, the works of the first account are pushed to the second account.

[0048] According to a third aspect of the present disclosure, a model training device is provided, the device comprising:

[0049] A sample acquisition module is configured to acquire a sample set, wherein the sample set includes characteristic information of multiple sample accounts and quality parameter annotations of each of the sample accounts, wherein the characteristic information of the sample accounts includes account portrait information of the sample accounts and / or attribute information of works of the sample accounts, wherein the quality parameter annotations of the sample accounts are obtained based on the result of the target account annotating the works of the sample accounts, and the account portrait information of the target account includes preset attribute information;

[0050] The model training module is configured to input the characteristic information of each of the sample accounts into the model to be trained, train the model to be trained according to the quality parameter annotations of the sample accounts corresponding to the input characteristic information, and obtain a target quality assessment model.

[0051] In an optional implementation, the model to be trained is a classification model, and the quality parameter labeling includes a first labeling and a second labeling, the first labeling indicates that the type of the sample account is a high-quality account, and the second labeling indicates that the type of the sample account is a non-high-quality account.

[0052] In an optional implementation, the multiple sample accounts include multiple training sample accounts and multiple testing sample accounts, and the model training module is specifically configured as follows:

[0053] Inputting the characteristic information of each of the training sample accounts into the model to be trained, and training the model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input characteristic information to obtain a target quality assessment model;

[0054] The device also includes:

[0055] A sample testing module is configured to input the characteristic information of each of the test sample accounts into the target quality assessment model to obtain a target quality parameter value of each of the test sample accounts;

[0056] The precision calculation module is configured to traverse the value interval [0, 1] of the first threshold, compare the target quality parameter value of each test sample account with the first threshold, and calculate the precision corresponding to the first threshold according to the comparison result of each test sample account and the quality parameter label, so as to obtain the corresponding relationship between the first threshold and the precision;

[0057] The threshold determination module is configured to determine a first threshold corresponding to the target accuracy as a first preset threshold.

[0058] In an optional implementation, the accuracy calculation module is specifically configured as follows:

[0059] If the target quality parameter value of the test sample account is greater than or equal to the first threshold, determining that the predicted type identifier of the test sample account is a first identifier, the first identifier indicating that the predicted type of the test sample account is a high-quality account;

[0060] If the target quality parameter value of the test sample account is less than the first threshold, determining that the predicted type identifier of the test sample account is a second identifier, the second identifier indicating that the predicted type of the test sample account is a non-high-quality account;

[0061] The precision rate corresponding to the first threshold is calculated according to the prediction type identifier and quality parameter label of each of the test sample accounts.

[0062] In an optional implementation, the model to be trained includes a first model to be trained, and the model training module includes:

[0063] A first unit is configured to input feature information of each of the training sample accounts into the first to-be-trained model, and train the first to-be-trained model according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a first quality assessment model;

[0064] A second unit is configured to input the characteristic information of each of the sample accounts into the first quality assessment model to obtain a first quality parameter value of each of the sample accounts;

[0065] A third unit is configured to adjust the hyperparameters of the first model to be trained according to the first quality parameter value and the quality parameter label of each of the sample accounts to obtain a second model to be trained;

[0066] A fourth unit is configured to input the feature information of each of the training sample accounts into the second model to be trained, and train the second model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a second quality assessment model;

[0067] A fifth unit is configured to input the characteristic information of each of the test sample accounts into the second quality assessment model to obtain a second quality parameter value of each of the test sample accounts;

[0068] The sixth unit is configured to determine whether the target quality assessment model is the first quality assessment model or the second quality assessment model according to the first quality parameter value, the second quality parameter value and the quality parameter label of each of the test sample accounts.

[0069] In an optional implementation, the third unit is specifically configured as follows:

[0070] Determining a first AUC value according to the first quality parameter value and the quality parameter label of each of the training sample accounts;

[0071] Determining a second AUC value according to the first quality parameter value and the quality parameter label of each of the test sample accounts;

[0072] Adjusting the hyperparameters of the first model to be trained according to the first AUC value and the second AUC value;

[0073] The sixth unit is specifically configured as follows:

[0074] Determining a third AUC value according to the second quality parameter value and the quality parameter annotation of each of the test sample accounts;

[0075] If the second AUC value is greater than the third AUC value, determining that the target quality assessment model is the first quality assessment model;

[0076] If the second AUC value is less than or equal to the third AUC value, the target quality assessment model is determined to be the second quality assessment model.

[0077] In an optional implementation, the sample acquisition module is specifically configured as follows:

[0078] Receiving label information of the works of the sample accounts sent by the multiple target account clients, the label information is used to indicate whether the works of the sample accounts are high-quality works, and the label information is marked by each of the target accounts according to the works of the sample accounts;

[0079] When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is greater than or equal to a second preset threshold, determining that the quality parameter label of the sample account is the first label;

[0080] When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is less than the second preset threshold, it is determined that the quality parameter label of the sample account is the second label.

[0081] In an optional implementation, the model to be trained is a regression model.

[0082] In an optional implementation, the sample acquisition module is specifically configured as follows:

[0083] Receiving quality feedback values ​​of the works of the sample accounts sent by the multiple target account clients, wherein the quality feedback values ​​are evaluated by each of the target accounts according to the works of the sample accounts;

[0084] The multiple quality feedback values ​​received are averaged to obtain the quality parameter label of the sample account.

[0085] According to a fourth aspect of the present disclosure, a work pushing device is provided, the device comprising:

[0086] An information acquisition module is configured to acquire characteristic information of a first account, wherein the characteristic information of the first account includes account portrait information of the first account and / or work attribute information of the first account;

[0087] a quality assessment module configured to input the feature information of the first account into a target quality assessment model to obtain a target quality parameter value of the first account, wherein the target quality assessment model is a model trained by the model training method according to the first aspect;

[0088] The work pushing module is configured to push the works of the first account to the second account according to the target quality parameter value of the first account, wherein the account portrait information of the second account includes the preset attribute information.

[0089] In an optional implementation, the work push module is specifically configured as follows:

[0090] When the target quality parameter value of the first account is greater than or equal to the first preset threshold, the works of the first account are pushed to the second account.

[0091] According to a fifth aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0092] processor;

[0093] a memory for storing instructions executable by the processor;

[0094] Wherein, the processor is configured to execute the instructions to implement the model training method as described in the first aspect.

[0095] According to a sixth aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0096] processor;

[0097] a memory for storing instructions executable by the processor;

[0098] Among them, the processor is configured to execute the instructions to implement the work pushing method as described in the second aspect.

[0099] According to a seventh aspect of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the model training method as described in the first aspect.

[0100] According to an eighth aspect of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the work pushing method as described in the second aspect.

[0101] According to a ninth aspect of the present disclosure, a computer program product is provided. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to perform the model training method as described in the first aspect.

[0102] According to a tenth aspect of the present disclosure, a computer program product is provided. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the work pushing method as described in the second aspect.

[0103] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0104] The disclosed technical solution provides a model training method, a work push method, a device, an electronic device and a storage medium, which obtains a sample set, trains a to-be-trained model according to the characteristic information and quality parameter annotations of the sample account in the sample set, and obtains a target quality assessment model. Since the quality parameter annotations of the sample account are determined by the target account annotating the work of the sample account, the target quality assessment model obtained by training with such a sample set can be used to screen accounts in the platform, and push the works of accounts with higher target quality parameter values, i.e., high-quality accounts, to accounts with the same preset attribute information as the target account, thereby increasing the exposure of the works of the high-quality accounts. Compared with the prior art, this solution can efficiently and accurately screen out high-quality accounts.

[0105] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0106] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0107] Figure 1 The figure is a flowchart of a model training method according to an exemplary embodiment.

[0108] Figure 2 The figure is a flow chart showing a method of obtaining a sample set according to an exemplary embodiment.

[0109] Figure 3 The flowchart of another method for obtaining a sample set is shown according to an exemplary embodiment.

[0110] Figure 4 The present invention is a flowchart showing a method for determining a first preset threshold value according to an exemplary embodiment.

[0111] Figure 5 The figure is a flow chart showing an adjustment model according to an exemplary embodiment.

[0112] Figure 6 The figure is a flow chart showing a method of obtaining a target quality assessment model according to an exemplary embodiment.

[0113] Figure 7 is a ROC curve diagram shown according to an exemplary embodiment.

[0114] Figure 8 is a PR curve diagram according to an exemplary embodiment.

[0115] Fig. 9The present invention is a flowchart of a method for pushing works according to an exemplary embodiment.

[0116] Fig.10 It is a structural block diagram of a model training device according to an exemplary embodiment.

[0117] Fig.11 It is a structural block diagram of a device for pushing works according to an exemplary embodiment.

[0118] Fig.12 It is a block diagram of an electronic device according to an exemplary embodiment.

[0119] Fig.13 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0120] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0121] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0122] For Internet platforms like Tik Tok, Kuaishou, and Bilibili that have a large amount of UGC (User Generated Content), it is necessary to screen high-quality accounts and increase the number of users and overall perception of the Internet platforms by increasing the exposure of works from high-quality accounts.

[0123] In the related art, one way is to screen high-quality accounts through user portrait information, but the high-quality accounts screened out by this method are not accurate enough. Another way is to screen out high-quality accounts manually. With limited manpower, the number of high-quality accounts found manually will not be too large, and because different people have different definitions of quality, subjective aesthetic differences will also affect the effect of this solution.

[0124] Figure 1 is a flow chart of a model training method according to an exemplary embodiment. Figure 1 As shown, the method may include the following steps.

[0125] In step S11, a sample set is obtained, which includes characteristic information of multiple sample accounts and quality parameter annotations of each sample account. The characteristic information of the sample account includes account portrait information of the sample account and / or work attribute information of the sample account. The quality parameter annotation of the sample account is obtained based on the result of annotating the work of the sample account by the target account. The account portrait information of the target account includes preset attribute information.

[0126] The account portrait information may include: the number of fans, activity, number of published works, city, gender, age, nationality, education level, etc. The work attribute information may include: frame rate, resolution, format, etc.

[0127] The target account is the account that the platform expects to filter. The preset attribute information can be the attribute information unique to the target account that the platform expects. For example, when the platform's unique account circle is the post-80s, and the platform expects the target account to be the post-90s, then the account portrait information unique to the post-90s can be selected as the preset attribute information.

[0128] In the specific implementation, the sample accounts can be randomly selected from the account group of the platform. The characteristic information of the sample accounts can be related to the preset attribute information of the target account, but the quality parameter label cannot be leaked.

[0129] In step S12, the feature information of each sample account is input into the model to be trained, and the model to be trained is trained according to the quality parameter annotations of the sample account corresponding to the input feature information to obtain a target quality assessment model.

[0130] The model to be trained may be a classification model or a regression model.

[0131] When the model to be trained is a classification model, the quality parameter label can be an identifier indicating whether the sample account is a high-quality account. In this way, the target quality assessment model obtained by training can obtain the probability of the input account being a high-quality account based on the characteristic information of the input account. When the model to be trained is a regression model, the quality parameter label can be a score that characterizes the quality level of the sample account. In this way, the target quality assessment model obtained by training can obtain the quality score of the input account based on the characteristic information of the input account.

[0132] The model training method provided in this embodiment obtains a sample set, trains the to-be-trained model according to the characteristic information and quality parameter annotations of the sample accounts in the sample set, and obtains a target quality assessment model. Since the quality parameter annotations of the sample accounts are determined by the target accounts annotating the works of the sample accounts, the target quality assessment model obtained by training with such a sample set can be used to screen accounts in the platform, and push the works of accounts with higher target quality parameter values, i.e., high-quality accounts, to accounts with the same preset attribute information as the target accounts, thereby increasing the exposure of the works of high-quality accounts. Compared with the prior art, this solution can efficiently and accurately screen out high-quality accounts.

[0133] In an optional implementation, the model to be trained is a classification model, and the quality parameter labeling may include a first labeling and a second labeling, the first labeling indicating that the type of the sample account is a high-quality account, and the second labeling indicating that the type of the sample account is a non-high-quality account.

[0134] The classification model may be a support vector machine (SVM), a random forest, or a gradient boosting decision tree (GBDT).

[0135] The training of classification models can utilize statistical classification methods in machine learning. The following is a brief introduction to the principles, common concepts, and several commonly used models of machine learning classification algorithms. The goal of statistical classification is to determine which known sample class a new sample belongs to based on certain features of known samples. That is, through known samples, a mapping of Y = f(X) is constructed, where X is the feature of the sample and Y is the category to which the sample belongs. Then the features of the new sample are input into the mapping f(X) to obtain the Y value of the new sample, such as Figure 6 shown.

[0136] In binary classification problems, where Y has only two possible values, we usually call the category we are interested in positive samples and the other category negative samples. For example, if we are more interested in high-quality accounts, we call them positive samples and the rest are negative samples. The model results will give the positive and negative attributes of the samples, which will be different from the true positive and negative attributes of the samples. That is, the true positive samples may be correctly judged as positive samples or incorrectly judged as negative samples. At the same time, the true negative samples may be correctly judged as negative samples or incorrectly judged as positive samples. Therefore, there are the following concepts:

[0137] True Positive (TP): The number of positive samples predicted as positive samples;

[0138] True Negative (TN): The number of negative samples predicted as negative samples;

[0139] False Positive (FP): The number of negative samples predicted as positive samples (Type I error);

[0140] False Negative (FN): The number of positive samples predicted as negative samples (Type II error);

[0141] Recall: TP / (TP+FN);

[0142] Precision: TP / (TP+FP);

[0143] ROC curve (receiver operating characteristic curve): a curve with tpr = TP / (TP+FN) as the vertical axis and frp = FP / (FP+TN) as the horizontal axis. Figure 7 ;

[0144] AUC (Area under the Curve of ROC): The area under the ROC curve. The larger the value, the better the model effect.

[0145] F1-Score: 2*(precision*recall / (precision+recall)): The value of F1-Score ranges from 0 to 1, where 1 represents the best output of the model and 0 represents the worst output of the model.

[0146] When the model to be trained is a classification model, there are multiple ways to obtain the quality parameter annotations of the sample accounts. In the first implementation, refer to Figure 2 , in step S11, it may include:

[0147] In step S21, label information of works of sample accounts sent by multiple target account clients is received. The label information is used to indicate whether the works of the sample accounts are high-quality works. The label information is annotated by each target account according to the works of the sample accounts.

[0148] In step S22, when the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is greater than or equal to a second preset threshold, it is determined that the quality parameter label of the sample account is marked as the first label.

[0149] In step S23, when the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is less than a second preset threshold, it is determined that the quality parameter label of the sample account is marked as the second label.

[0150] In specific implementation, the platform can add a function to rate the works of sample accounts. For example, a pop-up window can be displayed after the target account has viewed the works of the sample account, and the target account can rate whether the works of the sample account are of high quality. After a period of time, the rating results of the works of the sample account can be analyzed. For example, when the number of times the works of the sample account are considered high quality exceeds half of the number of times they are rated, the sample account can be considered to be a high-quality account on the platform, and the quality parameter of the sample account is marked as the first mark; when the number of times the works of the sample account are considered high quality is less than half of the number of times they are rated, the sample account can be considered to be a non-high-quality account on the platform, and the quality parameter of the sample account is marked as the second mark.

[0151] In the second implementation method, sample accounts can be manually labeled as high-quality accounts. At this stage, only sample accounts in the sample set need to be manually labeled, and the labor cost is greatly reduced compared to traditional methods.

[0152] In the third implementation, questionnaires can be distributed to target accounts, which will label the sample accounts in the sample set as high-quality or not. After collecting the questionnaires, the results are statistically analyzed. For example, when the number of times a sample account is considered high-quality exceeds half of the number of times it is scored, the sample account can be considered a high-quality account, that is, the quality parameter of the sample account is marked as the first mark; otherwise, it is marked as the second mark.

[0153] In another optional implementation, the model to be trained is a regression model. Figure 3 , in step S11, it may further include:

[0154] In step S31, quality feedback values ​​of works of sample accounts sent by multiple target account clients are received, and the quality feedback values ​​are evaluated by each target account based on the works of the sample accounts.

[0155] In step S32, the received multiple quality feedback values ​​are averaged to obtain the quality parameter label of the sample account.

[0156] In specific implementation, the platform can add a function to rate the works of sample accounts. For example, a pop-up window can be displayed after the target account has viewed the work of the sample account, and the target account can rate the quality score (quality feedback value) of the work of the sample account. The server can receive the quality scores of the works of sample accounts sent by multiple target account clients, and the server can average the received quality scores as the quality parameter label of the sample account.

[0157] In an optional implementation, the multiple sample accounts include multiple training sample accounts and multiple test sample accounts. Figure 4 , in step S12, it may further include:

[0158] In step S41, the feature information of each training sample account is input into the model to be trained, and the model to be trained is trained according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a target quality assessment model.

[0159] In this implementation, the model to be trained is a classification model. The sample set can be divided into a training set train_data and a test set test_data. Only the training set is used to fit the model, and different classification models are used to fit the train_data; the test set is used to evaluate the effect of the model. The effect of the model can be evaluated by AUC and F1-Score. The model is continuously optimized by continuously adjusting the model's hyperparameters, data features, etc.

[0160] In a specific implementation, the feature information of the sample accounts in the training set train_data can be input into the model to be trained, and the model to be trained is trained according to the output results and the quality parameter annotations of the sample accounts corresponding to the input feature information to obtain the target quality assessment model.

[0161] After the step of obtaining the target quality assessment model, it also includes:

[0162] In step S42, the characteristic information of each test sample account is input into the target quality assessment model to obtain the target quality parameter value of each test sample account.

[0163] In the specific implementation, the characteristic information of the test sample account is input into the target quality assessment model, and the probability of the test sample account being a high-quality account is output.

[0164] In step S43, the value interval [0,1] of the first threshold is traversed, the target quality parameter value of each test sample account is compared with the first threshold, and the precision corresponding to the first threshold is calculated based on the comparison results of each test sample account and the quality parameter labeling, so as to obtain the corresponding relationship between the first threshold and the precision.

[0165] In a specific implementation, if the target quality parameter value of the test sample account is greater than or equal to a first threshold, the prediction type identifier of the test sample account is determined to be a first identifier, and the first identifier indicates that the prediction type of the test sample account is a high-quality account; if the target quality parameter value of the test sample account is less than the first threshold, the prediction type identifier of the test sample account is determined to be a second identifier, and the second identifier indicates that the prediction type of the test sample account is a non-high-quality account; based on the prediction type identifier and quality parameter labeling of each test sample account, the accuracy corresponding to the first threshold is calculated.

[0166] According to the prediction type identification and quality parameter annotation of each test sample account, TP and FP can be calculated respectively, and then the accuracy rate can be determined according to TP / (TP+FP).

[0167] In step S44, a first threshold corresponding to the target accuracy is determined as a first preset threshold.

[0168] Since the target quality assessment model outputs the probability that the input account is a high-quality account, we need to determine a first preset threshold t to classify the input accounts into two categories: high-quality accounts and non-high-quality accounts. That is, accounts with a probability greater than or equal to the first preset threshold t are high-quality accounts, and accounts with a probability less than the first preset threshold t are non-high-quality accounts. When different first preset thresholds are used, different recall rates and precision rates can be obtained, thereby obtaining a recall rate and precision rate curve. Figure 8 When the first preset threshold is small, the recall rate of the model is high, but the precision rate is low. At this time, more real high-quality accounts are selected, and a large number of accounts that are mistakenly judged as high-quality accounts are also selected. If the exposure of works mistakenly judged as high-quality accounts is increased, the overall perception of the platform may be reduced; when the first preset threshold is large, the recall rate of the model is low, but the precision rate is high. At this time, fewer high-quality accounts are selected, and very few are misjudged. Therefore, in order to ensure the accuracy of the results and the perception of the platform, and at the same time ensure that the number of positive samples selected can meet the content diversity requirements, we will select the first preset threshold as high as possible. For example, the first preset threshold can be greater than or equal to 0.7.

[0169] In a specific implementation, after determining the first preset threshold, the trained target quality assessment model can be applied to the full data of the platform, so as to find high-quality accounts on the platform and increase the exposure of works of these accounts. This embodiment uses a machine learning classification algorithm based on a small number of account samples to efficiently and accurately determine high-quality accounts on the platform, and by increasing the exposure of works of high-quality accounts, it helps to increase the number of platform users and overall perception.

[0170] In an optional implementation, the model to be trained includes a first model to be trained, referring to Figure 5 , in step S41, it may further include:

[0171] In step S51, the feature information of each training sample account is input into the first model to be trained, and the first model to be trained is trained according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a first quality assessment model.

[0172] In step S52, the characteristic information of each sample account is input into the first quality assessment model to obtain the first quality parameter value of each sample account.

[0173] In step S53, the hyperparameters of the first model to be trained are adjusted according to the first quality parameter value and quality parameter label of each sample account to obtain the second model to be trained.

[0174] In a specific implementation, a first AUC value can be determined based on the first quality parameter value and quality parameter label of each training sample account; a second AUC value can be determined based on the first quality parameter value and quality parameter label of each test sample account; and the hyperparameters of the first model to be trained can be adjusted based on the first AUC value and the second AUC value.

[0175] For example, if both the first AUC value and the second AUC value do not reach the expected value, the hyperparameters of the first model to be trained can be adjusted to increase the model complexity; if the first AUC value is greater than the second AUC value, the hyperparameters of the first model to be trained can be adjusted to reduce the model complexity.

[0176] In step S54, the feature information of each training sample account is input into the second model to be trained, and the second model to be trained is trained according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a second quality assessment model.

[0177] In step S55, the characteristic information of each test sample account is input into the second quality assessment model to obtain the second quality parameter value of each test sample account.

[0178] In step S56, the target quality assessment model is determined to be the first quality assessment model or the second quality assessment model according to the first quality parameter value, the second quality parameter value and the quality parameter label of each test sample account.

[0179] For example, the test set can be used to evaluate the model, and the model with a larger AUC value can be selected as the final target quality evaluation model.

[0180] In a specific implementation, a third AUC value is determined based on the second quality parameter value and quality parameter label of each test sample account; if the second AUC value is greater than the third AUC value, the target quality assessment model is determined to be the first quality assessment model; if the second AUC value is less than or equal to the third AUC value, the target quality assessment model is determined to be the second quality assessment model.

[0181] In practical applications, after the model training is completed, the importance ranking of multiple feature information can be obtained, and the feature information can be reselected according to the importance ranking to train the model to be trained.

[0182] Fig. 9 is a flow chart of a method for pushing works according to an exemplary embodiment. Fig. 9 As shown, the method may include the following steps.

[0183] In step S91, characteristic information of the first account is obtained, where the characteristic information of the first account includes account portrait information of the first account and / or work attribute information of the first account.

[0184] The account portrait information may include: the number of fans, activity, number of published works, city, gender, age, nationality, education level, etc. The work attribute information may include: frame rate, resolution, format, etc.

[0185] The execution subject of this embodiment may be an electronic device such as a server.

[0186] In a specific implementation, the server may obtain the characteristic information of the first account from its own account information database.

[0187] In step S92, the feature information of the first account is input into a target quality assessment model to obtain a target quality parameter value of the first account. The target quality assessment model is a model trained by the model training method of any embodiment.

[0188] Among them, the training process of the target quality assessment model can refer to the description of the above-mentioned model training method embodiment, which will not be repeated here.

[0189] In a specific implementation, the characteristic information of the first account is input into a target quality assessment model, and the quality parameter value of the first account is output.

[0190] The quality parameter value of the first account can be the probability that the first account is a high-quality account, or can be the quality score of the first account, etc. In short, the quality parameter value of the first account can reflect the quality level of the first account. The higher the quality parameter value of the first account, the higher the quality (higher quality) of the first account; the lower the quality parameter value of the first account, the lower the quality of the first account.

[0191] In step S93, according to the target quality parameter value of the first account, the works of the first account are pushed to the second account, wherein the account portrait information of the second account includes preset attribute information. The second account has the same preset attribute information as the target account.

[0192] In an optional implementation, when the target quality parameter value of the first account is greater than or equal to a first preset threshold, the works of the first account are pushed to the second account.

[0193] The process of determining the first preset threshold value can refer to Figure 4 The description of the illustrated embodiment will not be repeated here.

[0194] In a specific implementation, the server may determine the exposure of the works of the first account according to the target quality parameter value of the first account. Generally, the exposure of the works of the first account may be positively correlated with the target quality parameter value of the first account. That is, the higher the target quality parameter value of the first account, the higher the exposure of the works of the first account determined by the server; the lower the target quality parameter value of the first account, the lower the exposure of the works of the first account determined by the server, thereby increasing the exposure of the works of the high-quality account, and pushing the works of the high-quality account to the second account with a higher exposure.

[0195] The work pushing method provided in this embodiment adopts a target quality assessment model to determine the target quality parameter value of the first account. Since the quality parameter annotation of the sample account used for training the target quality assessment model is determined by the target account annotating the work of the sample account, the target quality assessment model can be used to screen accounts in the platform, and push the works of accounts with higher target quality parameter values, i.e., high-quality accounts, to accounts with the same preset attribute information as the target account, thereby increasing the exposure of the works of the high-quality accounts. Compared with the prior art, this solution can efficiently and accurately screen out high-quality accounts.

[0196] Fig.10 is a block diagram of a model training device according to an exemplary embodiment. Fig.10 , which may include:

[0197] The sample acquisition module 101 is configured to acquire a sample set, wherein the sample set includes characteristic information of multiple sample accounts and quality parameter annotations of each of the sample accounts, wherein the characteristic information of the sample accounts includes account portrait information of the sample accounts and / or attribute information of the works of the sample accounts, wherein the quality parameter annotations of the sample accounts are obtained based on the result of the target account annotating the works of the sample accounts, and the account portrait information of the target account includes preset attribute information;

[0198] The model training module 102 is configured to input the characteristic information of each of the sample accounts into the model to be trained, train the model to be trained according to the quality parameter annotations of the sample accounts corresponding to the input characteristic information, and obtain a target quality assessment model.

[0199] In an optional implementation, the model to be trained is a classification model, and the quality parameter labeling includes a first labeling and a second labeling, the first labeling indicates that the type of the sample account is a high-quality account, and the second labeling indicates that the type of the sample account is a non-high-quality account.

[0200] In an optional implementation, the multiple sample accounts include multiple training sample accounts and multiple testing sample accounts, and the model training module is specifically configured as follows:

[0201] Inputting the characteristic information of each of the training sample accounts into the model to be trained, and training the model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input characteristic information to obtain a target quality assessment model;

[0202] The device also includes:

[0203] A sample testing module is configured to input the characteristic information of each of the test sample accounts into the target quality assessment model to obtain a target quality parameter value of each of the test sample accounts;

[0204] The precision calculation module is configured to traverse the value interval [0, 1] of the first threshold, compare the target quality parameter value of each test sample account with the first threshold, and calculate the precision corresponding to the first threshold according to the comparison result of each test sample account and the quality parameter label, so as to obtain the corresponding relationship between the first threshold and the precision;

[0205] The threshold determination module is configured to determine a first threshold corresponding to the target accuracy as a first preset threshold.

[0206] In an optional implementation, the accuracy calculation module is specifically configured as follows:

[0207] If the target quality parameter value of the test sample account is greater than or equal to the first threshold, determining that the predicted type identifier of the test sample account is a first identifier, the first identifier indicating that the predicted type of the test sample account is a high-quality account;

[0208] If the target quality parameter value of the test sample account is less than the first threshold, determining that the predicted type identifier of the test sample account is a second identifier, the second identifier indicating that the predicted type of the test sample account is a non-high-quality account;

[0209] The precision rate corresponding to the first threshold is calculated according to the prediction type identifier and quality parameter label of each of the test sample accounts.

[0210] In an optional implementation, the model to be trained includes a first model to be trained, and the model training module includes:

[0211] A first unit is configured to input feature information of each of the training sample accounts into the first to-be-trained model, and train the first to-be-trained model according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a first quality assessment model;

[0212] A second unit is configured to input the characteristic information of each of the sample accounts into the first quality assessment model to obtain a first quality parameter value of each of the sample accounts;

[0213] A third unit is configured to adjust the hyperparameters of the first model to be trained according to the first quality parameter value and the quality parameter label of each of the sample accounts to obtain a second model to be trained;

[0214] A fourth unit is configured to input the feature information of each of the training sample accounts into the second model to be trained, and train the second model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a second quality assessment model;

[0215] A fifth unit is configured to input the characteristic information of each of the test sample accounts into the second quality assessment model to obtain a second quality parameter value of each of the test sample accounts;

[0216] The sixth unit is configured to determine whether the target quality assessment model is the first quality assessment model or the second quality assessment model according to the first quality parameter value, the second quality parameter value and the quality parameter label of each of the test sample accounts.

[0217] In an optional implementation, the third unit is specifically configured as follows:

[0218] Determining a first AUC value according to the first quality parameter value and the quality parameter label of each of the training sample accounts;

[0219] Determining a second AUC value according to the first quality parameter value and the quality parameter label of each of the test sample accounts;

[0220] Adjusting the hyperparameters of the first model to be trained according to the first AUC value and the second AUC value;

[0221] The sixth unit is specifically configured as follows:

[0222] Determining a third AUC value according to the second quality parameter value and the quality parameter annotation of each of the test sample accounts;

[0223] If the second AUC value is greater than the third AUC value, determining that the target quality assessment model is the first quality assessment model;

[0224] If the second AUC value is less than or equal to the third AUC value, the target quality assessment model is determined to be the second quality assessment model.

[0225] In an optional implementation, the sample acquisition module is specifically configured as follows:

[0226] Receiving label information of the works of the sample accounts sent by the multiple target account clients, the label information is used to indicate whether the works of the sample accounts are high-quality works, and the label information is marked by each of the target accounts according to the works of the sample accounts;

[0227] When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is greater than or equal to a second preset threshold, determining that the quality parameter label of the sample account is the first label;

[0228] When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is less than the second preset threshold, it is determined that the quality parameter label of the sample account is the second label.

[0229] In an optional implementation, the model to be trained is a regression model.

[0230] In an optional implementation, the sample acquisition module is specifically configured as follows:

[0231] Receiving quality feedback values ​​of the works of the sample accounts sent by the multiple target account clients, wherein the quality feedback values ​​are evaluated by each of the target accounts according to the works of the sample accounts;

[0232] The multiple quality feedback values ​​received are averaged to obtain the quality parameter label of the sample account.

[0233] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0234] Fig.11 FIG. 1 is a block diagram of a device for pushing works according to an exemplary embodiment. Fig.11 , which may include:

[0235] The information acquisition module 111 is configured to acquire characteristic information of a first account, where the characteristic information of the first account includes account portrait information of the first account and / or work attribute information of the first account;

[0236] The quality assessment module 112 is configured to input the feature information of the first account into a target quality assessment model to obtain a target quality parameter value of the first account, wherein the target quality assessment model is a model trained based on the model training method described in the first aspect;

[0237] The work pushing module 113 is configured to push the works of the first account to the second account according to the target quality parameter value of the first account, wherein the account portrait information of the second account includes the preset attribute information.

[0238] In an optional implementation, the work push module is specifically configured as follows:

[0239] When the target quality parameter value of the first account is greater than or equal to the first preset threshold, the works of the first account are pushed to the second account.

[0240] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0241] Fig.12 800 is a block diagram of an electronic device 800 shown in the present disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0242] Reference Fig.12 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0243] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the method described in any embodiment. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.

[0244] The memory 804 is configured to store various user-type identified data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any user-type identified volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0245] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0246] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0247] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0248] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0249] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0250] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0251] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the method described in any one of the embodiments.

[0252] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the above instructions can be executed by the processor 820 of the electronic device 800 to perform the method of any embodiment. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0253] In an exemplary embodiment, a computer program product is also provided, the computer program product includes a readable program code, the readable program code can be executed by the processor 820 of the device 800 to perform the method described in any embodiment. Optionally, the program code can be stored in a storage medium of the device 800, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0254] Fig.13 1 is a block diagram of an electronic device 1900 shown in the present disclosure. For example, the electronic device 1900 may be provided as a server.

[0255] Reference Fig.13 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions that can be executed by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the method described in any embodiment.

[0256] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM or the like.

[0257] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0258] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A model training method, characterized in that: The method comprises: Acquire a sample set, the sample set including characteristic information of multiple sample accounts and quality parameter annotations of each of the sample accounts, the characteristic information of the sample accounts including account portrait information of the sample accounts and / or attribute information of the works of the sample accounts, the quality parameter annotations of the sample accounts are obtained based on the result of the target account annotating the works of the sample accounts, and the account portrait information of the target account includes preset attribute information; Inputting the characteristic information of each of the sample accounts into the model to be trained, and training the model to be trained according to the quality parameter annotations of the sample accounts corresponding to the input characteristic information to obtain a target quality assessment model; The multiple sample accounts include multiple training sample accounts and multiple test sample accounts, and the step of inputting feature information of each of the sample accounts into the model to be trained, training the model to be trained according to the quality parameter annotations of the sample accounts corresponding to the input feature information, and obtaining the target quality assessment model includes: The model to be trained includes a first model to be trained; Inputting the feature information of each of the training sample accounts into the first model to be trained, and training the first model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a first quality assessment model; Inputting the characteristic information of each of the sample accounts into the first quality assessment model to obtain a first quality parameter value of each of the sample accounts; According to the first quality parameter value and the quality parameter label of each of the sample accounts, the hyperparameters of the first model to be trained are adjusted to obtain a second model to be trained; Inputting the characteristic information of each of the training sample accounts into the second model to be trained, and training the second model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input characteristic information to obtain a second quality assessment model; Inputting the characteristic information of each of the test sample accounts into the second quality assessment model to obtain a second quality parameter value of each of the test sample accounts; According to the first quality parameter value, the second quality parameter value and the quality parameter label of each of the test sample accounts, it is determined that the target quality assessment model is the first quality assessment model or the second quality assessment model.

2. The model training method according to claim 1, characterized in that: The model to be trained is a classification model, and the quality parameter annotation includes a first annotation and a second annotation, the first annotation indicates that the type of the sample account is a high-quality account, and the second annotation indicates that the type of the sample account is a non-high-quality account.

3. The model training method according to claim 1, characterized in that: After the step of obtaining the target quality assessment model, the method further includes: Inputting the characteristic information of each of the test sample accounts into the target quality assessment model to obtain the target quality parameter value of each of the test sample accounts; Traversing the value interval [0,1] of the first threshold, comparing the target quality parameter value of each of the test sample accounts with the first threshold, and calculating the precision rate corresponding to the first threshold rate according to the comparison result of each of the test sample accounts and the quality parameter label, to obtain the corresponding relationship between the first threshold rate and the precision rate; A first threshold corresponding to the target accuracy is determined as the first preset threshold.

4. The model training method according to claim 3, characterized in that: The step of comparing the target quality parameter value of each of the test sample accounts with the first threshold, and calculating the accuracy corresponding to the first threshold according to the comparison result of each of the test sample accounts and the quality parameter annotation, includes: If the target quality parameter value of the test sample account is greater than or equal to the first threshold, determining that the predicted type identifier of the test sample account is a first identifier, the first identifier indicating that the predicted type of the test sample account is a high-quality account; If the target quality parameter value of the test sample account is less than the first threshold, determining that the predicted type identifier of the test sample account is a second identifier, the second identifier indicating that the predicted type of the test sample account is a non-high-quality account; The precision rate corresponding to the first threshold is calculated according to the prediction type identifier and quality parameter label of each of the test sample accounts.

5. The model training method according to claim 1, characterized in that: The step of adjusting the hyperparameters of the first model to be trained according to the first quality parameter value and the quality parameter label of each of the sample accounts includes: Determining a first AUC value according to the first quality parameter value and the quality parameter label of each of the training sample accounts; Determining a second AUC value according to the first quality parameter value and the quality parameter label of each of the test sample accounts; Adjusting the hyperparameters of the first model to be trained according to the first AUC value and the second AUC value; The step of determining that the target quality assessment model is the first quality assessment model or the second quality assessment model according to the first quality parameter value, the second quality parameter value and the quality parameter label of each of the test sample accounts comprises: Determining a third AUC value according to the second quality parameter value and the quality parameter annotation of each of the test sample accounts; If the second AUC value is greater than the third AUC value, determining that the target quality assessment model is the first quality assessment model; If the second AUC value is less than or equal to the third AUC value, the target quality assessment model is determined to be the second quality assessment model.

6. The model training method according to claim 2, characterized in that: The step of obtaining a sample set includes: Receiving label information of the works of the sample accounts sent by the multiple target account clients, the label information is used to indicate whether the works of the sample accounts are high-quality works, and the label information is marked by each of the target accounts according to the works of the sample accounts; When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is greater than or equal to a second preset threshold, determining that the quality parameter label of the sample account is the first label; When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is less than the second preset threshold, it is determined that the quality parameter label of the sample account is the second label.

7. The model training method according to claim 1, characterized in that: The model to be trained is a regression model.

8. The model training method according to claim 7, characterized in that: The step of obtaining a sample set includes: Receiving quality feedback values ​​of the works of the sample accounts sent by the multiple target account clients, wherein the quality feedback values ​​are evaluated by each of the target accounts according to the works of the sample accounts; The multiple quality feedback values ​​received are averaged to obtain the quality parameter label of the sample account.

9. A method for pushing works, characterized in that: The method comprises: Acquire characteristic information of the first account, where the characteristic information of the first account includes account portrait information of the first account and / or work attribute information of the first account; Inputting the feature information of the first account into a target quality assessment model to obtain a target quality parameter value of the first account, wherein the target quality assessment model is a model trained by the model training method according to any one of claims 1 to 8; According to the target quality parameter value of the first account, the works of the first account are pushed to the second account, wherein the account portrait information of the second account includes the preset attribute information.

10. The method for pushing works according to claim 9, characterized in that: The step of pushing the work of the first account to the second account according to the target quality parameter value of the first account includes: When the target quality parameter value of the first account is greater than or equal to a first preset threshold, the works of the first account are pushed to the second account.

11. A model training device, characterized in that: The device comprises: A sample acquisition module is configured to acquire a sample set, wherein the sample set includes characteristic information of multiple sample accounts and quality parameter annotations of each of the sample accounts, wherein the characteristic information of the sample accounts includes account portrait information of the sample accounts and / or attribute information of works of the sample accounts, wherein the quality parameter annotations of the sample accounts are obtained based on the result of the target account annotating the works of the sample accounts, and the account portrait information of the target account includes preset attribute information; A model training module is configured to input the feature information of each of the sample accounts into a model to be trained, and train the model to be trained according to the quality parameter annotations of the sample accounts corresponding to the input feature information to obtain a target quality assessment model; The multiple sample accounts include multiple training sample accounts and multiple testing sample accounts, and the model training module is specifically configured as follows: The model to be trained includes a first model to be trained; The model training module includes: A first unit is configured to input feature information of each of the training sample accounts into the first to-be-trained model, and train the first to-be-trained model according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a first quality assessment model; A second unit is configured to input the characteristic information of each of the sample accounts into the first quality assessment model to obtain a first quality parameter value of each of the sample accounts; A third unit is configured to adjust the hyperparameters of the first model to be trained according to the first quality parameter value and the quality parameter label of each of the sample accounts to obtain a second model to be trained; A fourth unit is configured to input the feature information of each of the training sample accounts into the second model to be trained, and train the second model to be trained according to the quality parameter annotations of the training sample accounts corresponding to the input feature information to obtain a second quality assessment model; A fifth unit is configured to input the characteristic information of each of the test sample accounts into the second quality assessment model to obtain a second quality parameter value of each of the test sample accounts; The sixth unit is configured to determine whether the target quality assessment model is the first quality assessment model or the second quality assessment model according to the first quality parameter value, the second quality parameter value and the quality parameter label of each of the test sample accounts.

12. The model training device according to claim 11, characterized in that: The model to be trained is a classification model, and the quality parameter annotation includes a first annotation and a second annotation, the first annotation indicates that the type of the sample account is a high-quality account, and the second annotation indicates that the type of the sample account is a non-high-quality account.

13. The model training device according to claim 11, characterized in that: The device also includes: A sample testing module is configured to input the characteristic information of each of the test sample accounts into the target quality assessment model to obtain a target quality parameter value of each of the test sample accounts; The precision calculation module is configured to traverse the value interval [0,1] of the first threshold, compare the target quality parameter value of each test sample account with the first threshold, and calculate the precision corresponding to the first threshold according to the comparison result of each test sample account and the quality parameter label, so as to obtain the corresponding relationship between the first threshold and the precision; The threshold determination module is configured to determine a first threshold corresponding to the target accuracy as a first preset threshold.

14. The model training device according to claim 13, characterized in that: The accuracy calculation module is specifically configured as follows: If the target quality parameter value of the test sample account is greater than or equal to the first threshold, determining that the predicted type identifier of the test sample account is a first identifier, the first identifier indicating that the predicted type of the test sample account is a high-quality account; If the target quality parameter value of the test sample account is less than the first threshold, determining that the predicted type identifier of the test sample account is a second identifier, the second identifier indicating that the predicted type of the test sample account is a non-high-quality account; The precision rate corresponding to the first threshold is calculated according to the prediction type identifier and quality parameter label of each of the test sample accounts.

15. The model training device according to claim 11, characterized in that: The third unit is specifically configured as follows: Determining a first AUC value according to the first quality parameter value and the quality parameter label of each of the training sample accounts; Determining a second AUC value according to the first quality parameter value and the quality parameter label of each of the test sample accounts; Adjusting the hyperparameters of the first model to be trained according to the first AUC value and the second AUC value; The sixth unit is specifically configured as follows: Determining a third AUC value according to the second quality parameter value and the quality parameter annotation of each of the test sample accounts; If the second AUC value is greater than the third AUC value, determining that the target quality assessment model is the first quality assessment model; If the second AUC value is less than or equal to the third AUC value, the target quality assessment model is determined to be the second quality assessment model.

16. The model training device according to claim 12, characterized in that: The sample acquisition module is specifically configured as follows: Receiving label information of the works of the sample accounts sent by the multiple target account clients, the label information is used to indicate whether the works of the sample accounts are high-quality works, and the label information is marked by each of the target accounts according to the works of the sample accounts; When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is greater than or equal to a second preset threshold, determining that the quality parameter label of the sample account is the first label; When the ratio of the number of label information indicating that the works of the sample account are high-quality works to the total number of received label information is less than the second preset threshold, it is determined that the quality parameter label of the sample account is the second label.

17. The model training device according to claim 11, characterized in that: The model to be trained is a regression model.

18. The model training device according to claim 17, characterized in that: The sample acquisition module is specifically configured as follows: Receiving quality feedback values ​​of the works of the sample accounts sent by the multiple target account clients, wherein the quality feedback values ​​are evaluated by each of the target accounts according to the works of the sample accounts; The multiple quality feedback values ​​received are averaged to obtain the quality parameter label of the sample account.

19. A device for pushing works, characterized in that: The device comprises: An information acquisition module is configured to acquire characteristic information of a first account, wherein the characteristic information of the first account includes account portrait information of the first account and / or work attribute information of the first account; a quality assessment module configured to input the feature information of the first account into a target quality assessment model to obtain a target quality parameter value of the first account, wherein the target quality assessment model is a model trained by the model training method according to any one of claims 1 to 8; The work pushing module is configured to push the works of the first account to the second account according to the target quality parameter value of the first account, wherein the account portrait information of the second account includes the preset attribute information.

20. The work pushing device according to claim 19, characterized in that: The work push module is specifically configured as follows: When the target quality parameter value of the first account is greater than or equal to a first preset threshold, the works of the first account are pushed to the second account.

21. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the model training method as described in any one of claims 1 to 8.

22. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the work pushing method as described in claim 9 or 10.

23. A storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the model training method as described in any one of claims 1 to 8.

24. A storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the work pushing method as described in claim 9 or 10.

Citation Information

Patent Citations

  • Model training method and device, information identification method and device, electronic equipment and storage medium

    CN111858905A