Media information processing method, device, electronic device and storage medium

By obtaining account characteristics and using a probabilistic prediction model to adjust the amount of media information filtered, the problem of untargeted sorting of media information in the existing technology is solved, and the accuracy of target media information and the pertinence of media information delivery are improved.

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

Patent Information

Application Number
CN202210640512.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-08
Publication Date
2024-10-29
Estimated Expiration
2042-06-08

AI Technical Summary

Technical Problem

In the existing media information sorting method, the two sorting models in the rough sorting stage sort the media information according to different dimensions, resulting in the filtered quantity of media information for different accounts being untargeted and affecting the accuracy of the target media information.

Method used

By obtaining the account characteristics of the target account, the pre-trained probability prediction model is used to calculate the number of media information filters corresponding to each ranking model, and the number of media information filters is dynamically adjusted to improve the accuracy of the target media information.

Benefits of technology

It improves the accuracy of target media information, ensures that the number of media information filtered by each sorting model in each media information screening process changes dynamically according to the account characteristics of the target account, and enhances the pertinence of media information delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114896475B_ABST
    Figure CN114896475B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a media information processing method, device, electronic device, storage medium and computer program, the method comprising: obtaining account characteristics of a target account. Obtaining a probability prediction result based on the account characteristics and a pre-trained probability prediction model; the probability prediction result reflects the probability that the candidate media information corresponding to the target sorting model becomes the target media information; determining the number of media information screening corresponding to each sorting model based on the probability prediction result and a preset media quantity calculation algorithm. According to the number of media information screening corresponding to each sorting model, the candidate media information is obtained in the media information sequence sorted by each sorting model; the candidate media information is used to determine the target media information corresponding to the target account. The adoption of this method improves the recommendation accuracy of the target media information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a media information processing method, device, electronic device, storage medium and computer program. Background Art

[0002] Before media information is displayed, it needs to go through processing operations such as targeting, recalling, and sorting to determine the target media information for display. In this process, the sorting stage is the process of sorting and screening the recalled media information data stream according to the preset model. Among them, sorting can be divided into two stages: coarse sorting and fine sorting.

[0003] In the current media information sorting method, the rough sorting stage includes two preset sorting models. The two sorting models will sort the recalled media information data stream according to different dimensions to obtain media information sequences corresponding to two different dimensions. Then, a fixed number of candidate media information is determined in each media information sequence, so that the fine sorting can determine the unique target media information from the candidate media information obtained by the rough sorting, and recommend the target media information to the account.

[0004] However, in the current media information sorting method, the two sorting models in the rough sorting are media information sequences obtained by sorting according to different dimensions. Different dimensions have different importance for different accounts. Therefore, if each account obtains candidate media information in the two media information sequences according to a unified quantity threshold, the media information delivery will not be targeted, which will lead to low accuracy of the determined target media information. Summary of the invention

[0005] The present disclosure provides a media information processing method, device, electronic device, storage medium and computer program to at least solve the problem of low accuracy of target media information determined in the related art. The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a media information processing method, including:

[0007] Obtain account characteristics of the target account;

[0008] According to the account characteristics and the pre-trained probability prediction model, a probability prediction result is obtained; the probability prediction result reflects the probability that the candidate media information corresponding to the target ranking model becomes the target media information;

[0009] According to the probability prediction result and a preset media quantity calculation algorithm, determining the number of media information screening corresponding to each sorting model; each sorting model includes the target sorting model;

[0010] According to the number of media information screening corresponding to each sorting model, the candidate media information is obtained in the media information sequence sorted by each sorting model; the candidate media information is used to determine the target media information corresponding to the target account.

[0011] In one embodiment, obtaining the account characteristics of the target account includes:

[0012] Obtain account profile features and context features of the target account;

[0013] The account portrait feature and the context feature are concatenated to obtain a fused feature, and the fused feature is encoded to obtain an encoded account feature.

[0014] In one embodiment, determining the number of media information screening corresponding to each sorting model according to the probability prediction result and a preset media quantity calculation algorithm includes:

[0015] Obtain the total number of preset candidate media information;

[0016] The total number of candidate media information is used as a constraint condition, and an objective function is constructed according to the probability prediction result and a preset target planning algorithm; the objective function includes media information screening parameters corresponding to each of the ranking models;

[0017] The parameter values ​​of the media information screening parameters corresponding to each of the sorting models included in the objective function are determined through the objective function and the constraint conditions; the parameter values ​​are the number of media information screening corresponding to each of the sorting models.

[0018] In one embodiment, the method further comprises:

[0019] Acquire sample account features and training samples of the target account, wherein the training samples include sample target media information and a model label of a ranking model corresponding to the sample target media information;

[0020] The initial probability prediction model is trained according to the sample account characteristics and the training samples to obtain a trained probability prediction model.

[0021] In one embodiment, obtaining a training sample includes:

[0022] Acquire a media information stream; the media information stream includes multiple media information sets;

[0023] Input each of the media information sets into a ranking model to obtain candidate media information corresponding to each of the ranking models, and add a model tag to the candidate media information, wherein the model tag represents the ranking model corresponding to the candidate media information;

[0024] According to a preset value estimation model and the candidate media information, sample target media information in each of the candidate media information is determined, and according to the sample target media information and the model label of the sample target media information, a training sample is determined.

[0025] In one embodiment, the training samples include positive samples and negative samples; and determining the training samples according to the sample target media information and the model label of the sample target media information includes:

[0026] If the sample target media information carries the first model tag, determining the sample target media information as positive sample data;

[0027] If the sample target media information carries the second model tag, the sample target media information is determined as negative sample data.

[0028] According to a second aspect of an embodiment of the present disclosure, there is provided a media information processing device, including:

[0029] An acquisition unit, configured to acquire account characteristics of a target account;

[0030] A processing unit is configured to execute a probability prediction model according to the account characteristics and a pre-trained probability prediction model to obtain a probability prediction result; the probability prediction result reflects the probability that the candidate media information corresponding to the target ranking model becomes the target media information;

[0031] A determination unit is configured to determine the number of media information screening corresponding to each sorting model according to the probability prediction result and a preset media quantity calculation algorithm; each sorting model includes the target sorting model;

[0032] The screening unit is configured to perform a number of media information screenings corresponding to each sorting model, and obtain candidate media information of the number of media information screenings in the media information sequence sorted by each of the sorting models; the candidate media information is used to determine the target media information corresponding to the target account.

[0033] In one embodiment, the acquisition unit includes:

[0034] An acquisition subunit, configured to acquire account profile features and context features of a target account;

[0035] The encoding processing unit is configured to perform feature splicing on the account portrait feature and the context feature to obtain a fused feature, and to perform encoding processing on the fused feature to obtain an encoded account feature.

[0036] In one embodiment, the determining unit includes:

[0037] An acquisition subunit, configured to acquire a preset total amount of candidate media information;

[0038] A construction subunit is configured to execute the total number of candidate media information as a constraint condition, and to construct an objective function according to the probability prediction result and a preset target planning algorithm; the objective function includes media information screening parameters corresponding to each of the ranking models;

[0039] The calculation unit is configured to execute the objective function and the constraint conditions to determine the parameter value of the media information screening parameter corresponding to each of the sorting models contained in the objective function; the parameter value is the number of media information screening corresponding to each of the sorting models.

[0040] In one embodiment, the media information processing device further includes:

[0041] A sample acquisition unit is configured to acquire sample account features and training samples of a target account, wherein the training samples include sample target media information and a model label of a ranking model corresponding to the sample target media information;

[0042] The training unit is configured to perform model training on the initial probability prediction model according to the sample account characteristics and the training samples to obtain a trained probability prediction model.

[0043] In one embodiment, the sample acquisition unit includes:

[0044] A data acquisition subunit is configured to acquire a media information stream; the media information stream includes a plurality of media information sets;

[0045] The sample processing subunit is configured to input each of the media information sets into a ranking model, obtain candidate media information corresponding to each ranking model, and add a model tag to the candidate media information, wherein the model tag represents the ranking model corresponding to the candidate media information;

[0046] The training sample determination subunit is configured to determine the sample target media information in each candidate media information based on a preset value estimation model and the candidate media information, and determine the training sample based on the sample target media information and the model label of the sample target media information.

[0047] In one embodiment, the training sample determination subunit includes:

[0048] A first determination subunit is configured to determine the sample target media information as positive sample data if the sample target media information carries a first model tag;

[0049] The second determining subunit is configured to determine the sample target media information as negative sample data if the sample target media information carries a second model tag.

[0050] In a third aspect, a server is provided, the server comprising:

[0051] processor;

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

[0053] The processor is configured to execute the instructions to implement the target object display method described in the first aspect or the second aspect.

[0054] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the target object display method described in any one of the first aspect or the second aspect.

[0055] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided. When the instructions are executed by a processor of an electronic device, the electronic device is enabled to execute the target object display method described in any one of the first aspect or the second aspect.

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

[0057] The computer device obtains the account characteristics of the target account; obtains the probability prediction result according to the account characteristics and the pre-trained probability prediction model; the probability prediction result reflects the probability that the candidate media information corresponding to the target sorting model becomes the target media information; determines the number of media information screening corresponding to each sorting model according to the probability prediction result and the preset media quantity calculation algorithm; obtains the candidate media information in the media information sequence sorted by each sorting model according to the number of media information screening corresponding to each sorting model; the candidate media information is used to determine the target media information corresponding to the target account. The method uses the account characteristics of the target account and the probability prediction model to perform model calculation to obtain the probability prediction result for characterizing the feature preference of the target object, and then determines the number of media information screening of the sorting model based on the probability prediction result, so that the number of media information screening corresponding to each sorting model in each determination process of the target media information is dynamically changed according to the account characteristics of the target account, thereby improving the accuracy of determining the target media information. .

[0058] 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

[0059] 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.

[0060] Figure 1 The figure is a flow chart of a method for processing media information according to an exemplary embodiment.

[0061] Figure 2 The present invention is a flowchart showing a step of obtaining account characteristics of a target account according to an exemplary embodiment.

[0062] Figure 3 The present invention is a flow chart showing a method of determining the number of media information to be screened for each sorting model according to an exemplary embodiment.

[0063] Figure 4 The present invention is a flowchart of a probability prediction model training method according to an exemplary embodiment.

[0064] Figure 5 The figure is a flowchart of a method for determining training samples according to an exemplary embodiment.

[0065] Figure 6 The figure is a flow chart of a method for dividing positive and negative samples according to an exemplary embodiment.

[0066] Figure 7It is a block diagram of a media information processing device according to an exemplary embodiment.

[0067] Figure 8 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION

[0068] 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.

[0069] 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.

[0070] It should also be noted that the account information (including but not limited to account device information, account personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the account or fully authorized by all parties.

[0071] Figure 1 is a flow chart of a method for processing media information according to an exemplary embodiment. Figure 1 As shown, the media information processing method can be applied to the server, and specifically includes the following steps.

[0072] In step S110 , the account characteristics of the target account are obtained.

[0073] In implementation, the account can browse page information through the client. During the browsing process, the account will trigger the corresponding page browsing operation. Then, the client generates a corresponding browsing request and transmits it to the server for media information recommendation (referred to as the server). Then, the server responds to the browsing request and obtains the traffic data carried in the browsing request. The server can extract the account characteristics of the target account (i.e., the target account) from the traffic information. Among them, the traffic data contains all the communication data between the client and the server, such as browsing request data, etc.; the account characteristics extracted from the traffic data can reflect the characteristic preferences of the target account (i.e., the target object), and the account characteristics can include but are not limited to account portrait characteristics (user characteristics), account context characteristics (context characteristics), etc., which are not limited in the embodiments of the present disclosure.

[0074] In step S120, a probability prediction result is obtained based on the account characteristics and the pre-trained probability prediction model.

[0075] Among them, the probability prediction result reflects the probability that the candidate media information corresponding to the target ranking model becomes the target media information. The determination process of the target media information needs to go through four processes: orientation, recall, rough sorting and fine sorting. In the rough sorting stage, the server presets two sorting models, which can be called the first sorting model and the second sorting model. The two sorting models sort the media information in the media information flow according to different dimensions (also called feature dimensions) to obtain two media information sequences. For example, the dimension of the sorting of the first sorting model is the value of the media information, so the first sorting model can also be called the value sorting model, and the dimension of the sorting of the second sorting model is the conversion rate of the media information, so the second sorting model can also be called the conversion rate sorting model. In this way, the server can obtain candidate media information in the two media information sequences respectively, and then, in the fine sorting stage, determine the target media information in the candidate media information, and the target media information is used to recommend to the target account. That is, the determined target media information may come from the candidate media information corresponding to the first sorting model, or from the candidate media information corresponding to the second sorting model.

[0076] In implementation, the server stores a pre-trained probability prediction model. The output result of the probability prediction model (i.e., the probability prediction result) is used to characterize the probability that the target media information comes from the candidate media information corresponding to the target sorting model. Optionally, the target sorting model can be the first sorting model or the second sorting model, which is not limited in the embodiments of the present disclosure.

[0077] Specifically, the probability prediction model is trained by the sample data of the current account, and has learned the characteristic preferences of the current account. For example, the probability prediction model uses the first ranking model in the rearrangement stage as the target ranking model, and can output the probability prediction results corresponding to the first ranking model. Furthermore, in the model application process, the server inputs the account characteristics of the target account into the pre-trained probability prediction model. After the operation and processing of the probability prediction model, the probability prediction results corresponding to the first ranking model can be determined. The probability prediction results can represent the probability that the target media information comes from the candidate media information corresponding to the first ranking model. Optionally, the media information in the embodiments of the present disclosure can be information used for dissemination, such as advertisements, which is not limited in the embodiments of the present disclosure.

[0078] In step S130, the number of media information screening corresponding to each sorting model is determined according to the probability prediction result and a preset media quantity calculation algorithm.

[0079] In implementation, after obtaining the probability prediction result corresponding to the target ranking model, the server can construct a media quantity calculation model (or target function of media quantity) based on the probability prediction result, the total amount of candidate media information screened by the two ranking models, and the preset media quantity calculation algorithm. The media quantity calculation model includes the media information screening parameters corresponding to each ranking model, and the parameter value of the media information screening parameter is the media information screening quantity. Furthermore, the server can solve the media quantity calculation model to obtain the media information screening quantity corresponding to each ranking model.

[0080] In step S140, according to the number of media information screening corresponding to each sorting model, candidate media information of the number of media information screening is obtained in the media information sequence sorted by each sorting model.

[0081] Among them, the candidate media information is used to determine the target media information corresponding to the target account.

[0082] In implementation, for each sorting model, the server obtains candidate media information of the media information screening quantity corresponding to the sorting model in the sorted media information sequence output by the sorting model, so as to further enable the server to determine the final target media information from the candidate media information and push the target media information to the target account.

[0083] In the above-mentioned media information processing method, the server obtains the account characteristics of the target account. Then, the account characteristics are input into the pre-trained probability prediction model to obtain the probability prediction result. Among them, the probability prediction result reflects the probability that the media information screened by the target sorting model becomes the target media information. Then, the server determines the number of media information screening corresponding to each sorting model according to the probability prediction result and the preset media quantity calculation algorithm. According to the number of media information screening, the candidate media information is obtained in the media information sequence sorted by each sorting model. Among them, the candidate media information is used to determine the target media information of the target account. Using this method, the model operation is performed through the account characteristics of the target account and the probability prediction model to obtain the probability prediction result for characterizing the feature preference of the target object, and then the number of media information screening of the sorting model is determined based on the probability prediction result, so that the number of media information screening corresponding to each sorting model in each determination process of the target media information is dynamically changed according to the account characteristics of the target account, which improves the accuracy of determining the target media information.

[0084] In an exemplary embodiment, if Figure 2 As shown, in step S110, it can be implemented specifically by the following steps:

[0085] In step S111, the account profile features and context features of the target account are obtained.

[0086] In implementation, the server can obtain all traffic data transmitted between the client of the target account, and then, based on a preset feature extraction algorithm, the server can extract the profile features (user features) and context features (context features) of the target account from the traffic data. Among them, the account profile features may include but are not limited to the target account's age, gender, geographic location, historical media information clicked, etc. Context features are features carried by the client of the target account, and context features may include but are not limited to the time when the target account sends the request, the target account's mobile terminal brand, operating system, mobile terminal model, and current network status (for example, 4G, 5G, or wifi, etc.).

[0087] In step S112, the account portrait features and the context features are concatenated to obtain fused features, and the fused features are encoded to obtain encoded account features.

[0088] In the implementation, the server inputs the account portrait features and context features into the probability prediction model, and the probability prediction model processes the account portrait features and context features, that is, it splices the account portrait features and context features to obtain spliced ​​fusion features. Then, the spliced ​​fusion features are transmitted to the embedding layer (also called embedding layer) in the probability prediction model, and the embedding layer encodes the fusion features to obtain the encoded account features.

[0089] In this embodiment, by extracting features from the traffic data of the target account and performing feature concatenation, account features for model processing are obtained. Then, the probability prediction model can perform computational processing on the account features and output probability prediction results.

[0090] In an exemplary embodiment, if Figure 3 As shown, in step S130, it can be implemented specifically by the following steps:

[0091] In step S131, the total amount of preset candidate media information is obtained.

[0092] In implementation, since the data processing capacity of the media information recommendation model corresponding to the fine ranking stage is limited, the total number of candidate media information corresponding to the candidate media information in the rough ranking stage is pre-stored in the server, and the total number of candidate media information can be determined according to the data processing capacity of the media information recommendation model corresponding to the fine ranking stage. Furthermore, during the media information processing process, the server can obtain the preset total number of candidate media information (also recorded as K) as a quantity constraint condition.

[0093] In step S132, the total number of candidate media information is used as a constraint condition, and an objective function is constructed based on the probability prediction result and a preset target planning algorithm.

[0094] Among them, the objective function includes the media information screening parameters corresponding to each sorting model.

[0095] In practice, since the number of candidate media information required in the fine ranking stage is fixed, in one implementation, this number can be used as the total number of candidate media information, and then the total number of candidate media information is used as the constraint condition for the number of candidate media information corresponding to each ranking model in the rough ranking stage, that is, quotaA+quotaB=K. Wherein, quotaA represents the media information screening parameter corresponding to the first ranking model in the rough ranking stage, and the parameter value of the media information screening parameter represents the number of media information screening corresponding to the first ranking model; quotaB represents the media information screening parameter corresponding to the second ranking model, and the parameter value of the media information screening parameter represents the number of media information screening corresponding to the second ranking model.

[0096] After determining the constraint conditions, the server can construct an objective function based on the probability prediction result and the preset target planning algorithm, wherein the objective function includes the media information screening parameters corresponding to the first sorting model and the media information screening parameters corresponding to the second sorting model.

[0097] Specifically, the probability prediction result reflects the probability that the candidate media information corresponding to the target ranking model becomes the target media information, which can be recorded as P. If the target ranking model is the first ranking model, then P is the probability that the candidate media information corresponding to the first ranking model becomes the target media information. Therefore, the number of media information screened corresponding to the first ranking model can be expressed as quotaA=K*P, where K represents the total number of candidate media information, and the number of media information screened corresponding to the second ranking model can be expressed as KK*P. Furthermore, the server constructs an objective function using the media information screening parameters corresponding to the first ranking model, the media information screening parameters corresponding to the second ranking model, and the preset target planning algorithm. Among them, there can be multiple target planning algorithms. The embodiment of the present disclosure takes the target planning algorithm as the Lagrangian algorithm as an example for explanation. Other algorithms are similar and will not be repeated.

[0098] The objective function includes the media information screening parameter corresponding to the first sorting model, the exponential coefficient α corresponding to the media information screening parameter, the media information screening parameter corresponding to the second sorting model, and the exponential coefficient β corresponding to the media information screening parameter. The exponential coefficient α and the exponential coefficient β are known quantities. For example, the server can construct the objective function by executing the program: max\\\sum_i^N{quotaA}^{\alpha}+{quotaB}^{\beta}\newline st\newline.

[0099] In step S133, the parameter values ​​of the media information screening parameters corresponding to each sorting model included in the objective function are determined through the objective function and the constraint conditions.

[0100] The parameter value of the media information screening parameter represents the number of media information screened corresponding to each sorting model.

[0101] In implementation, the server performs calculations to solve the objective function under the constraints of the constraints. The solution of the objective function is the parameter value of the media information screening parameter corresponding to the first sorting model (i.e., the number of media information screened) and the parameter value of the media information screening parameter corresponding to the second sorting model (i.e., the number of media information screened).

[0102] In this embodiment, the probability prediction result of the target ranking model that characterizes the account feature preference is obtained through the account features of the target object, and then the objective function is constructed based on the probability prediction result, the preset target planning algorithm, and the number of media information screening corresponding to each sorting model. By solving the objective function, the number of candidate media information screening for the target account is determined, which improves the accuracy of determining the candidate media information, and further improves the accuracy of determining the target media information.

[0103] In an exemplary embodiment, if Figure 4 As shown, the embodiment of the present disclosure also discloses a method for training a probability prediction model, the method further comprising:

[0104] In step S410, account features and training samples are obtained.

[0105] The training sample includes sample target media information and a model tag corresponding to the sample target media information.

[0106] In implementation, the server pre-stores account features and training samples corresponding to the target account. The training samples may be composed of sample target media information, which may be determined during the processing of historical media information of the target account. In order to indicate the source of the sample target media information finally determined, the server may add corresponding model tags to the candidate media information determined in the media information sequence of different sorting models in the rough sorting stage, so that the sample target media information determined in each candidate media information in the fine sorting stage also carries the corresponding model tag.

[0107] Specifically, for the account features of the target account, the server can obtain all the traffic data between the client and the server of the target account. Then, in the traffic data, the server can randomly extract part of the traffic data, and extract the account features from this part of the traffic data according to a preset feature extraction algorithm. In addition, the processing process of the server obtaining the training sample of the target account will be described in detail later in the embodiment of the present disclosure, and will not be repeated here.

[0108] In step S420, the initial probability prediction model is trained according to the account characteristics and the training samples to obtain a trained probability prediction model.

[0109] In implementation, a probability prediction model (also referred to as an initial probability prediction model) is preset in the server. The server inputs account features and training samples into the probability prediction model to obtain a probability prediction result. Then, the server calculates the loss value between the probability prediction result and the verification group result of supervised learning (the target sorting model corresponding to each target media information contained in the training sample). When the loss value corresponding to the output result of the probability prediction model (i.e., the probability prediction result) meets the preset loss condition, the server stops training the probability prediction model and obtains a trained probability prediction model.

[0110] Among them, the probability prediction model can be but is not limited to a DNN (Deep Neural Networks) model, and the embodiment of the present disclosure takes the DNN model as an example for explanation. Among them, the DNN model includes an input layer, a hidden layer and an output layer. The hidden layer can also include multiple layers. The embodiment of the present disclosure is not limited. Then, the server performs model training on the initial probability prediction model based on the acquired account features and training samples, and the account features and training samples are processed by multiple hidden layers in the initial probability prediction model (for example, the hidden layers of the three data processing dimensions [512, 128, 2]), and the relu activation function in the output layer of the initial probability prediction model is activated to obtain the probability prediction result corresponding to the target sorting model. After obtaining the probability prediction result, the server verifies the output result (i.e., the probability prediction result) according to the sorting model represented by the model tag carried by the sample target media information, calculates the loss function between the output result of the initial probability prediction model and the true value (i.e., the category of the sorting model represented by the model tag), and then, based on the relationship between the loss value of the loss function (for example, the loss function can be a cross entropy loss function) and the preset loss threshold, the server can determine whether to adjust the parameters of the initial probability prediction model. If the loss value is greater than the preset loss threshold (i.e., the loss value does not meet the preset loss condition), the parameters of the initial probability prediction model are adjusted, and then the process of calculating the probability prediction result by the initial probability prediction model is continued until the loss of the initial probability prediction model is less than or equal to the preset loss threshold (i.e., the loss value meets the preset loss condition), and then the initial probability prediction model is determined to be trained.

[0111] In this embodiment, a supervised deep neural network model is trained on the initial probability prediction model through pre-constructed training samples and extracted sample account features of the target account, thereby improving the accuracy and stability of the output results of the probability prediction model, so that in the process of model application, stable and accurate probability prediction results can be obtained based on the trained probability prediction model.

[0112] In an exemplary embodiment, if Figure 5 As shown, in step S410, the specific implementation process of the step of obtaining training samples is as follows:

[0113] In step S411, the media information stream is obtained.

[0114] The media information flow includes multiple media information sets.

[0115] In implementation, the server obtains a historical media information flow from a media information database. The historical media information flow may include multiple media information sets. The server may determine a target media information in each media information set.

[0116] In step S412, each media information set is input into the ranking model to obtain candidate media information corresponding to each ranking model, and a model tag is added to the candidate media information.

[0117] Among them, the model tag represents the ranking model corresponding to the candidate media information.

[0118] In implementation, after each media information set is processed by orientation and recall, it enters the rough sorting stage of the media information. The server inputs the media information set after orientation and recall processing into the two sorting models of the rough sorting stage. The two sorting models sort the media information in the media information set according to different dimensions, and obtain different media information sequences. Then, according to the threshold of the number of media information screening corresponding to different sorting models, the number of candidate media information corresponding to each sorting model is obtained in the two media information sequences. In addition, the server can also add a model tag to each candidate media information according to the sorting model source. For example, the first sorting model corresponds to the model tag A, and the second sorting model corresponds to the model tag B. Then, in the media information sequence sorted by the first sorting model, the 100 media information screened are all added with the model tag A, and in the media information sequence sorted by the second sorting model, the 200 media information screened are all added with the model tag B.

[0119] In step S413, sample target media information in each candidate media information is determined according to the preset value estimation model and the candidate media information, and training samples are determined according to the sample target media information and the model label of the sample target media information.

[0120] In implementation, the server obtains candidate media information determined by rough sorting, and can input the candidate media information into the value estimation model to obtain sample target media information. The server can further obtain the model tag carried by the sample target media information, and then determine it as a training sample based on the sample target media information and the model tag carried by the sample target media information.

[0121] In this embodiment, the server obtains candidate media information based on the sorting model in the rearrangement stage, and then adds a model tag to the candidate media information. The sample target media information further determined in the candidate media information carries the model tag. The model tag is used to characterize which sorting model the sample target media information comes from and which candidate media information corresponds to. Therefore, the training sample constructed by the sample target media information realizes the labeling of the sample target media information and can be used to complete supervised model training.

[0122] In an exemplary embodiment, if Figure 6As shown, the training samples include positive samples and negative samples. The specific processing process of step S413 includes:

[0123] In step S610, if the sample target media information carries the first model tag, the sample target media information is determined as positive sample data.

[0124] In implementation, if the sample target media information carries the first model tag, the server classifies the sample target media information as positive sample data, and then forms a positive sample based on the sample target media information classified as positive sample data determined from multiple media information sets.

[0125] In step S620, if the sample target media information carries the second model tag, the sample target media information is determined as negative sample data.

[0126] In implementation, if the sample target media information carries the second model tag, the server classifies the sample target media information as negative sample data, and then forms a negative sample based on the sample target media information classified as negative sample data determined from multiple media information sets.

[0127] In this embodiment, the training samples are divided by the model labels carried by the sample target media information in the training samples to obtain positive samples containing the sample target media information labeled by the first model and negative samples containing the sample target media information labeled by the second model, thereby realizing the construction of training samples for the supervised neural network model.

[0128] It should be understood that although Figure 1-Figure 6 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-Figure 6 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0129] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.

[0130] Figure 71 is a block diagram of a media information processing device according to an exemplary embodiment. Referring to the figure, the device 700 includes an acquisition unit 702, a processing unit 704, a determination unit 706 and a screening unit 708.

[0131] An acquisition unit 702 is configured to acquire account characteristics of a target account;

[0132] The processing unit 704 is configured to execute the probability prediction model according to the account characteristics and the pre-trained probability prediction model to obtain a probability prediction result; the probability prediction result reflects the probability that the candidate media information corresponding to the target ranking model becomes the target media information;

[0133] The determination unit 706 is configured to execute, according to the probability prediction result and a preset medium quantity calculation algorithm, to determine the number of media information screening corresponding to each sorting model;

[0134] The screening unit 708 is configured to perform a number of media information screenings corresponding to each sorting model, and obtain candidate media information of the number of media information screenings in the media information sequence sorted by each of the sorting models; the candidate media information is used to determine the target media information corresponding to the target account.

[0135] In this embodiment, the media information processing device is used to perform model calculations through the account characteristics of the target account and the probability prediction model to obtain a probability prediction result for characterizing the feature preferences of the target object. Then, the number of media information screened by the sorting model is determined based on the probability prediction result. In this way, the number of media information screened corresponding to each sorting model during each determination of the target media information changes dynamically according to the account characteristics of the target account, thereby improving the accuracy of determining the target media information.

[0136] In an exemplary embodiment, the acquiring unit 702 includes:

[0137] An acquisition subunit, configured to acquire account profile features and context features of a target account;

[0138] The encoding processing unit is configured to perform feature splicing on the account portrait feature and the context feature to obtain a fused feature, and to perform encoding processing on the fused feature to obtain an encoded account feature.

[0139] In an exemplary embodiment, the determining unit 706 includes:

[0140] An acquisition subunit, configured to acquire a preset total amount of candidate media information;

[0141] A construction subunit is configured to execute the total number of candidate media information as a constraint condition, and to construct an objective function according to the probability prediction result and a preset target planning algorithm; the objective function includes media information screening parameters corresponding to each of the ranking models;

[0142] The calculation unit is configured to execute the objective function and the constraint conditions to determine the parameter value of the media information screening parameter corresponding to each of the sorting models contained in the objective function; the parameter value is the number of media information screening corresponding to each of the sorting models.

[0143] In an exemplary embodiment, the media information processing device 700 further includes:

[0144] A sample acquisition unit is configured to acquire sample account features and training samples of a target account, wherein the training samples include sample target media information and a model label of a ranking model corresponding to the sample target media information;

[0145] The training unit is configured to perform model training on the initial probability prediction model according to the sample account characteristics and the training samples to obtain a trained probability prediction model.

[0146] In an exemplary embodiment, the sample acquisition unit includes:

[0147] A data acquisition subunit is configured to acquire a media information stream; the media information stream includes a plurality of media information sets;

[0148] The sample processing subunit is configured to input each of the media information sets into a ranking model, obtain candidate media information corresponding to each ranking model, and add a model tag to the candidate media information, wherein the model tag represents the ranking model corresponding to the candidate media information;

[0149] The training sample determination subunit is configured to determine the sample target media information in each candidate media information based on a preset value estimation model and the candidate media information, and determine the training sample based on the sample target media information and the model label of the sample target media information.

[0150] In an exemplary embodiment, the training sample determination subunit includes:

[0151] A first determination subunit is configured to determine the sample target media information as positive sample data if the sample target media information carries a first model tag;

[0152] The second determining subunit is configured to determine the sample target media information as negative sample data if the sample target media information carries a second model tag.

[0153] 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.

[0154] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by the processor 820 of the electronic device 800 to complete the above method.

[0155] Figure 8 8 is a block diagram of an electronic device 800 for media information processing according to an exemplary embodiment. For example, the electronic device 800 may be a server. Figure 8 , the electronic device 800 includes a processing component 820, which further includes one or more processors, and a memory resource represented by a memory 822 for storing instructions executable by the processing component 820, such as an application. The application stored in the memory 822 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 820 is configured to execute the instructions to perform the above method.

[0156] The electronic device 800 may further include: a power supply component 824 configured to perform power management of the electronic device 800, a wired or wireless network interface 826 configured to connect the electronic device 800 to a network, and an input / output (I / O) interface 828. The electronic device 800 may operate based on an operating system stored in the memory 822, such as Windows 8 8erver, Mac O8 X, Unix, Linux, FreeB8D or the like.

[0157] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 822 including instructions, and the above instructions can be executed by a processor of the electronic device 800 to perform the above method. The storage medium can be a computer-readable storage medium, for example, the 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.

[0158] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by a processor of the electronic device 800 to complete the above method.

[0159] It should be noted that the above-mentioned devices, electronic devices, computer-readable storage media, computer program products, etc. may also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments, which will not be described one by one here.

[0160] 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 claims.

[0161] 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 method for processing media information, It is characterized in that The method comprises: Obtain account characteristics of the target account; According to the account characteristics and the pre-trained probability prediction model, a probability prediction result is obtained; the probability prediction result reflects the probability that the candidate media information corresponding to the target ranking model becomes the target media information; According to the probability prediction result and a preset media quantity calculation algorithm, determining the number of media information screening corresponding to each sorting model; each sorting model includes the target sorting model; According to the number of media information screenings corresponding to each sorting model, the candidate media information is obtained in the media information sequence sorted by each sorting model; the candidate media information is used to determine the target media information corresponding to the target account; The method comprises: Acquire sample account features and training samples of the target account, wherein the training samples include sample target media information and a model label of a ranking model corresponding to the sample target media information; The initial probability prediction model is trained according to the sample account characteristics and the training samples to obtain a trained probability prediction model.

2. The media information processing method according to claim 1, It is characterized in that The obtaining of the account characteristics of the target account includes: Obtain account profile features and context features of the target account; The account portrait feature and the context feature are concatenated to obtain a fused feature, and the fused feature is encoded to obtain an encoded account feature.

3. The media information processing method according to claim 1, It is characterized in that The determining the number of media information screening corresponding to each sorting model according to the probability prediction result and a preset media quantity calculation algorithm includes: Obtain the total number of preset candidate media information; The total number of candidate media information is used as a constraint condition, and an objective function is constructed according to the probability prediction result and a preset target planning algorithm; the objective function includes media information screening parameters corresponding to each of the ranking models; The parameter values ​​of the media information screening parameters corresponding to each of the sorting models included in the objective function are determined through the objective function and the constraint conditions; the parameter values ​​are the number of media information screening corresponding to each of the sorting models.

4. The media information processing method according to claim 1, It is characterized in that The obtaining of training samples comprises: Acquire a media information stream; the media information stream includes multiple media information sets; Input each of the media information sets into a ranking model to obtain candidate media information corresponding to each of the ranking models, and add a model tag to the candidate media information, wherein the model tag represents the ranking model corresponding to the candidate media information; According to a preset value estimation model and the candidate media information, sample target media information in each of the candidate media information is determined, and according to the sample target media information and the model label of the sample target media information, a training sample is determined.

5. The media information processing method according to claim 4, It is characterized in that The training samples include positive samples and negative samples; the determining of the training samples according to the sample target medium information and the model label of the sample target medium information includes: If the sample target media information carries the first model tag, determining the sample target media information as positive sample data; If the sample target media information carries the second model tag, the sample target media information is determined as negative sample data.

6. A media information processing device, It is characterized in that include: An acquisition unit, configured to acquire account characteristics of a target account; A processing unit is configured to execute a probability prediction model according to the account characteristics and a pre-trained probability prediction model to obtain a probability prediction result; the probability prediction result reflects the probability that the candidate media information corresponding to the target ranking model becomes the target media information; A determination unit is configured to determine the number of media information screening corresponding to each sorting model according to the probability prediction result and a preset media quantity calculation algorithm; each sorting model includes the target sorting model; A screening unit is configured to perform a number of media information screenings corresponding to each sorting model, and obtain candidate media information of the number of media information screenings in the media information sequence sorted by each sorting model; The candidate media information is used to determine the target media information corresponding to the target account; The media information processing device further includes: A sample acquisition unit is configured to acquire sample account features and training samples of a target account, wherein the training samples include sample target media information and a model label of a ranking model corresponding to the sample target media information; The training unit is configured to perform model training on the initial probability prediction model according to the sample account characteristics and the training samples to obtain a trained probability prediction model.

7. The media information processing device according to claim 6, It is characterized in that The acquisition unit comprises: An acquisition subunit, configured to acquire account profile features and context features of a target account; The encoding processing unit is configured to perform feature splicing on the account portrait feature and the context feature to obtain a fused feature, and to perform encoding processing on the fused feature to obtain an encoded account feature.

8. The media information processing device according to claim 6, It is characterized in that The determining unit comprises: An acquisition subunit, configured to acquire a preset total amount of candidate media information; A construction subunit is configured to execute the total number of candidate media information as a constraint condition, and to construct an objective function according to the probability prediction result and a preset target planning algorithm; the objective function includes media information screening parameters corresponding to each of the ranking models; The calculation unit is configured to execute the objective function and the constraint conditions to determine the parameter value of the media information screening parameter corresponding to each of the sorting models contained in the objective function; the parameter value is the number of media information screening corresponding to each of the sorting models.

9. The media information processing device according to claim 6, It is characterized in that The sample acquisition unit comprises: A data acquisition subunit is configured to acquire a media information stream; the media information stream includes a plurality of media information sets; The sample processing subunit is configured to input each of the media information sets into a ranking model, obtain candidate media information corresponding to each ranking model, and add a model tag to the candidate media information, wherein the model tag represents the ranking model corresponding to the candidate media information; The training sample determination subunit is configured to determine the sample target media information in each candidate media information based on a preset value estimation model and the candidate media information, and determine the training sample based on the sample target media information and the model label of the sample target media information.

10. The media information processing device according to claim 9, It is characterized in that The training sample determination subunit includes: A first determination subunit is configured to determine the sample target media information as positive sample data if the sample target media information carries a first model tag; The second determining subunit is configured to determine the sample target media information as negative sample data if the sample target media information carries a second model tag.

11. A server, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the media information processing method as described in any one of claims 1 to 5.

12. A computer-readable storage medium, It is characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the media information processing method as described in any one of claims 1 to 5.

13. A computer program product, comprising instructions: It is characterized in that When the instruction is executed by a processor of an electronic device, the electronic device is enabled to execute the media information processing method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Information processing method and device, electronic equipment and storage medium

    CN112767053A

  • Training method of recommendation number model, and mixed content recommendation method and device

    CN112905896A